From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15883 invoked by alias); 3 Jun 2015 11:27:15 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15445 invoked by uid 48); 3 Jun 2015 11:27:11 -0000 From: "schwab@linux-m68k.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66396] New: [6 regression] FAIL: gcc.dg/graphite/run-id-pr47593.c execution test Date: Wed, 03 Jun 2015 11:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00286.txt.bz2 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 = 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 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"