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

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

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jakub Jelinek  ---
Fixed then on all active branches.

[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-22 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88953

--- Comment #4 from Andreas Krebbel  ---
Looks like a problem which was fixed with r265158:

S/390: Fix problem with vec_init expander

gcc/ChangeLog:

2018-10-15  Andreas Krebbel  

* config/s390/s390.c (s390_expand_vec_init): Force vector element
into reg if it isn't a general operand.

gcc/testsuite/ChangeLog:

2018-10-15  Andreas Krebbel  

* g++.dg/vec-init-1.C: New test.



I've backported the patch to GCC 7 and 8 branch on 2018-10-19. Canonical is
aware of the problem and will pick the patch up for their next GCC updates.

Could you please check whether this fixes your problem?

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

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

--- Comment #3 from Jakub Jelinek  ---
Can't reproduce with a cross-compiler, neither current 8.2.1 with -O3
-march=zEC12 nor -O3 -march=z14, nor with current trunk and the same options.

[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] Unrecognizable insn on architecture zEC12 with boost::bimap

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

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org,
   ||krebbel at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
Please attach preprocessed source and for -march=native you need to note what
it expands to (e.g. use -save-temps -v and mention the cc1plus command line and
attach test.ii).