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 other/77353] uint16_t instead uint8_t comparison


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)

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