https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
Andrew Macleod changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #10 from CVS Commits ---
The master branch has been updated by Andrew Macleod :
https://gcc.gnu.org/g:0205fbb91be022055c632973caa95e398b33db39
commit r13-3350-g0205fbb91be022055c632973caa95e398b33db39
Author: Andrew MacLeod
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #9 from Andrew Macleod ---
Working on it.
Looks like an 8 bit value somehow got considered as a 32 bit partial
equivalence.
_8 = -_7;
_9 = (int) _8;
h_30 = (char) _9;
<..>
h_30 is an 8 bit slice of _9, yet :
This is ok:
Ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #8 from H.J. Lu ---
-O2 -funswitch-loops also triggers this bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #7 from H.J. Lu ---
*** Bug 107269 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
H.J. Lu changed:
What|Removed |Added
Summary|wrong code at -O3 on|wrong code at -O3 on
|x86_6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
H.J. Lu changed:
What|Removed |Added
Resolution|DUPLICATE |---
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
Hongtao.liu changed:
What|Removed |Added
CC||crazylht at gmail dot com
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #3 from Zhendong Su ---
Another likely related instance that is miscompiled at -Os, -O2 and -O3.
Compiler Explorer: https://godbolt.org/z/3TbG51Ph3
[628] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #2 from Zhendong Su ---
Another likely related instance that is miscompiled at -O1 and above.
Compiler Explorer: https://godbolt.org/z/xqz7f4c7v
[570] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107273
--- Comment #1 from Zhendong Su ---
Likely a related instance (although it fails also at -Os and -O2 besides -O3).
Compiler Explorer: https://godbolt.org/z/rdajs47K6
[515] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=
12 matches
Mail list logo