[Bug analyzer/105755] New: -Wanalyzer-null-dereference regression compiling Emacs

2022-05-27 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755 Bug ID: 105755 Summary: -Wanalyzer-null-dereference regression compiling Emacs Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105652 --- Comment #4 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:221acd67ca50f8f069037e034a3250f13d75a9f5 commit r13-806-g221acd67ca50f8f069037e034a3250f13d75a9f5 Author: Jason Merrill Date:

[Bug target/105753] [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2022-05-27 Thread filip.hejsek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 --- Comment #1 from Filip Hejsek --- Not that i would really understand the machine description files, but the problem seems to be caused by this instruction definition: (define_insn_and_split "udivmodsi4" [(parallel [(set (match_operand:SI

[Bug tree-optimization/105665] [12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-397-gda9e6e63d1ae22

2022-05-27 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105665 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/105754] gcc/config/i386/i386.c missing break in get_builtin_code_for_version

2022-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105754 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/105754] New: gcc/config/i386/i386.c missing break in get_builtin_code_for_version

2022-05-27 Thread paulo.santos at anacom dot pt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105754 Bug ID: 105754 Summary: gcc/config/i386/i386.c missing break in get_builtin_code_for_version Product: gcc Version: 9.5.0 Status: UNCONFIRMED Severity: normal

[Bug target/105753] New: [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705

2022-05-27 Thread filip.hejsek at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105753 Bug ID: 105753 Summary: [avr] ICE: in add_clobbers, at config/avr/avr-dimode.md:2705 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords:

[Bug c++/104111] Concept evaluation depends on context where it was first checked

2022-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 --- Comment #6 from Jason Merrill --- (In reply to Jason Merrill from comment #5) > An alternative fix for this bug would be to include the evaluation context > in the satisfaction cache. ...if the evaluation involved access checking of a

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-05-27 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #11 from Kees Cook --- and with a flex array to compare: https://godbolt.org/z/s9nb4Y7q4

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-05-27 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #10 from Kees Cook --- Here's a slightly reworked example: https://godbolt.org/z/EvehMax84

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-05-27 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #9 from Kees Cook --- Just to clarify, __builtin_dynamic_object_size() shouldn't have anything to do with this. What's needed is something like -fstrict-flex-arrays so that all the "trailing array is a flex array" assumptions can be

[Bug rtl-optimization/98334] Failure to optimally optimize add loop to mul

2022-05-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98334 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/100181] hot-cold partitioned code doesn't assemble

2022-05-27 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100181 Thomas Schwinge changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

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

2022-05-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99405 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/100374] Type-constraints of member function templates should not be substituted into during implicit instantiation

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

[Bug c++/104111] Concept evaluation depends on context where it was first checked

2022-05-27 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104111 Jason Merrill changed: What|Removed |Added Blocks||67491 --- Comment #5 from Jason

[Bug c++/105752] Template function can access private member

2022-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752 --- Comment #3 from Jonathan Wakely --- And if you never instantiate the function, who cares? It doesn't actually access the private member, because you never call it. And if you try to, it doesn't compile.

[Bug c++/105752] Template function can access private member

2022-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752 --- Comment #2 from Jonathan Wakely --- Which is permitted by the standard.

[Bug c++/105752] Template function can access private member

2022-05-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752 --- Comment #1 from Andrew Pinski --- There might already been a dup of this. Gcc does not do access checking until instantiation time (as you saw) even for non dependent things.

[Bug c++/105752] New: Template function can access private member

2022-05-27 Thread csaba_22 at yahoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105752 Bug ID: 105752 Summary: Template function can access private member Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/105725] [ICE] segfault with `-Wmismatched-tags`

2022-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105725 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105725] [ICE] segfault with `-Wmismatched-tags`

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105725 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2c11a9a380e7af333e19d6e576a889646d699b2a commit r12-8419-g2c11a9a380e7af333e19d6e576a889646d699b2a Author: Marek Polacek

[Bug c++/105725] [ICE] segfault with `-Wmismatched-tags`

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105725 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d822f4bbd714c6595f70cc6dcebecfb6662d commit r13-803-gd822f4bbd714c6595f70cc6dcebecfb6662d Author: Marek Polacek Date:

[Bug c/90658] [10/11/12/13 Regression] ICE in default_conversion, at c/c-typeck.c:2159

2022-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/90658] [10/11/12/13 Regression] ICE in default_conversion, at c/c-typeck.c:2159

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90658 --- Comment #10 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ca4b95069ca7dbf0be3a5aae053631e7a1b20103 commit r13-802-gca4b95069ca7dbf0be3a5aae053631e7a1b20103 Author: Marek Polacek Date:

[Bug c++/105751] New: std::array comparision does not inline memcmp

2022-05-27 Thread gcc at maxbachmann dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105751 Bug ID: 105751 Summary: std::array comparision does not inline memcmp Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104477] [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2022-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/104477] [C++23] Implement P2255R2, type trait to detect reference binding to temporary

2022-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104477 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org ---

[Bug sanitizer/105750] Too small red zone size for struct variables.

2022-05-27 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105750 --- Comment #2 from Li Shaohua --- Yea, I'm aware of that. What makes me confused is for the following code, gcc generates a larger redone for the struct variable j, i.e., 48 bytes. https://godbolt.org/z/Wv1djjrqv $cat b.c struct a { long

[Bug sanitizer/105750] Too small red zone size for struct variables.

2022-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105750 --- Comment #1 from Jakub Jelinek --- That is completely intentional, you can find similar testcases for any size of the red zone and infinite red zones aren't possible. In fact, any growth of the red zone makes data segments larger, it is

[Bug sanitizer/105750] New: Too small red zone size for struct variables.

2022-05-27 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105750 Bug ID: 105750 Summary: Too small red zone size for struct variables. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-05-27 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #8 from qinzhao at gcc dot gnu.org --- (In reply to Siddhesh Poyarekar from comment #7) > I couldn't work on -fstrict-flex-arrays then, sorry. I do have it in my > plan for gcc 13, but I'll admit it's not on the very top of my list

[Bug libstdc++/105671] [11/12 Regression] Unexplained "undefined reference" error

2022-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 Jonathan Wakely changed: What|Removed |Added Summary|[11/12/13 Regression] |[11/12 Regression]

[Bug c++/105725] [ICE] segfault with `-Wmismatched-tags`

2022-05-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105725 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug libstdc++/105671] [11/12/13 Regression] Unexplained "undefined reference" error

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:de57440858591a88e8fd7ba2505ca54546c86021 commit r13-801-gde57440858591a88e8fd7ba2505ca54546c86021 Author: Jonathan Wakely Date:

[Bug libstdc++/105671] [11/12/13 Regression] Unexplained "undefined reference" error

2022-05-27 Thread christian.morales.vega at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 --- Comment #4 from Cristian Morales Vega --- I can confirm adding "__attribute__((always_inline))" in _M_high_mark() solves the issue.

[Bug ipa/105140] [10 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration since r10-5112-gfddcfa5b84bf8a06

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 Richard Biener changed: What|Removed |Added Known to work||10.3.1 Resolution|---

[Bug tree-optimization/105163] [10 Regression] ICE: SSA corruption since r0-122928

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105163 Richard Biener changed: What|Removed |Added Known to work||10.3.1 Resolution|---

[Bug tree-optimization/105173] [10 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105173 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|10.3.1

[Bug tree-optimization/105368] [10 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/105431] ICE: SIGSEGV in powi_as_mults_1 (tree-ssa-math-opts.cc:1512) with -Ofast and __builtin_pow()

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105431 Richard Biener changed: What|Removed |Added Known to fail||10.3.0, 11.2.0 Known to work|

[Bug ipa/105728] dead store to static var not optimized out

2022-05-27 Thread felix-gcc at fefe dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105728 --- Comment #4 from felix-gcc at fefe dot de --- If you do have a printf that references debug_cnt, it wouldn't be removed, right? If you expect unreferenced variables to not be optimized out, you can always compile without optimizer. For local

[Bug testsuite/105266] new test case gcc.dg/pr105250.c fails with excess errors in r12-8134-g4e892de6774f86

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105266 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5d4f9ef0d2123923f7aae9ebd546a72c7eeb1467 commit r10-10772-g5d4f9ef0d2123923f7aae9ebd546a72c7eeb1467 Author: Kewen Lin

[Bug ipa/105250] ICE: in fold_convert_loc, at fold-const.cc:2581 with conflicting function redeclaration

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105250 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:644185d0e42fd93d1f793475a0117d6751fb042e commit r10-10771-g644185d0e42fd93d1f793475a0117d6751fb042e Author: Richard

[Bug target/105147] New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105147 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1cccf2e43b43d6e75df2257ddc2682dceb9f04ae commit r10-10770-g1cccf2e43b43d6e75df2257ddc2682dceb9f04ae Author: Andreas

[Bug target/105147] New test case gcc.dg/pr105140.c introduced in r12-7979-geaaf77dd85c333 has excess errors

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105147 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:b3157b03a8b83445e6ce48c9d9c6a6b614937691 commit r10-10769-gb3157b03a8b83445e6ce48c9d9c6a6b614937691 Author: Segher

[Bug rtl-optimization/94618] [8/9 Regression] '-fcompare-debug' failure (length) with -O2 -fnon-call-exceptions since r8-565-g7581ce9a1ad6df9c

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94618 Bug 94618 depends on bug 105559, which changed state. Bug 105559 Summary: [10 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105559 What|Removed

[Bug rtl-optimization/105559] [10 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105559 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 Resolution|---

[Bug ipa/105140] [10 Regression] ICE: SIGSEGV in fold_convertible_p with conflicting function redeclaration since r10-5112-gfddcfa5b84bf8a06

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105140 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c515adf5d339ad942207d9121cf49e5b6c84093e commit r10-10768-gc515adf5d339ad942207d9121cf49e5b6c84093e Author: Richard

[Bug tree-optimization/105163] [10 Regression] ICE: SSA corruption since r0-122928

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105163 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bdfe7e5510b28c3ab8f8cd0fd7f715f2da3af938 commit r10-10767-gbdfe7e5510b28c3ab8f8cd0fd7f715f2da3af938 Author: Richard

[Bug tree-optimization/105173] [10 Regression] ICE: during GIMPLE pass: reassoc: verify_ssa failed (definition in block 2 follows the use) at -Ofast with decimals since r7-950-g8a85cee26eabf5cf

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105173 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:84ebfc7558d23c5262d35740d1d495bd0884a58c commit r10-10766-g84ebfc7558d23c5262d35740d1d495bd0884a58c Author: Richard

[Bug tree-optimization/105431] ICE: SIGSEGV in powi_as_mults_1 (tree-ssa-math-opts.cc:1512) with -Ofast and __builtin_pow()

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105431 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e41fa23451c965516a37282268231933fd948845 commit r10-10765-ge41fa23451c965516a37282268231933fd948845 Author: Richard

[Bug tree-optimization/105368] [10 Regression] ICE: SIGSEGV in powi_lookup_cost (tree-ssa-math-opts.cc:1441) with -Ofast and __builtin_powf()

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ebe6ffee1aa2d819e4fbdf4130e054a33c274b38 commit r10-10764-gebe6ffee1aa2d819e4fbdf4130e054a33c274b38 Author: Richard

[Bug rtl-optimization/105559] [10 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105559 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:6007449a1c3bd116e431fe53d4dfe2d1c67c1076 commit r10-10763-g6007449a1c3bd116e431fe53d4dfe2d1c67c1076 Author: Richard

[Bug ipa/105728] dead store to static var not optimized out

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105728 --- Comment #3 from Richard Biener --- Btw, any such optimization would be prone to remove 'debug_cnt' in void foo() { static int debug_cnt = 0; debug_cnt++; .. stuff .. } because here nothing depends on debug_cnt. For some

[Bug target/105506] Error building GCC 12.1.0 against MinGW-w64: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory

2022-05-27 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506 --- Comment #3 from Brecht Sanders --- Created attachment 53046 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53046=edit ProcessMonitor filtered on occurrence of "cc1"

[Bug libgomp/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread reiter.christoph at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 --- Comment #10 from Christoph Reiter --- lgtm

[Bug c++/105748] gcc ignores the pure attribute

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105748 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libgomp/105745] [12/13 Regression] Conditional OpenMP directive fails with GCC 12

2022-05-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105745 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/105747] Scheduler can take a long time on arm-linux sometimes

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105747 Richard Biener changed: What|Removed |Added Version|unknown |13.0 --- Comment #4 from Richard

[Bug ipa/105639] [12/13 Regression] ICE in propagate_controlled_uses, at ipa-prop.cc:4195 since r12-7936-gf6d65e803623c7ba

2022-05-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105639 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:f571596f8cd8fbad34305b4bec1a813620e0cbf0 commit r13-798-gf571596f8cd8fbad34305b4bec1a813620e0cbf0 Author: Martin Jambor Date:

[Bug libstdc++/105671] [11/12/13 Regression] Unexplained "undefined reference" error

2022-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/105749] New: Bogus maybe-unitialized when using std::optional, regex and sstream

2022-05-27 Thread hi+gccbugs at yamlcoder dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105749 Bug ID: 105749 Summary: Bogus maybe-unitialized when using std::optional, regex and sstream Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/101228] tbb/task.h is Deprecated in newer TBB.

2022-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101228 Jonathan Wakely changed: What|Removed |Added Known to work||11.1.0 --- Comment #11 from Jonathan

[Bug debug/104337] [9 Regression] ICE when compiling with optimize attribute and always_inline at -m32 -g3 -O0

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104337 Richard Biener changed: What|Removed |Added Known to fail||9.5.0 Target Milestone|9.0

[Bug c++/85743] Cannot call template member function inside a variadic lambda unless specifying `this`

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85743 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/105198] [9 Regression] Wrong code for C loop (GCC 12 -O2, GCC 11 -O3)

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105198 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|9.5

[Bug middle-end/104402] [9 Regression] ICE on valid code caused by not lowering complex int compare inside a COND_EXPR

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104402 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug tree-optimization/103615] [9 Regression] wrong code with "-O3" or "-O1 -ftree-vectorize" on x86_64-pc-linux-gnu

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103615 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.0 Resolution|---

[Bug tree-optimization/103596] [9 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:88 since r8-565-g7581ce9a1ad6df9c

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103596 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 Known to fail|

[Bug fortran/103505] [9 Regression] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|9.5

[Bug c++/99201] [9 Regression] ICE in tsubst_copy, at cp/pt.c:16581 since r8-7613-g1456e764105702a0

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99201 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|9.5

[Bug c++/89224] [10/11/12 Regression] subscript of const vector has the wrong type

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89224 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 Summary|[9/10/11/12

[Bug target/105506] Error building GCC 12.1.0 against MinGW-w64: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory

2022-05-27 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506 --- Comment #2 from Brecht Sanders --- I did an additional test to see where gcc.exe is looking for cc1.exe using Process Monitor. This was using a i686 UCRT build of GCC against MinGW-w64 installed under: D:\Prog\winlibs32ucrt_stage\mingw32

[Bug c++/105742] [10/11/12/13 Regression] accepts-invalid non-dependent call to non-static member function from unrelated class in presence of dependent base

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105742 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #2 from Richard

[Bug tree-optimization/105739] [10 Regression] Miscompilation of Linux kernel update.c

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105739 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #5 from Richard

[Bug ipa/105600] [10/11/12/13 Regression] ICE with LTO when building Mumble

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105600 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #15 from Richard

[Bug rtl-optimization/105559] [10 Regression] -g and -O3 cause timeout since r12-156-g8d4c374c4419a875

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105559 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #11 from Richard

[Bug target/105554] [10/11/12/13 Regression] ICE: in emit_block_move_hints, at expr.cc:1829 since r9-5509-g5928bc2ec06dd4e7

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105554 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #4 from Richard

[Bug target/105513] [10/11/12/13 Regression] Unnecessary SSE spill since r9-5748-g1d4b4f4979171ef0

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105513 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #9 from Richard

[Bug c++/105481] [10/11/12/13 Regression] ICE: unexpected expression of kind template_parm_index

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #6 from Richard

[Bug rtl-optimization/105453] [10/11 Regression] load introduced by ce1 for conditional loads at -O1, might cause issues with the C/C++ memory model

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105453 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #6 from Richard

[Bug c++/105452] [10/11/12/13 Regression] static_assert inside anonymous union inside a templated struct causes invalid "inaccessible within this context" error

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105452 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug middle-end/105263] [10 Regression] ICE: gimple check: expected gimple_assign(error_mark), have gimple_nop() in gimple_assign_rhs1, at gimple.h:2655 with _Decimal64 -ffast-math since r7-950-g8a85c

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105263 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #6 from Richard

[Bug c++/105244] [10/11/12/13 Regression] ICE in implicitly_declare_fn, at cp/method.cc:3114

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105244 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug c++/105228] [10/11/12/13 Regression] ICE tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.cc:3826 since r7-755-g23cb72663051cd

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105228 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug ipa/105227] [10/11/12/13 Regression] ICE in type_in_anonymous_namespace_p, at ipa-utils.h:233 since r9-2502-g143b379d89b12ccc

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105227 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #4 from Richard

[Bug c/105180] [10/11/12/13 Regression] K style definition does not evaluate array size

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105180 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #2 from Richard

[Bug fortran/105168] [10/11/12/13 Regression] ICE in gfc_maybe_dereference_var, at fortran/trans-expr.cc:2870 since r9-3522-gd0477233215e37de

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105168 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug tree-optimization/105163] [10 Regression] ICE: SSA corruption since r0-122928

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105163 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #6 from Richard

[Bug fortran/105152] [10/11/12/13 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647 since r9-5372-gbbf18dc5d248a79a

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105152 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug c/105150] [10/11 Regression] ICE with -Ofast: verify_gimple failed

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105150 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #11 from Richard

[Bug c/105149] [10/11 Regression] ICE in verify_ssa, at tree-ssa.cc:1211

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105149 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #11 from Richard

[Bug middle-end/105126] [10/11/12/13 Regression] Optimization regression gcc inserts not needed movsx when using switch statement

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105126 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #3 from Richard

[Bug c++/105099] [10/11/12/13 Regression] In lookup of namespace name qualifiers only namespaces should be considered

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105099 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #4 from Richard

[Bug rtl-optimization/104989] [10/11 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.cc:2797 (error: flow control insn inside a basic block)

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104989 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #5 from Richard

[Bug rtl-optimization/104961] [10/11 Regression] compilation never (?) finishes at -Og

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104961 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #5 from Richard

[Bug tree-optimization/104931] [10 Regression] wrong-code with number_of_iterations_lt_to_ne

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104931 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #12 from Richard

[Bug fortran/104717] [10/11 Regression] ICE: verify_ssa failed (Error: type mismatch between an SSA_NAME and its symbol)

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104717 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #11 from Richard

[Bug fortran/104684] [10/11/12/13 Regression] ICE: 'verify_gimple' failed (Error: non-trivial conversion in 'component_ref') since r7-5771-gde91486c745d5ff6

2022-05-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104684 Richard Biener changed: What|Removed |Added Target Milestone|9.5 |10.4 --- Comment #2 from Richard

  1   2   3   4   5   6   7   8   >