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 tree-optimization/36679] lnstat command dies if built with O1/O2



------- Comment #2 from shemminger at vyatta dot com  2008-06-30 17:53 -------
The problem turned out to be an out of bounds array reference.

The number of fields (fps->num) was 71, and on 64 were allocated.
This caused out of bounds reference to corrupt stack variables. Since
stack variables are assigned differently after optimization, that was
the reason for the red herring.


-- 

shemminger at vyatta dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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