public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/20583] New: [4.0/4.1 regression] ICE in output_operand: invalid expression as operand
@ 2005-03-22  1:19 schwab at suse dot de
  2005-03-22  1:20 ` [Bug target/20583] " schwab at suse dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: schwab at suse dot de @ 2005-03-22  1:19 UTC (permalink / raw)
  To: gcc-bugs

This might be related to PR20447 or PR18592. 
 
$ m68k-linux-gcc -O -S iso-2022-cn-ext.i 
iso-2022-cn-ext.i: In function ‘gconv’: 
iso-2022-cn-ext.i:85: internal compiler error: output_operand: invalid 
expression as operand 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [4.0/4.1 regression] ICE in output_operand: invalid
                    expression as operand
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m68k-*-linux


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


^ permalink raw reply	[flat|nested] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 regression] ICE in output_operand: invalid expression as operand 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; 12+ 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] 12+ 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 ` 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
  2 siblings, 0 replies; 12+ 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] 12+ 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 ` 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
  2 siblings, 0 replies; 12+ 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] 12+ 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 ` 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
  2 siblings, 0 replies; 12+ 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] 12+ messages in thread

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-22  1:19 [Bug target/20583] New: [4.0/4.1 regression] ICE in output_operand: invalid expression as operand 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
     [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
2005-11-06  4:09 ` kazu 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).