[Bug target/104775] New: [9/10/11/12 Regression] Failure to assemble on s390x with -fsanitize=undefined
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 3 21:41:57 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104775
Bug ID: 104775
Summary: [9/10/11/12 Regression] Failure to assemble on s390x
with -fsanitize=undefined
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
struct A {
virtual long foo () const;
int a;
};
long
A::foo () const
{
int sec = a / 0;
return sec;
}
test with -O2 -w -m64 -march=zEC12 -fsanitize=undefined fails to assemble
Music_Emu.s: Assembler messages:
Music_Emu.s:56: Error: syntax error; missing ')' after base register
Music_Emu.s:56: Error: junk at end of line: `%r12)'
The regression appeared some time between r240000 and r245002 so during GCC 7
development, haven't bisected when exactly.
The problematic assembly line is:
clgte %r1,0(%r5,%r12)
More information about the Gcc-bugs
mailing list