the following program will return 1 when compiled with gcc 3.3.x or with gcc 3.4.x without optimization and when compiled with gcc 3.4.4 -O2 it return 0
-- Summary: [3.4 regression] wrong code with inlining at -O2 Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sschunck at pdf dot de GCC host triplet: SunOS 5.8 Generic_108529-15 i86pc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25768