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/34716] application segfaults when compiled with -O2, but works well with -O1



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-01-08 20:24 -------
Can you run your program under gdb and then give the backtrace?
Are you sure that the ioctl does not keep around the buffer so when you return
from main, the buffer becomes invalid?


-- 


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


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