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 rtl-optimization/25791] -O2 execution fails, -O and -g work



------- Comment #18 from pinskia at gcc dot gnu dot org  2006-01-19 06:51 -------
Oh, you are depending on the order of the static/global variables.  That is
undefined C.
Try -O2 -fno-unit-at-a-time.  If that works this is NOT, I will repeat NOT a
GCC bug as you are depending on undefined code.


-- 


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


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