public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/66820] New: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910
@ 2015-07-09  9:47 simon at sconseil dot fr
  2015-07-09  9:48 ` [Bug libgomp/66820] " simon at sconseil dot fr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: simon at sconseil dot fr @ 2015-07-09  9:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820

            Bug ID: 66820
           Summary: internal compiler error: in get_expr_operands, at
                    tree-ssa-operands.c:910
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simon at sconseil dot fr
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 35938
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35938&action=edit
Code to reproduce the bug

Hi,
I get this error when compiling a C code using OpenMP, since the upgrade to GCC
5.1, it was compiling without error with GCC 4.9. I'm using Archlinux.
The attached merging.c file is the C code where I removed everything I could to
get a minimal code to reproduce the bug. If I remove the strcat call in the omp
parallel block (and replace it with the commented sprintf) then it compiles.

The C code is wrapped in a python module, below is the compilation log:

$ LANG=C python setup.py build_ext -i 
running build_ext
building 'libCmethods' extension
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-fPIC -I/usr/include/python2.7 -c src/tools.c -o
build/temp.linux-x86_64-2.7/src/tools.o -freport-bug -fopenmp
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-fPIC -I/usr/include/python2.7 -c src/subtract_slice_median.c -o
build/temp.linux-x86_64-2.7/src/subtract_slice_median.o -freport-bug -fopenmp
gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong --param=ssp-buffer-size=4 -DNDEBUG -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
-fPIC -I/usr/include/python2.7 -c src/merging.c -o
build/temp.linux-x86_64-2.7/src/merging.o -freport-bug -fopenmp
src/merging.c: In function 'mpdaf_merging_median._omp_fn.0':
src/merging.c:36:1: internal compiler error: in get_expr_operands, at
tree-ssa-operands.c:910
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
Preprocessed source stored into /tmp/simon/ccsj0rjP.out file, please attach
this to your bugreport.
error: command 'gcc' failed with exit status 1


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

end of thread, other threads:[~2015-07-10 14:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09  9:47 [Bug libgomp/66820] New: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910 simon at sconseil dot fr
2015-07-09  9:48 ` [Bug libgomp/66820] " simon at sconseil dot fr
2015-07-09 10:04 ` [Bug libgomp/66820] [5/6 Regression] " mpolacek at gcc dot gnu.org
2015-07-09 10:16 ` [Bug middle-end/66820] " jakub at gcc dot gnu.org
2015-07-09 10:21 ` [Bug middle-end/66820] [5/6 Regression] " mpolacek at gcc dot gnu.org
2015-07-09 14:34 ` jakub at gcc dot gnu.org
2015-07-09 15:14 ` jakub at gcc dot gnu.org
2015-07-10 10:26 ` jakub at gcc dot gnu.org
2015-07-10 14:14 ` jakub at gcc dot gnu.org
2015-07-10 14:15 ` jakub at gcc dot gnu.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).