[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2018-09-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #13 from Andreas Krebbel --- Author: krebbel Date: Thu Sep 6 07:35:35 2018 New Revision: 264142 URL: https://gcc.gnu.org/viewcvs?rev=264142=gcc=rev Log: S/390: Register pass_s390_early_mach statically The dump file used to come at

[Bug target/84332] ICE in insn_default_length, at config/s390/s390.md:9697 for -fstack-clash-protection

2018-08-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84332 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/84332] ICE in insn_default_length, at config/s390/s390.md:9697 for -fstack-clash-protection

2018-08-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84332 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Thu Aug 9 07:06:23 2018 New Revision: 263441 URL: https://gcc.gnu.org/viewcvs?rev=263441=gcc=rev Log: S/390: Fix PR84332 ICE with stack clash protection Our implementation of the

[Bug target/84332] ICE in insn_default_length, at config/s390/s390.md:9697 for -fstack-clash-protection

2018-08-08 Thread krebbel at gcc dot gnu.org
||2018-08-08 Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85295] ICE in extract_constrain_insn, at recog.c:2205

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85295 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #9 from Andreas

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #4 from Andreas

[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/85295] ICE in extract_constrain_insn, at recog.c:2205

2018-08-08 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85295 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Wed Aug 8 12:38:51 2018 New Revision: 263396 URL: https://gcc.gnu.org/viewcvs?rev=263396=gcc=rev Log: S/390: Fix PR85295 gcc/ChangeLog: 2018-08-08 Andreas Krebbel PR

[Bug tree-optimization/86844] wrong code generation cause by store merging pass

2018-08-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86844 Andreas Krebbel changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug tree-optimization/86844] wrong code generation cause by store merging pass

2018-08-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86844 --- Comment #1 from Andreas Krebbel --- Created attachment 44503 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44503=edit experimental patch This patch adds a check to check_no_overlap which rejects overlaps if it has seen a non-constant

[Bug tree-optimization/86844] New: wrong code generation cause by store merging pass

2018-08-03 Thread krebbel at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 44502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44502=edit Reduced testcase Compiling the attached testcase with -O2 resu

[Bug target/86547] s390x: Maximum number of LRA assignment passes is achieved (30) when compiling a small inline assembler snippet

2018-07-30 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86547 --- Comment #7 from Andreas Krebbel --- Author: krebbel Date: Mon Jul 30 08:30:06 2018 New Revision: 263063 URL: https://gcc.gnu.org/viewcvs?rev=263063=gcc=rev Log: lra: consider clobbers when selecting hard_regno to spill The idea behind the

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2018-07-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-07-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 --- Comment #6 from Andreas Krebbel --- (In reply to jwakely from comment #5) > On 03/07/18 10:07 +, r...@gcc.gnu.org wrote: > >--- Comment #4 from Jonathan Wakely --- > >Is this fixed now? > > Or do you plan to backport it? I would like

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-06-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Mon Jun 25 07:16:59 2018 New Revision: 262003 URL: https://gcc.gnu.org/viewcvs?rev=262003=gcc=rev Log: C++: Fix PR86082 When turning a user-defined numerical literal into an

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-06-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 --- Comment #2 from Andreas Krebbel --- Created attachment 44300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44300=edit experimental patch

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-06-07 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 Andreas Krebbel changed: What|Removed |Added Target||x86_64 Host|

[Bug c++/86082] New: user-defined literals are not converted to the execution charset

2018-06-07 Thread krebbel at gcc dot gnu.org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- template void q(); template <> void q<'1','2','3'>() {} template void operator""_test() { q (); } int main () {

[Bug tree-optimization/85478] ICE with single element vector

2018-06-04 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #13 from Andreas

[Bug tree-optimization/85478] ICE with single element vector

2018-04-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #10 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 24 12:18:26 2018 New Revision: 259593 URL: https://gcc.gnu.org/viewcvs?rev=259593=gcc=rev Log: Fix PR85478 gcc/ChangeLog: 2018-04-24 Andreas Krebbel

[Bug tree-optimization/85478] ICE with single element vector

2018-04-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #8 from Andreas Krebbel --- The problem is similar to PR83753 but with a different call-chain. Richard Sandiford fixed it by adding: /* First cope with the degenerate case of a single-element vector. */

[Bug tree-optimization/85478] ICE with single element vector

2018-04-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #7 from Andreas Krebbel --- The cross from comment #6 did not trigger the problem because I accidentally built it with --disable-checking. Dropping this and adding --with-long-double-128 triggers the ICE on a full cross as well as on

[Bug tree-optimization/85478] ICE with single element vector

2018-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #6 from Andreas Krebbel --- The difference I have seen so far was triggered by building the cross with "--without-headers". As a result the detected glibc version is 0.0: config.log: configure:28145: checking for target glibc

[Bug tree-optimization/85478] ICE with single element vector

2018-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #4 from Andreas Krebbel --- Indeed it does not appear to fail with a cross from x86. I've checked with r259518 on s390x as well as on x86. With an x86 cross no tree dump is generated after 012t.ompexp and the generated assembler file

[Bug tree-optimization/85478] ICE with single element vector

2018-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #2 from Andreas Krebbel --- I've opened another bugzilla for a probably unrelated problem triggered by a testcase reduce from the same source file: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85481

[Bug c++/85481] New: ICE in maybe_explain_implicit_delete

2018-04-20 Thread krebbel at gcc dot gnu.org
++ Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 43998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43998=edit Autoreduced testcase cc1plus t.cc } class b { t.cc:2:1: error: expected ‘,’ or ‘...’ bef

[Bug tree-optimization/85478] ICE with single element vector

2018-04-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85478 --- Comment #1 from Andreas Krebbel --- The testcases ICEs since r253196: S/390: Set the preferred mode for float vectors gcc/ChangeLog: 2017-09-26 Andreas Krebbel * config/s390/s390.c

[Bug tree-optimization/85478] New: ICE with single element vector

2018-04-20 Thread krebbel at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 43996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43996=edit Autoreduced testcase Compiling the attached testcase triggers an ICE cc1plus -ma

[Bug testsuite/85326] `make check` fails with `--disable-bootstrap` and `--enable-languages=c`

2018-04-13 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85326 --- Comment #4 from Andreas Krebbel --- Author: krebbel Date: Fri Apr 13 09:14:32 2018 New Revision: 259369 URL: https://gcc.gnu.org/viewcvs?rev=259369=gcc=rev Log: IBM Z: Get rid of target specific C++ testcase gcc/testsuite/ChangeLog:

[Bug middle-end/85369] New: no -Wstringop-overflow for a strcpy / stpcpy call with a nonstring pointer when providing movstr pattern

2018-04-12 Thread krebbel at gcc dot gnu.org
: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- c-c++-common/attr-nonstring-3.c fails on IBM Z. A warning only appears when the strcpy

[Bug tree-optimization/85368] [8 regression] phi-opt-11 test fails on IBM Z

2018-04-12 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85368 --- Comment #1 from Andreas Krebbel --- For e.g. Power this has been fixed as part of PR81184

[Bug tree-optimization/81184] [8 regression] gcc.dg/pr21643.c and gcc.dg/tree-ssa/phi-opt-11.c fail starting with r249450

2018-04-12 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81184 --- Comment #10 from Andreas Krebbel --- I've verified that the problem is fixed on Power. So I've opened a separate BZ for this #85368

[Bug tree-optimization/85368] New: [8 regression] phi-opt-11 test fails on IBM Z

2018-04-12 Thread krebbel at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- No IF statements remain although LOGICAL_OP_NON_SHORT_CIRCUIT is not defined on S/390 and hence defaults to true when using -mbranch-cost=2. The testcase appears

[Bug tree-optimization/81184] [8 regression] gcc.dg/pr21643.c and gcc.dg/tree-ssa/phi-opt-11.c fail starting with r249450

2018-04-10 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81184 Andreas Krebbel changed: What|Removed |Added CC||krebbel at gcc dot gnu.org

[Bug target/85295] ICE in extract_constrain_insn, at recog.c:2205

2018-04-10 Thread krebbel at gcc dot gnu.org
-09 00:00:00 |2018-04-10 Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Andreas Krebbel --- (In reply to Jakub Jelinek from comment #1) > Shouldn't we just remove -mno-lra supp

[Bug tree-optimization/84486] [7/8 Regression] code hoisting removes alignment assumption

2018-03-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84486 --- Comment #3 from Andreas Krebbel --- (In reply to Richard Biener from comment #2) > Created attachment 43540 [details] > candidate patch > > Can you check whether this patch works for you (on the unreduced testcase > which likely exists)?

[Bug ada/84706] New: Ada bootstrap fails on s390x since r258124

2018-03-05 Thread krebbel at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:407 gnatmake: "/home/andreas/gcc/gcc/ada/xref_lib.adb" compilation error make[3]: *** [../gcc-interface/Makefile:2212: co

[Bug tree-optimization/84486] New: code hoisting removes alignment assumption

2018-02-20 Thread krebbel at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 43473 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43473=edit Autoreduced testcase The __atomic_compare_exchange_n builtin on s390 u

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3 from Andreas

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/84295] [7 Regression] glibc failed to build

2018-02-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84295 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/83147] LRA inheritance undo on multiple sets problem

2018-01-19 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83147 --- Comment #3 from Andreas Krebbel --- (In reply to Vladimir Makarov from comment #2) > (In reply to Andreas Krebbel from comment #1) > > Created attachment 42714 [details] > > Experimental patch > > > > This patch appears to fix the problem

[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569

2017-12-18 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83420 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Mon Dec 18 11:31:06 2017 New Revision: 255777 URL: https://gcc.gnu.org/viewcvs?rev=255777=gcc=rev Log: S/390: PR83420: Improve hotpatch option parsing. With the attached patch we

[Bug rtl-optimization/83420] S/390 bootstrap failure starting with r255569

2017-12-14 Thread krebbel at gcc dot gnu.org
||2017-12-14 Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andreas Krebbel --- The error messages I've posted were not complete. The important is that one: /home/andreas

[Bug rtl-optimization/83420] New: S/390 bootstrap failure starting with r255569

2017-12-14 Thread krebbel at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- S/390 64 bit currently fails to bootstrap in stage 3. The problem started with r255569 In file included from /home/andreas/build/../gcc/gcc/system.h:691

[Bug rtl-optimization/83147] LRA inheritance undo on multiple sets problem

2017-11-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83147 Andreas Krebbel changed: What|Removed |Added Keywords||wrong-code Target|

[Bug rtl-optimization/83147] LRA inheritance undo on multiple sets problem

2017-11-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83147 --- Comment #1 from Andreas Krebbel --- Created attachment 42714 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42714=edit Experimental patch This patch appears to fix the problem for me. However, it isn't really tested yet.

[Bug rtl-optimization/83147] New: LRA inheritance undo on multiple sets problem

2017-11-24 Thread krebbel at gcc dot gnu.org
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 42713 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42713=edit Autoreduced testcase Compiling the attached testcase with: gcc -march=z

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2017-11-16 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 Andreas Krebbel changed: What|Removed |Added Priority|P3 |P2 --- Comment #8 from Andreas

[Bug rtl-optimization/82578] Redundant instructions emitted starting with r204212

2017-10-17 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82578 --- Comment #2 from Andreas Krebbel --- I was wondering why CSE doesn't do the right thing here. In fact it would if it would not consider our access registers to be particularly cheap. Access registers are fixed hard regs. Hence, cse considers

[Bug rtl-optimization/82578] Redundant instructions emitted starting with r204212

2017-10-17 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82578 --- Comment #1 from Andreas Krebbel --- As expected the rtl dumps are identical up to removed "regmove" pass. The interesting change is in insn 8. With regmove the value already loaded into r47 is reused while without regmove it is loaded from

[Bug rtl-optimization/82578] New: Redundant instructions emitted starting with r204212

2017-10-17 Thread krebbel at gcc dot gnu.org
Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Starting with r204212 (2013-10-30) a redundant thread pointer extract is emitted. static __thread int counter; void gs_handler(void) { counter

[Bug target/82463] vec_madd does not map to __builtin_s390_vfmasb for z14

2017-10-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82463 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Mon Oct 9 12:07:54 2017 New Revision: 253543 URL: https://gcc.gnu.org/viewcvs?rev=253543=gcc=rev Log: S/390: PR82463: Fix vec_madd header file definition The builtin was not

[Bug target/82465] vec_sqrt() for vector double erroneously fails for z13

2017-10-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82465 --- Comment #1 from Andreas Krebbel --- Author: krebbel Date: Mon Oct 9 12:06:11 2017 New Revision: 253542 URL: https://gcc.gnu.org/viewcvs?rev=253542=gcc=rev Log: S/390: PR82465: Fix vec_sqrt builtin flags The vector double variant is

[Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'

2017-10-09 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82464 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82317] [8 Regression] "'__builtin_s390_vec_min' matching variant requires z14 or higher" for __vector(2) double when it should work on -march=z13 as well

2017-10-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82317 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/82322] [7/8 Regression] vec_ceil/vec_floor/vec_round intrincics do not work for gcc 8, need __builtin_s390_vfidb

2017-10-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82322 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/82322] [7/8 Regression] vec_ceil/vec_floor/vec_round intrincics do not work for gcc 8, need __builtin_s390_vfidb

2017-10-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82322 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Fri Oct 6 09:19:46 2017 New Revision: 253481 URL: https://gcc.gnu.org/viewcvs?rev=253481=gcc=rev Log: PR82322: S/390: Fix vec_ceil and friends vec_ceil and friends are expanded by

[Bug target/82317] [8 Regression] "'__builtin_s390_vec_min' matching variant requires z14 or higher" for __vector(2) double when it should work on -march=z13 as well

2017-10-06 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82317 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Fri Oct 6 09:18:37 2017 New Revision: 253480 URL: https://gcc.gnu.org/viewcvs?rev=253480=gcc=rev Log: PR82317: S/390: Fix vec_min/vec_max builtins for IBM z13. With IBM z14 a

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-09-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-09-01 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 --- Comment #9 from Andreas Krebbel --- Author: krebbel Date: Fri Sep 1 15:58:05 2017 New Revision: 251601 URL: https://gcc.gnu.org/viewcvs?rev=251601=gcc=rev Log: S/390: PR82012: Implement CAN_INLINE_P target hook. TARGET_CAN_INLINE_P must

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-08-30 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 --- Comment #7 from Andreas Krebbel --- (In reply to rguent...@suse.de from comment #6) ... > IPA computes this for us, but only somewhat as it looks for FP expressions > only (hopefully taking all inline asm as containing FP expressions) but >

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-08-29 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 --- Comment #5 from Andreas Krebbel --- (In reply to rguent...@suse.de from comment #4) > Not sure. The user might be deliberately expecting an error when > such function is called from wrong target context. The function > might contain inline

[Bug target/82012] [8 Regression] libitm build fails for s390x-linux-gnu

2017-08-29 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82012 --- Comment #3 from Andreas Krebbel --- (In reply to Richard Biener from comment #1) ... > inline int __attribute__((always_inline)) foo () { return 0; } > int __attribute__((target("soft-float"))) test () { return foo (); } > > > s390 misses

[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430

2017-08-23 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890 Andreas Krebbel changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #9 from Andreas

[Bug target/81534] [7/8 Regression] ICE in in extract_insn, at recog.c:2311 (unrecognizable insn)

2017-07-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81534 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/81534] [7/8 Regression] ICE in in extract_insn, at recog.c:2311 (unrecognizable insn)

2017-07-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81534 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Thu Jul 27 10:42:22 2017 New Revision: 250618 URL: https://gcc.gnu.org/viewcvs?rev=250618=gcc=rev Log: S/390: Fix PR81534 The HI/QI atomic_fetch_" expander accepted symbolic

[Bug target/81534] [7/8 Regression] ICE in in extract_insn, at recog.c:2311 (unrecognizable insn)

2017-07-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81534 --- Comment #1 from Andreas Krebbel --- Author: krebbel Date: Thu Jul 27 10:39:49 2017 New Revision: 250617 URL: https://gcc.gnu.org/viewcvs?rev=250617=gcc=rev Log: S/390: Fix PR81534 The HI/QI atomic_fetch_" expander accepted symbolic

[Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc

2017-07-11 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81393 Andreas Krebbel changed: What|Removed |Added Attachment #41716|0 |1 is obsolete|

[Bug go/81393] Bootstrap failure on s390x-linux while building libgo against recent glibc

2017-07-11 Thread krebbel at gcc dot gnu.org
||2017-07-11 Assignee|ian at airs dot com|krebbel at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Andreas Krebbel --- Created attachment 41716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41716=e

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2017-07-07 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 --- Comment #7 from Andreas Krebbel --- Created attachment 41699 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41699=edit Additional changes required ontop of the proposed patch Changes which might be required on-top of your patch. Your

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2017-06-22 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 --- Comment #4 from Andreas Krebbel --- Created attachment 41609 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41609=edit Reduced testcase gcc -O3 -march=z900 t.c r33 is marked as unused in process_bb_lives for the compare (insn 10),

[Bug rtl-optimization/80818] LRA clobbers live hard reg clobbered during rematerialization

2017-06-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80818 --- Comment #2 from Andreas Krebbel --- I think this is a different problem. In my case the reason for adding an invalid rematerialization appears to be that the live ranges of an hard registers are not correctly calculated. I've just verified

[Bug target/80725] [7 Regression] s390x ICE on alsa-lib

2017-05-29 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80725 --- Comment #6 from Andreas Krebbel --- Author: krebbel Date: Mon May 29 07:54:13 2017 New Revision: 248557 URL: https://gcc.gnu.org/viewcvs?rev=248557=gcc=rev Log: S/390: Fix PR80725. gcc/ChangeLog: 2017-05-29 Andreas Krebbel

[Bug target/80725] [7/8 Regression] s390x ICE on alsa-lib

2017-05-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80725 --- Comment #5 from Andreas Krebbel --- Author: krebbel Date: Wed May 24 11:36:54 2017 New Revision: 248407 URL: https://gcc.gnu.org/viewcvs?rev=248407=gcc=rev Log: S/390: Fix PR80725. gcc/ChangeLog: 2017-05-24 Andreas Krebbel

[Bug target/80725] [7/8 Regression] s390x ICE on alsa-lib

2017-05-22 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80725 --- Comment #3 from Andreas Krebbel --- process_address_1 does not do any address reloading because it only checks the first constraint letter whether it is an extra address constraint or not. In our case ("a,ZR") it is a register constraint.

[Bug rtl-optimization/80818] New: LRA clobbers live hard reg clobbered during rematerialization

2017-05-18 Thread krebbel at gcc dot gnu.org
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 41383 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41383=edit Experimental patch GCC revis

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-05-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:18:52 2017 New Revision: 247191 URL: https://gcc.gnu.org/viewcvs?rev=247191=gcc=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TImode

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #3 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:15:44 2017 New Revision: 247190 URL: https://gcc.gnu.org/viewcvs?rev=247190=gcc=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter is

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #10 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 11:11:48 2017 New Revision: 247189 URL: https://gcc.gnu.org/viewcvs?rev=247189=gcc=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimizes the

[Bug target/80464] [7/8 regression] S/390: ICE failed to split vector move

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:43:49 2017 New Revision: 247134 URL: https://gcc.gnu.org/viewcvs?rev=247134=gcc=rev Log: S/390: PR80464: Split MEM->GPR vector moves We do this already for TImode

[Bug target/79895] ICE in extract_constrain_insn, at recog.c:2213

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79895 --- Comment #2 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:41:41 2017 New Revision: 247133 URL: https://gcc.gnu.org/viewcvs?rev=247133=gcc=rev Log: S/390: PR79895: Fix TImode constant handling The P constraint letter is

[Bug target/80080] S390: Isses with emitted cs-instructions for __atomic builtins.

2017-04-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 --- Comment #9 from Andreas Krebbel --- Author: krebbel Date: Tue Apr 25 07:37:50 2017 New Revision: 247132 URL: https://gcc.gnu.org/viewcvs?rev=247132=gcc=rev Log: S/390: PR80080: Optimize atomic patterns. The attached patch optimizes the

[Bug target/80464] [7 regression] S/390: ICE failed to split vector move

2017-04-19 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80464 --- Comment #1 from Andreas Krebbel --- Created attachment 41230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41230=edit Experimental patch The problem was introduced with the arch12 patchset.

[Bug target/80464] [7 regression] S/390: ICE failed to split vector move

2017-04-19 Thread krebbel at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-04-19 Host||s390x-ibm-linux Assignee|unassigned at gcc dot gnu.org |krebbel at gcc dot gnu.org Ever confirmed|0 |1

[Bug target/80464] New: [7 regression] S/390: ICE failed to split vector move

2017-04-19 Thread krebbel at gcc dot gnu.org
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: krebbel at gcc dot gnu.org Target Milestone: --- Created attachment 41229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41229=edit Reduced testcase Compiling the attached testcase with: gfortran -c

[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430

2017-04-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/79890] ICE in s390_initial_elimination_offset, at config/s390/s390.c:10430

2017-04-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79890 --- Comment #6 from Andreas Krebbel --- Author: krebbel Date: Wed Apr 5 08:28:18 2017 New Revision: 246701 URL: https://gcc.gnu.org/viewcvs?rev=246701=gcc=rev Log: PR target/79890: S/390: Fix crash. builtin_eh_return requires the return

[Bug rtl-optimization/77919] [5 Regression] ICE converting DC to V2DF mode

2017-04-04 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77919 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79893] ICE in s390_adjust_builtin_arglist in gcc/config/s390/s390-c.c:679

2017-04-04 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79893 Andreas Krebbel changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79904] ICE in annotate_constant_pool_refs, at config/s390/s390.c:7909

2017-04-04 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79904 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/79356] XPASS in attr-alloc_size-11.c

2017-04-03 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 --- Comment #14 from Andreas Krebbel --- Author: krebbel Date: Mon Apr 3 10:57:41 2017 New Revision: 246645 URL: https://gcc.gnu.org/viewcvs?rev=246645=gcc=rev Log: Don't xfail on s390. The attached patch removes the XFAIL in

[Bug rtl-optimization/70478] [LRA] S/390: Performance regression - superfluous stack frame

2017-03-30 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70478 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/79904] ICE in annotate_constant_pool_refs, at config/s390/s390.c:7909

2017-03-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79904 --- Comment #7 from Andreas Krebbel --- Author: krebbel Date: Fri Mar 24 13:52:30 2017 New Revision: 246443 URL: https://gcc.gnu.org/viewcvs?rev=246443=gcc=rev Log: S/390: PR79904: Disallow reg + sym_ref literal pool addresses. We accept reg +

[Bug target/79893] ICE in s390_adjust_builtin_arglist in gcc/config/s390/s390-c.c:679

2017-03-24 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79893 --- Comment #4 from Andreas Krebbel --- Author: krebbel Date: Fri Mar 24 13:51:32 2017 New Revision: 246442 URL: https://gcc.gnu.org/viewcvs?rev=246442=gcc=rev Log: S/390: PR79893: Add diagnostics vec_load_bndry builtin. The boundary argument

[Bug target/80106] ICE on an invalid code in tree_to_uhwi, at tree.c:7344

2017-03-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80106 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

<    1   2   3   4   5   6   7   >