------- 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