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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ messages in thread

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

Thread overview: 10+ 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

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).