public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/24670]  New: VRP ICE in compare_name_with_value
@ 2005-11-04 11:00 sebastian dot pop at cri dot ensmp dot fr
  2005-11-04 13:14 ` [Bug tree-optimization/24670] [4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sebastian dot pop at cri dot ensmp dot fr @ 2005-11-04 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

This ICE occured during a compile of libfloat with mainline.
Attached is a delta reduced test that produces the ICE when compiled with -O2.

softfloat/bits64/softfloat.c: In function ‘float128_rem’:
softfloat/bits64/softfloat.c:4483: internal compiler error: in
compare_name_with_value, at tree-vrp.c:3064


__inline__ void
shift128Right (int count, long long int *z1Ptr)
{
  long long int z1;
  if (count == 0);
  else if (count < 64);
  else
    z1 = (count < 64) ? count : 0;
  *z1Ptr = z1;
}
float128_rem ()
{
  signed int expDiff;
  long long int aSig1;
  long long int sigMean1;
  if (-64 < expDiff)
    shift128Right (-expDiff, &aSig1);
  add128 (&sigMean1);
}


-- 
           Summary: VRP ICE in compare_name_with_value
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sebastian dot pop at cri dot ensmp dot fr


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
@ 2005-11-04 13:14 ` pinskia at gcc dot gnu dot org
  2005-11-04 13:16 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-04 13:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code
            Summary|VRP ICE in                  |[4.1 Regression] VRP ICE in
                   |compare_name_with_value     |compare_name_with_value
   Target Milestone|---                         |4.1.0


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
  2005-11-04 13:14 ` [Bug tree-optimization/24670] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-11-04 13:16 ` pinskia at gcc dot gnu dot org
  2005-11-04 13:27 ` dnovillo at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-04 13:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-04 13:16 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-04 13:16:12
               date|                            |


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
  2005-11-04 13:14 ` [Bug tree-optimization/24670] [4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-11-04 13:16 ` pinskia at gcc dot gnu dot org
@ 2005-11-04 13:27 ` dnovillo at gcc dot gnu dot org
  2005-11-04 14:19 ` dnovillo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-11-04 13:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

dnovillo at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|dnovillo at redhat dot com  |
         AssignedTo|unassigned at gcc dot gnu   |dnovillo at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
                   ` (2 preceding siblings ...)
  2005-11-04 13:27 ` dnovillo at gcc dot gnu dot org
@ 2005-11-04 14:19 ` dnovillo at gcc dot gnu dot org
  2005-11-06 14:51 ` dnovillo at gcc dot gnu dot org
  2005-11-06 14:56 ` dnovillo at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-11-04 14:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dnovillo at gcc dot gnu dot org  2005-11-04 14:19 -------

testing fix.


-- 


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
                   ` (3 preceding siblings ...)
  2005-11-04 14:19 ` dnovillo at gcc dot gnu dot org
@ 2005-11-06 14:51 ` dnovillo at gcc dot gnu dot org
  2005-11-06 14:56 ` dnovillo at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-11-06 14:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dnovillo at gcc dot gnu dot org  2005-11-06 14:51 -------
Subject: Bug 24670

Author: dnovillo
Date: Sun Nov  6 14:51:16 2005
New Revision: 106562

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106562
Log:

        PR 24670
        * tree-vrp.c (fix_equivalence_set): New.
        (extract_range_from_assert): Call it.


testsuite/

        PR 24670
        * gcc.dg/tree-ssa/pr24670.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr24670.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


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


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

* [Bug tree-optimization/24670] [4.1 Regression] VRP ICE in compare_name_with_value
  2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
                   ` (4 preceding siblings ...)
  2005-11-06 14:51 ` dnovillo at gcc dot gnu dot org
@ 2005-11-06 14:56 ` dnovillo at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-11-06 14:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dnovillo at gcc dot gnu dot org  2005-11-06 14:56 -------

Fixed.  http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00405.html


-- 

dnovillo at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2005-11-06 14:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-04 11:00 [Bug tree-optimization/24670] New: VRP ICE in compare_name_with_value sebastian dot pop at cri dot ensmp dot fr
2005-11-04 13:14 ` [Bug tree-optimization/24670] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-11-04 13:16 ` pinskia at gcc dot gnu dot org
2005-11-04 13:27 ` dnovillo at gcc dot gnu dot org
2005-11-04 14:19 ` dnovillo at gcc dot gnu dot org
2005-11-06 14:51 ` dnovillo at gcc dot gnu dot org
2005-11-06 14:56 ` dnovillo 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).