public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/31598]  New: g++ does not accept some OpenMP code
@ 2007-04-17  8:20 theodore dot papadopoulo at sophia dot inria dot fr
  2007-04-17  8:21 ` [Bug c++/31598] " theodore dot papadopoulo at sophia dot inria dot fr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: theodore dot papadopoulo at sophia dot inria dot fr @ 2007-04-17  8:20 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

This is with gcc version 4.3.0 20070416 (experimental).
The attached program when compiled with g++ and the flags -fopenmp gives the
following diagnostic and aborts compilation:

-> /usr/local/gcc-4.3/bin/g++ -fopenmp BugOMP.C
BugOMP.C: In constructor ‘R<M>::R()’:
BugOMP.C:18: error: invalid use of incomplete type ‘struct R<M>::R()::B’
BugOMP.C:9: error: declaration of ‘struct R<M>::R()::B’

But I do not see why R<M>::B would be an incomplete type in this program (some
bad
interaction with the template system ?).


-- 
           Summary: g++ does not accept some OpenMP code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: theodore dot papadopoulo at sophia dot inria dot fr
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17  8:20 [Bug c++/31598] New: g++ does not accept some OpenMP code theodore dot papadopoulo at sophia dot inria dot fr
2007-04-17  8:21 ` [Bug c++/31598] " theodore dot papadopoulo at sophia dot inria dot fr
2007-04-23 15:46 ` theodore dot papadopoulo at sophia dot inria dot fr
2007-04-23 16:01 ` theodore dot papadopoulo at sophia dot inria dot fr
2007-04-24 10:41 ` jakub at gcc dot gnu dot org
2007-04-26  6:33 ` theodore dot papadopoulo at sophia dot inria dot fr
2007-04-26  7:32 ` jakub at gcc dot gnu dot org
2007-04-26  7:39 ` jakub at gcc dot gnu dot org
2007-04-26  7:46 ` jakub at gcc dot gnu dot org
2007-04-27 23:47 ` 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).