This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27793] [4.1 Regression] num_ssa_names inconsistent or immediate use iterator wrong
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2006 14:43:02 -0000
- Subject: [Bug middle-end/27793] [4.1 Regression] num_ssa_names inconsistent or immediate use iterator wrong
- References: <bug-27793-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from amacleod at redhat dot com 2006-06-06 14:43 -------
Created an attachment (id=11609)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11609&action=view)
assert to add if Jakub's idea is implemented.
So do you want to fix it Jakub's way instead of hacking up the tree optimizer?
or would you still prefer to simply apply my patch for now in 4.1 and 4.2?
If/when Jakub's suggestion is implemented, I suggest adding the following
assert so you will know you have actually fixed it. This assert will trigger
whenever there is a duplicate DECL_UID on a variable. It triggers on
testcases from both this PR and 26757.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27793