This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/28581] Illegal loading the address of a label with -O2
- From: "sparc64 at rediffmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2007 11:50:33 -0000
- Subject: [Bug middle-end/28581] Illegal loading the address of a label with -O2
- References: <bug-28581-5993@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from sparc64 at rediffmail dot com 2007-11-17 11:50 -------
(In reply to comment #3)
> This is invalid as there are no computed gotos in your example so the compiler
> does not know it is a target for a goto so it is able to move the label around.
I dont understand why this bug is invalid. When I use "&&label", I intend to
load the address where I point to in my code -- not where the compiler wants to
move it around.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28581