[Bug tree-optimization/95357] New: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95357 Bug ID: 95357 Summary: [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on

[Bug tree-optimization/95357] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95357 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-27 Status|UNCONFIRMED

[Bug c++/95311] [11 Regression] ICE in cp_ubsan_maybe_instrument_member_call at gcc/cp/cp-ubsan.c:136 since r11-578-g72af65b91cc2a2eb

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95311 --- Comment #1 from Martin Liška --- @Jason: I would like to do a merge of libsanitizer but this issue is blocking me right now. One can't do a UBSAN bootstrap right now. Can you please take a look?

[Bug tree-optimization/95358] New: [11 Regression] ICE in exact_div, at poly-int.h:2162 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95358 Bug ID: 95358 Summary: [11 Regression] ICE in exact_div, at poly-int.h:2162 since r11-564-g79f0451c67e8ed56 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywo

[Bug tree-optimization/95358] [11 Regression] ICE in exact_div, at poly-int.h:2162 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95358 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/95335] [11 Regression] ICE in vectorizable_scan_store at gcc/tree-vect-stmts.c:7164 since r11-615-gdc0c0196340f7ac5

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95335 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 Assignee|unassigned at g

[Bug target/95336] [10/11 Regression] Bad code gen omnetpp_r aarch64

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug tree-optimization/95359] New: Failure to optimize printfs with extraneous arguments

2020-05-27 Thread gabravier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95359 Bug ID: 95359 Summary: Failure to optimize printfs with extraneous arguments Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/95338] [9/10/11 Regression] ICE non-trivial conversion in component_ref

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95338 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Target Milestone|---

[Bug jit/87005] gcc_jit_context_get_builtin_function not documented

2020-05-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87005 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/95340] [10/11 Regression] ICE in gfc_match_select_rank, at fortran/match.c:6690

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

[Bug target/95341] Poor vector_size decomposition when SVE is enabled

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

[Bug fortran/95342] [9/10/11 Regression] ICE in gfc_match_subroutine, at fortran/decl.c:7913

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

[Bug c++/95344] [9/10/11 Regression] Wparentheses (assignment used as truth value) on parenthesized ternary conditional E2

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

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

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

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

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

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/95353] [10/11 Regression] GCC can't build binutils

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95353 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.2 Component|middle-end

[Bug c++/95242] [10/11 Regression] spurious "warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]" on comparisons with -std=c++2a

2020-05-27 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95242 --- Comment #5 from Daniel Krügler --- (In reply to Jonathan Wakely from comment #4) > It's consteval, the throw is there to make it not a constant expression and > give an error if anything except 0 is used. i.e. it can never throw, it > either

[Bug target/95355] [11 Regression] Assembler messages: Error: operand size mismatch for `vpmovzxbd' with -masm=intel

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

[Bug tree-optimization/95357] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655

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

[Bug tree-optimization/95358] [11 Regression] ICE in exact_div, at poly-int.h:2162 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95358 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread bule1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #6 from Bu Le --- (In reply to Wilco from comment #4) > (In reply to Bu Le from comment #3) > > (In reply to Wilco from comment #2) > Well the question is whether we're talking about more than 4GB of code or > more than 4GB of data.

[Bug target/65181] Support for alloca in nvptx

2020-05-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 Tobias Burnus changed: What|Removed |Added Keywords||openacc CC|

[Bug c++/95242] [10/11 Regression] spurious "warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]" on comparisons with -std=c++2a

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95242 --- Comment #6 from Jonathan Wakely --- It was just a sketch to show the idea. Obviously the real thing would need noexcept, but we have a regression test for that. How to construct it is what's relevant here.

[Bug fortran/95146] gfortran -cpp – leading spaces before '#' preprocessing directive not handled

2020-05-27 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95146 --- Comment #6 from Tobias Burnus --- (In reply to Thomas Koenig from comment #5) > Moving to the non-traditional C preprocessor will cause havoc with > the // operator in Fortran. > c = 'a' // 'b' would then be turned into c = 'a', probably not

[Bug middle-end/95315] [11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) since r11-382-g7a50e7087567cffb

2020-05-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95315 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:baff22c48bdee9cb644b7336bf6f20f799531507 commit r11-653-gbaff22c48bdee9cb644b7336bf6f20f799531507 Author: Jakub Jelinek Date: Wed

[Bug fortran/95340] [10/11 Regression] ICE in gfc_match_select_rank, at fortran/match.c:6690

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95340 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/95339] ICE in alloc_scalar_allocatable_for_subcomponent_assignment, at fortran/trans-expr.c:8002

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95339 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/95338] [9/10/11 Regression] ICE non-trivial conversion in component_ref

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95338 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug fortran/95352] ICE on select rank with assumed-size selector and lbound intrinsic

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95352 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sta

[Bug target/95355] [11 Regression] Assembler messages: Error: operand size mismatch for `vpmovzxbd' with -masm=intel since r11-485-gf6e40195ec3d3b402a5f6c58dbf359479bc4cbfa

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95355 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug jit/95314] Sharing a local reference to a global variable in multiple functions results in location references block not in block tree

2020-05-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95314 --- Comment #7 from David Malcolm --- Created attachment 48615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48615&action=edit Non-reproducing attempt at a reproducer I attempted to reproduce this, but was unsuccessful. I'm attaching wha

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #2 from Jonathan Wakely --- Using auto t = new(p) std::uint64_t; std::memcpy(t, std::launder(storage), sizeof(storage)); return t; also prevents GCC from propagating the dynamic type of p to t.

[Bug c++/95354] GCC misuse "nonnull-attribute" option and can not detect it as UB as well

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95354 --- Comment #2 from Jonathan Wakely --- Allowing the attribute on individual parameters might be nice though. I hate the fact that for C++ member functions the first parameter is the implicit 'this' pointer which always has to be non-null anyway

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread bule1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #7 from Bu Le --- (In reply to Wilco from comment #5) > (In reply to Bu Le from comment #0) > > Also it would be much more efficient to have a relocation like this if you > wanted a 48-bit PC-relative offset: > > adrpx0, bar1.27

Invalid Delivery Address

2020-05-27 Thread DHL
  gcc-bugsWe Attempted to deliver your item  on MAY 27. 2020 but could not complete the delivery because the dispatch rider did not have access to the location due to covid19 pandemic

[Bug gcov-profile/95348] GCC records zero functions and modules in the profiling data file, ICC does NOT

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95348 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org Target Miles

[Bug c++/95354] GCC misuse "nonnull-attribute" option and can not detect it as UB as well

2020-05-27 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95354 --- Comment #3 from Haoxin Tu --- I see. Are there any cases that can trigger the UB of nonnull-attribute? I doubt the usage of “-fsanitize=nonnull-attribute” in GCC...

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2020-05-27 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #27 from Jiu Fu Guo --- (In reply to Wilco from comment #13) > So to add some real numbers to the discussion, the average number of > iterations is 4.31. Frequency stats (16 includes all iterations > 16 too): > > 1: 29.0 > 2: 4.2 > 3

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-05-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #3 from rguenther at suse dot de --- On Wed, 27 May 2020, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 > > --- Comment #2 from Jonathan Wakely --- > Using > > auto t = new(p) std::uint64_t

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356 --- Comment #2 from Richard Biener --- So we get v4si for the vector type but the operand is long long int: 3683gcc_assert (vector_type 3684&& types_compatible_p (vector_type, 3685

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #8 from Wilco --- (In reply to Bu Le from comment #6) > (In reply to Wilco from comment #4) > > (In reply to Bu Le from comment #3) > > > (In reply to Wilco from comment #2) > > > Well the question is whether we're talking about more

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2020-05-27 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #28 from Jiu Fu Guo --- (In reply to Jiu Fu Guo from comment #27) > > 12: 1.2 > > 13: 0.9 > > 14: 0.8 > > 15: 0.7 > > 16: 2.1 > > > > Find one interesting thing: > If using widen reading for the run which > 16 iterations, we can se

[Bug c++/66159] bogus warning for alias-declaration using elaborated-type-specifier

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66159 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #7 from Jonathan Wak

[Bug tree-optimization/95358] [11 Regression] ICE in exact_div, at poly-int.h:2162 since r11-564-g79f0451c67e8ed56

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

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356 --- Comment #3 from Richard Biener --- *** Bug 95358 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/95357] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3655

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

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

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

[Bug debug/95360] New: inconsistent behaviors at -O0

2020-05-27 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 Bug ID: 95360 Summary: inconsistent behaviors at -O0 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assi

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #1 from Yibiao Yang --- Created attachment 48616 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48616&action=edit the binary

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #9 from Wilco --- (In reply to Bu Le from comment #7) > (In reply to Wilco from comment #5) > > (In reply to Bu Le from comment #0) > > > > Also it would be much more efficient to have a relocation like this if you > > wanted a 48-bi

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #2 from Jonathan Wakely --- (In reply to Yibiao Yang from comment #0) > As showed, Line 6 is hit first and then hit Line 7 with stepi. > However, when using step, gdb is first hit Line 7 and then hit Line 6. > This is an inconsistent

[Bug c++/95354] GCC misuse "nonnull-attribute" option and can not detect it as UB as well

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95354 --- Comment #4 from Jonathan Wakely --- (In reply to Haoxin Tu from comment #3) > I see. Are there any cases that can trigger the UB of nonnull-attribute? I > doubt the usage of “-fsanitize=nonnull-attribute” in GCC... Yes, just use the attribut

[Bug middle-end/95315] [11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) since r11-382-g7a50e7087567cffb

2020-05-27 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95315 --- Comment #4 from Arseny Solokha --- (In reply to Jakub Jelinek from comment #2) > Created attachment 48603 [details] > gcc11-pr95315.patch > > Untested fix. @@ -1823,6 +1850,12 @@ omp_resolve_declare_variant (tree base) }

[Bug middle-end/95315] [11 Regression] ICE: Segmentation fault (in lookup_page_table_entry) since r11-382-g7a50e7087567cffb

2020-05-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95315 --- Comment #5 from Jakub Jelinek --- (In reply to Arseny Solokha from comment #4) > Shouldn't there be > > if (!node_removal_hook_holder) > node_removal_hook_holder > = symtab->add_cgraph_removal_hook (… > > instead? Of course, go

[Bug target/95361] New: Segfault when generating an epilogue for a partly-shrinked-wrapped SVE frame

2020-05-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95361 Bug ID: 95361 Summary: Segfault when generating an epilogue for a partly-shrinked-wrapped SVE frame Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice

[Bug target/95361] Segfault when generating an epilogue for a partly-shrinked-wrapped SVE frame

2020-05-27 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95361 rsandifo at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2020-05-27 Sta

[Bug target/95355] [11 Regression] Assembler messages: Error: operand size mismatch for `vpmovzxbd' with -masm=intel since r11-485-gf6e40195ec3d3b402a5f6c58dbf359479bc4cbfa

2020-05-27 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95355 --- Comment #2 from Uroš Bizjak --- This is pre-exsisting problem. There are a couple of wrong %q modifiers in vpmov* insn templates: --cut here-- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index fde65391d7d..1cf1b8cea3b 10064

[Bug c++/95349] Using std::launder(p) produces unexpected behavior where (p) produces expected behavior

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95349 --- Comment #4 from Jonathan Wakely --- I don't know the answer, and I don't know why it's useful to try this anyway.

[Bug tree-optimization/95295] g++ produces incorrect code with -O3 for loops

2020-05-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95295 --- Comment #7 from rguenther at suse dot de --- On Wed, 27 May 2020, vsevolod.livinskij at frtk dot ru wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95295 > > --- Comment #6 from Vsevolod Livinskiy --- > Thank you for such a quick fix

[Bug tree-optimization/95335] [11 Regression] ICE in vectorizable_scan_store at gcc/tree-vect-stmts.c:7164 since r11-615-gdc0c0196340f7ac5

2020-05-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95335 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a5d8d86e8a72736bfd8a2ce8aa427dec896a442e commit r11-657-ga5d8d86e8a72736bfd8a2ce8aa427dec896a442e Author: Richard Biener Date: W

[Bug tree-optimization/95335] [11 Regression] ICE in vectorizable_scan_store at gcc/tree-vect-stmts.c:7164 since r11-615-gdc0c0196340f7ac5

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

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 Wilco changed: What|Removed |Added CC||wilco at gcc dot gnu.org --- Comment #29 from Wi

[Bug other/95362] New: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 Bug ID: 95362 Summary: [11 regression] pr34457-1.c fails on arm since ga746f952abb78af9db28a7f3bce442e113877c9c Product: gcc Version: 11.0 Status: UNCONFIRMED S

[Bug other/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since ga746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 Christophe Lyon changed: What|Removed |Added Summary|[11 regression] pr34457-1.c |[11 regression] pr34457-1.c

[Bug tree-optimization/95363] New: [11 regression] bb-slp-pr95271.c fails on arm since gc0e27f72358794692e367363940c6383e9ad1e45

2020-05-27 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95363 Bug ID: 95363 Summary: [11 regression] bb-slp-pr95271.c fails on arm since gc0e27f72358794692e367363940c6383e9ad1e45 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/95336] [10/11 Regression] Bad code gen omnetpp_r aarch64

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/95354] GCC misuse "nonnull-attribute" option and can not detect it as UB as well

2020-05-27 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95354 --- Comment #5 from Haoxin Tu --- (In reply to Jonathan Wakely from comment #4) > (In reply to Haoxin Tu from comment #3) > > I see. Are there any cases that can trigger the UB of nonnull-attribute? I > > doubt the usage of “-fsanitize=nonnull-at

[Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-27 Status|UNCONFIRMED

[Bug target/95336] [10/11 Regression] Bad code gen omnetpp_r aarch64

2020-05-27 Thread erick.oc...@theobroma-systems.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336 --- Comment #9 from Erick Ochoa --- (In reply to Martin Liška from comment #8) > I've just tried current gcc-10 branch tip and I can't reproduce it with: > -mtune=emag -O3 -flto=16 > > Can you please attach complete build log? Hi, I was able t

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

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 95336, which changed state. Bug 95336 Summary: [10/11 Regression] Bad code gen omnetpp_r aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336 What|Removed |Added --

[Bug target/95336] [10/11 Regression] Bad code gen omnetpp_r aarch64

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95336 Martin Liška changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug tree-optimization/95359] Failure to optimize printfs with extraneous arguments

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95359 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfir

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread bule1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #10 from Bu Le --- > Fortran already has -fstack-arrays to decide between allocating arrays on > the heap or on the stack. I tried the flag with my example. The fstack-array seems cannot move the array in the bss to the heap. The pr

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

2020-05-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95356 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:764ef40ba185ef9245a209ba9260d1e50bec6934 commit r11-658-g764ef40ba185ef9245a209ba9260d1e50bec6934 Author: Richard Biener Date: W

[Bug tree-optimization/95356] [11 Regression] ICE in vect_get_constant_vectors, at tree-vect-slp.c:3635 since r11-564-g79f0451c67e8ed56

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

[Bug ipa/92606] [8/9/10/11 Regression][avr] invalid merge of symbols in progmem and data sections

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92606 Martin Liška changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug jit/95314] Sharing a local reference to a global variable in multiple functions results in location references block not in block tree

2020-05-27 Thread bouanto at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95314 --- Comment #8 from bouanto at zoho dot com --- Created attachment 48617 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48617&action=edit Small example to reproduce the bug

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #3 from Tom de Vries --- (In reply to Yibiao Yang from comment #0) > Breakpoint 1, main () at small.c:5 > 5 for (; d<1; d++) > (gdb) stepi > 0x004011545 for (; d<1; d++) > (gdb) stepi > 0x0040115a

[Bug jit/95314] Sharing a local reference to a global variable in multiple functions results in location references block not in block tree

2020-05-27 Thread bouanto at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95314 --- Comment #9 from bouanto at zoho dot com --- Actually, it seems I was wrong on the conditions to reproduce this issue. I managed to create a small example to reproduce the issue. I attached it to the bug report.

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread bule1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #11 from Bu Le --- > You're right, we need an extra add, so it's like this: > > adrpx0, bar1.2782 > movk x1, :high32_47:bar1.2782 > add x0, x0, x1 > add x0, x0, :lo12:bar1.2782 > > > (By the way, the high32_47 relocati

[Bug c++/95337] duplicated deprecated attribute gives incorrectly duplicated diagnostic

2020-05-27 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95337 --- Comment #1 from Nathan Sidwell --- Oops, I ran my installed compiler, and on this machine that's still 9.3. On trunk we get one diagnostic. Ignoring the other deprecated reason.

[Bug c++/95337] duplicated deprecated attribute gives incorrectly duplicated diagnostic

2020-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95337 --- Comment #2 from Jonathan Wakely --- The duplicate "dob" was probably fixed by r10-7159 for PR 67960.

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #12 from Wilco --- (In reply to Bu Le from comment #10) > > Fortran already has -fstack-arrays to decide between allocating arrays on > > the heap or on the stack. > > I tried the flag with my example. The fstack-array seems cannot m

[Bug lto/95362] [11 regression] pr34457-1.c and pr92088-1.c fail on arm and aarch64 since g:a746f952abb78af9db28a7f3bce442e113877c9c

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 Martin Liška changed: What|Removed |Added Target|arm aarch64 |arm, aarch64, x86_64 --- Comment #2 from

[Bug jit/95314] Sharing a local reference to a global variable in multiple functions results in location references block not in block tree

2020-05-27 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95314 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/95295] g++ produces incorrect code with -O3 for loops

2020-05-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95295 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:6c8e16aea85286721eb5689f9bcae09d36003cb1 commit r11-660-g6c8e16aea85286721eb5689f9bcae09d36003cb1 Author: Richard Biener Date: W

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #13 from Wilco --- (In reply to Bu Le from comment #11) > > > You're right, we need an extra add, so it's like this: > > > > adrpx0, bar1.2782 > > movkx1, :high32_47:bar1.2782 > > add x0, x0, x1 > > add x0, x0,

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2020-05-27 Thread guojiufu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #30 from Jiu Fu Guo --- (In reply to Wilco from comment #29) > (In reply to Jiu Fu Guo from comment #28) > > > > > > Find one interesting thing: > > > If using widen reading for the run which > 16 iterations, we can see the > > > per

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #4 from Tom de Vries --- I compiled the test-case: ... $ gcc-10 -O0 -g small.c ... And did the stepi scenario: ... $ gdb a.out -batch -ex start $(for n in $(seq 1 7); do echo -ex si; done) Temporary breakpoint 1 at 0x400496: file sma

[Bug target/95285] AArch64:aarch64 medium code model proposal

2020-05-27 Thread bule1 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95285 --- Comment #14 from Bu Le --- > > Anyway, my point is that the size of single data does't affact the fact that > > medium code model is missing in aarch64 and aarch64 is lack of PIC large > > code model. > > What is missing is efficient support

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #5 from Yibiao Yang --- (In reply to Tom de Vries from comment #3) > (In reply to Yibiao Yang from comment #0) > > Breakpoint 1, main () at small.c:5 > > 5 for (; d<1; d++) > > (gdb) stepi > > 0x00401154 5 for (;

[Bug tree-optimization/88398] vectorization failure for a small loop to do byte comparison

2020-05-27 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88398 --- Comment #31 from Wilco --- (In reply to Jiu Fu Guo from comment #30) > (In reply to Wilco from comment #29) > > The key question remains whether it is legal to assume the limit implies the > > memory is valid and use wider accesses. > If un

[Bug debug/95360] inconsistent behaviors at -O0

2020-05-27 Thread yangyibiao at hust dot edu.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360 --- Comment #6 from Yibiao Yang --- (In reply to Jonathan Wakely from comment #2) > (In reply to Yibiao Yang from comment #0) > > As showed, Line 6 is hit first and then hit Line 7 with stepi. > > However, when using step, gdb is first hit Line 7

[Bug bootstrap/95364] New: [Regression] contrib/gcc_update -r 8712 no longer works

2020-05-27 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95364 Bug ID: 95364 Summary: [Regression] contrib/gcc_update -r 8712 no longer works Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Prior

[Bug fortran/95366] New: TYPE IS(character(*)) no longer matches

2020-05-27 Thread gcc at abeckmann dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95366 Bug ID: 95366 Summary: TYPE IS(character(*)) no longer matches Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug gcov-profile/95365] New: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95365 Bug ID: 95365 Summary: [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pri

[Bug gcov-profile/95365] [11 Regression] Broken gcov since r11-627-g1dedc12d186a1108

2020-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95365 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-05-27 Status|UNCONFIRMED

  1   2   3   >