gcc patch #145547: 2 regressions