[Bug target/94706] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 Jakub Jelinek changed: What|Removed |Added CC||schwab at gcc dot gnu.org --- Comment #1

[Bug target/94706] New: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2020-04-22 Thread jakub at gcc dot gnu.org
Keywords: ABI, wrong-code Severity: blocker Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: jakub at gcc dot gnu.org, ktkachov at gcc dot gnu.org, matmal01

[Bug c/94705] [8/9/10 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396 since r8-5161

2020-04-22 Thread jakub at gcc dot gnu.org
Milestone|--- |8.5 Last reconfirmed||2020-04-22 CC||jakub at gcc dot gnu.org Priority|P3 |P4 --- Comment #1 from Jakub Jelinek --- Started with r8-5161

[Bug c/94705] [8/9/10 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396 since r8-5161

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94705 --- Comment #2 from Jakub Jelinek --- Slightly reduced: void foo (); int bar (void) { foo (baz); void __attribute__ ((noinline)) baz (void); }

[Bug c/94705] [8/9/10 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396 since r8-5161

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94705 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-04-22 Ever confirmed|0

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #2 from Jakub Jelinek --- With -std=c++14, the structure is passed in floating point registers 1, 2, 3, 4, 5 (SFmode each elt), with -std=c++17 the structure is passed in gprs 3, 4, 5 (where the first two contain 64-bits each, the las

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #3 from Jakub Jelinek --- --- gcc/config/rs6000/rs6000-call.c.jj 2020-03-30 22:53:40.746640328 +0200 +++ gcc/config/rs6000/rs6000-call.c 2020-04-22 11:07:05.507723606 +0200 @@ -5636,6 +5636,16 @@ rs6000_aggregate_candidate (const

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 --- Comment #4 from Jakub Jelinek --- Updated incomplete patch on top of https://gcc.gnu.org/pipermail/gcc-patches/2020-April/544276.html I've handled one rs6000_discover_homogeneous_aggregate caller where it wasn't that hard to figure out how t

[Bug target/94706] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 --- Comment #16 from Jakub Jelinek --- Would: --- gcc/config/ia64/ia64.c.jj 2020-01-12 11:54:36.338414540 +0100 +++ gcc/config/ia64/ia64.c 2020-04-22 12:49:59.627563114 +0200 @@ -4665,7 +4665,7 @@ hfa_element_mode (const_tree type, bool

[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug target/94706] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.5 |10.0 Priority|P3

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 Jakub Jelinek changed: What|Removed |Added Priority|P2 |P1 Target Milestone|8.5

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

[Bug target/94711] New: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm

2020-04-22 Thread jakub at gcc dot gnu.org
Keywords: ABI, wrong-code Severity: blocker Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: jakub at gcc dot gnu.org, ktkachov at gcc dot gnu.org, matmal01 at

[Bug target/94711] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94711 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Blocks|94704, 94706, 9470

[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 --- Comment #1 from Jakub Jelinek --- Completely untested guess: --- gcc/config/s390/s390.c.jj 2020-03-14 08:14:47.097741411 +0100 +++ gcc/config/s390/s390.c 2020-04-22 14:24:17.980091105 +0200 @@ -11917,7 +11917,8 @@ s390_function_arg_vec

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib)

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694 --- Comment #24 from Jakub Jelinek --- The dec_math.f90 FAILs are at all opt levels: ( ) qsind( 60.00) 0.866025403784438646763723170753 0.866025403784438596588302061718 Note: The following floating-point exceptions a

[Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib)

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694 --- Comment #27 from Jakub Jelinek --- (In reply to Fritz Reese from comment #26) > Created attachment 48351 [details] > Patch to protect trigd functions based on system availability (v2) > > I've attached a new patch for trigd. Below is the del

[Bug middle-end/94647] [10 Regression] bogus -Warray-bounds on strncpy into a larger member array from a smaller array

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94647 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug target/94710] [8/9/10 Regression] Assembler messages: Error: operand out of range (4 is not between 0 and 3) (xxsldwi 0,32,33,4)

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94710 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/94710] [8/9/10 Regression] Assembler messages: Error: operand out of range (4 is not between 0 and 3) (xxsldwi 0,32,33,4)

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94710 --- Comment #3 from Jakub Jelinek --- The first arg doesn't have to be constant: typedef int __attribute__ ((__vector_size__ (16))) V; typedef long __attribute__ ((__vector_size__ (16))) W; void foo (W *x) { *x = __builtin_shuffle (*x, (W){},

[Bug target/94707] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #9

[Bug target/94710] [8/9/10 Regression] Assembler messages: Error: operand out of range (4 is not between 0 and 3) (xxsldwi 0,32,33,4)

2020-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94710 --- Comment #4 from Jakub Jelinek --- I guess there are two issues, one is a backend issue that vec_shr_optab expander doesn't handle shift amount 0 correctly, and another in the middle-end, that it shouldn't be dumb and for shift_amt == const0_r

[Bug target/94707] [8/9 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] class |[8/9 Regression] class with

[Bug c/94705] [8/9 Regression] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396 since r8-5161

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94705 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] internal

[Bug middle-end/94724] [10 Regression] wrong code at -O0 on x86_64-linux-gnu since r10-7344-gca6c722561ce9b9d

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94724 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug middle-end/94724] [10 Regression] wrong code at -O0 on x86_64-linux-gnu since r10-7344-gca6c722561ce9b9d

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94724 --- Comment #2 from Jakub Jelinek --- Created attachment 48359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48359&action=edit gcc10-pr94724.patch Untested fix. Wanted to create it efficiently, but by building the COMPONENT_REFs with non

[Bug target/94710] [8/9/10 Regression] Assembler messages: Error: operand out of range (4 is not between 0 and 3) (xxsldwi 0,32,33,4)

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94710 --- Comment #5 from Jakub Jelinek --- For the middle-end side, I think we can do: 2020-04-23 Jakub Jelinek PR target/94710 * optabs.c (expand_vec_perm_const): For shift_amt const0_rtx just return v2. --- gcc/optabs.c.

[Bug middle-end/94715] Squared multiplies are unnecessarily signextended

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94715 --- Comment #4 from Jakub Jelinek --- The GIMPLE transformation is correct and should stay as is. User could have written int t = x * x; return t; instead. What you are asking for is a new RTL optimization somewhere (dunno if in expander, or wher

[Bug middle-end/94715] Squared multiplies are unnecessarily signextended

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94715 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/94717] [10 Regression] segfault with -O2 -fnon-call-exceptions -ftracer

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94717 --- Comment #4 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #3) > > The compiler is apparently not prepared for new trapping loads. Fixing... > > No, just a missing check on landing pads: > > index a6687cd9c98..4ab8e0250ab 10

[Bug tree-optimization/94717] [10 Regression] segfault with -O2 -fnon-call-exceptions -ftracer

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94717 --- Comment #6 from Jakub Jelinek --- Even the && info->ins_stmt != NULL in coalesce_immediate_stores is redundant, because try_coalesce_bswap is called with first = i - 1 and starts with i = first + 1 and thus caller's i and info in the caller i

[Bug tree-optimization/94718] Failure to optimize opposite signs check

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94718 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/94730] [8/9/10 Regression] internal compiler error: in fold_convert_loc, at fold-const.c:2435

2020-04-23 Thread jakub at gcc dot gnu.org
-const.c:2435 Last reconfirmed||2020-04-23 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Priority|P3 |P4 CC||jakub at gcc dot gnu.org

[Bug c/94731] [8/9/10 Regression] internal compiler error: in fold_convert_loc, at fold-const.c:2558

2020-04-23 Thread jakub at gcc dot gnu.org
|1 CC||jakub at gcc dot gnu.org Summary|[10 Regression] internal|[8/9/10 Regression] |compiler error: in |internal compiler error: in |fold_convert_loc, at

[Bug c/94730] [8/9/10 Regression] internal compiler error: in fold_convert_loc, at fold-const.c:2435

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94730 Jakub Jelinek changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #2

[Bug target/94706] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on ia64

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94706 Bug 94706 depends on bug 94383, which changed state. Bug 94383 Summary: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 What|Removed

[Bug target/94711] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94711 Bug 94711 depends on bug 94383, which changed state. Bug 94383 Summary: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 What|Removed

[Bug target/94707] [8/9 Regression] class with empty base passed incorrectly with -std=c++17 on powerpc64le

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707 Bug 94707 depends on bug 94383, which changed state. Bug 94383 Summary: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 What|Removed

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586 Bug 94586 depends on bug 94694, which changed state. Bug 94694 Summary: [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694 What|Remo

[Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib)

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94694 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 Bug 94704 depends on bug 94383, which changed state. Bug 94383 Summary: [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 What|Removed

[Bug target/94383] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on aarch64

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94383 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/94718] Failure to optimize opposite signs check

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94718 --- Comment #3 from Jakub Jelinek --- In fold-const.c this is optimized by fold_binary case EQ_EXPR: case NE_EXPR: /* Fold (X & C) op (Y & C) as (X ^ Y) & C op 0", and symmetries. */ Of course, the (x op 0) op2 (y op 0) for op < or >= and

[Bug tree-optimization/94718] Failure to optimize opposite signs check

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94718 --- Comment #4 from Jakub Jelinek --- --- gcc/fold-const.c.jj 2020-03-31 11:06:14.063512214 +0200 +++ gcc/fold-const.c2020-04-23 18:39:15.399738420 +0200 @@ -11631,50 +11631,6 @@ fold_binary_loc (location_t loc, enum tr return omit_

[Bug c++/90448] [8/9 Regression] decltype-based lambda parameter pack is rejected

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90448 --- Comment #5 from Jakub Jelinek --- The testcase ICEs on powerpc64-linux with -m32: lambda-generic-variadic20.C:5:12: internal compiler error: in expand_expr_addr_expr_1, at expr.c:8075 5 | auto L = [](auto ... a) { |^~~

[Bug middle-end/94724] [10 Regression] wrong code at -O0 on x86_64-linux-gnu since r10-7344-gca6c722561ce9b9d

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94724 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|jakub at red

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #5 from Jakub Jelinek --- All the PR89430 testcases have such a load.

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-23 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #7 from Jakub Jelinek --- (In reply to Jeffrey A. Law from comment #6) > THe whole point of that change is to not require a dominating load if the > object comes from the stack. Yeah, but I find that flawed. One can do it after perf

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #10 from Jakub Jelinek --- Yeah. add_or_mark_expr could be extended to handle more complex addresses (perhaps get_inner_reference and hash on the decl + offset expression and taking into account the bitpos/bitsize then? Further testc

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #11 from Jakub Jelinek --- If we don't want to revert the change completely, could we perhaps do: --- gcc/tree-ssa-phiopt.c.jj2020-03-19 10:23:50.542872359 +0100 +++ gcc/tree-ssa-phiopt.c 2020-04-24 10:54:10.341716841 +0200

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #13 from Jakub Jelinek --- Even better.

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #14 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #10) > bar is still miscompiled by some other optimization though > (and GCC 9 didn't do that), so we have some other regression. Sorry for the false alarm, the testc

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #16 from Jakub Jelinek --- Created attachment 48366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48366&action=edit gcc10-pr94734.patch So like this? The store data races thing can be covered by the non-addressable auto var c

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94734 --- Comment #17 from Jakub Jelinek --- Created attachment 48367 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48367&action=edit gcc10-pr94734.patch Updated patch.

[Bug c/94726] [10 Regression] ICE in uniform_vector_p, at tree.c:11214 since r10-2089-g21caa1a2649d586f

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94726 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c++/94742] [8/9/10 Regression] Incorrect "no return statement" warning with [[noreturn]] and __FUNCTION__

2020-04-24 Thread jakub at gcc dot gnu.org
Target Milestone|--- |8.5 CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Started with r8-4349-g1b6fa695ab5e6f6fd57ed9264b336f06f440125b when -Wreturn-type has been enabled by default, but with explicit -Wreturn-type and __attribute__

[Bug libfortran/94586] trigd_lib.inc:84:28: error: implicit declaration of function 'fmaf'

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586 --- Comment #42 from Jakub Jelinek --- I think this one is not fixed yet, there is some pa hpux specific patch. See e.g. #c39.

[Bug c++/94742] [8/9/10 Regression] Incorrect "no return statement" warning with [[noreturn]] and __FUNCTION__

2020-04-24 Thread jakub at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from Jakub Jelinek --- Created attachment 48368 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48368&acti

[Bug c++/90448] [8/9 Regression] decltype-based lambda parameter pack is rejected

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90448 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug target/92950] Wrong load instructions emitted for movv1qi

2020-04-24 Thread jakub at gcc dot gnu.org
||jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Jakub Jelinek --- Assuming fixed.

[Bug libstdc++/94747] Undefined behavior: integer overflow in libsupc++/dyncast.cc

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94747 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/94734] [10 Regression] Program crashes when compiled with -O2 since r10-1892-gb9ef6a2e04bfd013

2020-04-24 Thread jakub at gcc dot gnu.org
at gcc dot gnu.org |jakub at gcc dot gnu.org Resolution|--- |FIXED --- Comment #19 from Jakub Jelinek --- Fixed.

[Bug c++/94742] [8/9 Regression] Incorrect "no return statement" warning with [[noreturn]] and __FUNCTION__

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94742 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] Incorrect

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2020-04-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 89430, which changed state. Bug 89430 Summary: A missing ifcvt optimization to generate csel https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89430 What|Removed |Added --

[Bug tree-optimization/89430] A missing ifcvt optimization to generate csel

2020-04-24 Thread jakub at gcc dot gnu.org
||jakub at gcc dot gnu.org Status|RESOLVED|REOPENED --- Comment #13 from Jakub Jelinek --- The testcases for which this has been filed are no longer optimized, that needs more work for GCC11.

[Bug c/94755] [9/10 Regression] internal compiler error: Segmentation fault

2020-04-25 Thread jakub at gcc dot gnu.org
||jakub at gcc dot gnu.org Last reconfirmed||2020-04-25

[Bug c/94755] [9/10 Regression] internal compiler error: Segmentation fault

2020-04-25 Thread jakub at gcc dot gnu.org
at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek --- Created attachment 48371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48371&action=edit gcc10-pr94755.patch Untested fix.

[Bug c++/94772] [10 Regression] constructing constexpr variables fail with delegated constexpr constructors

2020-04-26 Thread jakub at gcc dot gnu.org
|UNCONFIRMED |NEW Target Milestone|--- |10.0 Ever confirmed|0 |1 CC||jakub at gcc dot gnu.org, ||jason at gcc dot gnu.org --- Comment #1 from

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #5 from Jakub Jelinek --- (In reply to Bence Szabó from comment #4) > As a remark for 'same code with -std=c++14 and -std=c++17 here', I can > confirm, the example you provided also produces same assembly for me in > c++14 and c++17.

[Bug target/94704] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on s390x/s390

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94704 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/94711] [8/9/10 Regression] class with empty base passed incorrectly with -std=c++17 on arm

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94711 --- Comment #1 from Jakub Jelinek --- So, what exactly needs changing on ARM? >From quick skimming, maybe arm_return_in_memory, very likely aapcs_vfp_sub_candidate, and maybe arm_needs_doubleword_align. What about comp_not_to_clear_mask_str_un ?

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #7 from Jakub Jelinek --- So, does: struct empty_base {}; struct S : public empty_base { struct{}a[1]; }; S s, a[5]; __attribute__((noipa)) void foo (int x, ...) { __builtin_va_list ap; __builtin_va_start (ap, x); if (x != 1 &&

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #10 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #9) > At least, when using: > gcc version 9.2.1 20190827 (Fedora MinGW 9.2.1-1.fc31) (GCC) > and executing with Wine. Yeah, I can clearly see it in the assembly th

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 Jakub Jelinek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #12 from Jakub Jelinek --- Another interesting test is: struct S {}; void foo (int, int, int, int, int, int, int, int, int, S, S, S, S, int); void baz (int, int, int, int, int, int, int, int, int, int); int bar () { foo (1, 2, 3, 4

[Bug target/94770] class with empty base passed incorrectly with -std=c++17 on mingw

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94770 --- Comment #13 from Jakub Jelinek --- Completely untested WIP patch: --- gcc/config/i386/i386.c.jj 2020-04-27 13:50:39.529692389 +0200 +++ gcc/config/i386/i386.c 2020-04-27 14:03:12.479322957 +0200 @@ -16550,6 +16550,23 @@ ix86_is_empty_r

[Bug c/94780] [8/9/10 Regression] ICE in walk_body at gcc/tree-nested.c:713 since r6-3632-gf6f69fb09c5f81df

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/94780] [8/9/10 Regression] ICE in walk_body at gcc/tree-nested.c:713 since r6-3632-gf6f69fb09c5f81df

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780 --- Comment #4 from Jakub Jelinek --- Created attachment 48382 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48382&action=edit gcc10-pr94780.patch Untested fix.

[Bug middle-end/94783] Abs-equivalent pattern is not recognized as abs

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94783 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/94663] [missed optimization] _mm512_dpbusds_epi32 generates excess vmovdqa64

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94663 --- Comment #3 from Jakub Jelinek --- (In reply to Vladimir Makarov from comment #2) > The best way to fix is to avoid to generate such code. But I don't know is > it possible for this case. I'm afraid that is hard, because the Intel intrinsic

[Bug tree-optimization/94801] Failure to optimize narrowed __builtin_clz

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94801 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/94802] Failure to recognize identities with __builtin_clz

2020-04-27 Thread jakub at gcc dot gnu.org
||easyhack, ||missed-optimization Last reconfirmed||2020-04-27 CC||jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #2 from

[Bug tree-optimization/94800] Failure to optimize yet another popcount idiom

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94800 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/94801] Failure to optimize narrowed __builtin_clz

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94801 --- Comment #5 from Jakub Jelinek --- In the source yes, but by the time the optimizer sees it on some targets x == 0 ? 32 : __builtin_clz (x) could have been already optimized into just __builtin_clz (x) depending on what the target macros say.

[Bug rtl-optimization/94798] Failure to optimize subtraction and 0 literal properly

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94798 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug other/94797] libiberty doesn't demangle spaceship operator

2020-04-27 Thread jakub at gcc dot gnu.org
at gcc dot gnu.org |jakub at gcc dot gnu.org CC||jakub at gcc dot gnu.org Last reconfirmed||2020-04-27 Version|unknown |10.0 Ever confirmed|0 |1

[Bug demangler/94797] libiberty doesn't demangle spaceship operator

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94797 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug target/94780] [8/9 Regression] ICE in walk_body at gcc/tree-nested.c:713 since r6-3632-gf6f69fb09c5f81df

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94780 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] ICE in |[8/9 Regression] ICE in

[Bug c/94809] [8/9/10 Regression] Different results between gcc-9 and gcc-6

2020-04-27 Thread jakub at gcc dot gnu.org
||jakub at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|--- |8.5 --- Comment #3 from Jakub Jelinek --- That folds it into IMAGPART_EXPR <.MUL_OVERFLOW ((long long unsigned int) a++ ,

[Bug tree-optimization/94809] [8/9/10 Regression] Different results between gcc-9 and gcc-6

2020-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94809 --- Comment #4 from Jakub Jelinek --- Created attachment 48390 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48390&action=edit gcc10-pr94809.patch Untested fix.

[Bug ipa/94472] 400.perlbench is slower when compiled at -O2 with both PGO and LTO on AMD Zen CPUs

2020-04-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94472 --- Comment #5 from Jakub Jelinek --- No, we can't block GCC 10 release indefinitely, we are already behind the usual schedule. We need to resolve the C++ ABI issues and get the release out.

[Bug tree-optimization/94809] [8/9 Regression] Different results between gcc-9 and gcc-6

2020-04-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94809 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10 Regression] |[8/9 Regression] Different

[Bug c++/94832] AVX512 scatter/gather macros lack parentheses when unoptimized

2020-04-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94832 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Ever

[Bug c++/94827] [10 Regression] crash on requires clause in tparam list since r10-4424

2020-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug target/94826] [8/9/10 regression] ICE in gcc.dg/pr94780.c after r10-7999

2020-04-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94826 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

<    4   5   6   7   8   9   10   11   12   13   >