This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51998] compiler hangs on self-recursive alias attribute
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2012 14:23:21 +0000
- Subject: [Bug middle-end/51998] compiler hangs on self-recursive alias attribute
- Auto-submitted: auto-generated
- References: <bug-51998-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51998
--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2012-01-26 14:23:21 UTC ---
> I think remove_attribute would be desirable too. But I wonder if it can't be
> detected earlier than here. In any case, I'd like to hear Honza on this.
I was under impression that varasm code on aliases should already detect
cycles.
I guess best time to detect cycle is when alias node is created, I will prepare
patch
for this.
Honza