This is the mail archive of the gcc-help@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]

GCC5 optimization level causes runtime error in WINE


Hello,

I am attempting to debug why WINE[1], when compiled with GCC 5[2] on Fedora Rawhide, cannot run when an optimization level is specified.

-O0 : works
-O1 : segfault
-O2 : segfault

I have enabled -O1 flags manually and WINE works. What other settings is GCC 5 enabling between optimization levels? I have run -Q --help=optimizers and that's what I based my flag settings on, but there is something obviously missing that -O1 enables.

Thanks,
MIchael

[1] https://www.winehq.org/
[2] gcc (GCC) 5.0.0 20150226 (Red Hat 5.0.0-0.18)


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