See lower part of my article at http://www.ba-stuttgart.de/~helbig/st80/bsearch.txt
-- Summary: optimizer (-O2) changes the semantics of my programs Product: gcc Version: 2.95.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: helbig at lehre dot ba-stuttgart dot de GCC build triplet: ? GCC host triplet: solaris-8 x86 GCC target triplet: solaris-8 x86 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28042