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 c/39635] integer wrong code bug on AVR



------- Comment #1 from regehr at cs dot utah dot edu  2009-04-04 05:44 -------
To be clear: func_7() should return 1, but does not at -O2 and -Os.

In the Avrora output the result of the function looks like this: 

  r30:r31 = 0x0001

or 

  r30:r31 = 0x0C00


-- 

regehr at cs dot utah dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|integer wrong code bug on   |integer wrong code bug on
                   |AVR                         |AVR


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


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