Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at davidrobins dot net
Target Milestone: ---
Created attachment 38719
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38719&action=edit
Add nop for ba (branch) delay
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #1 from David B. Robins ---
Created attachment 38720
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38720&action=edit
Small repro - emits branch (ba) without delay-slot instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #2 from David B. Robins ---
Created attachment 38721
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38721&action=edit
Larger repro - crashes reliably - requires additional -O2 -fno-inline
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
David B. Robins changed:
What|Removed |Added
Target||crisv32-axis-linux-gnu
H
: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at davidrobins dot net
Target Milestone: ---
Created attachment 41202
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41202&action=edit
Preprocessed s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80433
--- Comment #1 from David B. Robins ---
Created attachment 41203
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41203&action=edit
Pass register context for post_inc reload; allow GENNONACR_REGS as preferred.
I am attaching a potential fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #6 from David B. Robins ---
Created attachment 38734
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38734&action=edit
Test case (for gcc/testsuite/g++.dg/inherit)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #7 from David B. Robins ---
I have verified that the pr71571.C test case attached does expose the bug on
trunk and that it passes with the above fix. (Note "-O2 -fno-inline" are
required to ensure a crash; see earlier comment; in 4.3.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #10 from David B. Robins ---
My apologies, I saw the example you pointed at was from torture/ but
missed/forgot that you had also wanted the new test there. I moved the file to
torture and removed -O2 -fno-inline and I didn't get the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71571
--- Comment #12 from David B. Robins ---
Note that it does still need -fno-inline.
I know why it doesn't crash with -O0: there is a text-section constant inserted
after the thunk, and it's inlined at higher optimization levels. The
instruction s
10 matches
Mail list logo