[Bug c++/101402] New: top cv qualifier not dropped for array type typedef in template class (core 1001)

2021-07-09 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101402 Bug ID: 101402 Summary: top cv qualifier not dropped for array type typedef in template class (core 1001) Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug bootstrap/101374] [12 Regression] bootstrap failure varpool.c:490:19: error: array subscript 'varpool_node[0]' is partly outside array bounds of 'varpool_node [0]' [-Werror=array-bounds]

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101374 --- Comment #14 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:1798cac7a8b3331a277da1f106752ce0a34f8937 commit r12-2234-g1798cac7a8b3331a277da1f106752ce0a34f8937 Author: Ian Lance Taylor

[Bug c++/82110] Concept for default constructing works with new T, not with new T[1]

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82110 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b9119edc09e4660d772dea771578715858f7fbdb commit r12-2233-gb9119edc09e4660d772dea771578715858f7fbdb Author: Patrick Palka Date:

[Bug c++/101371] [9/10/11/12 Regression] constexpr expansions trigger internal Compiler Error

2021-07-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101371 --- Comment #6 from Marek Polacek --- And this should compile fine but doesn't since r269078: struct A { int i; }; struct B { A a{}; constexpr B() : a() {} constexpr B(const B ) : a(rhs.a) {} }; struct C { B arr[1]; }; constexpr C

[Bug c++/82110] Concept for default constructing works with new T, not with new T[1]

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

[Bug fortran/101399] Horizonal tab character not ignored on print statement

2021-07-09 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 --- Comment #5 from Steve Kargl --- On Fri, Jul 09, 2021 at 11:44:11PM +, urbanjost at comcast dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 > > --- Comment #4 from urbanjost at comcast dot net --- > Wow. I cannot

[Bug fortran/101399] Horizonal tab character not ignored on print statement

2021-07-09 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 --- Comment #4 from urbanjost at comcast dot net --- Wow. I cannot get a pizza delivered that fast. Thanks! I have -Wtabs set in my compiler script and the script I use for editing codes does a :retabs after turning off tabs in vim(1) and runs

[Bug bootstrap/101379] libatomic arm build failure after r12-2132 due -Warray-bounds on a constant address

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101379 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-07-09 Target Milestone|---

[Bug target/52268] native tls support should be added for darwin11

2021-07-09 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52268 --- Comment #13 from Eric Gallager --- This could potentially arrive with the arm64 darwin port: https://github.com/iains/gcc-darwin-arm64/issues/1

[Bug fortran/101399] Horizonal tab character not ignored on print statement

2021-07-09 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org

[Bug libffi/101336] Incorrect target on gnux32 hosts

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101336 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libffi/101336] Incorrect target on gnux32 hosts

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101336 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:506f337ad2d75c0feceaaf28fd4997c157979956 commit r12-2231-g506f337ad2d75c0feceaaf28fd4997c157979956 Author: H.J. Lu Date: Mon Jul 5

[Bug tree-optimization/101401] New: strlen of a constant char vector not folded

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101401 Bug ID: 101401 Summary: strlen of a constant char vector not folded Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/101379] libatomic arm build failure after r12-2132 due -Warray-bounds on a constant address

2021-07-09 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101379 --- Comment #7 from Christophe Lyon --- The patch in comment #6 lets the build complete, thanks!

[Bug fortran/101399] Horizonal tab character not ignored on print statement

2021-07-09 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 --- Comment #2 from urbanjost at comcast dot net --- I agree tabs are not part of the standard, but even by default it is a very common extension ( I tried it with gfortran, ifort, nvfortran just today). I not not use the extension normally

[Bug driver/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread toolybird at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 --- Comment #6 from Toolybird --- The patch you posted to gcc-patches solves my problem. Thank you for the quick fix!

[Bug c/101400] New: comments mention gnu-attributes[opt] even though it can be empty

2021-07-09 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101400 Bug ID: 101400 Summary: comments mention gnu-attributes[opt] even though it can be empty Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/98449] [DR 3343] notify_all_at_thread_exit() should notify on cond while lock is held to avoid a race

2021-07-09 Thread vini.ipsmaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98449 Vinícius dos Santos Oliveira changed: What|Removed |Added CC||vini.ipsmaker at gmail

[Bug fortran/101399] Horizonal tab character not ignored on print statement

2021-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 --- Comment #1 from Andrew Pinski --- tab is not part of Fortran character set.

[Bug fortran/101399] New: Horizonal tab character not ignored on print statement

2021-07-09 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101399 Bug ID: 101399 Summary: Horizonal tab character not ignored on print statement Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/67491] [meta-bug] concepts issues

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 101098, which changed state. Bug 101098 Summary: [11/12 Regression] ICE with explicit specialization of constrained function template https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 What|Removed

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/100838] [11 Regression] -fno-elide-constructors for C++14 missing required destructor call since r11-5872-g4eb28483004f8291

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100838 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8b273a8566e7806e9498c78b16c30c9d81d6e81b commit r11-8716-g8b273a8566e7806e9498c78b16c30c9d81d6e81b Author: Jason Merrill

[Bug c++/100838] [11 Regression] -fno-elide-constructors for C++14 missing required destructor call since r11-5872-g4eb28483004f8291

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100838 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:5830fffacd05463c20b592bb6ed20e333d7d272b commit r11-8715-g5830fffacd05463c20b592bb6ed20e333d7d272b Author: Jason Merrill

[Bug c++/86355] [9/10/11 Regression] Internal compiler error with pack expansion and fold expression

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:542d90bfd802274f38637aaaffc2dd1de62c9ec6 commit r11-8714-g542d90bfd802274f38637aaaffc2dd1de62c9ec6 Author: Jason Merrill

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ddd25bd1a7c8f456bc914e34b77d43f39a1062d4 commit r12-2230-gddd25bd1a7c8f456bc914e34b77d43f39a1062d4 Author: Jason Merrill Date:

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #9 from Eric Botcazou --- Or maybe I misunderstood your request and you wanted an Ada testcase where the hoisting would still happen despite the fix for C++?

[Bug debug/101398] New: Multiple DW_TAG_formal_parameter DIEs for the same parameter

2021-07-09 Thread wcohen at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101398 Bug ID: 101398 Summary: Multiple DW_TAG_formal_parameter DIEs for the same parameter Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/86439] CTAD with deleted copy constructor fails due to deduction-guide taking by value

2021-07-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86439 Patrick Palka changed: What|Removed |Added CC||toe-ger at web dot de --- Comment #3

[Bug c++/88026] Explicit deduction guide fails for move-only type

2021-07-09 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88026 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Attachment #51124|0 |1 is obsolete|

[Bug tree-optimization/101390] Expand vector mod as vector div + multiply-subtract

2021-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101390 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/101397] [11/12 Regression] spurious warning writing to the result of stpcpy minus 1

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/101397] New: spurious warning writing to the result of stpcpy minus 1

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Bug ID: 101397 Summary: spurious warning writing to the result of stpcpy minus 1 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

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

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #10 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:d5b1bb0d197f9141a0f0e510f8d1b598c3df9552 commit r12-2229-gd5b1bb0d197f9141a0f0e510f8d1b598c3df9552 Author: Iain Sandoe Date:

[Bug c++/79501] member deduction guide not recognized

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

[Bug ipa/101396] New: ICE in decompose, at wide-int.h:984 building webkitgtk-2.32.2 with -flto -fipa-pta

2021-07-09 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101396 Bug ID: 101396 Summary: ICE in decompose, at wide-int.h:984 building webkitgtk-2.32.2 with -flto -fipa-pta Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 --- Comment #7 from Martin Sebor --- Something like the patch in comment 3 to handle the overflow in tree-ssa-strlen.c is still needed. Otherwise GCC does issue a -Warray-bounds but that's enabled only with -Wall (the test expects buffer

[Bug c++/101098] [11/12 Regression] ICE with explicit specialization of constrained function template

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101098 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/95681] False positive uninitialized variable usage in decNumberCompareTotalMag

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95681 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 97027, which changed state. Bug 97027 Summary: missing warning on buffer overflow storing a larger scalar into a smaller array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 What|Removed

[Bug middle-end/97027] missing warning on buffer overflow storing a larger scalar into a smaller array

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97027 Martin Sebor changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #8 from Eric Botcazou --- Note that the testcase also raises Storage_Error with: function Foo (J : Integer) return Integer; pragma Pure_Function (Foo); pragma Machine_Attribute (Foo, "noipa"); and in Ada calls to pure

[Bug c++/100731] [12 Regression] GCC 11 fails to build using GCC 4.8 because of missing includes

2021-07-09 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100731 Jason Merrill changed: What|Removed |Added Summary|[11/12 Regression] GCC 11 |[12 Regression] GCC 11

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #2 from Hongyu Wang --- (In reply to H.J. Lu from comment #1) > Created attachment 51124 [details] > A patch > > Please test this patch. It doesn't work. I use ./sde-external-8.63.0-2021-01-18-lin/sde -spr -- gcc test.c

[Bug bootstrap/101379] libatomic arm build failure after r12-2132 due -Warray-bounds on a constant address

2021-07-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101379 --- Comment #6 from Martin Sebor --- I have no easy way to test the patch so it might need a little tweaking. It looks like the __kernel_helper_version macro is used as an lvalue so the macro needs to expand to a call to the

[Bug tree-optimization/101394] ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

2021-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from

[Bug target/100152] [10/11/12 Regression] used caller-saved register not preserved across a call.

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100152 --- Comment #55 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:41bd1b190358fce213f5add8396faf14a32d5c23 commit r12-2226-g41bd1b190358fce213f5add8396faf14a32d5c23 Author: Iain Sandoe Date:

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #7 from Eric Botcazou --- > I've not yet managed to verify that the gnat.dg/opt95.adb testcase works > as expected but will do so when the Ada FE is officially fixed. Done.

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #1 from H.J. Lu --- Created attachment 51124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51124=edit A patch Please test this patch.

[Bug target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.2 Ever confirmed|0

[Bug testsuite/101269] [12 Regression] new test case gcc.dg/debug/btf/btf-datasec-1.c fails with its introduction in r12-1852

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101269 --- Comment #2 from CVS Commits --- The master branch has been updated by Indu Bhagat : https://gcc.gnu.org/g:37e65643d3e32d33bb6c9d15c678a627d1682626 commit r12-2223-g37e65643d3e32d33bb6c9d15c678a627d1682626 Author: Indu Bhagat Date: Fri

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 --- Comment #3 from Eric Botcazou --- > I see in the gnat_ugn manual that there is still the -Werror option that > causes GCC back end to treat warnings as errors. Is that means -gnatwe is > for front end, and -Werror for back end? Yes, the

[Bug target/101325] [12 Regression] arm: Wrong code with MVE vcmpeqq intrinsic since r12-671-gd083fbf72

2021-07-09 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101325 --- Comment #12 from Christophe Lyon --- As I am going on holidays until August (back only 2 days until then), I thought I should share my WIP here. No sure that's the right direction, anyway that's not working yet.

[Bug target/101395] New: Compile failure with -march=native -m32 on sapphirerapids

2021-07-09 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 Bug ID: 101395 Summary: Compile failure with -march=native -m32 on sapphirerapids Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/101386] Analysis of attribute malloc's deallocator function is not capable of abstraction

2021-07-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101386 --- Comment #1 from David Malcolm --- Thanks for filing this bug. The: __attribute__((malloc, malloc(string_delete))) is confusing the analyzer; if I remove it, the code compiles without warnings. I'm not yet sure what the analyzer should

[Bug debug/101378] Negative DW_AT_data_member_location

2021-07-09 Thread alves.ped at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101378 --- Comment #3 from Pedro Alves --- BTW, I found it curious that empty2 and empty3 get their own addresses, even at run time, when they could have all been squashed to the same address. I.e., e.g., this ends up with sizeof == 3, when it could

[Bug debug/101378] Negative DW_AT_data_member_location

2021-07-09 Thread alves.ped at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101378 Pedro Alves changed: What|Removed |Added CC||alves.ped at gmail dot com --- Comment

[Bug c++/101181] [11/12 Regression] ICE when using an alias template

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101181 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2c699fd29829cd6115f78238dab7cab74f0a5009 commit r12--g2c699fd29829cd6115f78238dab7cab74f0a5009 Author: Patrick Palka Date:

[Bug c++/101247] ICE when using static constexpr bool defined in parent-class in nested class constructor requires-clause

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101247 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f53e66019df819f55d424cc56f8b0ea81c074b55 commit r12-2221-gf53e66019df819f55d424cc56f8b0ea81c074b55 Author: Patrick Palka Date:

[Bug ipa/101066] [10/11/12 Regression] Wrong code after fixup_cfg3 since r10-3311-gff6686d2e5f797d6

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101066 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Jambor : https://gcc.gnu.org/g:6745246120d18db857344894967f2dc9c586fd0a commit r11-8712-g6745246120d18db857344894967f2dc9c586fd0a Author: Martin Jambor

[Bug tree-optimization/101394] New: ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

2021-07-09 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210709 (experimental) [master revision :aa0aefd8a:fdc4d2a516d042bc9a6936fad3f887aff353a296] (GCC) $ cat mutant.c a, b, c, d; e() __attribute__((returns_twice)); f() { int *g = c; if (b

[Bug inline-asm/101393] New: PowerPC32 inline assembly broken by commit 2d94f7dea9c73ef3c116a0ddc722724578a860fe

2021-07-09 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101393 Bug ID: 101393 Summary: PowerPC32 inline assembly broken by commit 2d94f7dea9c73ef3c116a0ddc722724578a860fe Product: gcc Version: 10.3.1 Status: UNCONFIRMED

[Bug bootstrap/101379] libatomic arm build failure after r12-2132 due -Warray-bounds on a constant address

2021-07-09 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101379 --- Comment #5 from Christophe Lyon --- The patch does not work, I'm now getting this error: In file included from /home/christophe.lyon/src/GCC/sources/gcc-fsf-git/trunk/libatomic/config/arm/host-config.h:4, from

[Bug modula2/101392] New: cc1gm2 -fdump-system-exports SEGV on Solaris/SPARC

2021-07-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101392 Bug ID: 101392 Summary: cc1gm2 -fdump-system-exports SEGV on Solaris/SPARC Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug modula2/101391] New: Unresolved reference to module getopt

2021-07-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101391 Bug ID: 101391 Summary: Unresolved reference to module getopt Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug tree-optimization/101390] New: Expand vector mod as vector div + multiply-subtract

2021-07-09 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101390 Bug ID: 101390 Summary: Expand vector mod as vector div + multiply-subtract Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug modula2/101389] New: Parallel build doesn't work

2021-07-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101389 Bug ID: 101389 Summary: Parallel build doesn't work Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/101388] New: Unconditional use of __MAX_BAUD

2021-07-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 Bug ID: 101388 Summary: Unconditional use of __MAX_BAUD Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/101387] New: Unconditional use of

2021-07-09 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101387 Bug ID: 101387 Summary: Unconditional use of Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-07-09 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 --- Comment #2 from Iru Cai --- Thanks, -gnatwe works for both gcc and gnatmake. I see in the gnat_ugn manual that there is still the -Werror option that causes GCC back end to treat warnings as errors. Is that means -gnatwe is for front end,

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #6 from Richard Biener --- Created attachment 51122 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51122=edit patch This is the patch fixing the issue for the C++ testcase (when a fix for PR100409 is applied), it also fixes

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #5 from Eric Botcazou --- > The issue I can see is that the middle-end does not consider > the Foo function 'const' (gimple_call_flags does not return ECF_CONST) > which is likely because the decl isn't TREE_READONLY and for 'const'

[Bug c++/100772] Templated coroutine new function's arguments have incorrect value categories/overload selection

2021-07-09 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100772 --- Comment #1 from David Ledger --- Bump, is there anything else I need to provide to assist in this matter?

[Bug analyzer/101386] New: Analysis of attribute malloc's deallocator function is not capable of abstraction

2021-07-09 Thread morrison.levi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101386 Bug ID: 101386 Summary: Analysis of attribute malloc's deallocator function is not capable of abstraction Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug ada/101385] -Werror doesn't have effect on Ada frontend

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Last

[Bug ada/101385] New: -Werror doesn't have effect on Ada frontend

2021-07-09 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101385 Bug ID: 101385 Summary: -Werror doesn't have effect on Ada frontend Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/101377] [11/12 Regression] 'exec format error' on x86_64-w64-mingw32

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/101377] [11/12 Regression] 'exec format error' on x86_64-w64-mingw32

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:d9d954ebd507572a460f93f404bba71e271e2dda commit r11-8711-gd9d954ebd507572a460f93f404bba71e271e2dda Author: Eric Botcazou

[Bug target/101377] [11/12 Regression] 'exec format error' on x86_64-w64-mingw32

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101377 --- Comment #16 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:e37e175e7dc3376244eb7705269ada6755616831 commit r12-2189-ge37e175e7dc3376244eb7705269ada6755616831 Author: Eric Botcazou Date:

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #4 from rguenther at suse dot de --- On Fri, 9 Jul 2021, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 > > --- Comment #3 from Eric Botcazou --- > > Eric, is it possible to write an

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-07-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #3 from Eric Botcazou --- > Eric, is it possible to write an equivalent testcase in Ada? procedure P is function Foo (J : Integer) return Integer; pragma Machine_Attribute (Foo, "const"); pragma Machine_Attribute (Foo,

[Bug driver/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug driver/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org

[Bug debug/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 Richard Biener changed: What|Removed |Added Component|other |debug --- Comment #3 from Richard

[Bug other/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 --- Comment #2 from Richard Biener --- How did you configure / make and on what host / target?

[Bug other/101383] GCC 11 Reproducibility Issue

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug target/101384] New: wrong code at -Og and above with vector shift/multiply

2021-07-09 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101384 Bug ID: 101384 Summary: wrong code at -Og and above with vector shift/multiply Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug other/101383] New: GCC 11 Reproducibility Issue

2021-07-09 Thread toolybird at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101383 Bug ID: 101383 Summary: GCC 11 Reproducibility Issue Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug tree-optimization/101024] Missed min expression at phiopt1

2021-07-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101024 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #0) > You will notice this is not caught by phiopt1 even though it should be while > it is caught now (on the trunk) by phiopt2 (match-and-simplify). That is > the

[Bug ipa/101382] function declarations with identical asm label aliasing a target function does not compile with -flto

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101382 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug sanitizer/101380] Segmentation fault in __asan_init

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101380 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug bootstrap/101379] libatomic arm build failure after r12-2132 due -Warray-bounds on a constant address

2021-07-09 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101379 Richard Biener changed: What|Removed |Added Version|9.0 |12.0 --- Comment #4 from Richard

[Bug target/100762] [mips+msa] ICE when comparing 64 bit vectors

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100762 --- Comment #5 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:82625a42e652d52fc6bbe6070f8d0589d5e0c8ad commit r12-2183-g82625a42e652d52fc6bbe6070f8d0589d5e0c8ad Author: Xi Ruoyao Date: Fri Jun

[Bug target/100760] [mips + msa] ICE: maximum number of generated reload insns per insn achieved

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100760 --- Comment #2 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:82625a42e652d52fc6bbe6070f8d0589d5e0c8ad commit r12-2183-g82625a42e652d52fc6bbe6070f8d0589d5e0c8ad Author: Xi Ruoyao Date: Fri Jun

[Bug target/100761] [mips+msa] ICE when using __builtin_convertvector to convert from u8x8 to u8x16

2021-07-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100761 --- Comment #2 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:82625a42e652d52fc6bbe6070f8d0589d5e0c8ad commit r12-2183-g82625a42e652d52fc6bbe6070f8d0589d5e0c8ad Author: Xi Ruoyao Date: Fri Jun