[Bug tree-optimization/66396] New: [6 regression] FAIL: gcc.dg/graphite/run-id-pr47593.c execution test
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 11:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66396
Bug ID: 66396
Summary: [6 regression] FAIL: gcc.dg/graphite/run-id-pr47593.c
execution test
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: schwab@linux-m68k.org
CC: amker at gcc dot gnu.org
Blocks: 48052
Target Milestone: ---
Target: m68k-*-*
$ gcc/xgcc -Bgcc/ ../gcc/testsuite/gcc.dg/graphite/run-id-pr47593.c -O2
-fgraphite-identity -lm -o ./run-id-pr47593.exe -g
$ ./run-id-pr47593.exe
Segmentation fault
Program received signal SIGSEGV, Segmentation fault.
0x800004e6 in bar () at ../gcc/testsuite/gcc.dg/graphite/run-id-pr47593.c:21
21 return ***(int ***)p;
(gdb) p p
$1 = 0xeffff594 "\200\r\266\b"
(gdb) p {int**}p
$2 = (int **) 0x800db608
(gdb) p *$
Cannot access memory at address 0x800db608
(gdb) i local
f = {p = 0x800db608, q = 0x0}
j = 4
p = 0xeffff5c4 "\200\r\266\b"
x = <synthetic pointer>
y = 0xeffff5c0
(gdb) disass
Dump of assembler code for function bar:
0x800004d8 <+0>: linkw %fp,#-12
0x800004dc <+4>: moveq #4,%d0
0x800004de <+6>: movel %d0,%fp@(-12)
0x800004e2 <+10>: moveal %fp@(-4),%a0
=> 0x800004e6 <+14>: moveal %a0@,%a0
0x800004e8 <+16>: movel %a0@,%d0
0x800004ea <+18>: unlk %fp
0x800004ec <+20>: rts
End of assembler dump.
Before r224020:
(gdb) disass bar
Dump of assembler code for function bar:
0x800004d8 <+0>: linkw %fp,#-24
0x800004dc <+4>: moveq #1,%d0
0x800004de <+6>: unlk %fp
0x800004e0 <+8>: rts
End of assembler dump.
05032b10839cf0498c992c819bf2358e86c22bb0 is the first bad commit
commit 05032b10839cf0498c992c819bf2358e86c22bb0
Author: amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Jun 2 10:19:18 2015 +0000
PR tree-optimization/48052
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224020
138bc75d-0d04-0410-961f-82ee72b054a4
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48052
[Bug 48052] loop not vectorized if index is "unsigned int"
More information about the Gcc-bugs
mailing list