https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117170
Bug ID: 117170
Summary: [15 regression] Failed bootstrap comparison in
tree-vect-data-refs.o on sparcv9-sun-solaris2.11
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
CC: glaubitz at physik dot fu-berlin.de, ro at gcc dot gnu.org
Target Milestone: ---
When reverting my LRA commit for PR117168, I hit a separate issue w/
bootstrapping w/ tree-vect-data-refs.o miscomparison.
```
$ diff -u <(~/build/binutils-gdb/binutils/objdump -S
./stage2-gcc/tree-vect-data-refs.o) <(~/build/binutils-gdb/binutils/objdump -S
./stage3-gcc/tree-vect-data-refs.o)
[...]
Disassembly of section .text:
@@ -20065,21 +20065,21 @@
f1cc: 90 10 00 1a mov %i2, %o0
f1d0: 40 00 00 00 call f1d0
<_Z30vect_analyze_data_ref_accessesP8vec_infoP3vecIi7va_heap6vl_ptrE+0x698>
f1d4: c4 3f bf 90 sttw %g2, [ %fp + -112 ]
- f1d8: 94 10 00 08 mov %o0, %o2
+ f1d8: b4 10 00 08 mov %o0, %i2
if (type_size_a == 0
- f1dc: 80 92 80 09 orcc %o2, %o1, %g0
+ f1dc: 80 96 80 09 orcc %i2, %o1, %g0
f1e0: 02 40 00 78 be,pn %icc, f3c0
<_Z30vect_analyze_data_ref_accessesP8vec_infoP3vecIi7va_heap6vl_ptrE+0x888>
- f1e4: b4 10 00 09 mov %o1, %i2
+ f1e4: 96 10 00 09 mov %o1, %o3
|| (((unsigned HOST_WIDE_INT)init_b - init_a)
f1e8: c4 1f bf 90 ldtw [ %fp + -112 ], %g2
f1ec: 98 10 00 1c mov %i4, %o4
% type_size_a != 0))
- f1f0: 96 10 00 09 mov %o1, %o3
+ f1f0: d2 27 bf 7c st %o1, [ %fp + -132 ]
|| (((unsigned HOST_WIDE_INT)init_b - init_a)
f1f4: 9a 10 00 10 mov %l0, %o5
f1f8: 92 a4 00 03 subcc %l0, %g3, %o1
% type_size_a != 0))
- f1fc: d4 27 bf 7c st %o2, [ %fp + -132 ]
+ f1fc: 94 10 00 1a mov %i2, %o2
|| (((unsigned HOST_WIDE_INT)init_b - init_a)
f200: 90 67 00 02 subc %i4, %g2, %o0
f204: d8 3f bf 80 sttw %o4, [ %fp + -128 ]
@@ -20100,10 +20100,10 @@
f230: d8 1f bf 80 ldtw [ %fp + -128 ], %o4
f234: 86 a3 40 0b subcc %o5, %o3, %g3
f238: 84 63 00 0a subc %o4, %o2, %g2
- f23c: d4 07 bf 7c ld [ %fp + -132 ], %o2
- f240: 80 a0 80 0a cmp %g2, %o2
- f244: 12 40 00 5f bne,pn %icc, f3c0
<_Z30vect_analyze_data_ref_accessesP8vec_infoP3vecIi7va_heap6vl_ptrE+0x888>
- f248: 80 a0 c0 1a cmp %g3, %i2
+ f23c: 80 a0 80 1a cmp %g2, %i2
+ f240: 12 40 00 60 bne,pn %icc, f3c0
<_Z30vect_analyze_data_ref_accessesP8vec_infoP3vecIi7va_heap6vl_ptrE+0x888>
+ f244: d6 07 bf 7c ld [ %fp + -132 ], %o3
+ f248: 80 a0 c0 0b cmp %g3, %o3
f24c: 32 40 00 5e bne,a,pn %icc, f3c4
<_Z30vect_analyze_data_ref_accessesP8vec_infoP3vecIi7va_heap6vl_ptrE+0x88c>
f250: a4 10 00 18 mov %i0, %l2
if (tree_fits_shwi_p (DR_STEP (dra)))
```
On cfarm216.