Re: issue with gcc 4.x optimizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Quinson writes:
 > For information, I've solved my issue. A part of my code was doing an
 > overflow in an array stored on the stack. It looks like %ebx is stored right
 > after user data, but only reused with dynamic linking and some optimizations
 > enabled (or so).
 > 
 > That is why it worked without optimization: I was overwritting a useless
 > value in that case.
 > 
 > Hoo-ray!
 > 
 > I am deeply sorry for this list polution.

Thanks for letting us know.  FYI, -fstack-protector might have helped.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux