[Bug tree-optimization/99428] New: possible missed optimization for dead code elimination

2021-03-05 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99428 Bug ID: 99428 Summary: possible missed optimization for dead code elimination Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/99427] New: [modules] in system headers: non-constant condition for static assertion

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
/local/include/c++/11.0.1/istream: At global scope: /usr/local/include/c++/11.0.1/istream: warning: not writing module ‘/usr/local/include/c++/11.0.1/istream’ due to errors g++ (GCC) 11.0.1 20210305 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see

[Bug c++/99426] New: [modules] failed to read compiled module cluster 1186: Bad file data

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99426 Bug ID: 99426 Summary: [modules] failed to read compiled module cluster 1186: Bad file data Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/99425] New: [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210305 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTAB

[Bug c++/99424] New: [modules] ICE tree check: expected tree_vec, have error_mark in lookup_template_class_1, at cp/pt.c:9803

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
ructions. g++ (GCC) 11.0.1 20210305 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug c++/99423] New: [modules] ICE tree check: expected tree_vec, have ggc_freed in lookup_template_class_1, at cp/pt.c:9803

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
gcc/cp/parser.c:20411 0xad6988 cp_parser_declaration ../../gcc/gcc/cp/parser.c:14096 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 --- Comment #4 from Alexander Lelyakin --- ICE in assert_definition is not seen in version 20210305.

[Bug c++/96330] Constexpr variables cannot be used in the template context.

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96330 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:574e7601829733d7cae20b5dc7034b876cc76b30 commit r11-7541-g574e7601829733d7cae20b5dc7034b876cc76b30 Author: Patrick Palka Date:

[Bug c++/99365] [11 Regression] ICE on partial specialization with constrained placeholder NTTP

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99365 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b49d23f3e238c08bdbc5b892b2ed0a57b5f5caf9 commit r11-7540-gb49d23f3e238c08bdbc5b892b2ed0a57b5f5caf9 Author: Patrick Palka Date:

[Bug target/99422] New: [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-05 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 Bug ID: 99422 Summary: [11 Regression] ICE in extract_constrain_insn building glibc pthread_create Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug analyzer/93355] Missing diagnostic for missing fclose in intl/localealias.c

2021-03-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93355 --- Comment #9 from David Malcolm --- Going back to the summary from comment #4: (a) It happens to successfully explore enough of the graph to find the leak, but hits complexity limits at a program point (b) Without -fno-analyzer-feasibility, it

[Bug c/99363] [11 regression] gcc.dg/attr-flatten-1.c fails starting with r11-7469

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99363 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
ab349a cp_parser_qualifying_entity ../../gcc/gcc/cp/parser.c:6994 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. -- g++ (GCC) 11.0.1 20210305 (experimental)

[Bug c++/99374] [8/9/10 Regression] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 Marek Polacek changed: What|Removed |Added Summary|[8/9/10/11 Regression] |[8/9/10 Regression]

[Bug c++/99374] [8/9/10/11 Regression] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 --- Comment #5 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:02a3554879001e8f1405d17e096ed68fc3f76975 commit r11-7536-g02a3554879001e8f1405d17e096ed68fc3f76975 Author: Marek Polacek Date:

[Bug c++/99120] [8/9/10 Regression] ICE in -Wshadow in templated member function

2021-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99120 Marek Polacek changed: What|Removed |Added Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE in

[Bug c++/99120] [8/9/10/11 Regression] ICE in -Wshadow in templated member function

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99120 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:c2e64c33d9d903f0a52565ad98300feea0ffc580 commit r11-7535-gc2e64c33d9d903f0a52565ad98300feea0ffc580 Author: Marek Polacek Date:

[Bug c/99363] [11 regression] gcc.dg/attr-flatten-1.c fails starting with r11-7469

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99363 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:812230c63c3efcf2cb36965fe178420b5f1892a6 commit r11-7534-g812230c63c3efcf2cb36965fe178420b5f1892a6 Author: Jason Merrill Date:

[Bug c++/99285] [modules] ICE canonical types differ for identical types ‘std::common_type...

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99285 --- Comment #1 from Nathan Sidwell --- //bug_a.ii template struct common_type; template<> struct common_type<> {}; template struct common_type<_Tp0> {}; template struct common_type<_Tp1, _Tp2> {}; //bug_b.ii import "bug_a.ii";

[Bug target/99314] [Patch] [RISC-V] g++.dg/opt/memcpy1.C

2021-03-05 Thread sinan.lin at aalto dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99314 Sinan Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-05 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 --- Comment #2 from Alexander Lelyakin --- It is(was) reproducible in version: g++ (GCC) 11.0.1 20210303 (experimental) Last version I will check tomorrow.

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/99322] [11 Regression] ICE in change_scope, at final.c:1480

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99322 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/99322] [11 Regression] ICE in change_scope, at final.c:1480

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99322 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a3ad6489d38982434faef3bc5f33e3c28c5f7c74 commit r11-7533-ga3ad6489d38982434faef3bc5f33e3c28c5f7c74 Author: Jakub Jelinek Date:

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

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99245, which changed state. Bug 99245 Summary: [modules] ICE in write_cluster, at cp/module.cc:14600 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245 What|Removed |Added

[Bug c++/99245] [modules] ICE in write_cluster, at cp/module.cc:14600

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

[Bug c++/99245] [modules] ICE in write_cluster, at cp/module.cc:14600

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245 --- Comment #3 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7 commit r11-7532-g9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7 Author: Nathan Sidwell Date:

[Bug rtl-optimization/99421] New: ICE:in code_motion_process_successors, at sel-sched.c:6389 on aarch64

2021-03-05 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99421 Bug ID: 99421 Summary: ICE:in code_motion_process_successors, at sel-sched.c:6389 on aarch64 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/99420] New: New warning -Warray-parameter

2021-03-05 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99420 Bug ID: 99420 Summary: New warning -Warray-parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 --- Comment #8 from Kip Warner --- And for anyone finding this from a search engine, the temporary workaround is to use std::copy_n.

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

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99218 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:b1bee29167df6b0fbc9a4c8d06e2acbf3367af47 commit r11-7531-gb1bee29167df6b0fbc9a4c8d06e2acbf3367af47 Author: Harald Anlauf Date:

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

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

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:1e5cdb9f896fb220b26fd2080406504c4badf5af commit r11-7530-g1e5cdb9f896fb220b26fd2080406504c4badf5af Author: Nathan Sidwell Date:

[Bug c++/99245] [modules] ICE in write_cluster, at cp/module.cc:14600

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99245 Nathan Sidwell changed: What|Removed |Added Last reconfirmed||2021-03-05 Ever confirmed|0

[Bug target/99410] Nios II Error: branch offset out of range

2021-03-05 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #3 from Giulio Benetti --- Ah no, wait, that happens with older binutils too, so it doesn't look like the same and most of all it stop to show with gcc 8.x, so it seems that gcc create a particular Assembly that GAS doesn't like or

[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator

2021-03-05 Thread fdumont at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug ipa/99419] New: possible missed optimization for dead code elimination

2021-03-05 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 11.0.1 20210305 (experimental) [master revision 9ee91079fd5:70357716fd6:3d9577c254003f2d18185015b75ce6e3e4af9ca2] (GCC) [553] % [553] % gcctk -O3 -S small.c [554] % [554] % cat small.c extern void foo(void); int a; static int b[2] = {0,0}; int

[Bug sanitizer/99418] New: sanitizer checks for accessing multidimentional VLA-array

2021-03-05 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99418 Bug ID: 99418 Summary: sanitizer checks for accessing multidimentional VLA-array Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 Tobias Burnus changed: What|Removed |Added Status|WAITING |NEW --- Comment #14 from Tobias Burnus

[Bug target/99410] Nios II Error: branch offset out of range

2021-03-05 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #2 from Giulio Benetti --- You’re right, it’s an assembler bug, not gcc. And yes it’s the same. Thank you.

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #13 from Tobias Burnus --- Created attachment 50313 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50313=edit Reduced testcase - run with 'gfortran file.f90' (seems to require --enable-checking=yes) The generated code has:

[Bug target/99410] Nios II Error: branch offset out of range

2021-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 --- Comment #1 from Andrew Pinski --- I think this is the same as https://sourceware.org/bugzilla/show_bug.cgi?id=27243 .

[Bug target/99321] [11 Regression] ICE: in extract_constrain_insn, at recog.c:2670: insn does not satisfy its constraints: {*uminv16qi3} since r11-7121-g37876976b0511ec9

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99321 Jakub Jelinek changed: What|Removed |Added Attachment #50311|0 |1 is obsolete|

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

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99247, which changed state. Bug 99247 Summary: [modules] ICE in write_macro_maps, at cp/module.cc:16154 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99247 What|Removed |Added

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

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98718 --- Comment #8 from Nathan Sidwell --- *** Bug 99247 has been marked as a duplicate of this bug. ***

[Bug c++/99247] [modules] ICE in write_macro_maps, at cp/module.cc:16154

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99247 Nathan Sidwell changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/99321] [11 Regression] ICE: in extract_constrain_insn, at recog.c:2670: insn does not satisfy its constraints: {*uminv16qi3} since r11-7121-g37876976b0511ec9

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99321 --- Comment #6 from Jakub Jelinek --- Created attachment 50311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50311=edit gcc11-pr99321.patch One possible way to fix the above testcase (but not the many other insns, like maybe: vdbpsadbw

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2021-03-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 --- Comment #32 from Sergei Trofimovich --- (In reply to Martin Liška from comment #28) > Should be fixed now. Tested today's gcc against firefox-86 in lto+pgo mode. Built fine. Thank you!

[Bug target/99321] [11 Regression] ICE: in extract_constrain_insn, at recog.c:2670: insn does not satisfy its constraints: {*uminv16qi3} since r11-7121-g37876976b0511ec9

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99321 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug libstdc++/99417] New: [C++17] std::variant assignment fails to compile

2021-03-05 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99417 Bug ID: 99417 Summary: [C++17] std::variant assignment fails to compile Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/99377] [modules] undefined std::string_view::empty() if referenced in inline exported function

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99377 --- Comment #1 from Nathan Sidwell --- // bug_a.ii template struct Widget { Widget (int) { } bool First() const { return true; } bool Second () const { return true;} }; inline void Frob (const Widget& w) noexcept { w.First (); } //

[Bug c++/98118] [coroutines] ICE with coroutine with parameter with non-trivial destructor since r10-6876-gdc192bbdd0442f75

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98118 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:3d9577c254003f2d18185015b75ce6e3e4af9ca2 commit r11-7529-g3d9577c254003f2d18185015b75ce6e3e4af9ca2 Author: Iain Sandoe Date: Wed

[Bug c++/95616] [coroutines] coroutines with potentially-throwing 'co_await promise.final_suspend()' expressions should be ill-formed

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95616 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:9ee91079fd5879cba046e452ab5593372166b2ab commit r11-7528-g9ee91079fd5879cba046e452ab5593372166b2ab Author: Iain Sandoe Date: Mon

[Bug c++/95615] [coroutines] Coroutine frame and promise is leaked if exception thrown from promise.initial_suspend()

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95615 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:fe55086547c9360b530e040a6673dae10ac77847 commit r11-7527-gfe55086547c9360b530e040a6673dae10ac77847 Author: Iain Sandoe Date: Mon

[Bug middle-end/99322] [11 Regression] ICE in change_scope, at final.c:1480

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99322 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org ---

[Bug ipa/98078] ICE in cgraph_add_edge_to_call_site_hash, at cgraph.c:698 since r6-1705-gd88511aec7338a93

2021-03-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98078 --- Comment #6 from Martin Jambor --- Fixed on master so far (both gcc-10 and gcc-9 branches remain affected).

[Bug target/93847] Nios II ICE

2021-03-05 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847 --- Comment #3 from Giulio Benetti --- Hello, can you point me a way to provide the test cases you need? Also, now the bug shows using Buildroot but while compiling a toolchain from scratch, instructions follow: To reproduce it: # git clone

[Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378 --- Comment #3 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:9105757a59b890194ebf5b4fcbacd58db34ef332 commit r11-7526-g9105757a59b890194ebf5b4fcbacd58db34ef332 Author: Vladimir N. Makarov

[Bug c++/96330] Constexpr variables cannot be used in the template context.

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96330 --- Comment #2 from Patrick Palka --- (In reply to Jakub Jelinek from comment #1) > Tried > --- gcc/cp/pt.c.jj2020-07-27 10:38:19.0 +0200 > +++ gcc/cp/pt.c 2020-07-27 17:25:09.748240198 +0200 > @@ -16838,14 +16838,17 @@

[Bug ipa/98078] ICE in cgraph_add_edge_to_call_site_hash, at cgraph.c:698 since r6-1705-gd88511aec7338a93

2021-03-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98078 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:b8188b7d7382e4a74af5dd6a125e76e8d43a68a5 commit r11-7525-gb8188b7d7382e4a74af5dd6a125e76e8d43a68a5 Author: Martin Jambor Date:

[Bug c/99322] [11 Regression] ICE in change_scope, at final.c:1480

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99322 --- Comment #3 from Jakub Jelinek --- void bar (void *); void foo (void) { bar (&); #pragma omp parallel for (;;) ; lab:; } ICEs likely since r0-88143-gb357f682db35f4431e3011e7486a0ac865686e3e Not really sure what to do if we find

[Bug middle-end/99416] New: s211 benchmark of TSVC is vectorized by icc and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99416 Bug ID: 99416 Summary: s211 benchmark of TSVC is vectorized by icc and not by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99102] [11 Regression] SVE: Wrong code with -O2 -ftree-vectorize -march=armv8.2-a+sve -msve-vector-bits=256

2021-03-05 Thread joelh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99102 --- Comment #4 from Joel Hutton --- It seems it is vectorizing a 'MASK_STORE' into a 'SCATTER_STORE' when it should be using a 'MASK_SCATTER_STORE'. Currently it's choosing between IFN_SCATTER_STORE and IFN_MASK_SCATTER_STORE based on the

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #6 from Patrick Palka --- (In reply to Jakub Jelinek from comment #4) > (In reply to Patrick Palka from comment #3) > > IIUC, those two types are actually the same, it's just that one of them was > > obtained through the char_type

[Bug libstdc++/99413] internal library headers are not header-unit ready

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 --- Comment #2 from Nathan Sidwell --- Correct. We're only picking headers that are either (a) user-facing or (b) included from more than one place. Specifically we're partitioning the include graph into a set of multi-reached sub-graphs. And

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #5 from Jakub Jelinek --- Or perhaps another option would be instead of return mod; do return cxx_eval_constant_expression (ctx, mod, false, non_constant_p, overflow_p); ?

[Bug middle-end/99415] New: s115 benchmark of TSVC is vectorized by icc and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99415 Bug ID: 99415 Summary: s115 benchmark of TSVC is vectorized by icc and not by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/99413] internal library headers are not header-unit ready

2021-03-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #3 from Jan Hubicka --- ICC version seems to run faster 0040a050 : 40a050: 55 push %rbp 40a051: 48 89 e5mov%rsp,%rbp 40a054: 48 83 e4 e0 and

[Bug middle-end/99414] New: s235 benchmark of TSVC is vectorized better by icc than gcc (loop interchange)

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99414 Bug ID: 99414 Summary: s235 benchmark of TSVC is vectorized better by icc than gcc (loop interchange) Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 --- Comment #4 from Jakub Jelinek --- (In reply to Patrick Palka from comment #3) > IIUC, those two types are actually the same, it's just that one of them was > obtained through the char_type alias, and it seems debug_tree prefers to > show the

[Bug c++/99287] std::source_location::function_name breaks constexpr

2021-03-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99287 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libstdc++/99413] New: internal library headers are not header-unit ready

2021-03-05 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99413 Bug ID: 99413 Summary: internal library headers are not header-unit ready Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #6 from cqwrteur --- (In reply to Jakub Jelinek from comment #5) > The valid C code if it is correct without UB and is pattern matched is > definitely better than some intrinsics, it is portable and can be optimized > generally

[Bug middle-end/99411] s311, s312, s31111, s31111, s3110, vsumr benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Jan Hubicka changed: What|Removed |Added Summary|s311, s312, s3 and |s311, s312, s3, s3,

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #5 from Jakub Jelinek --- The valid C code if it is correct without UB and is pattern matched is definitely better than some intrinsics, it is portable and can be optimized generally sooner and better than the intrinsics. Just be

[Bug target/99405] Rotate with mask not optimized on x86 for QI/HImode rotates

2021-03-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 --- Comment #4 from cqwrteur --- (In reply to Jakub Jelinek from comment #3) > Created attachment 50307 [details] > gcc11-pr99405.patch > > No particular reason, it just feeled weird to have constraints on pre-reload > splitters. > > Anyway,

[Bug middle-end/99412] New: s352 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99412 Bug ID: 99412 Summary: s352 benchmark of TSVC is vectorized by clang and not by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/99322] [11 Regression] ICE in change_scope, at final.c:1480

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

[Bug middle-end/99411] s311, s312, s31111 and s31111, s3110 benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Jan Hubicka changed: What|Removed |Added Summary|s311, s312, s3 and |s311, s312, s3 and

[Bug middle-end/99411] s311, s312, s31111 and s31111 benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Jan Hubicka changed: What|Removed |Added Summary|s311, s312 and s3 |s311, s312, s3 and

[Bug middle-end/99411] s311, s312 and s31111 benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Jan Hubicka changed: What|Removed |Added Summary|s311 and s3 benchmark |s311, s312 and s3

[Bug middle-end/99411] s311 and s31111 benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Jan Hubicka changed: What|Removed |Added Summary|s311 benchmark of TSVC is |s311 and s3 benchmark

[Bug tree-optimization/98856] [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 --- Comment #35 from Richard Biener --- (In reply to Richard Biener from comment #33) > Created attachment 50308 [details] > patch > > I am testing the following. It FAILs FAIL: gcc.target/i386/avx512dq-concatv2di-1.c scan-assembler

[Bug c/99410] New: Nios II Error: branch offset out of range

2021-03-05 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 Bug ID: 99410 Summary: Nios II Error: branch offset out of range Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/99411] New: s311 benchmark of TSVC is vectorized by clang better than by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99411 Bug ID: 99411 Summary: s311 benchmark of TSVC is vectorized by clang better than by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/99122] [10/11 Regression] ICE in force_constant_size, at gimplify.c:733

2021-03-05 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99122 --- Comment #25 from Martin Jambor --- I have proposed a patch for the IPA-CP part on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566333.html

[Bug middle-end/99409] New: s252 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99409 Bug ID: 99409 Summary: s252 benchmark of TSVC is vectorized by clang and not by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/99408] New: s3251 benchmark of TSVC vectorized by clang runs about 7 times faster compared to gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99408 Bug ID: 99408 Summary: s3251 benchmark of TSVC vectorized by clang runs about 7 times faster compared to gcc Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/99407] s243 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 --- Comment #1 from Jan Hubicka --- Here we get: s243.c:27:18: missed: not vectorized, possible dependence between data-refs a[i_29] and a[_9] s243.c:26:27: missed: bad data dependence. s243.c:26:27: note: * Analysis failed with vector

[Bug target/98092] [11 Regression] ICE in extract_insn, at recog.c:2315 (error: unrecognizable insn)

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98092 --- Comment #4 from Jakub Jelinek --- Any progress on this?

[Bug c++/98810] [9/10 Regression] [C++20] ICE in tsubst_copy, at cp/pt.c:16771

2021-03-05 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98810 --- Comment #8 from Marek Polacek --- It probably needs target c++2a instead.

[Bug middle-end/99407] New: s243 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99407 Bug ID: 99407 Summary: s243 benchmark of TSVC is vectorized by clang and not by gcc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/99394] s254 benchmark of TSVC is vectorized by clang and not by gcc

2021-03-05 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99394 --- Comment #3 from Jan Hubicka --- testcase is: typedef float real_t; #define iterations 10 #define LEN_1D 32000 #define LEN_2D 256 // array definitions real_t flat_2d_array[LEN_2D*LEN_2D]; real_t x[LEN_1D]; real_t

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #12 from Tobias Burnus --- (In reply to Matthias Klose from comment #10) > seen again with 20210227 I tried it with the attached file and the build.sh but calling gfortran directly w/o mpif90 wrapper. That's with

[Bug fortran/97927] gfortran: ICE in lookup_field_for_decl, at tree-nested.c:288

2021-03-05 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97927 --- Comment #11 from Matthias Klose --- 20210227 trunk

[Bug gcov-profile/99406] [11 regression] MAP_ANONYMOUS undeclared in libgcov.h

2021-03-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99406 --- Comment #4 from Jakub Jelinek --- Created attachment 50309 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50309=edit gcc11-pr99406.patch Like this.

[Bug gcov-profile/99406] [11 regression] MAP_ANONYMOUS undeclared in libgcov.h

2021-03-05 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99406 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug gcov-profile/99406] [11 regression] MAP_ANONYMOUS undeclared in libgcov.h

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

[Bug gcov-profile/99406] [11 regression] MAP_ANONYMOUS undeclared in libgcov.h

2021-03-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99406 --- Comment #1 from Iain Sandoe --- (In reply to Rainer Orth from comment #0) > The unconditional use of MAP_ANONYMOUS in libgcov.h broke Mac OS X > 10.7/Darwin 11 > bootstrap: > > In file included from >

  1   2   >