public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
@ 2008-03-03 20:09 ` reichelt at gcc dot gnu dot org
  2008-03-15  1:29 ` jsm28 at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-03 20:09 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.3


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


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

* [Bug tree-optimization/35431]  New: [4.1/4.2/4.3/4.4 regression] ICE with complex data
@ 2008-03-03 20:09 reichelt at gcc dot gnu dot org
  2008-03-03 20:09 ` [Bug tree-optimization/35431] " reichelt at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-03-03 20:09 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE since GCC 4.1.0 when compiled
with "-O2":

================================
void bar();

void foo(int i)
{
  __complex__ int k = 0;

  if (i)
    k = 1;

  for (i = 0; i < 1; ++i)
    ;

  if (k)
    bar();
}
================================

bug.c: In function 'foo':
bug.c:4: internal compiler error: tree check: expected value_handle, have
ssa_name in bitmap_set_contains_value, at tree-ssa-pre.c:744
Please submit a full bug report, [etc.]


-- 
           Summary: [4.1/4.2/4.3/4.4 regression] ICE with complex data
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
  2008-03-03 20:09 ` [Bug tree-optimization/35431] " reichelt at gcc dot gnu dot org
@ 2008-03-15  1:29 ` jsm28 at gcc dot gnu dot org
  2008-03-29 21:02 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data in PRE pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-03-15  1:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-15 01:28:52
               date|                            |


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


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

* [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data in PRE
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
  2008-03-03 20:09 ` [Bug tree-optimization/35431] " reichelt at gcc dot gnu dot org
  2008-03-15  1:29 ` jsm28 at gcc dot gnu dot org
@ 2008-03-29 21:02 ` pinskia at gcc dot gnu dot org
  2008-03-29 21:04 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex integer, invalid gimple pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-29 21:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-03-29 21:01 -------
We have invalid gimple before PRE:
  k_7 = COMPLEX_EXPR <(int) D.1197_2, 0>;
Which we don't catch.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.1/4.2/4.3/4.4 regression]
                   |ICE with complex data       |ICE with complex data in PRE


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


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

* [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-03-29 21:02 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data in PRE pinskia at gcc dot gnu dot org
@ 2008-03-29 21:04 ` pinskia at gcc dot gnu dot org
  2008-03-31  9:47 ` [Bug tree-optimization/35431] [4.1/4.2/4.3 " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-29 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-03-29 21:04 -------
This is caused by PHI-opt, fixing.


-- 

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|NEW                         |ASSIGNED
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.1/4.2/4.3/4.4 regression]
                   |ICE with complex data in PRE|ICE with complex integer,
                   |                            |invalid gimple


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


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

* [Bug tree-optimization/35431] [4.1/4.2/4.3 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-03-29 21:04 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex integer, invalid gimple pinskia at gcc dot gnu dot org
@ 2008-03-31  9:47 ` pinskia at gcc dot gnu dot org
  2008-03-31  9:47 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-31  9:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-03-31 09:46 -------
Subject: Bug 35431

Author: pinskia
Date: Mon Mar 31 09:45:53 2008
New Revision: 133749

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133749
Log:
2008-03-31  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/35431
        * tree-ssa-phiopt.c (conditional_replacement): Return early for
        complex types.

2008-03-31  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/35431
        * gcc.c-torture/compile/pr35431.c: New testcase.


Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr35431.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-phiopt.c


-- 


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


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

* [Bug tree-optimization/35431] [4.1/4.2/4.3 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-03-31  9:47 ` [Bug tree-optimization/35431] [4.1/4.2/4.3 " pinskia at gcc dot gnu dot org
@ 2008-03-31  9:47 ` pinskia at gcc dot gnu dot org
  2008-04-02  7:16 ` [Bug tree-optimization/35431] [4.1/4.2 " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-31  9:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-03-31 09:46 -------
Fixed at least on the trunk.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 regression]|[4.1/4.2/4.3 regression] ICE
                   |ICE with complex integer,   |with complex integer,
                   |invalid gimple              |invalid gimple


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


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

* [Bug tree-optimization/35431] [4.1/4.2 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-04-02  7:16 ` [Bug tree-optimization/35431] [4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2008-04-02  7:16 ` pinskia at gcc dot gnu dot org
  2008-07-04 22:36 ` [Bug tree-optimization/35431] [4.2 " jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-04-02  7:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2008-04-02 07:15 -------
Also fixed on the 4.3 branch.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3 regression] ICE|[4.1/4.2 regression] ICE
                   |with complex integer,       |with complex integer,
                   |invalid gimple              |invalid gimple


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


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

* [Bug tree-optimization/35431] [4.1/4.2 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-03-31  9:47 ` pinskia at gcc dot gnu dot org
@ 2008-04-02  7:16 ` pinskia at gcc dot gnu dot org
  2008-04-02  7:16 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-04-02  7:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2008-04-02 07:16 -------
Subject: Bug 35431

Author: pinskia
Date: Wed Apr  2 07:15:19 2008
New Revision: 133822

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133822
Log:
2008-03-31  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/35431
        * tree-ssa-phiopt.c (conditional_replacement): Return early for
        complex types.

2008-03-31  Andrew Pinski  <pinskia@gmail.com>

        PR tree-opt/35431
        * gcc.c-torture/compile/pr35431.c: New testcase.



Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/pr35431.c
      - copied unchanged from r133749,
trunk/gcc/testsuite/gcc.c-torture/compile/pr35431.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/tree-ssa-phiopt.c


-- 


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


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

* [Bug tree-optimization/35431] [4.2 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-04-02  7:16 ` pinskia at gcc dot gnu dot org
@ 2008-07-04 22:36 ` jsm28 at gcc dot gnu dot org
  2008-07-15 14:20 ` pinskia at gcc dot gnu dot org
  2009-03-31 15:20 ` jsm28 at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2008-07-04 22:35 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2 regression] ICE    |[4.2 regression] ICE with
                   |with complex integer,       |complex integer, invalid
                   |invalid gimple              |gimple
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug tree-optimization/35431] [4.2 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-07-04 22:36 ` [Bug tree-optimization/35431] [4.2 " jsm28 at gcc dot gnu dot org
@ 2008-07-15 14:20 ` pinskia at gcc dot gnu dot org
  2009-03-31 15:20 ` jsm28 at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-07-15 14:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2008-07-15 14:19 -------
No longer working on this bug.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug tree-optimization/35431] [4.2 regression] ICE with complex integer, invalid gimple
  2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-07-15 14:20 ` pinskia at gcc dot gnu dot org
@ 2009-03-31 15:20 ` jsm28 at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 15:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2009-03-31 15:20 -------
Closing 4.2 branch, fixed in 4.3.1 and 4.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.2.5
      Known to work|                            |4.3.1 4.4.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.1


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


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

end of thread, other threads:[~2009-03-31 15:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 20:09 [Bug tree-optimization/35431] New: [4.1/4.2/4.3/4.4 regression] ICE with complex data reichelt at gcc dot gnu dot org
2008-03-03 20:09 ` [Bug tree-optimization/35431] " reichelt at gcc dot gnu dot org
2008-03-15  1:29 ` jsm28 at gcc dot gnu dot org
2008-03-29 21:02 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex data in PRE pinskia at gcc dot gnu dot org
2008-03-29 21:04 ` [Bug tree-optimization/35431] [4.1/4.2/4.3/4.4 regression] ICE with complex integer, invalid gimple pinskia at gcc dot gnu dot org
2008-03-31  9:47 ` [Bug tree-optimization/35431] [4.1/4.2/4.3 " pinskia at gcc dot gnu dot org
2008-03-31  9:47 ` pinskia at gcc dot gnu dot org
2008-04-02  7:16 ` [Bug tree-optimization/35431] [4.1/4.2 " pinskia at gcc dot gnu dot org
2008-04-02  7:16 ` pinskia at gcc dot gnu dot org
2008-07-04 22:36 ` [Bug tree-optimization/35431] [4.2 " jsm28 at gcc dot gnu dot org
2008-07-15 14:20 ` pinskia at gcc dot gnu dot org
2009-03-31 15:20 ` jsm28 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).