[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

[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 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 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 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 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 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 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 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 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 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 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++/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 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 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 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++/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 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 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 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 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 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 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 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 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/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 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 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 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 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 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 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 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 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 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 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 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 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/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/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 --- 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 target/101395] [11/12 regression] Compile failure with -march=native -m32 on sapphirerapids

2021-07-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101395 --- Comment #7 from Jakub Jelinek --- Comment on attachment 51142 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51142 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 (ar

[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 #51125|0 |1 is obsolete|

[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 CC||tkoenig at gcc dot gnu.org --- Comment

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

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 Richard Biener changed: What|Removed |Added Known to work||12.0 Resolution|---

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

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #15 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fedcf3c476aff7533741a1c61071200f0a38cf83 commit r12-2254-gfedcf3c476aff7533741a1c61071200f0a38cf83 Author: Richard Biener Date:

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

2021-07-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #19 from rguenther at suse dot de --- On Mon, 12 Jul 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 > > --- Comment #18 from Jakub Jelinek --- > (In reply to rguent...@suse.de from comm

[Bug libstdc++/101406] poor codegen for shared_ptr copy & destory, compared to boost::shared_ptr and libc++'s implementation

2021-07-12 Thread marc.mutz at kdab dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101406 Marc Mutz changed: What|Removed |Added Resolution|WONTFIX |FIXED --- Comment #3 from Marc Mutz --- Ok

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

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

[Bug c++/101421] ICE: in lookup_template_class_1, at cp/pt.c:10005

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

[Bug fortran/100227] [9/10/11/12 Regression] write with implicit loop

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

[Bug c++/101405] [12 Regression] internal compiler error: in reshape_init_class, at cp/decl.c:6483

2021-07-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101405 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-07-12 Status|UNCONFIRM

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-07-12 Thread ofer.shinaar at wdc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 Ofer Shinaar changed: What|Removed |Added CC||ofer.shinaar at wdc dot com --- Comment

[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 #18 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #16) > Well, my point was to avoid pessimizing the VN done from cunrolli ;) > Of course any duplication / threading can improve __bos precision, > but then any tr

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

2021-07-12 Thread wcohen at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101398 --- Comment #2 from Will Cohen --- Created attachment 51141 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51141&action=edit The uv_irq.i file The uv_irq.i file was created from 98f7fdced2e0efb1599a37b3e57671a7884f3a25 of git://git.kernel

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

2021-07-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #17 from rguenther at suse dot de --- On Mon, 12 Jul 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 > > --- Comment #15 from Jakub Jelinek --- > (In reply to Richard Biener from comment

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

2021-07-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #16 from rguenther at suse dot de --- On Mon, 12 Jul 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 > > --- Comment #14 from Jakub Jelinek --- > I agree about most of the passes you are

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

2021-07-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101407 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|ian at airs

[Bug inline-asm/101422] register variable uninitialised before passing to asm

2021-07-12 Thread simon.willcocks at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101422 --- Comment #7 from Simon Willcocks --- (In reply to Jakub Jelinek from comment #6) > Moving the line is the right fix Thanks for the confirmation. > It is recommended to initialize normal automatic variables first and then > only initialize re

[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 #15 from Jakub Jelinek --- (In reply to Richard Biener from comment #13) > Note usually we still run all property providers but the way you set > the property outside of pass->properties_provided breaks this. Thus > maybe split objs

[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 #14 from Jakub Jelinek --- I agree about most of the passes you are moving, but I have an (albeit artificial) testcase that proves that cunrolli does affect objsz: __SIZE_TYPE__ a[10]; void foo (void) { char *p = __builtin_malloc

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

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > (In reply to Jakub Jelinek from comment #10) > > Created attachment 51139 [details] > > gcc12-pr101419.patch > > > > Full untested patch. > > I guess that'

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

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #12 from Richard Biener --- (In reply to Jakub Jelinek from comment #10) > Created attachment 51139 [details] > gcc12-pr101419.patch > > Full untested patch. I guess that's certainly what was intended (and after the patch more expl

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

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #11 from Richard Biener --- I think none of NEXT_PASS (pass_complete_unrolli); NEXT_PASS (pass_backprop); NEXT_PASS (pass_phiprop); NEXT_PASS (pass_forwprop); are useful for objsize so IMHO we should move pa

[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 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last

[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 #9 from Jakub Jelinek --- The above patch will slightly pessimize optimizations during the NEXT_PASS (pass_remove_cgraph_callee_edges); /* Initial scalar cleanups before alias computation. They ensure memory acce

[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 #8 from Jakub Jelinek --- --- gcc/tree-pass.h.jj 2021-01-27 10:10:00.525903635 +0100 +++ gcc/tree-pass.h 2021-07-12 13:10:59.621933276 +0200 @@ -208,6 +208,7 @@ protected: #define PROP_gimple_lcf(1 << 1)

[Bug c++/101338] Redeclaration of template members in subclass fails

2021-07-12 Thread josipp at live dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101338 --- Comment #2 from Josip Palavra --- (In reply to Jonathan Wakely from comment #1) > All your examples are missing a semi-colon after the struct definition. Oops, thanks for pointing that out! The problem persists even with all the semicolons

[Bug libstdc++/101318] [10 only] Comparison operator

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101318 Jonathan Wakely changed: What|Removed |Added Target Milestone|10.4|10.3

[Bug libstdc++/96851] operator< on std::array does not work in constexpr, for sizeof(T) == 1, and N > 1

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96851 Jonathan Wakely changed: What|Removed |Added CC||tobias.bruell at gmail dot com --- Com

[Bug libstdc++/101318] [10 only] Comparison operator

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

[Bug libstdc++/101268] Refer manual readers to cppreference.com for API details

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101268 --- Comment #5 from Jonathan Wakely --- Thanks. Please submit patches to the mailing lists as required by: https://gcc.gnu.org/contribute.html#patches Please capitalize "an" at the start of every sentence, and use markdown `...` instead of @c .

[Bug c++/101343] ICE in tsubst_copy, at cp/pt.c:15732

2021-07-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101343 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | --- Comment #3 from Martin Liška --- R

[Bug c++/101338] Redeclaration of template members in subclass fails

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101338 Jonathan Wakely changed: What|Removed |Added Target|x86-64 | Build|Homebrew GCC 11.1

[Bug c++/101344] braced-init-list not supported in an aggregate deduction

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

[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 #7 from Jakub Jelinek --- It is the cunrolli pass where things go wrong (it VNs the &u->c for both __builtin_object_size calls while previously only the first one was &u->c and the second was &u->i). Now, objsz2 obviously needs to be

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

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101402 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101419 --- Comment #6 from Richard Biener --- Nothing can "fix" __builtin_object_size here (on sub-objects) without changing how we represent and CSE addresses, esp. if you consider inlining where we want to interpret __builtin_object_size (p, ..) as h

[Bug libstdc++/101406] poor codegen for shared_ptr copy & destory, compared to boost::shared_ptr and libc++'s implementation

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

[Bug libstdc++/101427] [11/12 Regression] std::get should refuse to compile if type is provided and it is duplicated in std::tuple

2021-07-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101427 Jonathan Wakely changed: What|Removed |Added Known to work||10.3.0 Summary|std::get sh

[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 Jakub Jelinek changed: What|Removed |Added CC||siddhesh at redhat dot com --- Comment

[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-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 Richard Biener changed: What|Removed |Added Known to work||12.0 --- Comment #5 from Richard Biene

[Bug tree-optimization/100778] [11 Regression] Get SIGFPE on simple test with -fpe-trap=invalid and SLP vectorization ON, with gfortran 11.1.0 on x86_64

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100778 Bug 100778 depends on bug 101423, which changed state. Bug 101423 Summary: [12 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:7113 since r12-1951-ga3aaba68405751ba https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101423 Wh

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 101423, which changed state. Bug 101423 Summary: [12 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:7113 since r12-1951-ga3aaba68405751ba https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101423 What

[Bug tree-optimization/101423] [12 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:7113 since r12-1951-ga3aaba68405751ba

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

[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-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:92343e0ba4d47f21ae20ffcb83d736bdbc15dae0 commit r12-2244-g92343e0ba4d47f21ae20ffcb83d736bdbc15dae0 Author: Richard Biener Date:

[Bug tree-optimization/101423] [12 Regression] ICE in vect_schedule_slp_node, at tree-vect-slp.c:7113 since r12-1951-ga3aaba68405751ba

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101423 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:123d0a597beb6d9865f808bf15b0d67f2a8fd5b2 commit r12-2243-g123d0a597beb6d9865f808bf15b0d67f2a8fd5b2 Author: Richard Biener Date:

[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 Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com

[Bug tree-optimization/101403] [12 Regression] wrong code with __builtin_bswap16() at -O1 by r12-2137

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101403 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:0192c3eedbc7e6fe703abd8b321f400ddb02adf7 commit r12-2242-g0192c3eedbc7e6fe703abd8b321f400ddb02adf7 Author: Roger Sayle Date: Mon J

[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 #4 from Jakub Jelinek --- --- gcc/tree-object-size.c.jj 2021-01-04 10:25:39.911221618 +0100 +++ gcc/tree-object-size.c 2021-07-12 11:28:51.328120222 +0200 @@ -1393,6 +1393,11 @@ pass_object_sizes::execute (function *fu

[Bug target/66791] [ARM] Replace builtins with gcc vector extensions code

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66791 --- Comment #10 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:6785eb595981abd93ad85edcfdf1d2e43c0841f5 commit r12-2241-g6785eb595981abd93ad85edcfdf1d2e43c0841f5 Author: prathamesh.kulkarn

[Bug target/101428] [10/11/12 Regression] ICE: 'asm' clobber conflict with output operand

2021-07-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101428 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.4

[Bug other/86656] [meta-bug] Issues found with -fsanitize=address

2021-07-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 101425, which changed state. Bug 101425 Summary: [12 Regression] AddressSanitizer: heap-buffer-overflow at candidates_list_and_hint since r12-1903-gaf9987e817f54806 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101425

[Bug sanitizer/101425] [12 Regression] AddressSanitizer: heap-buffer-overflow at candidates_list_and_hint since r12-1903-gaf9987e817f54806

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

[Bug sanitizer/101425] [12 Regression] AddressSanitizer: heap-buffer-overflow at candidates_list_and_hint since r12-1903-gaf9987e817f54806

2021-07-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101425 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:9b8b37d1b6301855213b8d4860feaeb74d464c6b commit r12-2240-g9b8b37d1b6301855213b8d4860feaeb74d464c6b Author: Martin Liska Date: Mon

[Bug c/101313] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in count_type_elements, at expr.c:6273

2021-07-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101313 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug fortran/101330] [openmp]ICE in free_expr0(): Bad expr type

2021-07-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101330 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug c++/101343] ICE in tsubst_copy, at cp/pt.c:15732

2021-07-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101343 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

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

2021-07-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101398 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[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-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 --- Comment #3 from Martin Liška --- Just for the record, started with r9-2475-g4864297f7858617a.

  1   2   >