[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-06 Thread rguenth at gcc dot gnu.org
|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- Ah, thanks for the hints - that's something I can work with more easily than an Ada testcase ;)

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #6 from Richard Biener --- Btw, I still wonder how it works with abstract functions, inline and concrete instances. Works in gdb, that is - will dig into it a bit after lunch.

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #7 from Richard Biener --- (In reply to Richard Biener from comment #6) > Btw, I still wonder how it works with abstract functions, inline and > concrete instances. Works in gdb, that is - will dig into it a bit after > lunch. So he

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #9 from Richard Biener --- (In reply to Tom de Vries from comment #8) > (In reply to Richard Biener from comment #7) > > (In reply to Richard Biener from comment #6) > > > Btw, I still wonder how it works with abstract functions, inli

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #10 from Richard Biener --- It works again when re-adding the imports. info variables then shows File t.c: 1: static const int i; for the case of a single import. When I import twice (into two CUs) I still see only one 'i' li

[Bug debug/94495] [10 Regression] Debug info size growth since r10-7515-g2c0fa3ecf70d199a

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94495 --- Comment #2 from Richard Biener --- Looks like ~20% for the first case so possibly worth investigating. I can very well imagine we now less often run into some cut-offs and generate debug while we gave up previously.

[Bug tree-optimization/94482] [8/9/10 Regression] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #20 from Richard Biener --- (In reply to Richard Biener from comment #19) > gcc.dg/torture/pr52244.c ICEs on the generated > > VIEW_CONVERT_EXPR(u) = bar (); > > since V_C_E on the LHS are generally unwanted (but Ada has them for

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94497 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-06 Status|UNCONFIRM

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94497 --- Comment #3 from Richard Biener --- Created attachment 48213 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48213&action=edit incomplete patch In case anybody is interested to complete it ...

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94497 --- Comment #4 from Richard Biener --- As a workaround you can use -ffinite-math-only -fno-signed-zeros if that is applicable to the rest of your application.

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94497 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* --- Comment #6 from

[Bug tree-optimization/94482] [8/9/10 Regression] Inserting into vector with optimization enabled on x86 generates incorrect result

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94482 --- Comment #22 from Richard Biener --- Note that when REALPART_EXPR/IMAGPART_EXPR or BIT_FIELD_REF was there using a VIEW_CONVERT_EXPR on their op0 should be OK. Since we then have grp_partial_def SRA will ensure the replacement is not written

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/94506] broken code generate on MIPS

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94506 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-07 Status|UNCONFIRM

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 --- Comment #5 from Richard Biener --- I still can't reproduce the issue so can you please test the following patch ontop of GCC 9? It probably applies to GCC 8 as well. Thanks. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index bd8bd6d7e06..f

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE executables.

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1 from

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE executables.

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 Richard Biener changed: What|Removed |Added CC||amodra at gcc dot gnu.org --- Comment #

[Bug c++/94512] [10 Regression] ICE in tsubst_expr, at cp/pt.c:18210

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94512 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug go/94513] New: [10 Regression] go buildid and cgo tools require symbols in GLIBC_PRIVATE namespace

2020-04-07 Thread rguenth at gcc dot gnu.org
Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: rguenth at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- > readelf -s buildid | grep GLIBC_PRIVATE 25: 0 F

[Bug go/94513] [10 Regression] go buildid and cgo tools require symbols in GLIBC_PRIVATE namespace

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94513 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 CC|

[Bug go/94513] [10 Regression] go buildid and cgo tools require symbols in GLIBC_PRIVATE namespace

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94513 --- Comment #2 from Richard Biener --- I guess the proper solution is to invoke the syscalls directly rather than going through the libc wrappers?

[Bug libgcc/94513] [10 Regression] go buildid and cgo tools require symbols in GLIBC_PRIVATE namespace

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94513 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-04-07 Status|UNCONFIRM

[Bug go/94513] [10 Regression] go buildid and cgo tools require symbols in GLIBC_PRIVATE namespace

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94513 Richard Biener changed: What|Removed |Added Keywords|build | Status|NEW

[Bug rtl-optimization/94516] [10 Regression] gnutls test ./psk-file fails since r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94516 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #14 from Richard Biener --- OK, so I think your interpretation of PUs and CUs and using PUs for the early DWARF and CUs for the late DWARF fits the LTO model "good enough" with the caveat of losing info about things that are not in an

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 --- Comment #7 from Richard Biener --- OK, built a cross to x86_64-netbsd and I see we go from Breakpoint 8, gimplify_addr_expr (expr_p=0x76cdec28, pre_p=0x7fffd8b0, post_p=0x7fffcc40) at /space/rguenther/src/gcc/gcc/gimplify.c:

[Bug target/94518] [9 Regression] ICE: RTL check: expected code 'const_int', have 'reg' in output_3774, at config/aarch64/atomics.md:758

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94518 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4

[Bug target/94479] NetBSD: internal compiler error: in recompute_tree_invariant_for_addr_expr

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94479 Richard Biener changed: What|Removed |Added Known to work||10.0 --- Comment #9 from Richard Biener

[Bug tree-optimization/93946] Bogus redundant store removal

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #19 from Richard Biener --- (In reply to sandra from comment #18) > Hmmm, it looks to me like things are going wrong in the tree fre1 pass too. > I commented out the redundant zero store in the test case to see what would > happen, l

[Bug inline-asm/94522] Enhancement request: asm goto with outputs

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94522 Richard Biener changed: What|Removed |Added Status|WAITING |NEW

[Bug tree-optimization/94524] [8/9/10 Regression] wrong code with vector modulo operation since r0-117580

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94524 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/94526] [10 Regression] cselib ICE building glibc sigpause for m68k and microblaze since r10-7575-g8662d0593438ecd498

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94526 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/94527] RFE: Add an __attribute__ that marks a function as freeing an object

2020-04-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94527 Richard Biener changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #5 from Richard

[Bug debug/94469] lto abstract variable emitted as concrete decl (ada test-case)

2020-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94469 --- Comment #17 from Richard Biener --- Created attachment 48241 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48241&action=edit patch for the DW_AT_declaration idea So this is a patch implementing DW_AT_declaration + DW_AT_specification

[Bug target/94530] [9/10 Regression] ICE: SIGSEGV in rhs_regno (rtl.h:1924) with -Os -mcpu=falkor -mpc-relative-literal-loads -mcmodel=large

2020-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94530 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4 Priority|P3

[Bug tree-optimization/93946] Bogus redundant store removal

2020-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #20 from Richard Biener --- So for the CSE issue we go through the equivalence chain and find (gdb) p debug_rtx (p->exp) (mem/j:SI (reg/v/f:SI 48 [ ptr ]) [1 MEM[(struct aa *)ptr_1(D)].a.u.i+0 S4 A32]) 5076 if (GET_CODE

[Bug tree-optimization/94532] [10 Regression] ICE while compiling speccpu2017 blender

2020-04-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94532 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Version|tr

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

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 92253, which changed state. Bug 92253 Summary: [10 Regression] 25% regression in 465.tonto with LTO https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92253 What|Removed |Added ---

[Bug ipa/92253] [10 Regression] 25% regression in 465.tonto with LTO

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92253 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93369 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug ipa/93385] [10 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2020-04-09 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org --- Comment #16 from Richard Biener --- (In reply to Martin Jambor from comment #14) > Another option, which does not create an inter-pass dependency and > does not clutter tree-inline any more, but which pessimizes IPA-SRA

[Bug tree-optimization/91322] [10 regression] g++.dg/lto/alias-4_0.C test failure

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91322 Richard Biener changed: What|Removed |Added Summary|[10 regression] alias-4 |[10 regression] |test

[Bug ipa/93369] [10 regression] g++.dg/lto/pr64076 fails

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93369 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug rtl-optimization/93264] [10 Regression] ICE in cfg_layout_redirect_edge_and_branch_force, at cfgrtl.c:4522

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 Richard Biener changed: What|Removed |Added Priority|P1 |P2 Target Milestone|10.0

[Bug middle-end/94539] [10 Regression] gcc.dg/alias-14.c fails on gcc 10, succeeds on gcc 9, when turned into an execution test

2020-04-09 Thread rguenth at gcc dot gnu.org
||2020-04-09 Target Milestone|--- |10.0 CC||hubicka at gcc dot gnu.org, ||rguenth at gcc dot gnu.org Keywords||wrong-code

[Bug target/92550] [10 Regression] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 Richard Biener changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- C

[Bug target/92550] [10 Regression] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 --- Comment #6 from Richard Biener --- Might also be interesting to try other strict-align targets with -fno-ipa-sra. But - this might also be a speciality of the callee-copy ABI of hpux.

[Bug middle-end/94539] [10 Regression] gcc.dg/alias-14.c fails on gcc 10, succeeds on gcc 9, when turned into an execution test

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94539 --- Comment #4 from Richard Biener --- Yeah, this commit has caused other issues in the past that are meanwhile fixed though.

[Bug middle-end/94539] [10 Regression] gcc.dg/alias-14.c fails on gcc 10, succeeds on gcc 9, when turned into an execution test

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94539 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug testsuite/92550] FAIL: gcc.dg/ipa/ipa-sra-8.c execution test

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92550 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|10.0

[Bug lto/48065] LTO: assertion failed in optimize_inline_calls, at tree-inline.c:4246

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48065 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/94543] missed optimization with MIN and AND with type promotion

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94543 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Version|tree-ssa

[Bug target/94551] [10 Regression] Bootstrap failure on powerpc64le-unknown-linux-gnu

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94551 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/94549] [10 Regression] Inherited and constrained constructors are "ambiguous" even if they aren't

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94549 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug target/94557] [9 regression] r9-8486 causes several builtin instruction test case execution failures on power 9

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94557 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4 Known to work|

[Bug target/94556] FAIL: nptl/tst-thread-exit-clobber

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94556 Richard Biener changed: What|Removed |Added Known to work||10.0 Target Milestone|10.0

[Bug target/94561] [10 Regression] ICE in ix86_get_ssemov

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94561 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Priority|P3

[Bug tree-optimization/94566] conversion between std::strong_ordering and int

2020-04-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94566 --- Comment #1 from Richard Biener --- So for conv2 the most immediate issue is that we're failing to sink and common the assignment to D.8516._M_value (I had patches for this). conv2 (int i) { int i_2(D) = i; struct strong_ordering D.8516;

[Bug c++/94569] alignas(object) with a weaker (smaller) alignment than the alignas(type) of it's type compiles, inconsistent with the C++ standard

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94569 Richard Biener changed: What|Removed |Added Keywords||accepts-invalid --- Comment #3 from Ric

[Bug tree-optimization/94573] Optimizer produces suboptimal code related to -fstore-merging

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94573 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/94579] OVS compiled with gcc10 with -fanalyzer since r10-7502-ga96f1c38a787fbc8

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94579 Richard Biener changed: What|Removed |Added Target Milestone|10.0|--- Keywords|

[Bug c++/94583] [10 Regression] ICE in get_defaulted_eh_spec, at cp/method.c:2421

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94583 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|ice-on-invalid-co

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

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94586 --- Comment #2 from Richard Biener --- Not all targets have a C99 math runtime. libgfortran configury tests for a load of C99 functions: # Check for C99 (and other IEEE) math functions GCC_CHECK_MATH_FUNC([acosf]) GCC_CHECK_MATH_FUNC([acos]) GC

[Bug tree-optimization/94573] Optimizer produces suboptimal code related to -fstore-merging

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94573 --- Comment #4 from Richard Biener --- Means we should add the testcase?

[Bug target/61837] missed loop invariant expression optimization

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61837 --- Comment #10 from Richard Biener --- Note the unswitching pass has special code to hoist guards of inner loops steming from loop header copying. That could possibly be enabled at -O2 since it doesn't come with a size penalty due to loop copyi

[Bug tree-optimization/94589] Optimize (i<=>0)>0 to i>0

2020-04-14 Thread rguenth at gcc dot gnu.org
||2020-04-14 Ever confirmed|0 |1 CC||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- Hmm. I would have said phiopt but then there's the missing opportunity to handle PHIs as COND_EXPR

[Bug c++/94592] ICE in non-type template parameter with constexpr constructor

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94592 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from R

[Bug target/94591] [8/9/10 Regression] Assembler messages: Error: operand mismatch -- `rev64 v0.2d,v0.2d'

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94591 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.5 Priority|P3

[Bug middle-end/94539] [10 Regression] gcc.dg/alias-14.c fails on gcc 10, succeeds on gcc 9, when turned into an execution test

2020-04-14 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener --- Like diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index df9ba0de0d6..2850141303e 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -831,6 +831,15 @@ same_type_for_tbaa (tree

[Bug target/94567] [10 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94567 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Component|

[Bug target/94567] [10 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94567 --- Comment #4 from Richard Biener --- Wonder if the simplest thing is to turn the zero_extract into a zero_extend so we can maintain the and in SImode. And whether combine will ever generate a zero_extract that extracts the SImode MSB.

[Bug target/94567] [10 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94567 --- Comment #6 from Richard Biener --- (In reply to Jeffrey A. Law from comment #5) > I've pondered just killing that pattern, but I'm pretty sure there'll be > notable regressions. There was a clear regression we fixed in gcc-6 due to > not han

[Bug target/94561] [10 Regression] ICE in ix86_get_ssemov

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94561 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/94574] aarch64: ICE during GIMPLE pass:ccp

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94574 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/93053] [9/10 Regression] libgcc build failure with old binutils on aarch64

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93053 Richard Biener changed: What|Removed |Added Target Milestone|10.0|9.4 Known to work|

[Bug middle-end/94600] Ignored volatile specifier on loop unrolling and bitfield misoptimization

2020-04-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94600 --- Comment #3 from Richard Biener --- Confirmed on arm. The odd thing is that the optimized GIMPLE for foo() is much nicer: foo () { [local count: 153437707]: MEM[(volatile struct t0 *)655404B] ={v} a0[0]; MEM[(volatile struct t0 *)6554

[Bug middle-end/94600] Ignored volatile specifier on loop unrolling and bitfield misoptimization

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94600 --- Comment #4 from Richard Biener --- We're going through rtx store_expr (tree exp, rtx target, int call_param_p, bool nontemporal, bool reverse) { ... normal_expr: /* If we want to use a nontemporal or a reverse order store

[Bug middle-end/94600] Ignored volatile specifier on loop unrolling and bitfield misoptimization

2020-04-15 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener --- Joseph, what's the constraints on an aggregate assignment through a volatile qualified pointer using a type like typedef struct { unsigned int f0 : 4; unsigned int f1 : 11; unsigned i

[Bug middle-end/94600] Ignored volatile specifier on loop unrolling and bitfield misoptimization

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94600 --- Comment #6 from Richard Biener --- So for example diff --git a/gcc/expr.c b/gcc/expr.c index b97c217e86d..a980811c1e9 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -8263,7 +8263,8 @@ expand_constructor (tree exp, rtx target, enum expand_modifi

[Bug ipa/69075] ICE when setting early-inlining-insns to other than default

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69075 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/94539] [10 Regression] gcc.dg/alias-14.c fails on gcc 10, succeeds on gcc 9, when turned into an execution test

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94539 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/94604] support for the ETSI basic operations

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94604 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Target|

[Bug bootstrap/92008] Build failure on cygwin

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #9) > Wouldn't it be better to git mv plural.y plural.y.in and depending on bison > >= 3 or earlier just with sed tweak it (and in configure detect bison > version, o

[Bug target/94567] [10 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94567 --- Comment #8 from Richard Biener --- (In reply to Jeffrey A. Law from comment #7) > I think it's trying to use smaller modes because the encodings can be > smaller. In other cases it changes the mode to avoid partial register > stalls. It's a

[Bug middle-end/94206] Wrong optimization: memset of n-bit integer types (from bit-fields) is truncated to n bits (instead of sizeof)

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94206 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/94103] Wrong optimization: reading value of a variable changes its representation for optimizer

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/94566] conversion between std::strong_ordering and int

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94566 Richard Biener changed: What|Removed |Added Blocks|11832, 33315| Depends on|

[Bug tree-optimization/33315] stores not commoned by sinking

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315 --- Comment #12 from Richard Biener --- Created attachment 48279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48279&action=edit patch Patch forward ported to current trunk.

[Bug target/94606] [10 Regression] ICE creating fixed-length SVE predicate

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94606 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug go/94607] ice in execute_todo, at passes.c:2034

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94607 --- Comment #1 from Richard Biener --- Possibly just -fprefetch-loop-arrays is required then (not really maintained, not really used)

[Bug tree-optimization/33315] stores not commoned by sinking

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33315 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > Created attachment 48279 [details] > patch > > Patch forward ported to current trunk. Surprisingly small fallout: FAIL: gcc.dg/tree-ssa/split-path-7.c scan

[Bug target/94611] gccgo hangs (infinite loop) on complex projects, seemingly in simplify-rtx.c/simplify_plus_minus

2020-04-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94611 Richard Biener changed: What|Removed |Added CC||iant at google dot com Compone

[Bug libgomp/94612] Failed to build simple examples with offloading.

2020-04-16 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- Huh, I remember a very similar report from the past, unable to reproduce on SUSE packaged GCC. Can you attach the console output when you add -v to the compiler command? Can you install debuginfo

[Bug rtl-optimization/94613] combine: Wrong code due to splitting a simplified IF_THEN_ELSE

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94613 --- Comment #3 from Richard Biener --- Why is it not correct to split the insn the way you describe? I see nothing wrong with that - the use of r115 is still under r110 == 0. Is the issue that r115 is re-used and r115 has more than a single use

[Bug rtl-optimization/94613] combine: Wrong code due to splitting a simplified IF_THEN_ELSE

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94613 --- Comment #4 from Richard Biener --- You might be able to turn this into a RTL testcase with a C driver to make it suitable for a dg-do run testcase. There's a combine testcase at gcc.dg/rtl/aarch64/asr_div1.c you could look at (just not dg-do

[Bug target/94614] [10 Regression] ICE in emit_move_multi_word, at expr.c:3716 since r10-416-g1bf2a0b90f2457f6d9301535560eb5e05978261b

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94614 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/94614] ICE in emit_move_multi_word, at expr.c:3716

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94614 --- Comment #4 from Richard Biener --- #1 0x00cecacc in emit_move_multi_word (mode=E_TImode, x=0x769f66c0, y=0x769f64e0) at /space/rguenther/src/gcc/gcc/expr.c:3716 (gdb) p debug_rtx (x) (subreg:TI (reg/v:DI 113 [ res ]

[Bug target/94614] ICE in emit_move_multi_word, at expr.c:3716

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94614 --- Comment #5 from Richard Biener --- (In reply to Richard Biener from comment #4) > but lack the same check for the x parts. The following fixes it: > > diff --git a/gcc/expr.c b/gcc/expr.c > index b97c217e86d..dfbeae71518 100644 > --- a/gcc/

[Bug c/94615] -Wstringop-truncation warns on strncpy() with struct lastlog (or utmp)

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94615 Richard Biener changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Richard

[Bug target/94614] ICE in emit_move_multi_word, at expr.c:3716

2020-04-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94614 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

<    1   2   3   4   5   6   7   8   9   10   >