This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/38676] GCC 4.4 ICE on OpenMP shared
- From: "il dot basso dot buffo at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2008 21:41:19 -0000
- Subject: [Bug libgomp/38676] GCC 4.4 ICE on OpenMP shared
- References: <bug-38676-17135@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from il dot basso dot buffo at gmail dot com 2008-12-30 21:41 -------
void main()
{
int bar, foo = 1;
#pragma omp parallel for schedule(dynamic,1) shared(foo)
for (bar = 0; bar < 3; bar++)
{
switch(foo)
{
case 1:
break;
}
}
}
daniel@ioannos ~ $ gcc openmp-fail.c -fopenmp -w
omp-test.c: In function 'main':
omp-test.c:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
daniel@ioannos ~ $ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.4.0_pre9999/work/gcc-4.4.0-9999/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.0-pre9999
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre9999/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre9999/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--enable-cld --enable-java-awt=gtk --enable-languages=c,c++,java,fortran
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=
Thread model: posix
gcc version 4.4.0-pre9999 built 20081230 (Gentoo SVN ebuild) rev. 142963 ()
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38676