------- Comment #5 from jakub at gcc dot gnu dot org  2009-10-19 10:20 -------
You haven't provide a small self-contained executable testcase, so you need to
explain in detail what do you think is wrong on the generated assembly.  I
don't see anything wrong on it, especially not in the diff between r_main-1.s
and r_main-3.s.  Far more probable is a code bug, you are saving address of an
automatic array into a global pointer, not resetting it afterwards when the
function is left, so chances are you are refering to a variable later on even
after it went out of scope.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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

Reply via email to