http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53590
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed|2012-06-11 00:00:00 |2012-06-12 AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot |gnu.org |gnu.org Ever Confirmed|0 |1 --- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-06-12 16:54:36 UTC --- > That wasn't particularly clear; the C compiler and the C++ compiler > used for comparing things on the machine are form the very > same build (4.8.0 20120525), though. Yes, it's a fallout of -fnon-call-exceptions that stems from the Java semantics. GNAT GPL doesn't care about Java so it implements more aggressive dead code elimination passes. We could add an internal flag enabling this behavior.