This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39635] integer wrong code bug on AVR
- From: "regehr at cs dot utah dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Apr 2009 05:44:13 -0000
- Subject: [Bug c/39635] integer wrong code bug on AVR
- References: <bug-39635-12544@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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