[Bug tree-optimization/94356] Missed optimisation: useless multiplication generated for pointer comparison

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94356 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/94364] 505.mcf_r is 8% faster when compiled with -mprefer-vector-width=128

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94364 --- Comment #1 from Richard Biener --- Huh, looks like this is the (patched by us) memory copying done in spec_qsort? I wonder if you can re-measure with our patching undone but then with -fno-strict-aliasing (though I think that only was require

[Bug rtl-optimization/94368] [9/10 Regression] ICE in final_scan_insn_1, at final.c:3074(error: could not split insn) on aarch64-linux-gnu since r9-3744

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

[Bug gcov-profile/94369] 505.mcf_r is 6-7% slower at -Ofast -march=native with PGO+LTO than with just LTO

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94369 --- Comment #2 from Richard Biener --- The profile looks unconclusive, the # samples differ but evenly increase. The overall number of samples is missing - does that increase by 6-7%?

[Bug target/94373] 548.exchange2_r run time is 7-12% worse than GCC 9 at -O2 and generic march/mtune

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94373 --- Comment #4 from Richard Biener --- Note the cited commit simply caused more complete unrolling to happen. Too much actually which is why I reverted it. Note GCC 9.2 does not have that more unrolling so the difference must be something else

[Bug tree-optimization/94375] 548.exchange2_r run time is 8-18% worse than GCC 9 at -Ofast -march=native

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94375 Richard Biener changed: What|Removed |Added Blocks||53947 --- Comment #2 from Richard Biene

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

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

[Bug fortran/94386] [10 Regression] FAIL: gfortran.dg/pr93365.f90

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

[Bug middle-end/94387] Excess read instructions are generated in case of writing to fields of volatile + packed type (structure)

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94387 --- Comment #5 from Richard Biener --- volatile semantics on misaligned fields and strict-align targets cannot be honored. I suggest you add appropriate __attribute__((aligned(..))) if you know the whole structure is aligned and just want fields

[Bug c/94392] [10 Regression] Infinite loops are optimized away for C99

2020-03-30 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- Infinite loops do not make much sense so the consensus was to enable it everywhere by default (also for non-C/C++ languages). Joseph, any opinion whether we should make the default language (standard) dependent? It'll be tracke

[Bug target/94396] [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up.

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94396 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.5

[Bug fortran/94397] [10 Regression] the compiler consider "type is( real(kind(1.)) )" as a syntax error.

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

[Bug tree-optimization/94398] ICE: in vectorizable_load, at tree-vect-stmts.c:9173

2020-03-30 Thread rguenth at gcc dot gnu.org
at suse dot de |rguenth at gcc dot gnu.org, ||rsandifo at gcc dot gnu.org --- Comment #2 from Richard Biener --- But the ICE happens because the result from the function at transform time does not match that at analysis time. Richard?

[Bug testsuite/94402] FAIL: gfortran.dg/vect/vect-8.f90 -O scan-tree-dump-times vect "vectorized 22 loops" 1

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94402 --- Comment #2 from Richard Biener --- It only fails on systems with the libmvec enablement and vectorizes one more loop. Not sure how to "fix" the testcase (split out the offending function, add some dg-target looking for libmvec enablement?)?

[Bug tree-optimization/94401] [10 Regression] pr92420.c fails on aarch64 since r10-7415

2020-03-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94401 Richard Biener changed: What|Removed |Added Target||aarch64 Version|unknown

[Bug target/94406] 503.bwaves_r is 11% slower on Zen2 CPUs than GCC 9 with -Ofast -march=native

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94406 --- Comment #5 from Richard Biener --- Hmm, we're invoking memset from libc which might use a different path on CXL compared to Zen2? Note that a vectorized epilogue should in no way cause additional store-to-load forwarding penalties _but_ it m

[Bug fortran/94408] Spurious error: ‘rw_nl_grid’ must be a module procedure or an external procedure

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94408 --- Comment #4 from Richard Biener --- *** Bug 94407 has been marked as a duplicate of this bug. ***

[Bug fortran/94407] Spurious Error: ‘rw_nl_grid’ must be a module procedure or an external procedure

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94407 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug fortran/94411] E0.d not supported

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

[Bug target/94413] auto-vectorization of isfinite raises FP exception

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94413 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/94414] only `--` gives constexpr

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

[Bug tree-optimization/89479] __restrict on a pointer ignored when disambiguating against a call

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89479 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #

[Bug tree-optimization/94416] passing a restricted pointer to a function can be assumed not to modify an accessed object

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94416 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Blocks|

[Bug middle-end/49774] [meta-bug] restrict qualification aliasing issues

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49774 Bug 49774 depends on bug 94416, which changed state. Bug 94416 Summary: passing a restricted pointer to a function can be assumed not to modify an accessed object https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94416 What|Removed

[Bug libstdc++/94418] Please make reverse_iterator nothrow constructible when possible

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94418 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Component|c++

[Bug target/94413] auto-vectorization of isfinite raises FP exception

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94413 --- Comment #3 from Richard Biener --- in expand_vec_cond_expr_p there is if (VECTOR_BOOLEAN_TYPE_P (cmp_op_type) && get_vcond_mask_icode (TYPE_MODE (value_type), TYPE_MODE (cmp_op_type)) != CODE_FOR_nothin

[Bug c++/94422] [9 Regression] static_cast from std::array operator[] to enum class

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

[Bug middle-end/94423] [10 Regression] ICE in replace_uses_by with -O2 -fsanitize=object-size since r10-6332

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

[Bug middle-end/94423] [10 Regression] ICE in replace_uses_by with -O2 -fsanitize=object-size since r10-6332

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94423 --- Comment #2 from Richard Biener --- Comment on attachment 48151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48151 gcc10-pr94423.patch If one replaces a SSA_NAME_OCCURS_IN_ABNORMAL_PHI def with another SSA name one has to set SSA_NAME

[Bug middle-end/94423] [10 Regression] ICE in replace_uses_by with -O2 -fsanitize=object-size since r10-6332

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94423 --- Comment #3 from Richard Biener --- Oh, and yes, you cannot replace a SSA use in a PHI on an abnormal edge with an invariant because you have no where to insert the copy.

[Bug tree-optimization/94427] 456.hmmer is 8-17% slower when compiled at -Ofast than with GCC 9

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94427 --- Comment #2 from Richard Biener --- The hot/cold thing smells like PR90911 btw. The cmov thing you identified is PR91154 which was fixed for archs that can do the required SSE min/max operation which is SSE 4.1 IIRC. It also is then a "dupli

[Bug c++/42633] hinting gcc that restricted pointer dont alias with members of structs

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42633 Richard Biener changed: What|Removed |Added Known to fail||4.6.4 Known to work|

[Bug middle-end/49774] [meta-bug] restrict qualification aliasing issues

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49774 Bug 49774 depends on bug 42633, which changed state. Bug 42633 Summary: hinting gcc that restricted pointer dont alias with members of structs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42633 What|Removed |Ad

[Bug tree-optimization/94043] [9 Regression] ICE in superloop_at_depth, at cfgloop.c:78

2020-03-31 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94043 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug d/94425] [D] Consider always settings ASM_VOLATILE_P on asm statements

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94425 --- Comment #1 from Richard Biener --- Well, there's no dependence visible to the compiler between the control word stores and loads so it's obvious the asms cannot be pure. Is 'asm' a D feature or a GCC extension? How does D model dependences

[Bug c++/94426] [10 Regression] ICE in mangle_decl with -flto

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

[Bug c/94392] [10 Regression] Infinite loops are optimized away for C99

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

[Bug debug/94340] [8/9/10 Regression] -fcompare-debug -O failure on cpp1z/nodiscard3.C

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

[Bug fortran/94324] [10 regression] gfortran.dg/default_format_1.f90 etc. FAIL on 32-bit Solaris/x86

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

[Bug c++/94314] [10 Regression] Optimizing mismatched new/delete pairs since r10-2106-g6343b6bf3bb83c87

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

[Bug rtl-optimization/94291] [10 Regression] ICE: in reg_or_subregno, at jump.c:1928 at -Og since r10-3993-ga79048f6250febc1acce09d790035276d534e754

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

[Bug preprocessor/94168] [10 Regression] error: extended character § is not valid in an identifier since r10-3309-g7d112d6670a0e0e6

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

[Bug fortran/94386] [10 Regression] FAIL: gfortran.dg/pr93365.f90

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94386 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #10 from Richard Biener

[Bug c++/93822] [8/9/10 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:279 since r7-536-g381cdae49785fc4b

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

[Bug c++/93314] [8/9/10 Regression] Invalid use of non-static data member causes ICE in gimplify_expr

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

[Bug rtl-optimization/92989] [10 Regression] The mips-mti-linux-gnu fails to build after r276327

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92989 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #8 from Richard Biener

[Bug debug/92983] [8/9/10 Regression] Debug info regression since PR87428 changes

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92983 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/92860] [8/9/10 regression] Global flags affected by -O settings are clobbered by optimize attribute

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

[Bug libstdc++/92546] [10 Regression] Large increase in preprocessed file sizes in C++2a mode

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92546 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #6 from Richard Biener

[Bug tree-optimization/91954] [10 Regression] gcc.dg/vect/pr66142.c should not need early inlining to be vectorized since r10-3311-gff6686d2e5f797d6

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

[Bug target/91886] [10 regression] powerpc64 impossible constraint in asm

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #38 from Richard Biener

[Bug libstdc++/91807] [9/10 Regression] std::variant with multiple identical types assignment fail to compile

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

[Bug testsuite/91626] [9/10 Regression] FAIL: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o link, -O -flto -finline-small-functions -fno-early-inlining

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

[Bug target/91518] [9/10 Regression] segfault when run CPU2006 465.tonto since r263875

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

[Bug driver/90392] [9/10 Regression] Assertion failure in ldlang.c:6868 when compiling with -flto

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90392 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug target/94396] [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up.

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

[Bug target/94420] [8/9/10 Regression] ICE error: insn does not satisfy its constraints

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

[Bug c++/58646] [8/9/10 Regression] ICE on a multidimensional VLA with an empty initializer list

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

[Bug sanitizer/94325] [8/9/10 Regression] UBSAN: "invalid vptr" false positive for virtual inheritance with -fno-sanitize-recover=all

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

[Bug middle-end/91858] [9/10 Regression] Compile time hog w/ complex float trigonometric functions

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91858 --- Comment #6 from Richard Biener --- mpc_tan (m, m, 0) with (gdb) p *m $14 = {re = {{_mpfr_prec = 24, _mpfr_sign = 1, _mpfr_exp = 14, _mpfr_d = 0x3713c48}}, im = {{_mpfr_prec = 24, _mpfr_sign = 1, _mpfr_exp = 14, _mpfr_d = 0x3

[Bug target/94437] Internal compiler error in avr-g++

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94437 Richard Biener changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Richard Biener

[Bug rtl-optimization/94440] [8/9/10 Regression] ICE in check_bool_attrs, at recog.c:2168 since r7-5324-gb8cab8a5492e9639

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

[Bug c/94444] __attribute__((access(...))) ignored for memcpy when compiling with -Os

2020-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #3 from Richard Biener --- Note the access attribute is only for diagnostics, not for optimization.

[Bug target/94364] 505.mcf_r is 8% faster when compiled with -mprefer-vector-width=128

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94364 --- Comment #3 from Richard Biener --- (In reply to Martin Jambor from comment #2) > (In reply to Richard Biener from comment #1) > > Huh, looks like this is the (patched by us) memory copying done in > > spec_qsort? > > Yes > > > I wonder if y

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
||lto CC||rguenth at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Richard Biener --- I guess the more correct DWARF would be to have the

[Bug target/94452] I386 ABI: How to determine the alignment of struct or union determined when passes them on stack?

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

[Bug target/94452] I386 ABI: How to determine the alignment arguments on the stack of struct or union for argument passing

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94452 Richard Biener changed: What|Removed |Added Summary|I386 ABI: How to determine |I386 ABI: How to determine

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #2 from Richard Biener --- So the current situation is similar to that of static inline int foo(int i) { static int j; j = i + 1; return j; } int bar(int i) { return foo(i); } int baz(int i) { return foo(i); } here we ge

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > So the current situation is similar to that of Modifying the testcase to C99 inline int foo(int i) { static int j; j = i + 1; return j; } int bar(int i

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #4 from Richard Biener --- Created attachment 48168 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48168&action=edit patch to drop DW_TAG_imported_unit DIEs I'm testing this patch. Does it help?

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

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #7 from Richard Biener --- So let's try to address this in cfgloop.c - we're likely facing the situation of header: ... if (...) goto latch1; latch2: goto header; latch1: // in cold section goto header; where latch disa

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

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #9 from Richard Biener --- Pilot error. loop->header is in the cold partition, both latch sources are as well, the loop entry source is in the hot partition. We're correctly redirecting that from hot -> cold to hot -> cold state so

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

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #10 from Richard Biener --- Makes me wonder if hot/cold splitting should use a special jump instruction for crossing jumps which we could fixup/split very late so we see (parallel (set reg (label_ref ..)) (set pc (reg))

[Bug debug/94450] lto abstract variable emitted as concrete decl

2020-04-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94450 --- Comment #7 from Richard Biener --- The DW_TAG_imported_unit are now gone for GCC 10. So can we consider this fixed?

[Bug c/94392] [10 Regression] Infinite loops are optimized away for C99

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

[Bug target/94461] [10 Regression] ICE: in extract_insn, at recog.c:2294 with __builtin_ia32_pmuludq() and -mno-sse2

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

[Bug ipa/93621] [10 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.c:1443 since r10-5567

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93621 --- Comment #10 from Richard Biener --- The offending commit eventually changed when/how many times disable_insertion_hook () is called. So that maybe points to the real cause.

[Bug ipa/93621] [10 Regression] ICE in redirect_call_stmt_to_callee, at cgraph.c:1443 since r10-5567

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93621 --- Comment #11 from Richard Biener --- (In reply to Richard Biener from comment #10) > The offending commit eventually changed when/how many times > disable_insertion_hook () is called. So that maybe points to the real cause. Eventually that j

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

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #12 from Richard Biener --- (In reply to Roman Zhuykov from comment #6) > First, I want here to mention that Richard have recently discussed > partitioning in mailing list with Segher, starting from > https://gcc.gnu.org/ml/gcc-patche

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

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93264 --- Comment #13 from Richard Biener --- And for the moment we could declare !HAS_LONG_UNCOND_BRANCH as unsupported for partitioning. The list of unconditionally supported targets then is just cr16, ft32, i386, m32c, moxie and pru. aarch64 suppo

[Bug target/94467] [10 Regression] wrong code with -mavx and ssse3 builtins

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94467 Richard Biener changed: What|Removed |Added Host|x86_64-pc-linux-gnu | Ever confirmed|0

[Bug target/94467] [10 Regression] wrong code with -mavx and ssse3 builtins

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94467 --- Comment #2 from Richard Biener --- Note using __builtin_ia32_* directly is discouraged. A testcase using official intrinsics would be better.

[Bug go/94466] libgo reflect test compilation very slow on 64-bit SPARC

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94466 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog --- Comment #1 from Ri

[Bug middle-end/94465] [10 Regression] fnsplit dump file ICEs

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

[Bug target/94467] [10 Regression] wrong code with -mavx and ssse3 builtins

2020-04-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94467 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Priority|P3

[Bug middle-end/91858] [9/10 Regression] Compile time hog w/ complex float trigonometric functions

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

[Bug middle-end/94465] [10 Regression] fnsplit dump file ICEs

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

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

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

[Bug c++/94475] [9/10 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in element_mode, at tree.c:13813

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

[Bug c++/94478] [10 Regression] ICE in comptypes, at cp/typeck.c:1486

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

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

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

[Bug target/94482] 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 #13 from Richard Biener --- (In reply to Martin Liška from comment #9) > (In reply to Evan Nemerson from comment #8) > > Created attachment 48204 [details] > > Reduced test case, ASan/UBSan clean > > > > Here is the reduced test case

[Bug c++/94483] [9/10 Regression] ICE: tree check: expected type_pack_expansion, have error_mark in add_capture, at cp/lambda.c:607

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

[Bug c++/94493] FreeBSD-ports lang/gcc9 (9.3.0) on FreeBSD 13 crash if building ftp/filezilla

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94493 --- Comment #6 from Richard Biener --- Can you try if not using PCH fixes the issue?

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

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #16 from Richard Biener --- OK, now looking myself. RTL expansion creates (insn 8 7 9 2 (set (mem/j:SI (reg/v/f:SI 47 [ bv ]) [1 bv_3(D)->b.u.f+0 S4 A32]) (reg:SI 49)) "t.c":12:13 -1 (nil)) (insn 9 8 10 2 (set (mem/j:SI

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

2020-04-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #17 from Richard Biener --- x86 splits large stores only after reload it seems. Also on x86 GIMPLE store-merging triggers, merging the two = 0 stores so I need -fno-store-merging to even get two stores there. Still the issue in CSE

[Bug target/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 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug target/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 #17 from Richard Biener --- This: if (write) { gassign *stmt; if (access->grp_partial_lhs) ref = force_gimple_operand_gsi (gsi, ref, true, NULL_TREE,

[Bug target/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 #18 from Richard Biener --- (In reply to Richard Biener from comment #17) > This: > > if (write) > { > gassign *stmt; > > if (access->grp_partial_lhs) > ref = force_g

[Bug target/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 #19 from Richard Biener --- 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 aggregates just not in outermost position). What's alwa

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