[Bug c++/27746] New: ICE on openmp code when using _Pragma from macro
bowie dot owens at csiro dot au
gcc-bugzilla@gcc.gnu.org
Wed May 24 01:46:00 GMT 2006
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
More information about the Gcc-bugs
mailing list