http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52785
Bug #: 52785 Summary: Compile with -O fails in gcc 4.7 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: ser...@serjux.com Hi, Though compile C sources shouldn't change behavior when we change -O (optimization) flag but we see 2 or 3 issues with -O flag. https://bugs.gentoo.org/show_bug.cgi?id=402285#c2 compiles with -O2 and not with -O3 !? https://bugs.freedesktop.org/show_bug.cgi?id=47971 Compile X11-server git version, just compiles with -O0 , not with other -O