public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43679]  New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
@ 2010-04-07 20:30 regehr at cs dot utah dot edu
  2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: regehr at cs dot utah dot edu @ 2010-04-07 20:30 UTC (permalink / raw)
  To: gcc-bugs

[regehr@gamow tmp400]$ current-gcc -c -O2 small.c
small.c: In function 'func_37':
small.c:11:6: internal compiler error: in gen_lsm_tmp_name, at
tree-ssa-loop-im.c:1812
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

[regehr@gamow tmp400]$ cat small.c

unsigned g_5;
int g_7;
int g_23[2];
int *g_29 = &g_23[0];
int **g_59;
unsigned long g_186;

int foo (int, int);
int bar (int);

void func_37 (long p_38)
{
  int *l_39 = &g_7;
  *l_39 = (*l_39
             ||
             (foo
              (((*g_29 != *l_39, ((bar (g_59 != &l_39), 0), 0))),
               0)));
  foo (*l_39, 0);
  int **l_256 = &l_39;
  {
    for (0; g_186; 0)
      {
        *l_256 = *l_256;
        if (g_5)
          goto lbl_270;
        *l_39 &= 0;
      }
  }
lbl_270:
  ;
}

[regehr@gamow tmp400]$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r158079-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r158079-install
--program-prefix=r158079- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20100407 (experimental) (GCC)


-- 
           Summary: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: regehr at cs dot utah dot edu
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c/43679] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
@ 2010-04-07 22:04 ` hjl dot tools at gmail dot com
  2010-04-08  8:14 ` [Bug tree-optimization/43679] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-07 22:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-04-07 22:04 -------
It is caused by revision 148718:

http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg00701.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-07 22:04:29
               date|                            |


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


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

* [Bug tree-optimization/43679] [4.5/4.6 Regression] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
  2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
@ 2010-04-08  8:14 ` rguenth at gcc dot gnu dot org
  2010-04-08  9:11 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08  8:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-04-08 08:14 -------
Mine then.


-- 

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|NEW                         |ASSIGNED
          Component|c                           |tree-optimization
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2010-04-07 22:04:29         |2010-04-08 08:14:03
               date|                            |
            Summary|ice in gen_lsm_tmp_name, at |[4.5/4.6 Regression] ice in
                   |tree-ssa-loop-im.c:1812     |gen_lsm_tmp_name, at tree-
                   |                            |ssa-loop-im.c:1812
   Target Milestone|---                         |4.5.1


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


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

* [Bug tree-optimization/43679] [4.5/4.6 Regression] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
  2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
  2010-04-08  8:14 ` [Bug tree-optimization/43679] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-04-08  9:11 ` rguenth at gcc dot gnu dot org
  2010-04-08 10:22 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08  9:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-04-08 09:11 -------
Unfolded *&g_7 from PRE.  I have a patch.


-- 


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


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

* [Bug tree-optimization/43679] [4.5/4.6 Regression] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
                   ` (2 preceding siblings ...)
  2010-04-08  9:11 ` rguenth at gcc dot gnu dot org
@ 2010-04-08 10:22 ` rguenth at gcc dot gnu dot org
  2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
  2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08 10:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-04-08 10:21 -------
Subject: Bug 43679

Author: rguenth
Date: Thu Apr  8 10:21:23 2010
New Revision: 158112

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

        PR tree-optimization/43679
        * tree-ssa-pre.c (eliminate): Only propagate copies.

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

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr43679.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-pre.c


-- 


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


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

* [Bug tree-optimization/43679] [4.5/4.6 Regression] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
                   ` (4 preceding siblings ...)
  2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
@ 2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rguenth at gcc dot gnu dot org  2010-04-08 10:26 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.5.1                       |4.5.0


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


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

* [Bug tree-optimization/43679] [4.5/4.6 Regression] ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812
  2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
                   ` (3 preceding siblings ...)
  2010-04-08 10:22 ` rguenth at gcc dot gnu dot org
@ 2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
  2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-08 10:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-04-08 10:26 -------
Subject: Bug 43679

Author: rguenth
Date: Thu Apr  8 10:25:57 2010
New Revision: 158113

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

        PR tree-optimization/43679
        * tree-ssa-pre.c (eliminate): Only propagate copies.

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

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr43679.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-ssa-pre.c


-- 


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


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

end of thread, other threads:[~2010-04-08 10:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07 20:30 [Bug c/43679] New: ice in gen_lsm_tmp_name, at tree-ssa-loop-im.c:1812 regehr at cs dot utah dot edu
2010-04-07 22:04 ` [Bug c/43679] " hjl dot tools at gmail dot com
2010-04-08  8:14 ` [Bug tree-optimization/43679] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-04-08  9:11 ` rguenth at gcc dot gnu dot org
2010-04-08 10:22 ` rguenth at gcc dot gnu dot org
2010-04-08 10:26 ` rguenth at gcc dot gnu dot org
2010-04-08 10:26 ` 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).