This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/77353] uint16_t instead uint8_t comparison
- From: "bseifert at gmx dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2016 20:17:05 +0000
- Subject: [Bug other/77353] uint16_t instead uint8_t comparison
- Auto-submitted: auto-generated
- References: <bug-77353-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77353
--- Comment #12 from Berni <bseifert at gmx dot at> ---
Thanks, Georg-Johann, I can confirm that
avr-g++ -S -Os -mmcu=atmega128 main.cpp
performs a 16-bit comparison but
avr-gcc -S -Os -mmcu=atmega128 main.c
works as expected (8-bit comparison)