public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
@ 2006-11-05 23:27 reichelt at gcc dot gnu dot org
2006-11-05 23:28 ` [Bug c++/29735] " reichelt at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-11-05 23:27 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet triggers an ICE since GCC 4.0.0:
=================================================
int __attribute__((vector_size(8))) main()
{
return 0;
}
=================================================
bug.cc:1: internal compiler error: in start_function, at cp/decl.c:10705
Please submit a full bug report, [etc.]
--
Summary: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning
vector
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
@ 2006-11-05 23:28 ` reichelt at gcc dot gnu dot org
2006-11-12 20:40 ` mmitchel at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-11-05 23:28 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
2006-11-05 23:28 ` [Bug c++/29735] " reichelt at gcc dot gnu dot org
@ 2006-11-12 20:40 ` mmitchel at gcc dot gnu dot org
2006-11-21 17:30 ` jakub at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-11-12 20:40 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
2006-11-05 23:28 ` [Bug c++/29735] " reichelt at gcc dot gnu dot org
2006-11-12 20:40 ` mmitchel at gcc dot gnu dot org
@ 2006-11-21 17:30 ` jakub at gcc dot gnu dot org
2006-11-28 12:57 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-11-21 17:30 UTC (permalink / raw)
To: gcc-bugs
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-21 17:30:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-11-21 17:30 ` jakub at gcc dot gnu dot org
@ 2006-11-28 12:57 ` jakub at gcc dot gnu dot org
2006-11-28 13:04 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-11-28 12:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2006-11-28 12:57 -------
Subject: Bug 29735
Author: jakub
Date: Tue Nov 28 12:56:53 2006
New Revision: 119287
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119287
Log:
PR c++/29735
* decl.c (grokfndecl): Check main's type after applying
attributes, not before.
* g++.dg/warn/main-3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/main-3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-11-28 12:57 ` jakub at gcc dot gnu dot org
@ 2006-11-28 13:04 ` jakub at gcc dot gnu dot org
2006-11-28 13:06 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-11-28 13:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2006-11-28 13:04 -------
Subject: Bug 29735
Author: jakub
Date: Tue Nov 28 13:04:03 2006
New Revision: 119288
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119288
Log:
PR c++/29735
* decl.c (grokfndecl): Check main's type after applying
attributes, not before.
* g++.dg/warn/main-3.C: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/warn/main-3.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/decl.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-11-28 13:04 ` jakub at gcc dot gnu dot org
@ 2006-11-28 13:06 ` jakub at gcc dot gnu dot org
2006-11-29 20:45 ` [Bug c++/29735] [4.0 " reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-11-28 13:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2006-11-28 13:06 -------
Subject: Bug 29735
Author: jakub
Date: Tue Nov 28 13:06:23 2006
New Revision: 119289
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119289
Log:
PR c++/29735
* decl.c (grokfndecl): Check main's type after applying
attributes, not before.
* g++.dg/warn/main-3.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/warn/main-3.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-11-28 13:06 ` jakub at gcc dot gnu dot org
@ 2006-11-29 20:45 ` reichelt at gcc dot gnu dot org
2007-02-03 20:55 ` reichelt at gcc dot gnu dot org
2007-02-03 20:56 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-11-29 20:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-11-29 20:44 -------
Fixed in GCC 4.1.2 and later.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2/4.3 regression]|[4.0 regression] ICE on
|ICE on "main" returning |"main" returning vector
|vector |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-11-29 20:45 ` [Bug c++/29735] [4.0 " reichelt at gcc dot gnu dot org
@ 2007-02-03 20:55 ` reichelt at gcc dot gnu dot org
2007-02-03 20:56 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-03 20:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from reichelt at gcc dot gnu dot org 2007-02-03 20:55 -------
Won't be fixed o the 4.0 branch.
Fixed in GCC 4.1.2.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/29735] [4.0 regression] ICE on "main" returning vector
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2007-02-03 20:55 ` reichelt at gcc dot gnu dot org
@ 2007-02-03 20:56 ` gdr at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 20:56 UTC (permalink / raw)
To: gcc-bugs
--
gdr at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.4 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29735
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-02-03 20:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-05 23:27 [Bug c++/29735] New: [4.0/4.1/4.2/4.3 regression] ICE on "main" returning vector reichelt at gcc dot gnu dot org
2006-11-05 23:28 ` [Bug c++/29735] " reichelt at gcc dot gnu dot org
2006-11-12 20:40 ` mmitchel at gcc dot gnu dot org
2006-11-21 17:30 ` jakub at gcc dot gnu dot org
2006-11-28 12:57 ` jakub at gcc dot gnu dot org
2006-11-28 13:04 ` jakub at gcc dot gnu dot org
2006-11-28 13:06 ` jakub at gcc dot gnu dot org
2006-11-29 20:45 ` [Bug c++/29735] [4.0 " reichelt at gcc dot gnu dot org
2007-02-03 20:55 ` reichelt at gcc dot gnu dot org
2007-02-03 20:56 ` 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).