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 c/16554] compare on address of global variable always evals to non-zero


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-15 00:34 -------
You want to mark the global variable as weak to change how gcc gets rid of the if.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16554


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