[Bug rtl-optimization/88953] Unrecognizable insn on architecture zEC12 with boost::bimap

2019-01-22 Thread Jan.Kossmann at hpi dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88953

--- Comment #5 from Jan Kossmann  ---
You are right, I verified with:

gcc version 9.0.0 20190122 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3'  '-o' 'test.cpp.o'
'-shared-libgcc' '-march=z13' '-mno-htm' '-mzarch' '-m64'
 gcc/bin/../libexec/gcc/s390x-ibm-linux-gnu/9.0.0/cc1plus -E -quiet -v
-imultiarch s390x-linux-gnu -iprefix
gcc/bin/../lib/gcc/s390x-ibm-linux-gnu/9.0.0/ -D_GNU_SOURCE test.cpp -march=z13
-mno-htm -mzarch -m64 -O3 -fpch-preprocess -o test.ii

and it worked out fine. Sorry for the trouble, thanks for your help!

[Bug rtl-optimization/88953] Unrecognizable insn on architecture zEC12 with boost::bimap

2019-01-21 Thread Jan.Kossmann at hpi dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88953

--- Comment #2 from Jan Kossmann  ---
Created attachment 45483
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45483=edit
Preprocessed file and minimal cpp example

This archive contains the preprocessed *.ii file, a .cpp and .hpp file. I was
unable to reduce the file size of the *.ii file below 1000 KB because I had to
include a boost header. However, the .cpp and .hpp files are combined only 10
LOC.

[Bug rtl-optimization/88953] New: Unrecognizable insn on architecture zEC12 with boost::bimap

2019-01-21 Thread Jan.Kossmann at hpi dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88953

Bug ID: 88953
   Summary: Unrecognizable insn on architecture zEC12 with
boost::bimap
   Product: gcc
   Version: 8.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: rtl-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: Jan.Kossmann at hpi dot de
  Target Milestone: ---

When compiling with gcc 8.2.0 (shipped with Ubuntu) the flags -O3 and
-march=native on Ubuntu 18.04.1 on IBM/S390, boost version: 1.65.1.0, I get the
following output:

g++ -O3 -march=native -o test.cpp.o  test.cpp
test.cpp: In function ‘(static initializers for test.cpp)’:
test.cpp:20:1: error: unrecognizable insn:
 }
 ^
(insn 2167 2166 2168 494 (set (reg:V2DI 1019)
(vec_duplicate:V2DI (const:DI (plus:DI (symbol_ref:DI
("_ZN7opossum4pctsB5cxx11E") [flags 0x2] )
(const_int 32 [0x20])
"/usr/include/boost/bimap/container_adaptor/detail/functor_bag.hpp":74 -1
 (nil))
during RTL pass: vregs
test.cpp:20:1: internal compiler error: in extract_insn, at recog.c:2304