This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28581] Illegal loading the address of a label with -O2



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]