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

2021-07-12 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #8 from H.J. Lu --- (In reply to Jakub Jelinek from comment #7) > Comment on attachment 51142 [details] > A patch > > Can't you use one single local_cpu_detect and pass it 2 arguments (arch/tune > and 32/64) instead of just one (arc

[Bug tree-optimization/101335] [12 Regression] wrong code at -O2 and above (casts between signed and unsigned) by r12-1796

2021-07-12 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101335 --- Comment #2 from Andrew Macleod --- yeah, it because we have been treating casts to objects of the same precision as equivalences.This normally works fine, but in this case we have c_9 = (int)_2 c_9 == _2 _3 = c_9 - 10 so _

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

2021-07-12 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 #51142|0 |1 is obsolete|

[Bug tree-optimization/101419] [9/10/11/12 Regression] collapsing memset() calls can break __builtin_object_size()

2021-07-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #20 from Jakub Jelinek --- Created attachment 51144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51144&action=edit gcc12-pr101419.patch Updated patch.

[Bug target/91050] -mdejagnu-cpu= does not affect the -m assembler option

2021-07-12 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91050 Franz Sirl changed: What|Removed |Added CC||sirl at gcc dot gnu.org --- Comment #17 fro

[Bug fortran/101199] program changes the value of a dummy argument

2021-07-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101402] [DR 1001] top cv qualifier not dropped for array type typedef in template class

2021-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101402 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Res

[Bug c++/51851] [core/1001] Overriding a function with a parameter of dependent type fails to override.

2021-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51851 Marek Polacek changed: What|Removed |Added CC||nickhuang99 at hotmail dot com --- Comme

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

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

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

2021-07-12 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 Summary|ICE on valid code with -O2: |[9/10/11 Regression] ICE on

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

2021-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 --- Comment #6 from Andrew Pinski --- (In reply to Martin Liška from comment #3) > Just for the record, started with r9-2475-g4864297f7858617a. That definitely looks more like it was exposing the issue really as that was to VRP while the fix in

[Bug middle-end/101415] [12 Regression] Bogus -Warray-bounds warning with stpcpy

2021-07-12 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101415 Martin Sebor changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

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

2021-07-12 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 CC||fw at gcc dot gnu.org --- Comment #2 fro

[Bug libstdc++/101411] missing constraint in std::as_writable_bytes

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101411 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9d4393af9d2b37b78eb5b1f84f5d4da3a6f7fba6 commit r12-2257-g9d4393af9d2b37b78eb5b1f84f5d4da3a6f7fba6 Author: Jonathan Wakely Date:

[Bug libstdc++/101411] missing constraint in std::as_writable_bytes

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101411 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-07-12 Status|UNCONFI

[Bug tree-optimization/60669] VRP misses asserts for some already defined statements

2021-07-12 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60669 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug tree-optimization/101335] [12 Regression] wrong code at -O2 and above (casts between signed and unsigned) by r12-1796

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101335 --- Comment #3 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:a1539b797a06e03b08e1f1de28ad0d19a3956616 commit r12-2258-ga1539b797a06e03b08e1f1de28ad0d19a3956616 Author: Andrew MacLeod Date:

[Bug tree-optimization/101335] [12 Regression] wrong code at -O2 and above (casts between signed and unsigned) by r12-1796

2021-07-12 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101335 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/101424] [12 Regression] ICE in extract_insn, at recog.c:2771 since r12-2085-gf65878178ab05180

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101424 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:8d980e84240c82502661758fbecd5f456018ea89 commit r12-2259-g8d980e84240c82502661758fbecd5f456018ea89 Author: Uros Bizjak Date: Mon J

[Bug target/101424] [12 Regression] ICE in extract_insn, at recog.c:2771 since r12-2085-gf65878178ab05180

2021-07-12 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101424 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/97565] -flto -ipa-pta ICE: at cgraph_node::get_untransformed_body()

2021-07-12 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97565 --- Comment #4 from Xi Ruoyao --- This issue still exists in trunk. "-fno-builtin-abort" can be used as a workaround for SpiderMonkey though. Any progress?

[Bug tree-optimization/96697] Failure to optimize mod+div to 0

2021-07-12 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96697 --- Comment #5 from Andrew Macleod --- (In reply to Andrew Macleod from comment #4) > (In reply to Jakub Jelinek from comment #2) > > Shall we do that as a specific matcher or e.g. in the ranger once it gets > > code for symbolic comparisons? I

[Bug c++/100983] Deduction guide for member template class rejected at class scope

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100983 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8d75b8830e9dafb4e0c400c723653512adf40295 commit r12-2260-g8d75b8830e9dafb4e0c400c723653512adf40295 Author: Patrick Palka Date: M

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

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79501 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:8d75b8830e9dafb4e0c400c723653512adf40295 commit r12-2260-g8d75b8830e9dafb4e0c400c723653512adf40295 Author: Patrick Palka Date: Mo

[Bug libstdc++/101429] New: __replacement_assert should be marked as noexcept

2021-07-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 Bug ID: 101429 Summary: __replacement_assert should be marked as noexcept Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

2021-07-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 --- Comment #1 from cqwrteur --- By the way, i think if _GLIBCXX_VERBOSE==0, it should be just an __builtin_abort(). This will make optimizers much happier. The bounds checking will be only once. https://godbolt.org/z/7MxMoe3Yn

[Bug libstdc++/101361] Bogus -Wstringop-overread warning with -O3

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

[Bug go/101407] non-determinism in -fdump-go-spec

2021-07-12 Thread toolybird at tuta dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101407 --- Comment #4 from Toolybird --- Your patch solves the problem for me. Thank you very much!

[Bug c++/101430] New: Passing a lambda as a template argument causes internal compiler error

2021-07-12 Thread jorg.brown at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101430 Bug ID: 101430 Summary: Passing a lambda as a template argument causes internal compiler error Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: norma

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

2021-07-12 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #10 from Hongyu Wang --- (In reply to H.J. Lu from comment #9) > Created attachment 51143 [details] > A patch > > Try this instead. This also works.

[Bug c++/88252] Deduction guide assume the constructor parameter is a forwarding reference if constructor defined outside class

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

[Bug middle-end/93086] build_nonstandard_integer_type should take signop instead of int

2021-07-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93086 --- Comment #3 from Andrew Pinski --- Created attachment 51145 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51145&action=edit Patch in test This patch is bigger than I wanted it to be as there has been many more uses of build_nonstandard

[Bug debug/101431] New: gcc-generated DWARF5 .debug_line directory entries violate the DWARF5 spec

2021-07-12 Thread roc at ocallahan dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431 Bug ID: 101431 Summary: gcc-generated DWARF5 .debug_line directory entries violate the DWARF5 spec Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: n

[Bug debug/101431] gcc-generated DWARF5 .debug_line directory entries violate the DWARF5 spec

2021-07-12 Thread roc at ocallahan dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101431 --- Comment #1 from roc at ocallahan dot org --- Clang follows the spec (clang 12, -fdebug-default-version=5): The Directory Table: 0 /tmp/pernosco-submit-test 1 out The File Name Table Entry Dir TimeSizeMD5

[Bug testsuite/100166] Some vold-vec-{load,store} tests fail when built with compiler configured with --with-cpu=power10

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100166 --- Comment #4 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:063eba7ca73030139a3bf822ed127cf09b2fc226 commit r12-2266-g063eba7ca73030139a3bf822ed127cf09b2fc226 Author: Michael Meissner Dat

[Bug c++/92505] Using mutable in constexpr

2021-07-12 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92505 Christopher Di Bella changed: What|Removed |Added CC||cjdb.ns at gmail dot com --- Comm

[Bug c/101432] New: NULL dereferences aren't assumed to be unreachable even with -fdelete-null-pointer-checks -fno-isolate-erroneous-paths-dereference

2021-07-12 Thread josephcsible at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101432 Bug ID: 101432 Summary: NULL dereferences aren't assumed to be unreachable even with -fdelete-null-pointer-checks -fno-isolate-erroneous-paths-dereference Product: gcc

[Bug target/101275] [RISCV] Document the machine constraint 'S' and make it non-internal

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101275 --- Comment #2 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:18a463bb666cc8f3421589e7641ec617acb84741 commit r12-2268-g18a463bb666cc8f3421589e7641ec617acb84741 Author: Kito Cheng Date: Fri Jul

[Bug target/101275] [RISCV] Document the machine constraint 'S' and make it non-internal

2021-07-12 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101275 Kito Cheng changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/101429] __replacement_assert should be marked as noexcept

2021-07-12 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101429 --- Comment #2 from cqwrteur --- (In reply to cqwrteur from comment #1) > By the way, i think if _GLIBCXX_VERBOSE==0, it should be just an > __builtin_abort(). This will make optimizers much happier. The bounds > checking will be only once. > >

[Bug ipa/97565] -flto -ipa-pta ICE: at cgraph_node::get_untransformed_body()

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97565 Richard Biener changed: What|Removed |Added Last reconfirmed|2020-10-26 00:00:00 |2021-7-13 Known to fail|10.2.0

<    1   2