[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #5 from Marek Polacek --- ...which should also fix Bug 96241 so these in fact are duplicates.

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #4 from Marek Polacek --- This ought to fix it, though it's completely untested: --- a/gcc/cp/constexpr.c +++ b/gcc/cp/constexpr.c @@ -3661,6 +3661,10 @@ cxx_eval_array_reference (const constexpr_ctx *ctx, tree t, { tree

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #3 from Marek Polacek --- And that also means that this: enum E : int { F }; struct X { E e{F}; }; constexpr X x[1]{}; constexpr auto foo () { return x[0].e; } constexpr auto a = foo (); started to ICE earlier, since

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-14 Thread ysato at users dot sourceforge.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #2 from Yoshinori Sato --- Since 0x296318e8 is data, we need to investigate where we jumped. The backtrace looks normal, so I think you're getting anomalous jumps when optimizing long_richcompare.

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 --- Comment #2 from Marek Polacek --- A test without a lambda that ICEs with -std=c++14 too: enum E : int { F }; struct X { E e{F}; }; constexpr X x[1]; auto foo () { return x[0].e; } Note that we don't ICE if the X's member is changed to

[Bug c/97434] New: Missed dead code optimization from data flow analysis

2020-10-14 Thread jwerner at chromium dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97434 Bug ID: 97434 Summary: Missed dead code optimization from data flow analysis Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/97431] [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-14 Thread bugdal at aerifal dot cx via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 --- Comment #1 from Rich Felker --- Do you have a complete disassembly of the function it crashed in and register dump at the point of crash? That would help.

[Bug c++/97433] New: C++20 Coroutines, Unexpected reordering of await_resume, return_value and yield_value

2020-10-14 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97433 Bug ID: 97433 Summary: C++20 Coroutines, Unexpected reordering of await_resume, return_value and yield_value Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97432] Casting away constness in the drafts [conv.qual] a cv-decomposition exists in the following examples but fails in gcc

2020-10-14 Thread peifeng2005 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97432 --- Comment #1 from Ray Zhang --- Providing more context with the first example (also applies for the rest): 1) // pointer to array - works in clang (trunk), // works in gcc (trunk) reinterpret_cast(x); T1: const pointer to const

[Bug c++/97432] New: Casting away constness in the drafts [conv.qual] a cv-decomposition exists in the following examples but fails in gcc

2020-10-14 Thread peifeng2005 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97432 Bug ID: 97432 Summary: Casting away constness in the drafts [conv.qual] a cv-decomposition exists in the following examples but fails in gcc Product: gcc

[Bug target/97431] New: [SH] Python crashes with 'Segmentation fault with -finline-small-functions

2020-10-14 Thread glaubitz at physik dot fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97431 Bug ID: 97431 Summary: [SH] Python crashes with 'Segmentation fault with -finline-small-functions Product: gcc Version: 10.2.0 URL:

[Bug c++/97430] [10/11 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 Marek Polacek changed: What|Removed |Added Summary|internal compiler error: in |[10/11 Regression] internal

[Bug c++/97430] New: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884

2020-10-14 Thread jfrech.bugzilla at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97430 Bug ID: 97430 Summary: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:3884 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/97387] we are near 2021, add carry intrinsic still does the wrong thing and generates silly code.

2020-10-14 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97387 --- Comment #14 from fdlbxtqi --- (In reply to fdlbxtqi from comment #13) > https://godbolt.org/z/fqGrz1 > > After this patch, the assembly generated is much better now. However, it > still contains many optimization problems. > > The problem

[Bug target/97387] we are near 2021, add carry intrinsic still does the wrong thing and generates silly code.

2020-10-14 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97387 --- Comment #13 from fdlbxtqi --- https://godbolt.org/z/fqGrz1 After this patch, the assembly generated is much better now. However, it still contains many optimization problems. The problem is the code like this. Let's just walk through the

[Bug middle-end/97391] [11 Regression] bogus -Warray-bounds accessing a multidimensional array parameter

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97391 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 97391, which changed state. Bug 97391 Summary: [11 Regression] bogus -Warray-bounds accessing a multidimensional array parameter https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97391 What|Removed

[Bug middle-end/97391] [11 Regression] bogus -Warray-bounds accessing a multidimensional array parameter

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97391 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:14d83c6f584c321989b43526dc9437de4381aa47 commit r11-3901-g14d83c6f584c321989b43526dc9437de4381aa47 Author: Martin Sebor Date: Wed

[Bug c/97413] [11 Regression] gcc-11 fails to typecheck VLA declarations on emacs-27.1: error: wrong number of arguments specified for 'access' attribute

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97413 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/97413] [11 Regression] gcc-11 fails to typecheck VLA declarations on emacs-27.1: error: wrong number of arguments specified for 'access' attribute

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97413 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:34efa5c2a84a8c7c7beb855dec24a321eebcbd6b commit r11-3900-g34efa5c2a84a8c7c7beb855dec24a321eebcbd6b Author: Martin Sebor Date: Wed

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-10-14 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 --- Comment #25 from David Binderman --- (In reply to David Binderman from comment #21) > Maybe gcc compiling itself with the analyzer might find some bugs, too. I tried this and all I found were AFAIK false positives. Perhaps someone with

[Bug fortran/92422] [9 Regression] Warning with character and optimisation flags

2020-10-14 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92422 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 --- Comment #24 from David Malcolm --- As noted in https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556203.html I was able to bootstrap using the method described in comment #0, albeit taking 7 hours (compared to the 45 minutes it normally

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 Bug 93388 depends on bug 93723, which changed state. Bug 93723 Summary: ICEs building ada with -fanalyzer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93723 What|Removed |Added

[Bug analyzer/93723] ICEs building ada with -fanalyzer

2020-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93723 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/97394] Incorrect analyzer output for setjmp

2020-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97394 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c++/97412] [10/11 Regression] [concepts] ICE with requires requires and parameter packs

2020-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97412 Patrick Palka changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug tree-optimization/97429] New: missing -Warray-bounds indexing past the end of a pointer to array

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97429 Bug ID: 97429 Summary: missing -Warray-bounds indexing past the end of a pointer to array Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 --- Comment #23 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:61a43de58cb6de7212a622060500ad0a0fd94fae commit r11-3896-g61a43de58cb6de7212a622060500ad0a0fd94fae Author: David Malcolm Date:

[Bug analyzer/93723] ICEs building ada with -fanalyzer

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93723 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:12b267cc606a48a2fef809189c35573c4a51d3a5 commit r11-3895-g12b267cc606a48a2fef809189c35573c4a51d3a5 Author: David Malcolm Date:

[Bug analyzer/97394] Incorrect analyzer output for setjmp

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97394 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:974e3975c5bd14ee8817f892532d1e55492227df commit r11-3894-g974e3975c5bd14ee8817f892532d1e55492227df Author: David Malcolm Date:

[Bug debug/97060] Missing DW_AT_declaration=1 in dwarf data

2020-10-14 Thread jolsa at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 --- Comment #13 from Jiri Olsa --- hi, any update on the fix? I'm seeing the bug now in fedora 32 with: $ gcc --version gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) thanks, jirka

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #14 from Jakub Jelinek --- (In reply to Jason Merrill from comment #13) > (In reply to Jakub Jelinek from comment #11) > > (In reply to Jason Merrill from comment #10) > > > This doesn't look valid to me. In > > > > > > [x...] {

[Bug c++/97358] [8/9/10 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 Jason Merrill changed: What|Removed |Added Summary|[8/9/10/11 Regression] ICE |[8/9/10 Regression] ICE

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #12 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:270c5a982ccb4ef83bd9ad37d39cf47461acb55a commit r11-3893-g270c5a982ccb4ef83bd9ad37d39cf47461acb55a Author: Jason Merrill Date:

[Bug target/97428] New: -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic

2020-10-14 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97428 Bug ID: 97428 Summary: -O3 is great for basic AoSoA packing of complex arrays, but horrible one step above the basic Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #11 from Jakub Jelinek --- (In reply to Jason Merrill from comment #10) > This doesn't look valid to me. In > > [x...] { x; }... https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358#c3 is what they actually have (not sure if it

[Bug rtl-optimization/97421] aarch64: Wrong code with -O2 -fmodulo-sched

2020-10-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 Alex Coplan changed: What|Removed |Added Summary|[10/11 Regression] aarch64: |aarch64: Wrong code with

[Bug c++/97427] constexpr destructor for const object incorrectly rejected as modifying const object

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97427 Marek Polacek changed: What|Removed |Added Keywords||rejects-valid Ever confirmed|0

[Bug c++/97427] New: constexpr destructor for const object incorrectly rejected as modifying const object

2020-10-14 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97427 Bug ID: 97427 Summary: constexpr destructor for const object incorrectly rejected as modifying const object Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug bootstrap/97409] riscv cross toolchain build fails

2020-10-14 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97409 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #7

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #10 from Jason Merrill --- This doesn't look valid to me. In [x...] { x; }... we capture the entire pack, but then try to use only a single element. This should be rejected because the use of x in the lambda body is not

[Bug target/95483] [i386] Missing SIMD functions

2020-10-14 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95483] [i386] Missing SIMD functions

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95483 --- Comment #3 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:93103603fd66a9fcf3ea2d8b52657e4b2496f544 commit r11-3891-g93103603fd66a9fcf3ea2d8b52657e4b2496f544 Author: Sunil K Pandey Date: Wed

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #9 from Jakub Jelinek --- If what clang++ does with the copy ctors is right, then what firefox does is inefficient and [aSpecialValueMappers](const SpecialConstant& aSpecialValue) { return

[Bug c++/85901] Error message contains "#'offset_type' not supported by simple_type_specifier#)#'offset_type' not supported by direct_abstract_declarator#"

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85901 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #8 from Patrick Palka --- Also, I wonder what the final value of copy_counter should be in the below testcase (assuming it's valid): static int copy_counter; struct S { S() = default; S(const S&) { ++copy_counter; } };

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #7 from Patrick Palka --- (In reply to Jakub Jelinek from comment #6) > (In reply to Petr Sumbera from comment #5) > > Is there any workaround for this issue? > > I guess replacing that > [aSpecialValueMappers...](const

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:78198b6021a9695054dab039340202170b88423c commit r11-3889-g78198b6021a9695054dab039340202170b88423c Author: Jonathan Wakely Date:

[Bug c/89161] Bogus -Wformat-overflow warning with value range known

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89161 --- Comment #4 from Martin Sebor --- This should be resolved once the sprintf + strlen pass is converted to the new Ranger implementation sometime in the coming weeks (hopefully). In the meantime, changing the controlling expression in the if

[Bug testsuite/97426] New: [11 regression] new test case gcc.dg/ipa/modref-1.c fails

2020-10-14 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97426 Bug ID: 97426 Summary: [11 regression] new test case gcc.dg/ipa/modref-1.c fails Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/97425] bogus array bounds in -Warray-bounds for a function array parameter

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97425 --- Comment #1 from Martin Sebor --- In addition to the bounds in the array type the subscript in some of the warnings issued for array parameters isn't right. $ cat z.c && gcc -O2 -S -Wall -fdump-tree-vrp1=/dev/stdout z.c void f (void) {

[Bug middle-end/97425] New: bogus array bounds in -Warray-bounds for a function array parameter

2020-10-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97425 Bug ID: 97425 Summary: bogus array bounds in -Warray-bounds for a function array parameter Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: minor

[Bug tree-optimization/97424] Warn on invalid shift amount after inlining

2020-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97424 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug c++/71424] std::initializer_list

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71424 Marek Polacek changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/97422] gcc rejects 'std::initializer_list' when instantiating with a list

2020-10-14 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97422 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/97424] Warn on invalid shift amount after inlining

2020-10-14 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97424 --- Comment #2 from Florian Weimer --- Indeed, Martin Sebor has suggested that it would have to be coupled with __builtin_warning: https://gcc.gnu.org/legacy-ml/gcc-patches/2019-10/msg01015.html

[Bug tree-optimization/97424] Warn on invalid shift amount after inlining

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97424 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/97387] we are near 2021, add carry intrinsic still does the wrong thing and generates silly code.

2020-10-14 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97387 --- Comment #12 from fdlbxtqi --- (In reply to CVS Commits from comment #11) > The master branch has been updated by Jakub Jelinek : > > https://gcc.gnu.org/g:06bec55e80d98419121f3998d98d969990a75b0b > > commit

[Bug tree-optimization/96818] [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug bootstrap/96813] [11 Regression] Broken bootstrap-lto-lean profiled bootstrap since r11-2883-gbf19cbc9cea6161f3deb63040601090828c44c53

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96813 Bug 96813 depends on bug 96818, which changed state. Bug 96818 Summary: [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 What|Removed

[Bug tree-optimization/96822] [11 regression] Starting with r11-2883 ICE in decompose, at wide-int.h:984

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96822 Bug 96822 depends on bug 96818, which changed state. Bug 96818 Summary: [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 What|Removed

[Bug tree-optimization/96818] [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883

2020-10-14 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 --- Comment #11 from Aldy Hernandez --- Ah...it can be closed. On Wed, Oct 14, 2020, 17:58 jamborm at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 > > --- Comment #10 from Martin

[Bug tree-optimization/97424] New: Warn on invalid shift amount after inlining

2020-10-14 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97424 Bug ID: 97424 Summary: Warn on invalid shift amount after inlining Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug tree-optimization/96818] [11 Regression] ICE: in decompose, at wide-int.h:984 at -O since r11-2883

2020-10-14 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96818 --- Comment #10 from Martin Jambor --- Is this bug still "WAITING" for something?

[Bug tree-optimization/97381] [11 Regression] ice error: invalid types in nop conversion

2020-10-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97381 --- Comment #8 from Andrew Macleod --- in particular: _2 = (int) c_8; _3 = _2 * 148372120; _4 = a.0_1 / _3; if (_4 != 0) we do not wind back thru divides at the moment (unless they are exact divides) so when processing the false edge

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #6 from Jakub Jelinek --- (In reply to Petr Sumbera from comment #5) > Is there any workaround for this issue? I guess replacing that [aSpecialValueMappers...](const SpecialConstant& aSpecialValue) { with [=](const SpecialConstant&

[Bug tree-optimization/97378] [11 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 since r11-3685-gfcae5121154d1c

2020-10-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97378 --- Comment #6 from Andrew Macleod --- (In reply to Aldy Hernandez from comment #2) > (In reply to David Binderman from comment #1) > > > > The division by zero was product of various transformations. Basically we > know that a.0_1 is 0, so

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 --- Comment #5 from Petr Sumbera --- Is there any workaround for this issue?

[Bug c++/97423] internal compiler error in gcc-10.2.0/gcc/toplev.c:328

2020-10-14 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97423 --- Comment #2 from Petr Sumbera --- Created attachment 49373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49373=edit test case Just for record. I have tried to prepare test case. Attached is preprocessed test case. Following command

[Bug target/97387] we are near 2021, add carry intrinsic still does the wrong thing and generates silly code.

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97387 --- Comment #11 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:06bec55e80d98419121f3998d98d969990a75b0b commit r11-3882-g06bec55e80d98419121f3998d98d969990a75b0b Author: Jakub Jelinek Date:

[Bug c++/97358] [8/9/10/11 Regression] ICE while building firefox since r8-2720

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358 Jakub Jelinek changed: What|Removed |Added CC||sumbera at volny dot cz --- Comment #4

[Bug c++/97423] internal compiler error in gcc-10.2.0/gcc/toplev.c:328

2020-10-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97423 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/97423] New: internal compiler error in gcc-10.2.0/gcc/toplev.c:328

2020-10-14 Thread sumbera at volny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97423 Bug ID: 97423 Summary: internal compiler error in gcc-10.2.0/gcc/toplev.c:328 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/97396] [11 Regression] ICE: Segmentation fault (in bounds_of_var_in_loop)

2020-10-14 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97396 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/97359] [11 Regression] ice in logical_combine, at gimple-range-gori.cc:754

2020-10-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97359 --- Comment #7 from Andrew Macleod --- There is no need to cache non-logical operands. Processing a relational such as <,>,<=,>= is a linear process, and therefore we never needed to cache them. && and || is exponential as we have to evaluate

[Bug tree-optimization/97396] [11 Regression] ICE: Segmentation fault (in bounds_of_var_in_loop)

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97396 --- Comment #3 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:a121715bcab6e8980768d142b9781c45821130ac commit r11-3880-ga121715bcab6e8980768d142b9781c45821130ac Author: Aldy Hernandez Date:

[Bug target/96759] [10/11 Regression] ICE in extract_insn, at recog.c:2294

2020-10-14 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96759 Kito Cheng changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |kito at gcc dot gnu.org

[Bug rtl-optimization/97421] [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46

2020-10-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 --- Comment #3 from Alex Coplan --- > So maybe try bisecting/reproducing with -fno-strict-aliasing? Ah, yes, I can reproduce before that revision with -fno-strict-aliasing. I'll re-bisect, thanks.

[Bug tree-optimization/97405] ICE in get_or_alloc_expr_for in code hoisting with SVE intrinsics

2020-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97405 --- Comment #5 from Richard Biener --- It was https://gcc.gnu.org/legacy-ml/gcc-patches/2016-02/msg01260.html with relevant followups from Eric in May.

[Bug tree-optimization/97405] ICE in get_or_alloc_expr_for in code hoisting with SVE intrinsics

2020-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97405 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c++/97419] crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 --- Comment #5 from Steve Fink --- Created attachment 49372 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49372=edit backtrace of crash Note that the invalid_nonstatic_memfn_p in the attached crash stack seems bogus. Here's a backtrace

[Bug rtl-optimization/97421] [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46

2020-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 --- Comment #2 from Richard Biener --- So maybe try bisecting/reproducing with -fno-strict-aliasing?

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

2020-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/97421] [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46

2020-10-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 Richard Biener changed: What|Removed |Added Component|tree-optimization |rtl-optimization --- Comment #1 from

[Bug c++/97419] crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 --- Comment #4 from Steve Fink --- Created attachment 49371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49371=edit crash stack

[Bug c++/97420] error: no matching function for call to 'find_if'

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

[Bug c++/97419] crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 --- Comment #3 from Steve Fink --- This invokes decl_as_string(decl, TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) TREE_CODE(decl) is FUNCTION_DECL. dump_function_decl(decl) is attempting to render the return type of the function. It's in a local

[Bug c++/97422] New: gcc rejects 'std::initializer_list' when instantiating with a list

2020-10-14 Thread tangyixuan at mail dot dlut.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97422 Bug ID: 97422 Summary: gcc rejects 'std::initializer_list' when instantiating with a list Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97421] [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46

2020-10-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 Alex Coplan changed: What|Removed |Added Target||aarch64 Known to fail|

[Bug tree-optimization/97421] New: [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46

2020-10-14 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97421 Bug ID: 97421 Summary: [10/11 Regression] aarch64: Wrong code with -O2 -fmodulo-sched since r10-1318-ga7e8a46 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97420] error: no matching function for call to 'find_if'

2020-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97420 --- Comment #1 from Jonathan Wakely --- std::find_if has existed since C++98.

[Bug fortran/97390] [OpenACC] 'async' clause on 'data' construct

2020-10-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97390 --- Comment #8 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:4aa9742252ea419947fe32ff64c7546c92286b96 commit r11-3875-g4aa9742252ea419947fe32ff64c7546c92286b96 Author: Tobias Burnus Date:

[Bug c++/97420] New: error: no matching function for call to 'find_if'

2020-10-14 Thread tangyixuan at mail dot dlut.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97420 Bug ID: 97420 Summary: error: no matching function for call to 'find_if' Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/97419] crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 --- Comment #2 from Steve Fink --- Created attachment 49370 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49370=edit Preprocessed source

[Bug c++/97419] crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 --- Comment #1 from Steve Fink --- Created attachment 49369 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49369=edit minimized C++ source C++ source that only includes .

[Bug c++/97419] New: crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval()

2020-10-14 Thread sphink at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97419 Bug ID: 97419 Summary: crash in decl_as_string(TFF_DECL_SPECIFIERS | TFF_CHASE_TYPEDEF) from plugin using std::declval() Product: gcc Version: unknown Status:

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

2020-10-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97415 --- Comment #2 from Jonathan Wakely --- Oh, it does if I spell the environment variable correctly.

[Bug libstdc++/97415] Invalid pointer comparison in stringbuf::str() (reported by pointer-compare AddressSanitizer)

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

  1   2   >