This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Feb 2013 10:56:15 +0000
- Subject: [Bug tree-optimization/56294] BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure
- Auto-submitted: auto-generated
- References: <bug-56294-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56294
--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-02-13 10:56:15 UTC ---
With the debug counters I have identified the first function where the
difference in behavior of intra-SRA behavior with -g vs -g0 caused the
comparison failure but could not spot any differences in non-debug
statements.
Adding -fno-inline makes the comparison failure go away
(-fno-early-inlining does not help) so at this point I suppose it's
tree-inline that generates different stuff when there are references
to SSA names from debug statements.