[Bug c/110530] Local variable unexpectedly assigned to zero during passing as an argument

2023-07-03 Thread haiqingzhao at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110530 --- Comment #2 from Haiqing Zhao --- (In reply to Andrew Pinski from comment #1) > This code is undefined for 2 reasons. > > First is unsigned int and unsigned long are 2 different sizes on LP64 > targets (x86_64-linux-gnu is one of those, whil

[Bug c/110530] New: Local variable unexpectedly assigned to zero during passing as an argument

2023-07-03 Thread haiqingzhao at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110530 Bug ID: 110530 Summary: Local variable unexpectedly assigned to zero during passing as an argument Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: n