[Bug other/77353] uint16_t instead uint8_t comparison

bseifert at gmx dot at gcc-bugzilla@gcc.gnu.org
Mon Aug 29 20:17:00 GMT 2016


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)


More information about the Gcc-bugs mailing list