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

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 --- Comment #7 from Richard Biener --- Yes, it was expected that the patch cannot handle all cases since most definitely the ldist transform loses information on the access that is otherwise used to improve alignment info. I suggested to add

[Bug libgcc/99236] New: Undefined behaviour in libgcc

2021-02-23 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99236 Bug ID: 99236 Summary: Undefined behaviour in libgcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc

[Bug target/99228] blend/shuffle

2021-02-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99228 --- Comment #3 from Hongtao.liu --- 1. To eliminate branch instructions, -ffast-math needs to be added. 2. Without inline complex sgn, gcc also generate blend/shuffle -std=gnu++20 -Ofast -march=znver2 -mno-vzeroupper #include #include #include

[Bug demangler/88783] integer overflow in libiberty, heap overflow will be triggered in nm

2021-02-23 Thread siddhesh at gotplt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88783 Siddhesh Poyarekar changed: What|Removed |Added CC||siddhesh at gotplt dot org ---

[Bug tree-optimization/99235] Null pointer check incorrectly deleted for static pointer

2021-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99235 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/99235] New: Null pointer check incorrectly deleted for static pointer

2021-02-23 Thread sebastianquilter at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99235 Bug ID: 99235 Summary: Null pointer check incorrectly deleted for static pointer Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/99157] [ARM] libgcc -mcmse check always fail

2021-02-23 Thread hsuhau617 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99157 --- Comment #5 from Hau Hsu --- Hi Christophe, The name and email are OK. Thanks!

[Bug c++/99234] New: Regression: wrong result for 1.0/3.0 when -fno-omit-frame-pointer -frounding-math used together

2021-02-23 Thread vz-gcc at zeitlins dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99234 Bug ID: 99234 Summary: Regression: wrong result for 1.0/3.0 when -fno-omit-frame-pointer -frounding-math used together Product: gcc Version: 10.2.1 Status: UNCONFIRMED

[Bug testsuite/99233] New: [11 regression] new test case gcc.target/powerpc/pr96264.c in r11-7285 fails

2021-02-23 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99233 Bug ID: 99233 Summary: [11 regression] new test case gcc.target/powerpc/pr96264.c in r11-7285 fails Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug c++/98707] ICE using std::string in a module partition

2021-02-23 Thread practicaldesignbook at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98707 --- Comment #1 from Adam Singer --- The build from February 23, 2021, gcc version 11.0.0 20210223 (experimental), fixes this bug.

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

2021-02-23 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94092 --- Comment #6 from Jim Wilson --- Trying Alex's patch, it doesn't work on this testcase. One problem is that the loop bound is unknown, so the memset size is estimated as max 0x1fffc bytes. The code calls

[Bug tree-optimization/97595] [11 Regression] bogus -Wstringop-overflow due to DECL_SIZE_UNIT underreporting field size

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/98266] [11 Regression] bogus array subscript is partly outside array bounds on virtual inheritance

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98266 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/99232] New: Exported variable in module gives error: 'lambda' was not declared in this scope

2021-02-23 Thread patrick.kox at commandoregel dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99232 Bug ID: 99232 Summary: Exported variable in module gives error: 'lambda' was not declared in this scope Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/99231] FAIL: c-c++-common/attr-retain-5.c -std=gnu++98 (test for excess errors)

2021-02-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99231 --- Comment #1 from John David Anglin --- dave@atlas:~/gnu/gcc/gcc$ ld --version GNU ld (GNU Binutils for Debian) 2.35.2

[Bug target/99231] New: FAIL: c-c++-common/attr-retain-5.c -std=gnu++98 (test for excess errors)

2021-02-23 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99231 Bug ID: 99231 Summary: FAIL: c-c++-common/attr-retain-5.c -std=gnu++98 (test for excess errors) Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug target/99228] blend/shuffle

2021-02-23 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99228 --- Comment #2 from g.peterh...@t-online.de --- I only use the types of boost here. You can remove boost and use: using float80_t = long double; using float64_t = double; using float32_t = float;

[Bug libfortran/99218] [8/9/10/11 Regression] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[8/9/19/11 Regression] |[8/9/10/11 Regression]

[Bug libfortran/99218] [8/9/19/11 Regression] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/99228] blend/shuffle

2021-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99228 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/zvE3M | |f

[Bug debug/99230] [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length)

2021-02-23 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99230 --- Comment #1 from Hans-Peter Nilsson --- Adding author of the switch rewrite (the trigging commit).

[Bug debug/99230] New: [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length)

2021-02-23 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99230 Bug ID: 99230 Summary: [11 Regression] gcc.dg/pr83527.c excess errors: '-fcompare-debug' failure (length) Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug middle-end/99229] New: missing -Wnonnull for null this pointer in a call to inlined member function

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99229 Bug ID: 99229 Summary: missing -Wnonnull for null this pointer in a call to inlined member function Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug libfortran/99218] [8/9/19/11 Regression] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|matmul on temporary array |[8/9/19/11 Regression]

[Bug tree-optimization/99074] gcc 8 and above is crashing with dynamic_cast<>() on null pointer with optimization level -O1 and above

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99074 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:6d134ca4b963706f31251f061fc180e517b32546 commit r11-7350-g6d134ca4b963706f31251f061fc180e517b32546 Author: Martin Sebor Date: Tue

[Bug fortran/99218] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 anlauf at gcc dot gnu.org changed: What|Removed |Added Known to fail||8.4.1 --- Comment #3 from

[Bug c++/99228] New: blend/shuffle

2021-02-23 Thread g.peterhoff--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99228 Bug ID: 99228 Summary: blend/shuffle Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug fortran/99218] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 --- Comment #2 from anlauf at gcc dot gnu.org --- Reduced testcase: program play implicit none integer, parameter :: NCON = 1 integer, parameter :: NSTATE = 3 real,parameter :: ZERO = 0.0 real :: G(nCon,nState) = ZERO real ::

[Bug c++/99072] [modules] Compiling header unit with partial preprocessing (-E -fdirectives-only) twice causes CRC mismatch

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99072 --- Comment #5 from Nathan Sidwell --- 99072_a.H: // Empty file 99072_b.C: export module Foo; import "99072_a.H"; 99072_c.C: import Foo; ./cc1plus -quiet -E -fdirectives-only -fmodule-header -E 99072_a.H > 99072_a.one ./cc1plus -quiet

[Bug fortran/99218] matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 anlauf at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/99217] [MIPS] wrong function entry with -fpatchable-function-entry

2021-02-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99217 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/99124] [9/10/11 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:541

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99124 --- Comment #2 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:29a5298955f777c539c628f51e78b75d8e586c44 commit r11-7349-g29a5298955f777c539c628f51e78b75d8e586c44 Author: Paul Thomas Date: Tue

[Bug c/97172] [11 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams since r11-3303-g6450f07388f9fe57

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172 --- Comment #33 from Martin Sebor --- Another fix: https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565736.html

[Bug c/99225] [8/9/10/11 Regression] ICE in wide_int_to_tree_1, at tree.c:1644

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99225 --- Comment #2 from Jakub Jelinek --- Created attachment 50244 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50244=edit gcc11-pr99225.patch Untested fix.

[Bug inline-asm/99123] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710

2021-02-23 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99123 --- Comment #2 from Vladimir Makarov --- (In reply to G. Steinmetz from comment #0) > Affects versions down to at least r5 at -O1+. > Testfile derived from gcc/testsuite/gcc.target/i386/20020729-1.c > with string "1" changed to "" : > > > $

[Bug c/99225] [8/9/10/11 Regression] ICE in wide_int_to_tree_1, at tree.c:1644

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99225 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/99226] [11 Regression] ICE in expand_expr_real_1, at expr.c:10279

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99226 Jakub Jelinek changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug c/99225] [8/9/10/11 Regression] ICE in wide_int_to_tree_1, at tree.c:1644

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99225 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/99227] New: [meta] [modules] Bugs relating to header-units of STL header files

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug ID: 99227 Summary: [meta] [modules] Bugs relating to header-units of STL header files Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99226] New: [11 Regression] ICE in expand_expr_real_1, at expr.c:10279

2021-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99226 Bug ID: 99226 Summary: [11 Regression] ICE in expand_expr_real_1, at expr.c:10279 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99169] [9/10/11 Regression] Segfault when passing allocatable scalar into intent(out) dummy argument

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99169 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/99225] New: ICE in wide_int_to_tree_1, at tree.c:1644

2021-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99225 Bug ID: 99225 Summary: ICE in wide_int_to_tree_1, at tree.c:1644 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug fortran/99206] [11 Regression] ICE in add_init_expr_to_sym, at fortran/decl.c:1980

2021-02-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99206 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/99224] New: [9/10/11 Regression] ICE in location_wrapper_p, at tree.h:4052

2021-02-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99224 Bug ID: 99224 Summary: [9/10/11 Regression] ICE in location_wrapper_p, at tree.h:4052 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99169] [9/10/11 Regression] Segfault when passing allocatable scalar into intent(out) dummy argument

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99169 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:baf4c27c8754c1f7bbad3f577a4bd890528c0e75 commit r9-9247-gbaf4c27c8754c1f7bbad3f577a4bd890528c0e75 Author: Harald Anlauf

[Bug c++/98718] [modules] use of partitions causes ICE in write_macro_maps

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 --- Comment #2 from Nathan Sidwell --- reduced testcase: // b_a.ii module ; # 4 "inc_a" 1 #define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V))) namespace std _GLIBCXX_VISIBILITY(default) { } # 11 "" 2 export module

[Bug fortran/99169] [9/10/11 Regression] Segfault when passing allocatable scalar into intent(out) dummy argument

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99169 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e111925dbddb63ca1ee9e43412c7e896ba5c1105 commit r10-9385-ge111925dbddb63ca1ee9e43412c7e896ba5c1105 Author: Harald Anlauf

[Bug fortran/99206] [11 Regression] ICE in add_init_expr_to_sym, at fortran/decl.c:1980

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99206 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a6c7e0fcffc857e67dffdd7609be663cc3aac7d2 commit r11-7348-ga6c7e0fcffc857e67dffdd7609be663cc3aac7d2 Author: Harald Anlauf Date:

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #8 from Nathan Sidwell --- 99222 and 99223 filed. Please file each case as a separate issue. So far, they've all been different underlying causes. It might make sense to have a meta-bug referring to this class of issue.

[Bug c++/99223] New: [modules] stdl header-unit ICE

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99223 Bug ID: 99223 Summary: [modules] stdl header-unit ICE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/99083] Big run-time regressions of 519.lbm_r with LTO

2021-02-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99083 --- Comment #12 from Martin Jambor --- For the record, I have benchmarked the patches from comment #4 and comment #10 on top of commit 6b1633378b7 (for which I already have unpatched benchmark results) and the regression of 519.lbm_r compiled

[Bug c++/99222] New: [modules] system header-unit ICEs

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99222 Bug ID: 99222 Summary: [modules] system header-unit ICEs Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #7 from Alexander Lelyakin --- I write a shell script to try to compile c++ system headers in random order: Results so far: Shortest sequences up to internal compiler error: - type_traits thread - clocale barrier -

[Bug c++/97145] Sanitizer pointer-subtract breaks constexpr functions subtracting pointers

2021-02-23 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97145 Paweł Bylica changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgcc/99157] [ARM] libgcc -mcmse check always fail

2021-02-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99157 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/97172] [11 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams since r11-3303-g6450f07388f9fe57

2021-02-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172 --- Comment #32 from Martin Sebor --- The "arg spec" attribute also needs to be removed from the function arguments. Let me take care of that.

[Bug rtl-optimization/99221] copyprop_hardreg_forward_1 deletes insn by mistake

2021-02-23 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99221 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 50243 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50243=edit a-foo.i.307r.cprop_hardreg

[Bug rtl-optimization/99221] New: copyprop_hardreg_forward_1 deletes insn by mistake

2021-02-23 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99221 Bug ID: 99221 Summary: copyprop_hardreg_forward_1 deletes insn by mistake Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99153 --- Comment #6 from Alexander Lelyakin --- Another, shorter sequence: g++ -std=c++20 -fmodules-ts -x c++-system-header new g++ -std=c++20 -fmodules-ts -x c++-system-header initializer_list g++ -std=c++20 -fmodules-ts -x c++-system-header

[Bug libstdc++/98384] [11 Regression] new test case 20_util/to_chars/long_double.cc in r11-6249 fails on powerpc64 BE

2021-02-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98384 --- Comment #11 from Patrick Palka --- (In reply to Jakub Jelinek from comment #9) > I think glibc %a printing uses 0x1. (for normalized values) at least for > float/double and the IEEE quad long doubles, but uses 0xf. printing etc. >

[Bug c++/99153] [11 Regression] ICE: depset::hash::make_dependency

2021-02-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
++20 -fmodules-ts -x c++-system-header string g++ -std=c++20 -fmodules-ts -x c++-system-header algorithm -- Tried on last version from git: commit e03e58c1844d04678f95b278f3eff2a5fbaeff7 g++ (GCC) 11.0.0 20210223 (experimental)

[Bug tree-optimization/99220] New: [11 Regression] ICE during vectorization when multiple instances do the same calculation but have different num lanes

2021-02-23 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99220 Bug ID: 99220 Summary: [11 Regression] ICE during vectorization when multiple instances do the same calculation but have different num lanes Product: gcc

[Bug sanitizer/99190] Undefined behaviour in libubsan

2021-02-23 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99190 --- Comment #8 from Vittorio Zecca --- I can confirm the new libubsan works on my test case. Keep up the good work!

[Bug libstdc++/82739] [8/9/10 Regression] Sort is 30% slower compared to gcc44 on presorted array

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82739 Jakub Jelinek changed: What|Removed |Added Summary|[8/9/10/11 Regression] Sort |[8/9/10 Regression] Sort is

[Bug libquadmath/99202] Undefined behaviour in libquadmath file rem_pio2q.c function __quadmath_rem_pio2q

2021-02-23 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99202 --- Comment #2 from Vittorio Zecca --- I believe you need LD_PRELOAD if the object program uses the address sanitizer.

[Bug libstdc++/82739] [8/9/10/11 Regression] Sort is 30% slower compared to gcc44 on presorted array

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82739 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/99215] coroutines: debugging with gdb

2021-02-23 Thread nilsgladitz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #4 from Nils Gladitz --- (In reply to Iain Sandoe from comment #3) > ... the essence of the idea [on the mentioned long TODO] is to change the > way in which frame vars are referenced; instead of changing the uses to > point to the

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #16 from Jakub Jelinek --- But the latter (i.e. sorry) only if it always has been broken for that target. #c7 seems to suggest it worked in ELFv1 (does it work on powerpc -m32?) and got broken by H.J's change, then we should fix it

[Bug testsuite/98125] [11 Regression] New test case g++.dg/pr93195a.C in r11-5656 has excess errors

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98125 --- Comment #15 from Jakub Jelinek --- In any case, if the option is totally broken, we should either fix it for GCC 11 or emit sorry message to make it clear to users the option is not supported.

[Bug c++/99215] coroutines: debugging with gdb

2021-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #3 from Iain Sandoe --- (In reply to Nils Gladitz from comment #2) > (In reply to Iain Sandoe from comment #1) > > Can you identify specific key blockers to progress? > > (I think the paper cited contained a number of desiderata, but

[Bug fortran/99219] New: Possible wrong code for finalizator call with class via trans_scalar_class_assign ?

2021-02-23 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99219 Bug ID: 99219 Summary: Possible wrong code for finalizator call with class via trans_scalar_class_assign ? Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/99208] [modules] ICE with partitions & instantiations of linkage-typedef structs

2021-02-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99208 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99208] [modules] ICE with partitions & instantiations of linkage-typedef structs

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99208 --- Comment #1 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:47145e6916f58e1cd4f562c06fa7289da49f690c commit r11-7347-g47145e6916f58e1cd4f562c06fa7289da49f690c Author: Nathan Sidwell Date:

[Bug sanitizer/99168] inconsistent behavior on -O0 and -O2 with ASAN on

2021-02-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99168 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/99168] inconsistent behavior on -O0 and -O2 with ASAN on

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99168 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:3f8384545784696fbd66aaec24a998a819e912c5 commit r11-7346-g3f8384545784696fbd66aaec24a998a819e912c5 Author: Martin Liska Date: Tue

[Bug go/81183] -gdwarf-5: fatal error: unrecognized DWARF version in .debug_info at 6

2021-02-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81183 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/99215] coroutines: debugging with gdb

2021-02-23 Thread nilsgladitz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #2 from Nils Gladitz --- (In reply to Iain Sandoe from comment #1) > Can you identify specific key blockers to progress? > (I think the paper cited contained a number of desiderata, but it would be > good to start from the most

[Bug c/97172] [11 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams since r11-3303-g6450f07388f9fe57

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172 --- Comment #31 from Richard Biener --- Looks like DECL_ARGUMENTS of the function refers to SSA names. (gdb) p function->function_decl.arguments $1 = (gdb) p debug_tree ($1) unit-size align:8 warn_if_not_align:0

[Bug analyzer/99212] [11 Regression] gcc.dg/analyzer/data-model-1.c line 971

2021-02-23 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99212 Hans-Peter Nilsson changed: What|Removed |Added Last reconfirmed||2021-02-23

[Bug c++/95468] [8/9/10 Regression] ICE in expression sfinae

2021-02-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 Patrick Palka changed: What|Removed |Added Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE in

[Bug c++/95468] [8/9/10/11 Regression] ICE in expression sfinae

2021-02-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:5bd7afb71fca3a5a6e9f8586d86903bae1849193 commit r11-7345-g5bd7afb71fca3a5a6e9f8586d86903bae1849193 Author: Patrick Palka Date:

[Bug c/97172] [11 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams since r11-3303-g6450f07388f9fe57

2021-02-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97172 Martin Liška changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug c++/99215] coroutines: debugging with gdb

2021-02-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/99117] [9/10/11 Regression] cannot accumulate std::valarray

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117 --- Comment #17 from Jakub Jelinek --- Pedantically speaking if __e in the end reads _M_data of some std::valarray that happens to alias __p it will be still violating aliasing, but at least current GCC won't do anything with that.

[Bug libstdc++/99117] [9/10/11 Regression] cannot accumulate std::valarray

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117 --- Comment #16 from Jakub Jelinek --- So perhaps (totally untested): --- libstdc++-v3/include/std/valarray.jj2021-01-04 10:26:02.366967342 +0100 +++ libstdc++-v3/include/std/valarray 2021-02-23 15:16:22.402688841 +0100 @@ -838,7

[Bug fortran/99218] New: matmul on temporary array accesses invalid memory (segfault)

2021-02-23 Thread rpmcnally at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 Bug ID: 99218 Summary: matmul on temporary array accesses invalid memory (segfault) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/99117] [9/10/11 Regression] cannot accumulate std::valarray

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117 --- Comment #15 from Jakub Jelinek --- So, based on IRC discussion, the problem is that in: template template inline valarray<_Tp>& valarray<_Tp>::operator=(const _Expr<_Dom, _Tp>& __e) { // _GLIBCXX_RESOLVE_LIB_DEFECTS

[Bug libstdc++/99117] [9/10/11 Regression] cannot accumulate std::valarray

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117 Jakub Jelinek changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug libstdc++/99117] [9/10/11 Regression] cannot accumulate std::valarray

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99117 --- Comment #13 from Richard Biener --- So the valarray behavior boils down to struct _Array { int * __restrict m_data; }; void foo (struct _Array dest, int *src, int n) { for (int i = 0; i < n; ++i) dest.m_data[i] = src[i]; } which we

[Bug target/98746] [11 Regression] memory hog for a lto+pgo build on powerpc64*-linux-gnu

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98746 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/80635] [8/9/10/11 regression] std::optional and bogus -Wmaybe-uninitialized warning

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Jakub Jelinek changed: What|Removed |Added Assignee|law at redhat dot com |jakub at gcc dot gnu.org

[Bug testsuite/97699] [11 regression] zero-scratch-regs tests fail on arm

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97699 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/97680] [11 Regression] new test case c-c++-common/zero-scratch-regs-10.c in r11-4578 has excess errors

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97680 Richard Biener changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug rtl-optimization/53533] [8/9/10/11 regression] vectorization causes loop unrolling test slowdown as measured by Adobe's C++Benchmark

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53533 Richard Biener changed: What|Removed |Added Last reconfirmed|2015-05-03 00:00:00 |2021-2-23 --- Comment #41 from Richard

[Bug c++/99180] [10/11 Regression] ICE with alias template and empty parameter pack

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99180 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3

[Bug ada/98996] [11 Regression] mips64 ada ftbfs

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98996 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug rtl-optimization/98782] [11 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-02-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/80635] [8/9/10/11 regression] std::optional and bogus -Wmaybe-uninitialized warning

2021-02-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libstdc++/90943] Visiting inherited variants no longer works in 9.1

2021-02-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90943 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #6 from Jonathan

  1   2   >