public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:13 ` pinskia at gcc dot gnu dot org
  2005-11-06  2:10 ` kazu at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
  2005-10-30 22:13 ` [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
@ 2005-11-06  2:10 ` kazu at gcc dot gnu dot org
  2005-11-06  4:09 ` kazu at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-11-06  2:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from kazu at gcc dot gnu dot org  2005-11-06 02:10 -------
Reduced down to:

void bar (unsigned int);

void
foo (void)
{
  char buf[1] = { 3 };
  const char *p = buf;
  const char **q = &p;
  unsigned int ch;
  switch (**q)
    {
    case 1:  ch = 5; break;
    case 2:  ch = 4; break;
    case 3:  ch = 3; break;
    case 4:  ch = 2; break;
    case 5:  ch = 1; break;
    default: ch = 0; break;
    }
  bar (ch);
}

This is one of those rare cases where CSE1 folds a switch statement.


-- 

kazu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at gcc dot gnu dot org


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
  2005-10-30 22:13 ` [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
  2005-11-06  2:10 ` kazu at gcc dot gnu dot org
@ 2005-11-06  4:09 ` kazu at gcc dot gnu dot org
  2005-11-21  4:41 ` [Bug target/20583] [4.0/4.1/4.2 " kazu at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-11-06  4:09 UTC (permalink / raw)
  To: gcc-bugs



-- 

kazu at gcc dot gnu dot org changed:

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


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


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

* [Bug target/20583] [4.0/4.1/4.2 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-11-06  4:09 ` kazu at gcc dot gnu dot org
@ 2005-11-21  4:41 ` kazu at gcc dot gnu dot org
  2005-11-21  6:52 ` kazu at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-11-21  4:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from kazu at gcc dot gnu dot org  2005-11-21 04:41 -------
Subject: Bug 20583

Author: kazu
Date: Mon Nov 21 04:41:38 2005
New Revision: 107278

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107278
Log:
gcc/
        PR middle-end/20583
        * cse.c (cse_insn): Reject invalid forms of CONST earlier.

gcc/testsuite/
        PR middle-end/20583
        * gcc.c-torture/compile/pr20583.c: New.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr20583.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cse.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug target/20583] [4.0/4.1/4.2 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-11-21  4:41 ` [Bug target/20583] [4.0/4.1/4.2 " kazu at gcc dot gnu dot org
@ 2005-11-21  6:52 ` kazu at gcc dot gnu dot org
  2005-11-21 16:50 ` [Bug rtl-optimization/20583] [4.0 " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: kazu at gcc dot gnu dot org @ 2005-11-21  6:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from kazu at gcc dot gnu dot org  2005-11-21 06:52 -------
Subject: Bug 20583

Author: kazu
Date: Mon Nov 21 06:52:01 2005
New Revision: 107281

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107281
Log:
gcc/
        PR middle-end/20583
        * cse.c (cse_insn): Reject invalid forms of CONST earlier.

gcc/testsuite/
        PR middle-end/20583
        * gcc.c-torture/compile/pr20583.c: New.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/pr20583.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/cse.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-11-21  6:52 ` kazu at gcc dot gnu dot org
@ 2005-11-21 16:50 ` pinskia at gcc dot gnu dot org
  2006-03-11  3:20 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21 16:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2005-11-21 16:50 -------
Fixed in 4.1.0 and above for now.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |rtl-optimization
      Known to fail|                            |4.0.2
      Known to work|                            |4.1.0 4.2.0
            Summary|[4.0/4.1/4.2 regression] ICE|[4.0 regression] ICE in
                   |in output_operand: invalid  |output_operand: invalid
                   |expression as operand       |expression as operand
   Target Milestone|4.1.0                       |4.0.3


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


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

* [Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2005-11-21 16:50 ` [Bug rtl-optimization/20583] [4.0 " pinskia at gcc dot gnu dot org
@ 2006-03-11  3:20 ` mmitchel at gcc dot gnu dot org
  2006-05-21  9:52 ` kazu at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-03-11  3:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |4.0.4


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


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

* [Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2006-03-11  3:20 ` mmitchel at gcc dot gnu dot org
@ 2006-05-21  9:52 ` kazu at gcc dot gnu dot org
  2006-06-20  6:04 ` pinskia at gcc dot gnu dot org
  2007-01-18  3:40 ` gdr at gcc dot gnu dot org
  9 siblings, 0 replies; 18+ messages in thread
From: kazu at gcc dot gnu dot org @ 2006-05-21  9:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from kazu at gcc dot gnu dot org  2006-05-21 09:51 -------
Unassignining myself.


-- 

kazu at gcc dot gnu dot org changed:

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


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


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

* [Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2006-05-21  9:52 ` kazu at gcc dot gnu dot org
@ 2006-06-20  6:04 ` pinskia at gcc dot gnu dot org
  2007-01-18  3:40 ` gdr at gcc dot gnu dot org
  9 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-20  6:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2006-06-20 05:21 -------
*** Bug 28092 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ft01 at webmastery dot com
                   |                            |dot au


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


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

* [Bug rtl-optimization/20583] [4.0 regression] ICE in output_operand: invalid expression as operand
       [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2006-06-20  6:04 ` pinskia at gcc dot gnu dot org
@ 2007-01-18  3:40 ` gdr at gcc dot gnu dot org
  9 siblings, 0 replies; 18+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-01-18  3:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from gdr at gcc dot gnu dot org  2007-01-18 03:40 -------
Fixed in 4.1.0.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.0


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
                   ` (6 preceding siblings ...)
  2005-07-06  5:11 ` dank at kegel dot com
@ 2005-08-22  3:07 ` mmitchel at gcc dot gnu dot org
  7 siblings, 0 replies; 18+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22  3:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-08-22 02:52 -------
m68k is not a primary or secondary platform; removing target milestone.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.0                       |---


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
                   ` (5 preceding siblings ...)
  2005-04-15 23:05 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-07-06  5:11 ` dank at kegel dot com
  2005-08-22  3:07 ` mmitchel at gcc dot gnu dot org
  7 siblings, 0 replies; 18+ messages in thread
From: dank at kegel dot com @ 2005-07-06  5:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dank at kegel dot com  2005-07-06 05:11 -------
Still seeing this on gcc-4.0.1-20050702.

-- 


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
                   ` (4 preceding siblings ...)
  2005-04-14  5:28 ` dank at kegel dot com
@ 2005-04-15 23:05 ` belyshev at depni dot sinp dot msu dot ru
  2005-07-06  5:11 ` dank at kegel dot com
  2005-08-22  3:07 ` mmitchel at gcc dot gnu dot org
  7 siblings, 0 replies; 18+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-15 23:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-04-15 23:04 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-15 23:04:50
               date|                            |


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
                   ` (3 preceding siblings ...)
  2005-03-23 17:07 ` dank at kegel dot com
@ 2005-04-14  5:28 ` dank at kegel dot com
  2005-04-15 23:05 ` belyshev at depni dot sinp dot msu dot ru
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 18+ messages in thread
From: dank at kegel dot com @ 2005-04-14  5:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dank at kegel dot com  2005-04-14 05:28 -------
Still seeing this on 4.0.0-rc1.

-- 


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
                   ` (2 preceding siblings ...)
  2005-03-23 17:07 ` dank at kegel dot com
@ 2005-03-23 17:07 ` dank at kegel dot com
  2005-04-14  5:28 ` dank at kegel dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 18+ messages in thread
From: dank at kegel dot com @ 2005-03-23 17:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dank at kegel dot com


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
  2005-03-22  1:20 ` [Bug target/20583] " schwab at suse dot de
  2005-03-22  4:19 ` pinskia at gcc dot gnu dot org
@ 2005-03-23 17:07 ` dank at kegel dot com
  2005-03-23 17:07 ` dank at kegel dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 18+ messages in thread
From: dank at kegel dot com @ 2005-03-23 17:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dank at kegel dot com  2005-03-23 17:06 -------
That's the same one I mentioned in
http://gcc.gnu.org/ml/gcc/2005-03/msg00991.html
I was going to report it, but you beat me to it,
and you did a better job of minimizing the test
case thank I did. Thanks!

What does it take to confirm the bug?

-- 


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
  2005-03-22  1:20 ` [Bug target/20583] " schwab at suse dot de
@ 2005-03-22  4:19 ` pinskia at gcc dot gnu dot org
  2005-03-23 17:07 ` dank at kegel dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-22  4:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
  2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
@ 2005-03-22  1:20 ` schwab at suse dot de
  2005-03-22  4:19 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 18+ messages in thread
From: schwab at suse dot de @ 2005-03-22  1:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2005-03-22 01:20 -------
Created an attachment (id=8430)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8430&action=view)
Testcase


-- 


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


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

end of thread, other threads:[~2007-01-18  3:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20583-50@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:13 ` [Bug target/20583] [4.0/4.1 regression] ICE in output_operand: invalid expression as operand pinskia at gcc dot gnu dot org
2005-11-06  2:10 ` kazu at gcc dot gnu dot org
2005-11-06  4:09 ` kazu at gcc dot gnu dot org
2005-11-21  4:41 ` [Bug target/20583] [4.0/4.1/4.2 " kazu at gcc dot gnu dot org
2005-11-21  6:52 ` kazu at gcc dot gnu dot org
2005-11-21 16:50 ` [Bug rtl-optimization/20583] [4.0 " pinskia at gcc dot gnu dot org
2006-03-11  3:20 ` mmitchel at gcc dot gnu dot org
2006-05-21  9:52 ` kazu at gcc dot gnu dot org
2006-06-20  6:04 ` pinskia at gcc dot gnu dot org
2007-01-18  3:40 ` gdr at gcc dot gnu dot org
2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 " schwab at suse dot de
2005-03-22  1:20 ` [Bug target/20583] " schwab at suse dot de
2005-03-22  4:19 ` pinskia at gcc dot gnu dot org
2005-03-23 17:07 ` dank at kegel dot com
2005-03-23 17:07 ` dank at kegel dot com
2005-04-14  5:28 ` dank at kegel dot com
2005-04-15 23:05 ` belyshev at depni dot sinp dot msu dot ru
2005-07-06  5:11 ` dank at kegel dot com
2005-08-22  3:07 ` mmitchel 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).