This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40935] [avr] conditional comparison uses short instead of char
- From: "avr at gjlay dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 3 Nov 2010 19:55:56 +0000
- Subject: [Bug target/40935] [avr] conditional comparison uses short instead of char
- Auto-submitted: auto-generated
- References: <bug-40935-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40935
Georg Lay <avr at gjlay dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |avr at gjlay dot de
--- Comment #1 from Georg Lay <avr at gjlay dot de> 2010-11-03 19:55:52 UTC ---
Obviously compiled with -O0, nothing to be expected from optimizers. Optimizing
avr-gcc-4.3.3 performs well.
Moreover, note that the two sequences are *not* equivalent due to C promotion
rules.