[Bug rtl-optimization/105653] [10/11/12/13 Regression] '-fcompare-debug' failure w/ -O2
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 3 03:03:21 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105653
--- Comment #2 from Arseny Solokha <asolokha at gmx dot com> ---
Created attachment 53403
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53403&action=edit
A shorter testcase
% aarch64-linux-gnu-g++-13.0.0 -O2 -fcompare-debug -fno-gcse -c wo91465u.cpp
aarch64-linux-gnu-g++-13.0.0: error: wo91465u.cpp: '-fcompare-debug' failure
(length)
--- wo91465u.cpp.gkd 2022-08-03 10:02:59.526593546 +0700
+++ wo91465u.gk.cpp.gkd 2022-08-03 10:02:59.554593642 +0700
@@ -47,10 +47,7 @@
(zero_extend:DI (mem:SI (plus:DI (mult:DI (reg:DI 1 x1 [orig:96 D.xxxx
] [96])
(const_int 4 [0x4]))
(reg/f:DI 4 x4 [orig:93 _7 ] [93])) [ MEM[(int *)_7 +
ivtmp.6_16 * 4]+0 S4 A32]))) "wo91465u.cpp":10:7# {*zero_extendsidi2_aarch64}
- (expr_list:REG_EQUIV (mem:SI (plus:DI (mult:DI (reg:DI 1 x1 [orig:96
D.xxxx ] [96])
- (const_int 4 [0x4]))
- (reg/f:DI 4 x4 [orig:93 _7 ] [93])) [ MEM[(int *)_7 +
ivtmp.6_16 * 4]+0 S4 A32])
- (nil)))
+ (nil))
(jump_insn:TI # 0 0 (set (pc)
(if_then_else (eq (reg:SI 2 x2 [orig:104 MEM[(int *)_7 + ivtmp.6_16 *
4] ] [104])
(const_int 0 [0]))
More information about the Gcc-bugs
mailing list