public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31698]  New: ICE in compare_name_with_value, at tree-vrp.c:3272
@ 2007-04-25 11:52 thimo dot neubauer at cst dot com
  2007-04-25 11:53 ` [Bug c++/31698] " thimo dot neubauer at cst dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: thimo dot neubauer at cst dot com @ 2007-04-25 11:52 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]

beachboys++ /tmp> g++ -O2 mytestcase.i 
mytestcase.i: In member function ‘void D::Do(B*, C*)’:
mytestcase.i:36: internal compiler error: in compare_name_with_value, at
tree-vrp.c:3272
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccwTAH7q.out file, please attach this to
your bugreport.
Exit 1
beachboys++ /tmp> g++ -O0 mytestcase.i
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/crt1.o: In function
`_start':
../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
Exit 1


-- 
           Summary: ICE in compare_name_with_value, at tree-vrp.c:3272
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thimo dot neubauer at cst dot com
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


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

* [Bug c++/31698] ICE in compare_name_with_value, at tree-vrp.c:3272
  2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
@ 2007-04-25 11:53 ` thimo dot neubauer at cst dot com
  2007-04-25 14:21 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: thimo dot neubauer at cst dot com @ 2007-04-25 11:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from thimo dot neubauer at cst dot com  2007-04-25 12:53 -------
Created an attachment (id=13437)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13437&action=view)
reduced testcase


-- 


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


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

* [Bug c++/31698] ICE in compare_name_with_value, at tree-vrp.c:3272
  2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
  2007-04-25 11:53 ` [Bug c++/31698] " thimo dot neubauer at cst dot com
@ 2007-04-25 14:21 ` rguenth at gcc dot gnu dot org
  2007-04-25 14:23 ` [Bug tree-optimization/31698] [4.1 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-25 14:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-04-25 15:21 -------
This is related to PR29446, backporting the fix for it should fix this one
also.
Mine.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |29446
         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         |2007-04-25 15:21:34
               date|                            |


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


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

* [Bug tree-optimization/31698] [4.1 Regression] ICE in compare_name_with_value, at tree-vrp.c:3272
  2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
  2007-04-25 11:53 ` [Bug c++/31698] " thimo dot neubauer at cst dot com
  2007-04-25 14:21 ` rguenth at gcc dot gnu dot org
@ 2007-04-25 14:23 ` rguenth at gcc dot gnu dot org
  2007-04-25 16:10 ` rguenth at gcc dot gnu dot org
  2007-04-26  8:54 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-25 14:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |tree-optimization
            Summary|ICE in                      |[4.1 Regression] ICE in
                   |compare_name_with_value, at |compare_name_with_value, at
                   |tree-vrp.c:3272             |tree-vrp.c:3272
   Target Milestone|---                         |4.1.3


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


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

* [Bug tree-optimization/31698] [4.1 Regression] ICE in compare_name_with_value, at tree-vrp.c:3272
  2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
                   ` (2 preceding siblings ...)
  2007-04-25 14:23 ` [Bug tree-optimization/31698] [4.1 Regression] " rguenth at gcc dot gnu dot org
@ 2007-04-25 16:10 ` rguenth at gcc dot gnu dot org
  2007-04-26  8:54 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-25 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-04-25 17:10 -------
Subject: Bug 31698

Author: rguenth
Date: Wed Apr 25 17:10:31 2007
New Revision: 124158

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

        PR tree-optimization/31698
        * g++.dg/other/pr31698.C: New testcase.

        Backport from mainline:
        2006-10-13  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/29446
        * tree-vrp.c (fix_equivalence_set): Remove.
        (extract_range_from_assert): Do not call fix_equivalence_set.
        (debug_value_range): Print a newline.
        (compare_name_with_value): For equivalence sets with
        inconsistent value ranges conservatively bail out.
        (compare_names): Likewise.

        * gcc.dg/torture/pr29446.c: New testcase.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/other/pr31698.C
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr29446.c
      - copied unchanged from r117705,
trunk/gcc/testsuite/gcc.dg/torture/pr29446.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/31698] [4.1 Regression] ICE in compare_name_with_value, at tree-vrp.c:3272
  2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
                   ` (3 preceding siblings ...)
  2007-04-25 16:10 ` rguenth at gcc dot gnu dot org
@ 2007-04-26  8:54 ` rguenth at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-04-26  8:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-04-26 09:54 -------
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=31698


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

end of thread, other threads:[~2007-04-26  8:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 11:52 [Bug c++/31698] New: ICE in compare_name_with_value, at tree-vrp.c:3272 thimo dot neubauer at cst dot com
2007-04-25 11:53 ` [Bug c++/31698] " thimo dot neubauer at cst dot com
2007-04-25 14:21 ` rguenth at gcc dot gnu dot org
2007-04-25 14:23 ` [Bug tree-optimization/31698] [4.1 Regression] " rguenth at gcc dot gnu dot org
2007-04-25 16:10 ` rguenth at gcc dot gnu dot org
2007-04-26  8:54 ` 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).