public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45535]  New: [4.6 regression] ICE during tree_ssa_dse
@ 2010-09-04 12:23 rearnsha at gcc dot gnu dot org
  2010-09-04 12:24 ` [Bug tree-optimization/45535] " rearnsha at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-09-04 12:23 UTC (permalink / raw)
  To: gcc-bugs

The attached testcase generates a segfault during alias analysis run as part of
the DSE pass.

Command line options:

/scratch/rearnsha/gnu/gcc-eabi/git/gcc/cc1 -quiet -nostdinc -v -I
/scratch/rearnsha/gnu/gcc-eabi/git/git-vfp-eabi-O3/linux-2.4.23-pre3-testplatform/include
-I . -imultilib fpu -iprefix
/scratch/rearnsha/gnu/gcc-eabi/git/gcc/../lib/gcc/arm-eabi/4.6.0/ -isystem
/scratch/rearnsha/gnu/gcc-eabi/git/gcc/include -isystem
/scratch/rearnsha/gnu/gcc-eabi/git/gcc/include-fixed -D__USES_INITFINI__ -D
__linux__ -D __KERNEL__ -D CONFIG_ARCH_S390X -D CONFIG_ARCH_S390 -U __i386__ -U
__x86_64__ -D KBUILD_BASENAME=memory -isystem
/scratch/rearnsha/gnu/testinstall/arm-eabi/sys-include -iwithprefix include 
-quiet -dumpbase memory.c -mcpu=arm1136jf-s -marm -mfpu=vfp -mfloat-abi=hard
-auxbase-strip memory.o -O3 -w -version -fno-short-enums -fno-strict-aliasing
-fno-common -fomit-frame-pointer besttry.c

Testcase is from CSiBE.


-- 
           Summary: [4.6 regression] ICE during tree_ssa_dse
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
GCC target triplet: arm-eabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/45535] [4.6 regression] ICE during tree_ssa_dse
  2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
@ 2010-09-04 12:24 ` rearnsha at gcc dot gnu dot org
  2010-09-04 13:41 ` rearnsha at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-09-04 12:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rearnsha at gcc dot gnu dot org  2010-09-04 12:24 -------
Created an attachment (id=21694)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21694&action=view)
testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/45535] [4.6 regression] ICE during tree_ssa_dse
  2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
  2010-09-04 12:24 ` [Bug tree-optimization/45535] " rearnsha at gcc dot gnu dot org
@ 2010-09-04 13:41 ` rearnsha at gcc dot gnu dot org
  2010-09-04 14:13 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-09-04 13:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rearnsha at gcc dot gnu dot org  2010-09-04 13:40 -------
caused by svn+ssh://gcc.gnu.org/svn/gcc/trunk@163802


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/45535] [4.6 regression] ICE during tree_ssa_dse
  2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
  2010-09-04 12:24 ` [Bug tree-optimization/45535] " rearnsha at gcc dot gnu dot org
  2010-09-04 13:41 ` rearnsha at gcc dot gnu dot org
@ 2010-09-04 14:13 ` rguenth at gcc dot gnu dot org
  2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
  2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-04 14:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-04 14:12 -------
I will have a look (seems I need to build a cross ...)


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-04 14:12:56
               date|                            |
   Target Milestone|---                         |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/45535] [4.6 regression] ICE during tree_ssa_dse
  2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
@ 2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-05 10:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-09-05 10:47 -------
Subject: Bug 45535

Author: rguenth
Date: Sun Sep  5 10:47:05 2010
New Revision: 163877

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163877
Log:
2010-09-05  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/45535
        * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly
        handle TMR_INDEX2.  Make sure TMR_INDEX is not NULL before
        dereferencing it.
        (indirect_refs_may_alias_p): Likewise.

        * gcc.c-torture/compile/pr45535.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr45535.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-alias.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug tree-optimization/45535] [4.6 regression] ICE during tree_ssa_dse
  2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-09-04 14:13 ` rguenth at gcc dot gnu dot org
@ 2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
  2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-05 10:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-09-05 10:47 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45535


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-05 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-04 12:23 [Bug tree-optimization/45535] New: [4.6 regression] ICE during tree_ssa_dse rearnsha at gcc dot gnu dot org
2010-09-04 12:24 ` [Bug tree-optimization/45535] " rearnsha at gcc dot gnu dot org
2010-09-04 13:41 ` rearnsha at gcc dot gnu dot org
2010-09-04 14:13 ` rguenth at gcc dot gnu dot org
2010-09-05 10:47 ` rguenth at gcc dot gnu dot org
2010-09-05 10:47 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).