[Bug bootstrap/92235] [10 Regression] ICE in host_detect_local_cpu, segfault (profiled lto) on powerpc64le-linux-gnu

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

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

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92253 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #1 from Richard Bie

[Bug ipa/92816] [10 Regression] 35% performance drop for 433.milc with -O2 -flto on znver1 since r278879

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92816 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from Richard Bie

[Bug tree-optimization/92955] [10 regression] False positive stringop-overflow warning with vectorization and loop unrolling

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92955 --- Comment #9 from Richard Biener --- Complete peeling is known of not eliminating all unreachable code which is why -Warray-bounds now runs _before_ unrolling only. Note it's practically impossible to cover all cases in peeling but there's som

[Bug ipa/94232] [10 Regression] Wrong code since r10-7273-gf3280e4c0c98e103603bafc466ea49651fe0b7f2

2020-03-20 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- I will have a look.

[Bug middle-end/94226] [10 regression] r10-7272 eliminated some warning messages

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

[Bug tree-optimization/84774] [meta-bug] bogus/missing -Wrestrict

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84774 Bug 84774 depends on bug 94226, which changed state. Bug 94226 Summary: [10 regression] r10-7272 eliminated some warning messages https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94226 What|Removed |Added --

[Bug middle-end/94233] [OpenMP] ICE in lto1 for AMDGCN offloading: in dr_analyze_innermost, at tree-data-ref.c:925 for gcc-mainline/libgomp/testsuite/libgomp.c/target-link-1.c

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94233 --- Comment #1 from Richard Biener --- get_object_alignment_1 (base, &bit_base_alignment, &bit_base_misalignment); /* There are no bitfield references remaining in BASE, so the values we got back must be whole bytes. */ gcc_assert (b

[Bug c++/94034] [10 Regression] Broken diagnostic: 'result_decl' not supported by dump_expr

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

[Bug middle-end/93465] [10 Regression] ICE in oacc_verify_routine_clauses, at omp-general.c:1802 since r10-471-gb48f44bf77a39fef

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

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

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

[Bug target/94123] [10 regression] r10-1734, SVN r273240, causes gcc.target/powerpc/pr87507.c to fail

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

[Bug c++/94044] [10 Regression] internal compiler error: in comptypes, at cp/typeck.c:1490 on riscv64-unknown-linux-gnu and arm-eabi

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

[Bug c++/94186] [10 Regression] compiler incorrectly accepts a requires clause with predicate of non-bool type

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

[Bug c++/94223] [10 Regression] -fcompare-debug -O0 failure on cpp1z/init-statement6.C

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94223 --- Comment #4 from Richard Biener --- Note the code is the same on the GCC 9 branch so the issue must be latent maybe with different testcases.

[Bug debug/94235] worse debug info with O0 than with O2 with flto

2020-03-20 Thread rguenth at gcc dot gnu.org
||2020-03-20 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC||hubicka at gcc dot gnu.org, ||rguenth at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/94234] missed ccp folding for (addr + 8 * n) - (addr + 8 * (n - 1))

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94234 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/94123] [10 regression] r10-1734, SVN r273240, causes gcc.target/powerpc/pr87507.c to fail

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

[Bug target/93270] [8/9/10 Regression] DSE removes store incorrectly

2020-03-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93270 Richard Biener changed: What|Removed |Added CC||coleb at eyesopen dot com --- Comment #

[Bug target/61872] Assigning to "long double" causes memset to be improperly elided

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

[Bug lto/94237] [10 regression] Many (100s) of new LTO fails on Darwin targets

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

[Bug c/94239] [10 regression] cc1 SEGV in get_location_from_adhoc_loc with gcc.dg/pr20245-1.c etc.

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

[Bug ipa/94245] [10 Regression] ICE in ipa_find_agg_cst_for_param, at ipa-prop.c:3467 since r10-7237-g4e3d3e40726e1b68

2020-03-23 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- I will have a look.

[Bug fortran/94246] [9/10 Regression] valgrind error for ./gfortran.dg/bessel_5.f90 since r9-1566-g87c789f1c0b2df41

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94246 Richard Biener changed: What|Removed |Added Keywords||error-recovery, |

[Bug c/94247] Wrong char-subscripts warning for limited-range index

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94247 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/94247] Wrong char-subscripts warning for limited-range index

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94247 --- Comment #3 from Richard Biener --- Yes, it's bad programming practice to use 'char' for any arithmetic.

[Bug tree-optimization/94266] aarch64:ICE during GIMPLE pass: forwprop

2020-03-23 Thread rguenth at gcc dot gnu.org
dot gnu.org |rguenth at gcc dot gnu.org Last reconfirmed||2020-03-23 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Richard Biener --- Confirmed, mine.

[Bug tree-optimization/94266] aarch64:ICE during GIMPLE pass: forwprop

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94266 --- Comment #2 from Richard Biener --- This looks latent somewhat. The issue is manifold - first we end up with &TARGET_MEM_REF [_1] where the TARGET_MEM_REF was not canonicalized to a MEM_REF because static tree create_mem_ref_raw (tree type,

[Bug target/94254] [10 regression] r10-7312 causes compiler hangs

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

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

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

[Bug target/94263] build wxpython raspian

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94263 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

gcc-bugs@gcc.gnu.org

2020-03-23 Thread rguenth at gcc dot gnu.org
-end Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Seen in PR94266 IVOPTs can generate &TARGET_MEM_REF[ptr_1 + 0] which we obviously should represent as plain ptr_1, possibly casted. Likewise &TARGET_MEM_REF[ptr_1 +

gcc-bugs@gcc.gnu.org

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

[Bug tree-optimization/94266] aarch64:ICE during GIMPLE pass: forwprop

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

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 --- Comment #2 from Richard Biener --- So I think we can avoid swapping operands but what we cannot (current) avoid is adjusting the tree code. The operand swapping should be subsumed by get_slp_defs no longer looking at the scalar stmt for mapp

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 --- Comment #3 from Richard Biener --- (In reply to Richard Biener from comment #2) > when placing gcc_unreachable () at the swapping place and most testcases > still pass when removing the IL operand swapping, only vect-cselim-1.c > runfails (in

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 --- Comment #4 from Richard Biener --- Created attachment 48083 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48083&action=edit proposed patch untested sofar.

[Bug ipa/94245] [10 Regression] ICE in ipa_find_agg_cst_for_param, at ipa-prop.c:3467 since r10-7237-g4e3d3e40726e1b68

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

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 --- Comment #6 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #5) > (In reply to Richard Biener from comment #3) > > (In reply to Richard Biener from comment #2) > > > when placing gcc_unreachable () at the swapping place

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 --- Comment #8 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #7) > (In reply to Richard Biener from comment #6) > > (In reply to rsand...@gcc.gnu.org from comment #5) > > > (In reply to Richard Biener from comment #3) > >

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org Last reconfirmed||2020-03-23 Ever confirmed|0 |1 --- Comment #9 from Richard Biener --- Created attachment 48087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48087&

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

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94043 --- Comment #9 from Richard Biener --- OK, so it's indeed vectorizable_live_operation not paying attention to loop-closed SSA form. What it should do before building the lane extract is create a _new_ loop-closed PHI node for the vectorized def

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

2020-03-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94261 Richard Biener changed: What|Removed |Added Attachment #48083|0 |1 is obsolete|

[Bug c++/94276] [9/10 Regression] g++: error: gcc/testsuite/g++.dg/ext/stmtexpr3.C: -fcompare-debug failure since r9-3352-g87bd153645f393a1

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

[Bug debug/94277] [9/10 Regression] error: undef.c: ‘-fcompare-debug’ failure (length) since r9-6413-g1db01ff96aa5ce5c

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

[Bug tree-optimization/94274] fold phi whose incoming args are defined from binary operations

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

[Bug debug/94273] [10 Regression] ICE in splice_child_die, at dwarf2out.c:5657 since r10-7235-g52b3aa8be1893848

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

[Bug debug/94272] [8/9/10 Regression] -fcompare-debug failure (length) with -O -fnon-call-exceptions since r8-5241

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

[Bug ipa/94271] [8/9/10 Regression] lto1: error: two or more sections for .gnu.lto_fast_clamp.default.9.564bf999b130b5e since r8-1461-g871cc215f7507cbe

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

[Bug tree-optimization/94269] widening_mul should consider block frequency

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

[Bug rtl-optimization/94286] [10 Regression] ICE: in decompose, at rtl.h:2279 with __builtin_sub_overflow() at -O -g

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

[Bug debug/94284] [9/10 Regression] gcc: error: fort.f90: ‘-fcompare-debug’ failure (length) since r9-7156-g33579b59aaf02eb7

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

[Bug debug/94285] [9/10 Regression] gfortran: error: gcc/testsuite/gfortran.dg/array_constructor_40.f90: ‘-fcompare-debug’ failure (length) sincer10-1654-gffdc40a90faec54d

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

[Bug debug/94283] [8/9/10 Regression] gcc: error: gcc/testsuite/gcc.dg/fold-bopcond-1.c: ‘-fcompare-debug’ failure since r7-4804-gb54819879e0518b3

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

[Bug debug/94281] [8/9/10 Regression] g++: error: hash.cpp: ‘-fcompare-debug’ failure (length) since r8-5241-g8697bf9f46f36168

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

[Bug preprocessor/94287] [10 Regression] ICE in linemap_ordinary_map_lookup, at libcpp/line-map.c:993

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

[Bug tree-optimization/94261] [10 Regression] ICE in vect_get_vec_def_for_operand_1 for 3-element condition reduction

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

[Bug tree-optimization/94293] [missed optimization] Useless statements populating local string not removed

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

[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2020-03-24 Thread rguenth at gcc dot gnu.org
||missed-optimization Depends on||94293 CC||rguenth at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #3 from

[Bug tree-optimization/94125] [9 Regression] wrong code at -O3 on x86_64-linux-gnu

2020-03-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94125 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug target/94298] New: x86 duplicates loads

2020-03-24 Thread rguenth at gcc dot gnu.org
: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- For the following testcase at -O3 -fgimple (gimple testcase because the vectorizer generated code depends on not committed patches) we somehow duplicate the load from y: typedef double v2df

[Bug tree-optimization/94301] New: Missed vector-vector CTOR / permute simplification

2020-03-24 Thread rguenth at gcc dot gnu.org
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- When the vectorizer creates sth stupid like _11 = __MEM ((double *)vectp_y.3_4); vect__2.5_15 = _Literal (vector(2) double) {_11, _Literal (vector(1

[Bug tree-optimization/94301] Missed vector-vector CTOR / permute simplification

2020-03-24 Thread rguenth at gcc dot gnu.org
|1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Keywords||missed-optimization

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

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #10 from Richard Biener --- (In reply to sandra from comment #9) > Both the new test cases are failing on nios2 at -Os, -O2, and -O3. I've > done some analysis, but I'm not sure exactly where the problem lies, and > whether this is a

[Bug target/94123] [10 regression] r10-1734, SVN r273240, causes gcc.target/powerpc/pr87507.c to fail

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94123 Richard Biener changed: What|Removed |Added Priority|P1 |P2 --- Comment #9 from Richard Biener

[Bug target/94308] [10 Regression] ICE in final_scan_insn_1 with vzeroupper since r10-6451

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

[Bug sanitizer/94307] Provide a way to declare the *SAN exception handler -fsanitize-undefined-trap-on-error

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94307 Richard Biener changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Richard

[Bug lto/94311] LTO produces line info entries with invalid line numbers

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

[Bug middle-end/94313] stores into string literals sometimes silently eliminated

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94313 --- Comment #1 from Richard Biener --- This is likely because points-to computes the result of the string functions, for example in g1 it computes s_5 = { NULL STRING } and somehow ref_maybe_used_by_stmt_p computes false for *s and f(s). That's

[Bug c++/94314] [10 Regression] Optimizing mismatched new/delete pairs

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

[Bug d/94315] [10 regression] new tests gdc.dg/pr93038.d and gdc.dg/pr93038b.d in r10-7320 fail

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

[Bug bootstrap/94318] [10 Regression] endless loop building _sd_to_si.o on powerpc-linux-gnu

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

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

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94314 --- Comment #4 from Richard Biener --- (In reply to Martin Liška from comment #3) > Yes, I remember we discussed the topic about the user-provided new/delete > implementations. Can please Jason or Jonathan comment about the test-case? The testca

[Bug c/94322] Detected memory leaks while using clang AddressSanitizer to build GCC

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94322 --- Comment #1 from Richard Biener --- We're quite lazy in freeing all memory from generator tools (genhooks as you report) but there are also known leaks in the driver when it comes to command-line processing. That is, not all memory leaks are

[Bug lto/94311] LTO produces line info entries with invalid line numbers

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94311 --- Comment #4 from Richard Biener --- (In reply to Mark Wielaard from comment #3) > (In reply to Richard Biener from comment #1) > > Err, but isn't this interpreting the dwarf from 'date'? So doesn't this > > mean that valgrind is "miscompiled"

[Bug driver/94330] No warning if jobserver not available

2020-03-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94330 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|other

[Bug testsuite/94334] new tests gcc.dg/lto/pr94271 fail

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

[Bug tree-optimization/94335] False positive -Wstringop-overflow warning with -O2

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94335 --- Comment #3 from Richard Biener --- You should be using (intptr_t)t - (intptr_t)this when computing the relative pointer, not sure if that makes a difference but pointer difference between pointers to different objects invokes undefined behavi

[Bug c/94337] Incorrect "dereferencing type-punned pointer will break strict-aliasing rules" warning

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94337 --- Comment #1 from Richard Biener --- The warning only looks at the single expression it quotes which isn't really enough to discover you are doing right. It tries to be helpful - if you know better then disable the warning.

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

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

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

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94043 --- Comment #13 from Richard Biener --- (In reply to Kewen Lin from comment #12) > Created attachment 48122 [details] > ppc64le tested patch > > Thanks Richi! > > A patch draft attached to ensure on the right track, also > bootstrapped/regresst

[Bug c/94338] struct member alignment is not carried over to alignment of struct variable

2020-03-26 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org Version|lto |9.2.1 Keywords||diagnostic --- Comment #2 from Richard Biener --- I think the testcase is ill-formed and should be diagnosed in some form. IIRC

[Bug middle-end/94339] [10 regression] ICE in tree_class_check_failed

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

[Bug debug/94273] [10 Regression] ICE in splice_child_die, at dwarf2out.c:5657 since r10-7235-g52b3aa8be1893848

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

[Bug c++/94342] GCC ignores attribute((section(...))) for static variables inside templates

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342 --- Comment #2 from Richard Biener --- I think it should belong to the same .comdat group as other parts of the template instantiation (there's one static var per instantiation) so I don't see how the section specification can be easily honored.

[Bug c++/94342] GCC ignores attribute((section(...))) for static variables inside templates

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342 --- Comment #3 from Richard Biener --- Hmm, I see clang produces COMDAT group section [3] `.group' [_Z5IndexIiEvi] contains 2 sections: [Index]Name [4] .text._Z5IndexIiEvi [5] .rela.text._Z5IndexIiEvi COMDAT group s

[Bug c++/94342] GCC ignores attribute((section(...))) for static variables inside templates

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342 --- Comment #4 from Richard Biener --- So the section attribute then only provides naming of the comdat section used and cannot be used to group things. Not sure that is what you are looking after.

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

2020-03-26 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94043 --- Comment #17 from Richard Biener --- (In reply to Kewen Lin from comment #16) > Created attachment 48125 [details] > untested patch LGTM

[Bug rtl-optimization/94344] [9/10 Regression] Rotate pattern not recognized anymore

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

[Bug c++/94342] GCC ignores attribute((section(...))) for static variables inside templates

2020-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94342 --- Comment #7 from Richard Biener --- Yes, they are orthogonal. But I expected that when I use __attribute__((section"foo")) twice then both instances will be in the same section which is not the case here. Here just the names of the sections

[Bug debug/94273] [10 Regression] ICE in splice_child_die, at dwarf2out.c:5657 since r10-7235-g52b3aa8be1893848

2020-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94273 --- Comment #9 from Richard Biener --- OK, so during early creation of the DIE for the type we end up in static void gen_struct_or_union_type_die (tree type, dw_die_ref context_die, enum debug_info_usage usage) {

[Bug debug/94273] [10 Regression] ICE in splice_child_die, at dwarf2out.c:5657 since r10-7235-g52b3aa8be1893848

2020-03-27 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #10 from Richard Biener --- I'm testing this patch now.

[Bug tree-optimization/94352] Suspicious code in tree-ssa-propagate.c

2020-03-27 Thread rguenth at gcc dot gnu.org
||2020-03-27 Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- Confirmed but in essence harmless.

[Bug c/94338] struct member alignment is not carried over to alignment of struct variable

2020-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94338 --- Comment #8 from Richard Biener --- (In reply to huaixin chang from comment #7) > (In reply to Martin Sebor from comment #4) > > Sounds like there's agreement that the code should at least get a warning > > then, so confirmed. > > > > The at

[Bug c/94338] struct member alignment is not carried over to alignment of struct variable

2020-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94338 --- Comment #9 from Richard Biener --- Btw, struct X { long a __attribute__((__aligned__(128))); long b __attribute__((__aligned__(128))); }; struct X A __attribute__((__aligned__(4))); is not diagnosed (this is what your testcase is, d

[Bug target/90811] [nvptx] ptxas error on OpenMP offloaded code

2020-03-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90811 --- Comment #21 from Richard Biener --- Why is LOCAL_DECL_ALIGNMENT not applied during layout_decl? (I realize for offloading this might be suboptimal)

[Bug tree-optimization/94352] Suspicious code in tree-ssa-propagate.c

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

[Bug debug/94273] [10 Regression] ICE in splice_child_die, at dwarf2out.c:5657 since r10-7235-g52b3aa8be1893848

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

[Bug c++/93597] [9 Regression] ICE in get_fns since r10-6219

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

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

2020-03-29 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93946 --- Comment #14 from Richard Biener --- (In reply to sandra from comment #13) > Well, no. The problem is that the scheduler is moving > > ldw r2, 0(r4) > > ahead of > > stw zero, 0(r5) > > which is incorrect because

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