[Bug testsuite/94036] [9 regression] gcc.target/powerpc/pr72804.c fails

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

[Bug target/94037] Runtime varies 2x just by order of two int assignments

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94037 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/94041] [10 Regression] temporary object destructor called before the end of the full-expression since r10-5577

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

[Bug bootstrap/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #7 from Richard Biener --- Just to quote configury used: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,ada,go --disa

[Bug tree-optimization/92645] Hand written vector code is 450 times slower when compiled with GCC compared to Clang

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92645 --- Comment #20 from Richard Biener --- Small C testcase for one of the patterns we miss to optimize/vectorize: void foo (char * __restrict src, short * __restrict dest) { union { __int128_t i; char v[16]; } u; __builtin_memcpy

[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-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94044 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Summary|internal compil

[Bug target/94037] Runtime varies 2x just by order of two int assignments

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94037 --- Comment #4 from Richard Biener --- (In reply to Uroš Bizjak from comment #3) > (In reply to Jakub Jelinek from comment #2) > > The > > setge %sil > > movzbl %sil, %esi > > to > > xorl%esi, %esi > > setge

[Bug target/94037] Runtime varies 2x just by order of two int assignments

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94037 --- Comment #6 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > The > setge %sil > movzbl %sil, %esi > to > xorl%esi, %esi > setge %sil > transformation is something GCC does too with

[Bug target/94037] Runtime varies 2x just by order of two int assignments

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94037 --- Comment #7 from Richard Biener --- (In reply to Uroš Bizjak from comment #5) > (In reply to Richard Biener from comment #4) > > (In reply to Uroš Bizjak from comment #3) > > > (In reply to Jakub Jelinek from comment #2) > > > > The > > > >

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

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

[Bug middle-end/94045] [i686] Compiler hang with -O2 -g -m32 -march=i686 -mtune=generic

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94045 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog Target|

[Bug rtl-optimization/94045] [i686] Compiler hang with -O2 -g -m32 -march=i686 -mtune=generic

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94045 Richard Biener changed: What|Removed |Added Component|middle-end |rtl-optimization --- Comment #4 from Ri

[Bug bootstrap/94042] [10 Regression] Bootstrap fails on ppc-linux-gnu

2020-03-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94042 --- Comment #9 from Richard Biener --- You can also run big-endian kvm guests on a little-endian host.

[Bug debug/93888] Incorrect DW_AT_location generated for copy-constructed function argument

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

[Bug target/94059] [10 Regression] m68k: Bootstrap fails configuring libiberty with 'cannot compute sizeof (long long)'

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

[Bug libstdc++/94069] [9 Regression] doesn't compile unless PTHREAD_RWLOCK_INITIALIZER is defined

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

[Bug tree-optimization/94071] Missed optimization with endian and alignment independent memory access

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

[Bug target/94072] [10 Regression] ICE: SIGSEGV due to infinite recursion in expand_expr/expand_expr_real_1 with -msve-vector-bits=512

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

[Bug tree-optimization/94086] Missed optimization when converting a bitfield to an integer on x86-64

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

[Bug tree-optimization/94094] New: [meta-bug] store-merging and/or bswap load/store-merging missed optimizations

2020-03-09 Thread rguenth at gcc dot gnu.org
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Bug tracking missed cases, both passes could/should be merged.

[Bug target/94088] [10 Regression] ICE: in extract_insn, at recog.c:2294 (error: unrecognizable insn), or ICE: in elimination_costs_in_insn, at reload1.c:3538

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

[Bug tree-optimization/94092] Code size and performance degradations after -ftree-loop-distribute-patterns was enabled at -O[2s]+

2020-03-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 --- Comment #4 from Richard Biener --- With profile feedback we (target or middle-end) can produce specialized RTL expansion doing small copies inline and larget ones offline. The idea of GIMPLE level pattern detection is that even for small siz

[Bug target/94093] -malign-double changes alignment of double type only and not long double

2020-03-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94093 Richard Biener changed: What|Removed |Added Known to fail||2.95.2, 3.2.3, 3.4.6, 4.0.0 K

[Bug target/94093] -malign-double changes alignment of double type only and not long double

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

[Bug target/94096] New: amdgcn build instructions missing

2020-03-09 Thread rguenth at gcc dot gnu.org
Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC has documentation how to enable offloading for nvtpx, intel-mic and hsa but lacks any information on amdgcn

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

2020-03-10 Thread rguenth at gcc dot gnu.org
||law at gcc dot gnu.org, ||rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Richard Biener --- There's a related bug about x87 stores not storing all bytes which was closed as IN

[Bug c/94106] [8/9/10 Regression] error on a function redeclaration with attribute transaction_safe

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

[Bug middle-end/94111] Wrong constant folding: decimal floating-point infinity casted to double -> zero

2020-03-10 Thread rguenth at gcc dot gnu.org
||rguenth at gcc dot gnu.org Keywords||wrong-code Last reconfirmed||2020-03-10 Ever confirmed|0 |1 Summary|Wrong optimization: decimal |Wrong constant folding

[Bug tree-optimization/94114] [8/9/10 Regression] ICE in gimplify_modify_expr, at gimplify.c:5936

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

[Bug middle-end/94122] Wrong optimization: reading value of a decimal FP variable changes its representation for optimizer

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

[Bug target/94123] [10 regression] r10-7093 causes gcc.target/powerpc/pr87507.c to fail

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

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

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

[Bug fortran/94129] Using almost any openacc !$acc directive causes ICE "compressed stream: data error"

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

[Bug tree-optimization/94130] [8/9/10 Regression] Unintended result with optimization option when assigning two structures, memset and 0

2020-03-11 Thread rguenth at gcc dot gnu.org
, ||rguenth at gcc dot gnu.org Status|UNCONFIRMED |NEW Target Milestone|--- |8.5 Last reconfirmed||2020-03-11 Known to work||6.5.0 Ever

[Bug tree-optimization/94130] [8/9/10 Regression] Unintended result with optimization option when assigning two structures, memset and 0

2020-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94130 --- Comment #2 from Richard Biener --- Doing memset(&s_myvalue, 0, sizeof(s_myvalue)); s_myreq.m_data = &s_myvalue; also works around the issue. Odd.

[Bug tree-optimization/94131] [10 Regression] ICE: tree check: expected integer_cst, have plus_expr in get_len, at tree.h:5927

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

[Bug c++/94132] Valid usage of flexible array member failing to compile

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

[Bug target/94136] GCC doc for built-in function __builtin___clear_cache() not 100% correct

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

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

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

[Bug fortran/94129] Using almost any openacc !$acc directive causes ICE "compressed stream: data error"

2020-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94129 --- Comment #4 from Richard Biener --- So I tried it with the SUSE GCC 10 packages and it works fine (I've double-checked nvptx is offloaded). But my packages are only configured for zlib ... (I'm testing on Leap 15.1 which doesn't have zstd I t

[Bug fortran/94129] Using almost any openacc !$acc directive causes ICE "compressed stream: data error"

2020-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94129 --- Comment #5 from Richard Biener --- Btw, your backtrace ends up in lto_uncompression_zlib but Matthias shows the Ubuntu packages have zstd enabled. I'd have expected only zstd compressed sections there. Matthias, can you reproduce the issue?

[Bug libfortran/94143] [9/10 Regression] Asynchronous execute_command_line() breaks following synchronous calls

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

[Bug target/94145] Longcalls mis-optimize loading the function address

2020-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94145 --- Comment #5 from Richard Biener --- So what prevents GIMPLE from doing the transform to an indirect call and hoisting the call address computation out of the loop? I fear your volatile marking is papering over an entirely different issue. Of

[Bug middle-end/94146] [10 Regression] Merging functions with same bodies stopped working

2020-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94146 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #3) > If not already marked clearly as an ICF created thunk, I'd say it should be > and then inliner should take it into account (and only inline if the > function bec

[Bug rtl-optimization/94148] The DF framework uses bb->aux, which is for passes only

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

[Bug lto/94150] Improve LTO diagnosis for LTO triggered warnings/error: print source.o or source.a(lib.o) when printing location

2020-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94150 Richard Biener changed: What|Removed |Added Keywords||diagnostic Last reconfirmed|

[Bug c++/94152] New: Mistyped destructor name diagnostic suboptimal

2020-03-12 Thread rguenth at gcc dot gnu.org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- struct _X { ~_X(); }; _X::~X () {} produces t.C:2:8: error: expected class-name before ‘(’ token _X::~X () {} ^ where clang says t.C:2:6: error: expected the

[Bug target/94145] Longcalls mis-optimize loading the function address

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

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

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

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

2020-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94103 Richard Biener changed: What|Removed |Added Known to fail||9.3.0 --- Comment #8 from Richard Biene

[Bug target/94145] Longcalls mis-optimize loading the function address

2020-03-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94145 --- Comment #9 from Richard Biener --- (In reply to Alan Modra from comment #8) > (In reply to Richard Biener from comment #7) > > OTOH CSEing the load from the PLT once it is resolved _would_ be an > > optimization. > > Possibly. Sometimes mak

[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned

2020-03-13 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org Priority|P3 |P2 Ever confirmed|0 |1 Last reconfirmed||2020-03-13 --- Comment #2 from Richard Biener --- Likely - mine.

[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned

2020-03-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94163 --- Comment #3 from Richard Biener --- From /* There's no CCP pass after PRE which would re-compute alignment information so make sure we re-materialize this here. */ if (gimple_call_builtin_p (call, BUILT_IN_AS

[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned

2020-03-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94163 --- Comment #6 from Richard Biener --- The patch in testing does the same as CCP. I agree that we possibly want saturation behavior but that can be done separately for GCC 11.

[Bug libstdc++/94164] [10 Regression] std::unintialized_fill_n fails to compile

2020-03-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94164 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0 Summary|[Regression 10]

[Bug tree-optimization/94163] [8/9 Regression] ICE in set_ptr_info_alignment with -O2 and __builtin_assume_aligned

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

[Bug debug/92468] gcc generates wrong debug information at -O2 and -O3

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

[Bug c/94179] [10 Regression] ICE in gimplify_expr, at gimplify.c:14399 since r10-7127-gcb99630f254aaec6

2020-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94179 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > Created attachment 48036 [details] > gcc10-pr94179.patch > > Untested fix. > And/or we could limit the match.pd optimization to GIMPLE only, as at least > the C

[Bug middle-end/68785] [6 Regression] valgrind reports issues with folding on x86_64

2020-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68785 --- Comment #15 from Richard Biener --- (In reply to David Binderman from comment #14) > Interestingly, I ran the code in comment 8 through a valgrind version > of recent gcc trunk, with the compiler flag -O2, and got this: > > ./gcc.dg/pr68785.

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

2020-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94125 Richard Biener changed: What|Removed |Added Summary|[9/10 Regression] wrong |[9 Regression] wrong code

[Bug target/94185] [10 Regression] crashes with "error: unable to generate reloads for {*zero_extendsidi2} internal compiler error: in curr_insn_transform, at lra-constraints.c:4006

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

[Bug c/94188] [10 Regression] error: request for member ‘node’ in something not a structure or union since r10-7127-gcb99630f254aaec6

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

[Bug sanitizer/94191] ubsan bootstrap memory hog with -enable-checking=rtl

2020-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94191 Richard Biener changed: What|Removed |Added Keywords||memory-hog --- Comment #2 from Richard

[Bug c/94188] [10 Regression] error: request for member ‘node’ in something not a structure or union since r10-7127-gcb99630f254aaec6

2020-03-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94188 --- Comment #3 from Richard Biener --- Created attachment 48043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48043&action=edit patch in testing This is what I have now, bootstrapped OK after the extra two hunks but I still see ICEs durin

[Bug middle-end/51663] Desirable/undesirable elimination of unused variables & functions at -O0, -O0 -flto and -O0 -fwhole-program

2020-03-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 --- Comment #12 from Richard Biener --- (In reply to Tom de Vries from comment #11) > Cross-referencing PR gdb/25684 - "gdb testing with gcc -flto" ( > https://sourceware.org/bugzilla/show_bug.cgi?id=25684 ). > > Ideally there would be a way to

[Bug middle-end/51663] Desirable/undesirable elimination of unused variables & functions at -O0, -O0 -flto and -O0 -fwhole-program

2020-03-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 --- Comment #14 from Richard Biener --- (In reply to Tom de Vries from comment #13) > (In reply to Richard Biener from comment #12) > > (In reply to Tom de Vries from comment #11) > > > Cross-referencing PR gdb/25684 - "gdb testing with gcc -flto

[Bug middle-end/51663] Desirable/undesirable elimination of unused variables & functions at -O0, -O0 -flto and -O0 -fwhole-program

2020-03-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51663 --- Comment #15 from Richard Biener --- (In reply to Tom de Vries from comment #13) > F.i., an open question for me is the following: I'm now using > -flto-partition=none for testing, but maybe 1to1 should yield better results? I guess it better

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

2020-03-18 Thread rguenth at gcc dot gnu.org
||2020-03-18 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Known to fail||4.8.5 --- Comment #2 from Richard Biener --- Broken since long via memset folding

[Bug c/94188] [10 Regression] error: request for member ‘node’ in something not a structure or union since r10-7127-gcb99630f254aaec6

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

[Bug tree-optimization/94211] [9/10 Regression] -fcompare-debug failure on phi-opt-13.c

2020-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94211 Richard Biener changed: What|Removed |Added Known to fail||9.3.0 Target Milestone|---

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

2020-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94206 Richard Biener changed: What|Removed |Added Keywords||wrong-code Known to work|

[Bug tree-optimization/94212] [8/9/10 Regression] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread rguenth at gcc dot gnu.org
|10.0 Target Milestone|--- |8.5 CC||rguenth at gcc dot gnu.org, ||rsandifo at gcc dot gnu.org Target||aarch64 --- Comment #5 from Richard

[Bug tree-optimization/94212] [8/9/10 Regression] Incorrect vectorization of loop with FP calculations

2020-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94212 --- Comment #7 from Richard Biener --- (In reply to Dmitrij Pochepko from comment #6) > Just checked: non-vectorized assembly for aarch64 (O2) is using fmadd and > fmsub intensively. Try with -ffp-contract=off then. Note due to effective unroll

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

2020-03-18 Thread rguenth at gcc dot gnu.org
at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #6 from Richard Biener --- Mine.

[Bug tree-optimization/94216] [10 Regression] ICE in maybe_canonicalize_mem_ref_addr, at gimple-fold.c:4899 since r10-7237-g4e3d3e40726e1b68bf52fa205c68495124ea60b8

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

[Bug tree-optimization/94216] [10 Regression] ICE in maybe_canonicalize_mem_ref_addr, at gimple-fold.c:4899 since r10-7237-g4e3d3e40726e1b68bf52fa205c68495124ea60b8

2020-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94216 --- Comment #5 from Richard Biener --- (In reply to Jakub Jelinek from comment #1) > I wonder if we shouldn't do: > --- gcc/fold-const.c.jj 2020-03-18 12:47:36.0 +0100 > +++ gcc/fold-const.c 2020-03-18 17:34:14.586455801 +0100 > @@

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

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94217 --- Comment #7 from Richard Biener --- Testing patch.

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #15 from Richard Biener --- WRF initial_config has very very very many (nested) loops to initialize globals. IIRC there's a related bug running into the very same issue when prefetching is enabled.

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #17 from Richard Biener --- Created attachment 48061 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48061&action=edit cache base term I wonder if we could simply cache the base terms in elt_loc_list? Does that make a differenc

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #18 from Richard Biener --- Note also that param_max_find_base_term_values limits recursion depth but not width (the loc list traversals). The original visited_vals thing was to prevent infinite recursion only. If the global caching

[Bug tree-optimization/94216] [10 Regression] ICE in maybe_canonicalize_mem_ref_addr, at gimple-fold.c:4899 since r10-7237-g4e3d3e40726e1b68bf52fa205c68495124ea60b8

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

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

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

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #21 from Richard Biener --- (In reply to Jakub Jelinek from comment #19) > I think caching is problematic, for a couple of reasons: > 1) for non-cselib_preserved_value_p, the loc list is dynamic and keeps > changing, locs are added an

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #22 from Richard Biener --- Created attachment 48063 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48063&action=edit more localized caching Like this. Martin, can you also check the effect on this one?

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #23 from Richard Biener --- (In reply to Richard Biener from comment #22) > Created attachment 48063 [details] > more localized caching > > Like this. Martin, can you also check the effect on this one? We can actually simplify sinc

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

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

[Bug rtl-optimization/92264] [10 Regression] Compile time hog in 521.wrf_r with -Ofast -march=znver2 -g since r276318

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92264 --- Comment #26 from Richard Biener --- (In reply to Martin Liška from comment #24) > (In reply to Richard Biener from comment #23) > > (In reply to Richard Biener from comment #22) > > > Created attachment 48063 [details] > > > more localized ca

[Bug fortran/94221] Explicit assignment in type is ignored in some cases

2020-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94221 Richard Biener changed: What|Removed |Added Known to fail||10.0 Status|UNCONFIRMED

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

2020-03-20 Thread rguenth at gcc dot gnu.org
gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 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 --- Comment #3 from Richard Biener --- The issue is most likely get_origin_and_offset which looks at the pointer argument pointed-to-type: tree xtype = TREE_TYPE (TREE_TYPE (x)); /* The byte offset of the most basic struct m

[Bug middle-end/93437] [9 Regression] bogus -Warray-bounds on protobuf generated code

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

[Bug c/93572] [8/9/10 Regression] internal compiler error: q from h referenced in main

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

[Bug c/93573] [8/9/10 Regression] internal compiler error: in force_constant_size, at gimplify.c:733

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

[Bug target/93932] PowerPC vec_extract with variable element number has code regressions for V2DI/V2DF vectors

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

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

2020-03-20 Thread rguenth at gcc dot gnu.org
||rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- lhd_set_decl_assembler_name seems to only do this for local decls though so it shouldn't matter for actual generated code but is just a compare-debug artifact? If it matters for code-generation then yes, a

[Bug tree-optimization/91322] [10 regression] alias-4 test failure

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

[Bug lto/91028] [10 Regression] g++.dg/lto/alias-2 FAILs with -fno-use-linker-plugin

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

[Bug target/91498] [10 Regression] STV change in r274481 causes 300.twolf regression on Haswell

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

[Bug target/91634] [10 Regression] 508.namd_r (and 435.gromacs) speed regression after r274994

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

[Bug tree-optimization/92029] [10 Regression] 'libgomp.fortran/pr90779.f90' ICE for nvptx offloading

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

  1   2   3   4   5   6   7   8   9   10   >