public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel
@ 2006-04-25 16:26 reichelt at gcc dot gnu dot org
2006-04-25 18:29 ` [Bug c++/27316] " pinskia at gcc dot gnu dot org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-04-25 16:26 UTC (permalink / raw)
To: gcc-bugs
The following invalid code snippet causes an ICE when compiled with -fopenmp:
===================================
struct A {};
struct B : A
#pragma omp parallel
{};
struct B : A
#pragma omp parallel
{};
===================================
bug.cc:4: error: '#pragma' is not allowed here
bug.cc:5: error: expected unqualified-id before '{' token
bug.cc:7: internal compiler error: in xref_basetypes, at cp/decl.c:9696
Please submit a full bug report, [etc.]
--
Summary: ICE with two ill-placed #pragma omp parallel
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored, openmp
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=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] ICE with two ill-placed #pragma omp parallel
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
@ 2006-04-25 18:29 ` pinskia at gcc dot gnu dot org
2006-04-28 16:39 ` jakub at gcc dot gnu dot org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-25 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:29 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-04-25 18:29:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] ICE with two ill-placed #pragma omp parallel
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
2006-04-25 18:29 ` [Bug c++/27316] " pinskia at gcc dot gnu dot org
@ 2006-04-28 16:39 ` jakub at gcc dot gnu dot org
2006-04-28 16:44 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-04-28 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2006-04-28 16:39 -------
Doesn't seem to be openmp specific.
struct A {};
struct B : A
!
{};
struct B : A
!
{};
ICEs the same way.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|openmp |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed #pragma omp parallel
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
2006-04-25 18:29 ` [Bug c++/27316] " pinskia at gcc dot gnu dot org
2006-04-28 16:39 ` jakub at gcc dot gnu dot org
@ 2006-04-28 16:44 ` pinskia at gcc dot gnu dot org
2006-04-29 6:07 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-28 16:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-28 16:44 -------
Then this is a regression since that testcase did not produce an ICE in 3.4.0.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Known to fail| |4.0.0 4.1.0 4.2.0
Known to work| |3.4.0
Summary|ICE with two ill-placed |[4.0/4.1/4.2 Regression] ICE
|#pragma omp parallel |with two ill-placed #pragma
| |omp parallel
Target Milestone|--- |4.0.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-04-28 16:44 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-04-29 6:07 ` pinskia at gcc dot gnu dot org
2006-06-04 18:37 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-29 6:07 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.5 |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-04-29 6:07 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression pinskia at gcc dot gnu dot org
@ 2006-06-04 18:37 ` mmitchel at gcc dot gnu dot org
2006-07-17 3:20 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 18:37 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=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-06-04 18:37 ` mmitchel at gcc dot gnu dot org
@ 2006-07-17 3:20 ` mmitchel at gcc dot gnu dot org
2006-12-02 18:54 ` [Bug c++/27316] [4.0 " reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-07-17 3:20 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-07-17 3:20 ` mmitchel at gcc dot gnu dot org
@ 2006-12-02 18:54 ` reichelt at gcc dot gnu dot org
2006-12-03 13:12 ` lmillward at gcc dot gnu dot org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-02 18:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-12-02 18:54 -------
Fixed on mainline, 4.2 branch, and 4.1 branch by Lee's patch for PR29022.
--
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 with
|ICE with two ill-placed |two ill-placed expression
|expression |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-12-02 18:54 ` [Bug c++/27316] [4.0 " reichelt at gcc dot gnu dot org
@ 2006-12-03 13:12 ` lmillward at gcc dot gnu dot org
2006-12-03 13:13 ` lmillward at gcc dot gnu dot org
2006-12-13 13:59 ` lmillward at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2006-12-03 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from lmillward at gcc dot gnu dot org 2006-12-03 13:12 -------
Subject: Bug 27316
Author: lmillward
Date: Sun Dec 3 13:11:51 2006
New Revision: 119463
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119463
Log:
PR c++/29022
PR c++/27316
PR c++/28740
* parser.c (cp_parser_class_head): Move processing
of any base classes to...
(cp_parser_class_specifier) ...here. Take an extra
tree* parameter for the base classes. Only process
them if the opening brace was found.
PR c++/29022
* g++.dg/inherit/virtual1.C: New test.
* g++.dg/inherit/virtual2.C: Likewise.
PR c++/27316
* g++.dg/inherit/error3.C: New test.
PR c++/28740
* g++.dg/inherit/error4.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/error3.C
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/error4.C
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/virtual1.C
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/virtual2.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/parser.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/inherit/error2.C
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/instantiate1.C
branches/gcc-4_0-branch/gcc/testsuite/g++.old-deja/g++.bugs/900121_05.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-12-03 13:12 ` lmillward at gcc dot gnu dot org
@ 2006-12-03 13:13 ` lmillward at gcc dot gnu dot org
2006-12-13 13:59 ` lmillward at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2006-12-03 13:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from lmillward at gcc dot gnu dot org 2006-12-03 13:13 -------
Fixed in 4.0.4 as well.
--
lmillward at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/27316] [4.0 Regression] ICE with two ill-placed expression
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-12-03 13:13 ` lmillward at gcc dot gnu dot org
@ 2006-12-13 13:59 ` lmillward at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: lmillward at gcc dot gnu dot org @ 2006-12-13 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from lmillward at gcc dot gnu dot org 2006-12-13 13:59 -------
Subject: Bug 27316
Author: lmillward
Date: Wed Dec 13 13:58:43 2006
New Revision: 119831
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119831
Log:
PR c++/27316
* g++.dg/inherit/error3.C: New test
PR c++/28740
* g++.dg/inherit/error4.C: New test
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/inherit/error3.C
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/inherit/error4.C
Modified:
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27316
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-12-13 13:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-25 16:26 [Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel reichelt at gcc dot gnu dot org
2006-04-25 18:29 ` [Bug c++/27316] " pinskia at gcc dot gnu dot org
2006-04-28 16:39 ` jakub at gcc dot gnu dot org
2006-04-28 16:44 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-04-29 6:07 ` [Bug c++/27316] [4.0/4.1/4.2 Regression] ICE with two ill-placed expression pinskia at gcc dot gnu dot org
2006-06-04 18:37 ` mmitchel at gcc dot gnu dot org
2006-07-17 3:20 ` mmitchel at gcc dot gnu dot org
2006-12-02 18:54 ` [Bug c++/27316] [4.0 " reichelt at gcc dot gnu dot org
2006-12-03 13:12 ` lmillward at gcc dot gnu dot org
2006-12-03 13:13 ` lmillward at gcc dot gnu dot org
2006-12-13 13:59 ` lmillward 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).