public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29226] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
@ 2006-09-25 22:23 ` debian-gcc at lists dot debian dot org
  2006-09-25 22:25 ` [Bug c++/29226] [3.4/4.0/4.1/4.2 regression] " debian-gcc at lists dot debian dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from debian-gcc at lists dot debian dot org  2006-09-25 22:23 -------
Created an attachment (id=12328)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12328&action=view)
preprocess source


-- 


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


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

* [Bug c++/29226]  New: ICE in make_decl_rtl, at varasm.c:886
@ 2006-09-25 22:23 debian-gcc at lists dot debian dot org
  2006-09-25 22:23 ` [Bug c++/29226] " debian-gcc at lists dot debian dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:23 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/388263]

works, in 3.4.6, not in 4.0, 4.1, trunk SVN.

$ g++ -c 388626.ii
gcc-4-bug.cc: In function 'int label(int) [with bool neighb8 = true]':
gcc-4-bug.cc:21: internal compiler error: in make_decl_rtl, at varasm.c:886
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in make_decl_rtl, at varasm.c:886
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org


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


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

* [Bug c++/29226] [3.4/4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
  2006-09-25 22:23 ` [Bug c++/29226] " debian-gcc at lists dot debian dot org
@ 2006-09-25 22:25 ` debian-gcc at lists dot debian dot org
  2006-09-25 22:28 ` [Bug c++/29226] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from debian-gcc at lists dot debian dot org  2006-09-25 22:25 -------
sorry, doesn't work in 3.4.6, but in 3.3 and 2.95

  Matthias


-- 

debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |3.4.6 4.0.4 4.1.2 4.2.0
      Known to work|                            |2.95.4 3.3.6
            Summary|ICE in make_decl_rtl, at    |[3.4/4.0/4.1/4.2 regression]
                   |varasm.c:886                |ICE in make_decl_rtl, at
                   |                            |varasm.c:886


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
  2006-09-25 22:23 ` [Bug c++/29226] " debian-gcc at lists dot debian dot org
  2006-09-25 22:25 ` [Bug c++/29226] [3.4/4.0/4.1/4.2 regression] " debian-gcc at lists dot debian dot org
@ 2006-09-25 22:28 ` pinskia at gcc dot gnu dot org
  2006-09-25 22:32 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-25 22:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
            Summary|[3.4/4.0/4.1/4.2 regression]|[4.0/4.1/4.2 regression] ICE
                   |ICE in make_decl_rtl, at    |in make_decl_rtl, at
                   |varasm.c:886                |varasm.c:886
   Target Milestone|---                         |4.0.4


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2006-09-25 22:28 ` [Bug c++/29226] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-09-25 22:32 ` pinskia at gcc dot gnu dot org
  2006-09-26  7:05 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-25 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-25 22:32 -------
Confirmed.
sizeof (int [w]));
is causing it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|3.4.6 4.0.4 4.1.2 4.2.0     |4.0.4 4.1.2 4.2.0
      Known to work|2.95.4 3.3.6                |2.95.4 3.3.6 3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-09-25 22:32:19
               date|                            |


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2006-09-25 22:32 ` pinskia at gcc dot gnu dot org
@ 2006-09-26  7:05 ` pinskia at gcc dot gnu dot org
  2006-09-26 17:47 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26  7:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-09-26 07:05 -------
Reduced testcase:
template <bool>
static int label (int w)
{
  sizeof(int[w]);
}
int a = label<false>(1);



So I was correct :)


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2006-09-26  7:05 ` pinskia at gcc dot gnu dot org
@ 2006-09-26 17:47 ` pinskia at gcc dot gnu dot org
  2006-10-01 23:01 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26 17:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-09-26 17:47 -------
When I get home, I might have a look at this, most likely pt.c needs to be
extended.


-- 


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (5 preceding siblings ...)
  2006-09-26 17:47 ` pinskia at gcc dot gnu dot org
@ 2006-10-01 23:01 ` mmitchel at gcc dot gnu dot org
  2006-10-02  4:50 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-01 23:01 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=29226


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (6 preceding siblings ...)
  2006-10-01 23:01 ` mmitchel at gcc dot gnu dot org
@ 2006-10-02  4:50 ` mmitchel at gcc dot gnu dot org
  2006-10-02  7:31 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-02  4:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (7 preceding siblings ...)
  2006-10-02  4:50 ` mmitchel at gcc dot gnu dot org
@ 2006-10-02  7:31 ` pinskia at gcc dot gnu dot org
  2006-10-02 22:21 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-02  7:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-10-02 07:31 -------
Hmm, the sizeof expression causes use to create the expression:
(cast)NON_LVALUE_EXPR<SAVE_EXPR<(cast)(w)*4>>


-- 


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


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

* [Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (8 preceding siblings ...)
  2006-10-02  7:31 ` pinskia at gcc dot gnu dot org
@ 2006-10-02 22:21 ` mmitchel at gcc dot gnu dot org
  2006-10-02 23:42 ` [Bug c++/29226] [4.0/4.1 " mmitchel at gcc dot gnu dot org
  2007-02-03 20:26 ` [Bug c++/29226] [4.0 " gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-02 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-10-02 22:21 -------
Subject: Bug 29226

Author: mmitchel
Date: Mon Oct  2 22:21:02 2006
New Revision: 117375

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117375
Log:
        PR c++/29226
        * typeck.c (cxx_sizeof_or_alignof_type): Tidy.  In templates, do
        not try to actually evaluate sizeof for a VLA type.
        PR c++/29226
        * g++.dg/template/vla1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/vla1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/29226] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (9 preceding siblings ...)
  2006-10-02 22:21 ` mmitchel at gcc dot gnu dot org
@ 2006-10-02 23:42 ` mmitchel at gcc dot gnu dot org
  2007-02-03 20:26 ` [Bug c++/29226] [4.0 " gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-10-02 23:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mmitchel at gcc dot gnu dot org  2006-10-02 23:42 -------
Subject: Bug 29226

Author: mmitchel
Date: Mon Oct  2 23:41:59 2006
New Revision: 117377

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117377
Log:
        PR c++/29226
        * typeck.c (cxx_sizeof_or_alignof_type): Tidy.  In templates, do
        not try to actually evaluate sizeof for a VLA type.
        PR c++/29226
        * g++.dg/template/vla1.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/vla1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/29226] [4.0 regression] ICE in make_decl_rtl, at varasm.c:886
  2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
                   ` (10 preceding siblings ...)
  2006-10-02 23:42 ` [Bug c++/29226] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2007-02-03 20:26 ` gdr at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from gdr at gcc dot gnu dot org  2007-02-03 20:25 -------
Fixed in GCC-4.1.2.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.0.4                       |4.1.2


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


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

end of thread, other threads:[~2007-02-03 20:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25 22:23 [Bug c++/29226] New: ICE in make_decl_rtl, at varasm.c:886 debian-gcc at lists dot debian dot org
2006-09-25 22:23 ` [Bug c++/29226] " debian-gcc at lists dot debian dot org
2006-09-25 22:25 ` [Bug c++/29226] [3.4/4.0/4.1/4.2 regression] " debian-gcc at lists dot debian dot org
2006-09-25 22:28 ` [Bug c++/29226] [4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
2006-09-25 22:32 ` pinskia at gcc dot gnu dot org
2006-09-26  7:05 ` pinskia at gcc dot gnu dot org
2006-09-26 17:47 ` pinskia at gcc dot gnu dot org
2006-10-01 23:01 ` mmitchel at gcc dot gnu dot org
2006-10-02  4:50 ` mmitchel at gcc dot gnu dot org
2006-10-02  7:31 ` pinskia at gcc dot gnu dot org
2006-10-02 22:21 ` mmitchel at gcc dot gnu dot org
2006-10-02 23:42 ` [Bug c++/29226] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2007-02-03 20:26 ` [Bug c++/29226] [4.0 " 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).