[Bug c/70678] Static function compilation behaviour changes with __attribute__((optimize("O2"))) even if already compiling with -O2

2016-04-15 Thread lutoma at ohai dot su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70678 --- Comment #2 from Lukas Martini --- Hi, thanks for testing. I have to admit the explanation regarding how the various switches play together went a little over my head, but if you tell me that's intended behaviour, I'll trust your word on it :

[Bug c/70678] New: Static function compilation behaviour changes with __attribute__((optimize("O2"))) even if already compiling with -O2

2016-04-15 Thread lutoma at ohai dot su
Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lutoma at ohai dot su Target Milestone: --- Noticed this while tracking down another issue. I have se