public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/26795]  New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
@ 2006-03-22  7:20 laurent at guerby dot net
  2006-03-22  7:22 ` [Bug tree-optimization/26795] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: laurent at guerby dot net @ 2006-03-22  7:20 UTC (permalink / raw)
  To: gcc-bugs

ICE on x86-linux but pass on x86_64-linux. 20060314 was PASS.

+===========================GNAT BUG DETECTED==============================+
| 4.2.0 20060321 (experimental) (i686-pc-linux-gnu) GCC error:             |
| in valid_in_set, at tree-ssa-pre.c:1579                                  |
| Error detected at c37213d.adb:240:5                                      |


-- 
           Summary: [4.2 Regression] ACATS ICE c37213d on x86 in
                    valid_in_set, at tree-ssa-pre.c:1579
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
@ 2006-03-22  7:22 ` pinskia at gcc dot gnu dot org
  2006-03-22 18:16 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22  7:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-22 07:22 -------
This is definitely mine.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |tree-optimization
   Target Milestone|---                         |4.2.0


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
  2006-03-22  7:22 ` [Bug tree-optimization/26795] " pinskia at gcc dot gnu dot org
@ 2006-03-22 18:16 ` pinskia at gcc dot gnu dot org
  2006-03-22 18:54 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-22 18:16 -------
VIEW_CONVERT_EXPR<struct
c37213d__E90b__S95b___C_PAD[D.2494:D.2496]>(*B$P_ARRAYD.2768_872)[B92b.67D.2585_1027]{lb:
1 sz: 000000004}


We have a VIEW_CONVERT_EXPR here is ok, the assert is broken.


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
  2006-03-22  7:22 ` [Bug tree-optimization/26795] " pinskia at gcc dot gnu dot org
  2006-03-22 18:16 ` pinskia at gcc dot gnu dot org
@ 2006-03-22 18:54 ` pinskia at gcc dot gnu dot org
  2006-03-22 18:56 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-22 18:54 -------
The problem is that is the following:
Created value VH.637 for VIEW_CONVERT_EXPR<struct
c37213d__E27b__S31b___C_PAD[D.1589:D.1591]>(*_init$P_ARRAY_101)[A28b.23_725]{lb:
1 sz: 000000004} vuses: (HEAP.76_1012)


That should have been two split up into two VH's.


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (2 preceding siblings ...)
  2006-03-22 18:54 ` pinskia at gcc dot gnu dot org
@ 2006-03-22 18:56 ` pinskia at gcc dot gnu dot org
  2006-03-22 19:19 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 18:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-03-22 18:56 -------
(In reply to comment #3)
> The problem is that is the following:
> Created value VH.637 for VIEW_CONVERT_EXPR<struct
> c37213d__E27b__S31b___C_PAD[D.1589:D.1591]>(*_init$P_ARRAY_101)[A28b.23_725]{lb:
> 1 sz: 000000004} vuses: (HEAP.76_1012)

Actually 3, and it creates the VH's:
Created value VH.635 for *VH.570 vuses: (HEAP.76_1012)
Created value VH.636 for VIEW_CONVERT_EXPR<struct
c37213d__E27b__S31b___C_PAD[D.1589:D.1591]>(VH.635) vuses: (HEAP.76_1012)
Created value VH.637 for VIEW_CONVERT_EXPR<struct
c37213d__E27b__S31b___C_PAD[D.1589:D.1591]>(*_init$P_ARRAY_101)[A28b.23_725]{lb:
1 sz: 000000004} vuses: (HEAP.76_1012)

But does not replace it.


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (3 preceding siblings ...)
  2006-03-22 18:56 ` pinskia at gcc dot gnu dot org
@ 2006-03-22 19:19 ` pinskia at gcc dot gnu dot org
  2006-03-22 19:26 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 19:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-22 19:19 -------
The problem is the follow if is being hit:
2941          /* If OP is a constant that has overflowed, do not value number
2942             this expression.  */
2943          if (CONSTANT_CLASS_P (op)
2944              && TREE_OVERFLOW (op))

Which means we don't get a VH correctly for this statement.


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (4 preceding siblings ...)
  2006-03-22 19:19 ` pinskia at gcc dot gnu dot org
@ 2006-03-22 19:26 ` pinskia at gcc dot gnu dot org
  2006-03-22 21:39 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 19:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-03-22 19:26 -------
I think I have a fix, removing this condition as this condition predates the
change for overflow constants being gimple invariant.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-22 19:26:41
               date|                            |


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (5 preceding siblings ...)
  2006-03-22 19:26 ` pinskia at gcc dot gnu dot org
@ 2006-03-22 21:39 ` pinskia at gcc dot gnu dot org
  2006-03-23  5:05 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-22 21:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-03-22 21:39 -------
Full testing of my patch is happening right now.  It worked for this testcase
just fine.


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (6 preceding siblings ...)
  2006-03-22 21:39 ` pinskia at gcc dot gnu dot org
@ 2006-03-23  5:05 ` patchapp at dberlin dot org
  2006-03-23 15:09 ` pinskia at gcc dot gnu dot org
  2006-03-23 15:10 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2006-03-23  5:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from patchapp at dberlin dot org  2006-03-23 05:05 -------
Subject: Bug number PR tree-opt/26795

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01422.html


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (7 preceding siblings ...)
  2006-03-23  5:05 ` patchapp at dberlin dot org
@ 2006-03-23 15:09 ` pinskia at gcc dot gnu dot org
  2006-03-23 15:10 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-23 15:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-03-23 15:09 -------
Subject: Bug 26795

Author: pinskia
Date: Thu Mar 23 15:09:51 2006
New Revision: 112319

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112319
Log:
2006-03-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/26795
        * tree-ssa-pre.c (create_value_expr_from): Don't reject
        expressions which have overflowed constants.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-pre.c


-- 


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


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

* [Bug tree-optimization/26795] [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579
  2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
                   ` (8 preceding siblings ...)
  2006-03-23 15:09 ` pinskia at gcc dot gnu dot org
@ 2006-03-23 15:10 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-23 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-03-23 15:10 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-03-23 15:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-22  7:20 [Bug ada/26795] New: [4.2 Regression] ACATS ICE c37213d on x86 in valid_in_set, at tree-ssa-pre.c:1579 laurent at guerby dot net
2006-03-22  7:22 ` [Bug tree-optimization/26795] " pinskia at gcc dot gnu dot org
2006-03-22 18:16 ` pinskia at gcc dot gnu dot org
2006-03-22 18:54 ` pinskia at gcc dot gnu dot org
2006-03-22 18:56 ` pinskia at gcc dot gnu dot org
2006-03-22 19:19 ` pinskia at gcc dot gnu dot org
2006-03-22 19:26 ` pinskia at gcc dot gnu dot org
2006-03-22 21:39 ` pinskia at gcc dot gnu dot org
2006-03-23  5:05 ` patchapp at dberlin dot org
2006-03-23 15:09 ` pinskia at gcc dot gnu dot org
2006-03-23 15:10 ` pinskia 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).