https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66800
Bug ID: 66800 Summary: [6 regression] gcc.dg/vect/vect-align-1.c FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: sparc*-*-solaris2.* Between r225008 and r225374, gcc.dg/vect/vect-align-1.c began to FAIL on Solaris/SPARC, both 32 and 64-bit: FAIL: gcc.dg/vect/vect-align-1.c -flto -ffat-lto-objects execution test FAIL: gcc.dg/vect/vect-align-1.c execution test Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0x00010c8c in main1 (p=p@entry=0x21018) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/vect-align-1.c:27 27 p->y[i] = x[i]; (gdb) where #0 0x00010c8c in main1 (p=p@entry=0x21018) at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/vect-align-1.c:27 #1 0x00010dc0 in main () at /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/vect/vect-align-1.c:46 mdb: stop on SIGBUS mdb: target stopped at: main1+0x18: std %d8, [%g1] 1: x/i $pc => 0x10c48 <main1+24>: std %f8, [ %g1 ] (gdb) p $g1 $1 = 135169 (gdb) p/x $g1 $2 = 0x21001 A reghunt identified the following patch as the culprit: 2015-07-03 Richard Biener <rguent...@suse.de> * fold-const.c (fold_binary_loc): Move (T)ptr & CST folding... * match.pd: ... here. Rainer