public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27746]  New: ICE on openmp code when using _Pragma from macro
@ 2006-05-24  1:46 bowie dot owens at csiro dot au
  2006-05-24  1:47 ` [Bug c++/27746] " bowie dot owens at csiro dot au
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bowie dot owens at csiro dot au @ 2006-05-24  1:46 UTC (permalink / raw)
  To: gcc-bugs

Using gcc 4.2 from SVN:

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/local_scratch/owe043/gcc_svn
Thread model: posix
gcc version 4.2.0 20060523 (experimental)

I get an ICE when when compiling (g++ -fopenmp omp.cc) the following program:

#define parallel_for _Pragma("omp parallel for") for
#define parallel _Pragma("omp parallel")
int
main()
{
        parallel {
        }

        parallel_for (int i = 0; i < 1000; ++i) {
        }

        return 0;
}


-- 
           Summary: ICE on openmp code when using _Pragma from macro
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bowie dot owens at csiro dot au
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2006-06-09 21:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24  1:46 [Bug c++/27746] New: ICE on openmp code when using _Pragma from macro bowie dot owens at csiro dot au
2006-05-24  1:47 ` [Bug c++/27746] " bowie dot owens at csiro dot au
2006-05-24  3:08 ` pinskia at gcc dot gnu dot org
2006-05-24  3:10 ` [Bug c/27746] " pinskia at gcc dot gnu dot org
2006-05-24  3:24 ` [Bug preprocessor/27746] " pinskia at gcc dot gnu dot org
2006-05-24  3:24 ` pinskia at gcc dot gnu dot org
2006-05-24  3:29 ` pinskia at gcc dot gnu dot org
2006-05-24  3:34 ` pinskia at gcc dot gnu dot org
2006-05-24  3:42 ` bowie dot owens at csiro dot au
2006-05-24  3:45 ` pinskia at gcc dot gnu dot org
2006-05-25 12:29 ` jakub at gcc dot gnu dot org
2006-05-25 15:47 ` jakub at gcc dot gnu dot org
2006-05-25 16:45 ` pinskia at gcc dot gnu dot org
2006-06-09 21:19 ` jakub at gcc dot gnu dot org
2006-06-09 21:27 ` 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).