This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 13:47:42 +0000
- Subject: [Bug debug/52048] [4.7 Regression] -fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts
- Auto-submitted: auto-generated
- References: <bug-52048-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52048
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 13:47:42 UTC ---
Author: jakub
Date: Mon Jan 30 13:47:38 2012
New Revision: 183723
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183723
Log:
PR debug/52048
* tree-ssa-tail-merge.c (local_def): Ignore debug uses.
* g++.dg/other/pr52048.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/pr52048.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-tail-merge.c