public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31448]  New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
@ 2007-04-02 21:38 pinskia at gcc dot gnu dot org
  2007-04-02 21:38 ` [Bug middle-end/31448] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-02 21:38 UTC (permalink / raw)
  To: gcc-bugs

typedef struct _st {
    int iIndex : 24;
} st;
void f(void)
{
    st *next = 0;
    int nIndx;
    const static int constreg[] = { 0,};
    nIndx = 0;
    next->iIndex = constreg[nIndx];
}



apinski@debian:~$ ~/x86-linux-4.0.2/bin/gcc t2.c -O1
t2.c: In function 'f':
t2.c:10: internal compiler error: in expand_shift, at expmed.c:2316
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
apinski@debian:~$ ~/mainlineppc64/bin/powerpc64-linux-gnu-gcc t2.c -O1
t2.c: In function 'f':
t2.c:10: internal compiler error: in expand_shift, at expmed.c:2322
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit
                    fields and expand inlining constants
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
@ 2007-04-02 21:38 ` pinskia at gcc dot gnu dot org
  2007-04-06  1:58 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-02 21:38 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.0.4 4.1.2 4.2.0 4.3.0
      Known to work|                            |3.3.3
   Target Milestone|---                         |4.1.3


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
  2007-04-02 21:38 ` [Bug middle-end/31448] " pinskia at gcc dot gnu dot org
@ 2007-04-06  1:58 ` pinskia at gcc dot gnu dot org
  2007-04-15 22:14 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-06  1:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-04-06 02:58 -------
Mine, I have a patch.


-- 

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         |2007-04-06 02:58:22
               date|                            |


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
  2007-04-02 21:38 ` [Bug middle-end/31448] " pinskia at gcc dot gnu dot org
  2007-04-06  1:58 ` pinskia at gcc dot gnu dot org
@ 2007-04-15 22:14 ` mmitchel at gcc dot gnu dot org
  2007-04-23  1:54 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-04-15 22:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-04-15 22:14 ` mmitchel at gcc dot gnu dot org
@ 2007-04-23  1:54 ` pinskia at gcc dot gnu dot org
  2007-04-23  1:58 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-23  1:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-04-23 02:54 -------
Subject: Bug 31448

Author: pinskia
Date: Mon Apr 23 02:53:56 2007
New Revision: 124054

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124054
Log:
2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * expr.c (reduce_to_bit_field_precision): Handle
        CONST_INT rtx's.

2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * gcc.c-torture/execute/pr31448.c: New testcase.



Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr31448.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-04-23  1:54 ` pinskia at gcc dot gnu dot org
@ 2007-04-23  1:58 ` pinskia at gcc dot gnu dot org
  2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
  2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-23  1:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-04-23 02:57 -------
Subject: Bug 31448

Author: pinskia
Date: Mon Apr 23 02:57:48 2007
New Revision: 124055

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124055
Log:
2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * expr.c (reduce_to_bit_field_precision): Handle
        CONST_INT rtx's.

2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * gcc.c-torture/execute/pr31448.c: New testcase.



Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr31448.c
      - copied unchanged from r124054,
trunk/gcc/testsuite/gcc.c-torture/execute/pr31448.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/expr.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-04-23  1:58 ` pinskia at gcc dot gnu dot org
@ 2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
  2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-23  1:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-04-23 02:59 -------
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=31448


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

* [Bug middle-end/31448] [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants
  2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
@ 2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-04-23  1:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-04-23 02:59 -------
Subject: Bug 31448

Author: pinskia
Date: Mon Apr 23 02:58:55 2007
New Revision: 124056

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124056
Log:
2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * expr.c (reduce_to_bit_field_precision): Handle
        CONST_INT rtx's.

2007-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/31448
        * gcc.c-torture/execute/pr31448.c: New testcase.



Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/execute/pr31448.c
      - copied unchanged from r124054,
trunk/gcc/testsuite/gcc.c-torture/execute/pr31448.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/expr.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.old-deja/g++.warn/flow1.C


-- 


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


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

end of thread, other threads:[~2007-04-23  1:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-02 21:38 [Bug middle-end/31448] New: [4.1/4.2/4.3 Regression] ICE in expand_shift with bit fields and expand inlining constants pinskia at gcc dot gnu dot org
2007-04-02 21:38 ` [Bug middle-end/31448] " pinskia at gcc dot gnu dot org
2007-04-06  1:58 ` pinskia at gcc dot gnu dot org
2007-04-15 22:14 ` mmitchel at gcc dot gnu dot org
2007-04-23  1:54 ` pinskia at gcc dot gnu dot org
2007-04-23  1:58 ` pinskia at gcc dot gnu dot org
2007-04-23  1:59 ` pinskia at gcc dot gnu dot org
2007-04-23  1:59 ` 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).