--- Comment #8 from jakub at gcc dot gnu dot org 2010-07-13 07:00 ---
Subject: Bug 44901
Author: jakub
Date: Tue Jul 13 06:59:56 2010
New Revision: 162126
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162126
Log:
PR debug/44901
* vec.h (VEC_block_remove): Fix co
--- Comment #7 from jakub at gcc dot gnu dot org 2010-07-12 15:23 ---
Created an attachment (id=21185)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21185&action=view)
gcc46-pr44901.patch
Untested fix.
Expansion depends on the order of vars in cfun->local_decls, see e.g.
expand_u
--- Comment #6 from froydnj at codesourcery dot com 2010-07-12 14:56
---
Subject: Re: [4.6 Regression] -fcompare-debug failure for
tree-predcom.c
Why are the unordered removals "obviously" wrong? And why, if they're
"obviously" wrong, does this problem only turn up with a spe
--- Comment #5 from jakub at gcc dot gnu dot org 2010-07-12 14:50 ---
All the unordered removals for local_decls are obviously wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44901
--- Comment #4 from jakub at gcc dot gnu dot org 2010-07-12 14:26 ---
Created an attachment (id=21183)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21183&action=view)
pr44901.i
Reduced testcase:
./xgcc -B ./ -S -m32 -fcompare-debug -O2 -fno-var-tracking /tmp/pr44901.i -w
xgcc: e
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-12 10:19 ---
Fails even with -fno-var-tracking, so does not look VTA related.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44901
--- Comment #2 from hjl dot tools at gmail dot com 2010-07-10 15:37 ---
It is caused by revision 161862:
http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00216.html
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
---
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Summary|[4.6 Regression] -fcompare- |[4.6 Regression] -fcompare-
|debug failure for C++