public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/37078]  New: ICE when compiling gmp 4.2.3
@ 2008-08-11  7:36 linuxl4 at sohu dot com
  2008-08-11 10:26 ` Andrew Thomas Pinski
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: linuxl4 at sohu dot com @ 2008-08-11  7:36 UTC (permalink / raw)
  To: gcc-bugs

gcc -v
gcc version 4.4.0 20080810 (experimental) (GCC) 


g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../..
-I../../../tests -O2 -c -o t-ops.o ../../../tests/cxx/t-ops.cc
../../../tests/cxx/t-ops.cc: In function 'void check_mpz()':
../../../tests/cxx/t-ops.cc:33: internal compiler error: in set_value_range, at
tree-vrp.c:396
Please submit a full bug report,with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE when compiling gmp 4.2.3
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: linuxl4 at sohu dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* Re: [Bug middle-end/37078]  New: ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
@ 2008-08-11 10:26 ` Andrew Thomas Pinski
  2008-08-11 10:28 ` [Bug middle-end/37078] " pinskia at gmail dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Andrew Thomas Pinski @ 2008-08-11 10:26 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs



Sent from my iPhone

On Aug 11, 2008, at 0:35, "linuxl4 at sohu dot com" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

> gcc -v
> gcc version 4.4.0 20080810 (experimental) (GCC)
>
>
> g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../..
> -I../../../tests -O2 -c -o t-ops.o ../../../tests/cxx/t-ops.cc
> ../../../tests/cxx/t-ops.cc: In function 'void check_mpz()':
> ../../../tests/cxx/t-ops.cc:33: internal compiler error: in  
> set_value_range, at
> tree-vrp.c:396
> Please submit a full bug report,with preprocessed source if  
> appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.

Can you attach the preprocessed source as requested by the error  
message?

-- Pinski

>
>
>
> -- 
>           Summary: ICE when compiling gmp 4.2.3
>           Product: gcc
>           Version: 4.4.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: middle-end
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: linuxl4 at sohu dot com
> GCC build triplet: i686-pc-linux-gnu
>  GCC host triplet: i686-pc-linux-gnu
> GCC target triplet: i686-pc-linux-gnu
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37078
>


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

* [Bug middle-end/37078] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
  2008-08-11 10:26 ` Andrew Thomas Pinski
@ 2008-08-11 10:28 ` pinskia at gmail dot com
  2008-08-11 13:38 ` linuxl4 at sohu dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gmail dot com @ 2008-08-11 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gmail dot com  2008-08-11 10:26 -------
Subject: Re:   New: ICE when compiling gmp 4.2.3



Sent from my iPhone

On Aug 11, 2008, at 0:35, "linuxl4 at sohu dot com" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

> gcc -v
> gcc version 4.4.0 20080810 (experimental) (GCC)
>
>
> g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../.. -I../../..
> -I../../../tests -O2 -c -o t-ops.o ../../../tests/cxx/t-ops.cc
> ../../../tests/cxx/t-ops.cc: In function 'void check_mpz()':
> ../../../tests/cxx/t-ops.cc:33: internal compiler error: in  
> set_value_range, at
> tree-vrp.c:396
> Please submit a full bug report,with preprocessed source if  
> appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.

Can you attach the preprocessed source as requested by the error  
message?

-- Pinski

>
>
>
> -- 
>           Summary: ICE when compiling gmp 4.2.3
>           Product: gcc
>           Version: 4.4.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: middle-end
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: linuxl4 at sohu dot com
> GCC build triplet: i686-pc-linux-gnu
>  GCC host triplet: i686-pc-linux-gnu
> GCC target triplet: i686-pc-linux-gnu
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37078
>


-- 


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


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

* [Bug middle-end/37078] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
  2008-08-11 10:26 ` Andrew Thomas Pinski
  2008-08-11 10:28 ` [Bug middle-end/37078] " pinskia at gmail dot com
@ 2008-08-11 13:38 ` linuxl4 at sohu dot com
  2008-08-11 14:57 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: linuxl4 at sohu dot com @ 2008-08-11 13:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from linuxl4 at sohu dot com  2008-08-11 13:37 -------
Created an attachment (id=16051)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16051&action=view)
the preprocessed c++ source file

gcc -v
gcc version 4.4.0 20080810 (experimental) (GCC) 


g++ -O2 -c t-ops.cc -o t-ops.o
../../../tests/cxx/t-ops.cc: In function 'void check_mpz()':
../../../tests/cxx/t-ops.cc:33: internal compiler error: in set_value_range, at
tree-vrp.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug middle-end/37078] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (2 preceding siblings ...)
  2008-08-11 13:38 ` linuxl4 at sohu dot com
@ 2008-08-11 14:57 ` rguenth at gcc dot gnu dot org
  2008-08-11 16:10 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-11 14:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-11 14:56 -------
Reducing.


-- 


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


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

* [Bug middle-end/37078] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (3 preceding siblings ...)
  2008-08-11 14:57 ` rguenth at gcc dot gnu dot org
@ 2008-08-11 16:10 ` rguenth at gcc dot gnu dot org
  2008-08-11 16:11 ` [Bug middle-end/37078] [4.4 Regression] " rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-11 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2008-08-11 16:09 -------
Created an attachment (id=16052)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16052&action=view)
reduced testcase


-- 


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (4 preceding siblings ...)
  2008-08-11 16:10 ` rguenth at gcc dot gnu dot org
@ 2008-08-11 16:11 ` rguenth at gcc dot gnu dot org
  2008-08-11 17:36 ` howarth at nitro dot med dot uc dot edu
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-11 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-08-11 16:10 -------
Confirmed.  (-O2 -m32)

#1  0x0000000000c288e4 in set_value_range (vr=0x7fffffffd5e0, t=VR_RANGE, 
    min=0x7ffff73c52d0, max=0x7ffff73c5300, equiv=0x0)
    at /space/rguenther/src/svn/trunk/gcc/tree-vrp.c:395
395             gcc_assert (!is_overflow_infinity (min)
(gdb) l
390
391           cmp = compare_values (min, max);
392           gcc_assert (cmp == 0 || cmp == -1 || cmp == -2);
393
394           if (needs_overflow_infinity (TREE_TYPE (min)))
395             gcc_assert (!is_overflow_infinity (min)
396                         || !is_overflow_infinity (max));
397         }
398
399       if (t == VR_UNDEFINED || t == VR_VARYING)
(gdb) call debug_tree (min)   
 <integer_cst 0x7ffff73c52d0 type <integer_type 0x7ffff7ebb840 long int>
constant public overflow 2147483647>
(gdb) call debug_tree (max)
 <integer_cst 0x7ffff73c5300 type <integer_type 0x7ffff7ebb840 long int>
constant public overflow 2147483647>


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-11 16:10:35
               date|                            |
            Summary|ICE when compiling gmp 4.2.3|[4.4 Regression] ICE when
                   |                            |compiling gmp 4.2.3
   Target Milestone|---                         |4.4.0


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (5 preceding siblings ...)
  2008-08-11 16:11 ` [Bug middle-end/37078] [4.4 Regression] " rguenth at gcc dot gnu dot org
@ 2008-08-11 17:36 ` howarth at nitro dot med dot uc dot edu
  2008-08-12  2:12 ` linuxl4 at sohu dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2008-08-11 17:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2008-08-11 17:34 -------
Is there a particular revision that this appeared in? I built a svn pull from
gcc trunk on 20080808 (using the optabs fix that has since been checked in)
against
gmp 4.2.3 on i686-apple-darwin9 and didn't see any build issues.


-- 


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (6 preceding siblings ...)
  2008-08-11 17:36 ` howarth at nitro dot med dot uc dot edu
@ 2008-08-12  2:12 ` linuxl4 at sohu dot com
  2008-08-22 15:24 ` [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 " rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: linuxl4 at sohu dot com @ 2008-08-12  2:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from linuxl4 at sohu dot com  2008-08-12 02:11 -------
>Is there a particular revision that this appeared in? I built a svn pull from
>gcc trunk on 20080808 (using the optabs fix that has since been checked in)
>against
>gmp 4.2.3 on i686-apple-darwin9 and didn't see any build issues.

this happens when "make check".

please try.


-- 


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (7 preceding siblings ...)
  2008-08-12  2:12 ` linuxl4 at sohu dot com
@ 2008-08-22 15:24 ` rguenth at gcc dot gnu dot org
  2008-08-22 19:27 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 15:24 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking
           Priority|P3                          |P2
   Last reconfirmed|2008-08-11 16:10:35         |2008-08-22 15:19:17
               date|                            |
            Summary|[4.4 Regression] ICE when   |[4.4 Regression] ICE in
                   |compiling gmp 4.2.3         |set_value_range, at tree-
                   |                            |vrp.c:401 when compiling gmp
                   |                            |4.2.3


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (8 preceding siblings ...)
  2008-08-22 15:24 ` [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 " rguenth at gcc dot gnu dot org
@ 2008-08-22 19:27 ` rguenth at gcc dot gnu dot org
  2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
  2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 19:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2008-08-22 19:25 -------
I have a patch.


-- 

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
   Last reconfirmed|2008-08-22 15:19:17         |2008-08-22 19:25:47
               date|                            |


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


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

* [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (10 preceding siblings ...)
  2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
@ 2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2008-08-22 21:13 -------
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=37078


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

* [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 when compiling gmp 4.2.3
  2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
                   ` (9 preceding siblings ...)
  2008-08-22 19:27 ` rguenth at gcc dot gnu dot org
@ 2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
  2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2008-08-22 21:14 -------
Subject: Bug 37078

Author: rguenth
Date: Fri Aug 22 21:13:00 2008
New Revision: 139501

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

        PR tree-optimization/37078
        * tree-vrp.c (extract_range_from_unary_expr): Avoid generating
        [+INF, +INF] ranges.

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

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr37078.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-transform.c


-- 


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


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

end of thread, other threads:[~2008-08-22 21:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-11  7:36 [Bug middle-end/37078] New: ICE when compiling gmp 4.2.3 linuxl4 at sohu dot com
2008-08-11 10:26 ` Andrew Thomas Pinski
2008-08-11 10:28 ` [Bug middle-end/37078] " pinskia at gmail dot com
2008-08-11 13:38 ` linuxl4 at sohu dot com
2008-08-11 14:57 ` rguenth at gcc dot gnu dot org
2008-08-11 16:10 ` rguenth at gcc dot gnu dot org
2008-08-11 16:11 ` [Bug middle-end/37078] [4.4 Regression] " rguenth at gcc dot gnu dot org
2008-08-11 17:36 ` howarth at nitro dot med dot uc dot edu
2008-08-12  2:12 ` linuxl4 at sohu dot com
2008-08-22 15:24 ` [Bug middle-end/37078] [4.4 Regression] ICE in set_value_range, at tree-vrp.c:401 " rguenth at gcc dot gnu dot org
2008-08-22 19:27 ` rguenth at gcc dot gnu dot org
2008-08-22 21:15 ` rguenth at gcc dot gnu dot org
2008-08-22 21:15 ` 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).