[Bug target/126736] New: Return value corrupted by __builtin_eh_return on m68k
"antoyo at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126736
Bug ID: 126736
Summary: Return value corrupted by __builtin_eh_return on m68k
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: antoyo at gcc dot gnu.org
Target Milestone: ---
Created attachment 65274
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65274&action=edit
Reproducer for the bug
Hi.
With the attached reproducer, I get a result of -1063569664 while it should be
42 (I get 42 on x86-64).
I believe this is the same issue as
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114843, but for m68k.
Thanks.