public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/24613] New: [gomp] ICE on unexpected #pragma omp section
@ 2005-11-01 14:41 reichelt at gcc dot gnu dot org
2005-11-02 8:57 ` [Bug c++/24613] " jakub at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-11-01 14:41 UTC (permalink / raw)
To: gcc-bugs
When the C++ parser encounters a "#pragma omp section" without enclosing
"#pragma omp sections" it crashes, like on the following one-liner:
======================
#pragma omp section
======================
bug1.cc:1: internal compiler error: in cp_parser_pragma, at cp/parser.c:18791
Please submit a full bug report, [etc.]
The same happens inside functions.
The C frontend is ot affected.
--
Summary: [gomp] ICE on unexpected #pragma omp section
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, 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=24613
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/24613] [gomp] ICE on unexpected #pragma omp section
2005-11-01 14:41 [Bug c++/24613] New: [gomp] ICE on unexpected #pragma omp section reichelt at gcc dot gnu dot org
@ 2005-11-02 8:57 ` jakub at gcc dot gnu dot org
2005-11-02 13:59 ` jakub at gcc dot gnu dot org
2005-11-02 14:03 ` jakub at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-11-02 8:57 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 |2005-11-02 08:57:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/24613] [gomp] ICE on unexpected #pragma omp section
2005-11-01 14:41 [Bug c++/24613] New: [gomp] ICE on unexpected #pragma omp section reichelt at gcc dot gnu dot org
2005-11-02 8:57 ` [Bug c++/24613] " jakub at gcc dot gnu dot org
@ 2005-11-02 13:59 ` jakub at gcc dot gnu dot org
2005-11-02 14:03 ` jakub at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-11-02 13:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jakub at gcc dot gnu dot org 2005-11-02 13:59 -------
Subject: Bug 24613
Author: jakub
Date: Wed Nov 2 13:59:00 2005
New Revision: 106383
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106383
Log:
PR c++/24613
* c-parser.c (c_parser_pragma): Diagnose PRAGMA_OMP_SECTION outside
of PRAGMA_OMP_SECTIONS construct.
cp/
* parser.c (cp_parser_pragma): Diagnose PRAGMA_OMP_SECTION outside
of PRAGMA_OMP_SECTIONS construct.
testsuite/
* gcc.dg/gomp/sections-4.c: New test.
* g++.dg/gomp/sections-4.C: New test.
Added:
branches/gomp-20050608-branch/gcc/testsuite/g++.dg/gomp/sections-4.C
branches/gomp-20050608-branch/gcc/testsuite/gcc.dg/gomp/sections-4.c
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/c-parser.c
branches/gomp-20050608-branch/gcc/cp/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/cp/parser.c
branches/gomp-20050608-branch/gcc/testsuite/ChangeLog.gomp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/24613] [gomp] ICE on unexpected #pragma omp section
2005-11-01 14:41 [Bug c++/24613] New: [gomp] ICE on unexpected #pragma omp section reichelt at gcc dot gnu dot org
2005-11-02 8:57 ` [Bug c++/24613] " jakub at gcc dot gnu dot org
2005-11-02 13:59 ` jakub at gcc dot gnu dot org
@ 2005-11-02 14:03 ` jakub at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-11-02 14:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2005-11-02 14:03 -------
Fixed on the branch.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24613
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-02 14:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-01 14:41 [Bug c++/24613] New: [gomp] ICE on unexpected #pragma omp section reichelt at gcc dot gnu dot org
2005-11-02 8:57 ` [Bug c++/24613] " jakub at gcc dot gnu dot org
2005-11-02 13:59 ` jakub at gcc dot gnu dot org
2005-11-02 14:03 ` jakub 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).