[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #3 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:f907cf4c07cf51863dadbe90894e2ae3382bada5 commit r13-1083-gf907cf4c07cf51863dadbe90894e2ae3382bada5 Author: Kewen Lin Date: Tue Jun

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

2022-06-13 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #23 from Siddhesh Poyarekar --- (In reply to Siddhesh Poyarekar from comment #22) > An arbitrary N will only make it abuse-friendly and potentially mask bugs. > IMO if we choose to make multiple levels here it should only be >

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

2022-06-13 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #22 from Siddhesh Poyarekar --- (In reply to Kees Cook from comment #21) > How about "-fnot-flex-arrays=N" to mean "trailing arrays with N or more > elements will NOT be treated like a flex array"? > > Then code with sockaddr can

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread jkanapes at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #8 from John Kanapes --- True. I was confused that sources were needed only by the GNAT subsystem. I am working to recreate the issue in a smaller, more portable, easier to understand code. I hope, I have a couple of days before

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

2022-06-13 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #21 from Kees Cook --- (In reply to Martin Sebor from comment #20) > Well, I just "asked" for such an option the same way you asked for > -fstrict-flex-arrays in comment #3, because I believe it would be useful to > make the BOS

[Bug c++/105964] [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.2

[Bug c++/105964] [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105964] New: [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter

2022-06-13 Thread enolan at alumni dot cmu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105964 Bug ID: 105964 Summary: [12/13 Regression] Return type deduction fails during NTTP use of function dependent on template parameter Product: gcc Version: 12.1.1 Status:

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-06-13 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #24 from joseph at codesourcery dot com --- On Mon, 13 Jun 2022, already5chosen at yahoo dot com via Gcc-bugs wrote: > > For long double it's sysdeps/ieee754/soft-fp/s_fmal.c in glibc - some > > adjustments would be needed to be

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

2022-06-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #20 from Martin Sebor --- Well, I just "asked" for such an option the same way you asked for -fstrict-flex-arrays in comment #3, because I believe it would be useful to make the BOS improvements you're looking for available even to

[Bug c/105963] New: -Woverlength-strings: don't underline the entire offending string

2022-06-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105963 Bug ID: 105963 Summary: -Woverlength-strings: don't underline the entire offending string Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug analyzer/105961] -Wanalyzer-use-of-uninitialized-value false positive after "= {0}"

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961 --- Comment #4 from David Malcolm --- As well as the false positive, the diagnostic path is rather unreadable due to inlining. I've filed a separate bug about this (PR 105962).

[Bug analyzer/105962] New: Unhelpful diagnostics paths from analyzer in the face of inlining

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105962 Bug ID: 105962 Summary: Unhelpful diagnostics paths from analyzer in the face of inlining Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-06-13 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #23 from Michael_S --- (In reply to jos...@codesourcery.com from comment #22) > On Mon, 13 Jun 2022, already5chosen at yahoo dot com via Gcc-bugs wrote: > > > > The function should be sqrtf128 (present in glibc 2.26 and later on >

[Bug analyzer/105961] -Wanalyzer-use-of-uninitialized-value false positive after "= {0}"

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 --- Comment #5 from Marek Polacek --- So far reduced to template struct index_tuple; template > struct build_number_seq; template struct build_number_seq> : build_number_seq> {}; template struct build_number_seq<0, index_tuple> {

[Bug analyzer/105961] -Wanalyzer-use-of-uninitialized-value false positive after "= {0}"

2022-06-13 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961 --- Comment #2 from eggert at cs dot ucla.edu --- Created attachment 53131 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53131=edit reproducer for the bug (compressed with xz) The uncompressed t.i was too large for bugzilla, so here's

[Bug analyzer/105961] -Wanalyzer-use-of-uninitialized-value false positive after "= {0}"

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961 --- Comment #1 from David Malcolm --- (In reply to eggert from comment #0) [...snip...] > Compile the attached program (derived from bleeding-edge Emacs) with: I'm not seeing an attachment - do you still have this file, and can you try

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-06-13 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #22 from joseph at codesourcery dot com --- On Mon, 13 Jun 2022, already5chosen at yahoo dot com via Gcc-bugs wrote: > > The function should be sqrtf128 (present in glibc 2.26 and later on > > x86_64, x86, powerpc64le, ia64). I

[Bug analyzer/105961] New: -Wanalyzer-use-of-uninitialized-value false positive after "= {0}"

2022-06-13 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105961 Bug ID: 105961 Summary: -Wanalyzer-use-of-uninitialized-value false positive after "= {0}" Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal

[Bug target/105960] Crash in 32-bit mode

2022-06-13 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 --- Comment #4 from M Welinder --- And added to the link lines too, btw.

[Bug target/105960] Crash in 32-bit mode

2022-06-13 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 M Welinder changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-06-13 Thread already5chosen at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #21 from Michael_S --- (In reply to jos...@codesourcery.com from comment #20) > On Sat, 11 Jun 2022, already5chosen at yahoo dot com via Gcc-bugs wrote: > > > On MSYS2 _Float128 and __float128 appears to be mostly the same thing,

[Bug target/105960] Crash in 32-bit mode

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

[Bug target/105960] Crash in 32-bit mode

2022-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 --- Comment #1 from Andrew Pinski --- ``` COMPILE="$CC -m32 -O2 -I. -Wall" # Preprocessed files were created thus: # $COMPILE -E crash32.c > crash32-preprocessed.c # $COMPILE -E expref.c > expref-preprocessed.c $COMPILE -c -o crash32.o

[Bug c/105960] New: Crash in 32-bit mode

2022-06-13 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105960 Bug ID: 105960 Summary: Crash in 32-bit mode Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

[Bug testsuite/105959] New: new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails

2022-06-13 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105959 Bug ID: 105959 Summary: new test case c-c++-common/diagnostic-format-sarif-file-4.c from r13-967-g6cf276ddf22066 fails Product: gcc Version: 13.0

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #7 from Jonathan Wakely --- (In reply to John Kanapes from comment #2) > The missing info, gcc -v -save-temps is provided as an attachment. But we're still missing the code that triggers the bug. A bug report that just says

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #6 from Jonathan Wakely --- Line numbers in the source code aren't relevant here, you need to add the -fsanitize=undefined flag to your link command to solve those undefined references.

[Bug analyzer/105958] New: Stray events emitted by state machine tests (e.g. "'VAR' is NULL")

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105958 Bug ID: 105958 Summary: Stray events emitted by state machine tests (e.g. "'VAR' is NULL") Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/105957] New: __n * sizeof(_Tp) might overflow under consteval context for std::allocator

2022-06-13 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105957 Bug ID: 105957 Summary: __n * sizeof(_Tp) might overflow under consteval context for std::allocator Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c++/105956] [13 Regression] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug c++/105956] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-13 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 --- Comment #3 from Matheus Castanho --- Sorry, looks like the original file was too large and didn't get attached when I created the bug. I attached a gzip compressed version now.

[Bug c++/105956] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-13 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 --- Comment #2 from Matheus Castanho --- Created attachment 53129 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53129=edit pre-processed source generated by -freport-bug

[Bug c++/105956] internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

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

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-13 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #14 from Linus Torvalds --- (In reply to Samuel Neves from comment #13) > Something simple like this -- https://godbolt.org/z/61orYdjK7 -- already > exhibits the effect. Yup. That's a much better test-case. I think you should

[Bug c++/105956] New: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819

2022-06-13 Thread msc at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105956 Bug ID: 105956 Summary: internal compiler error: in iterative_hash_template_arg, at cp/pt.cc:1819 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-13 Thread sneves at dei dot uc.pt via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #13 from Samuel Neves --- Something simple like this -- https://godbolt.org/z/61orYdjK7 -- already exhibits the effect. Furthermore, and this also applies to the full BLAKE2b compression function, if you replace all the xors in

[Bug target/105955] New: ICE when using __attribute__((__sysv_abi__)) on Cygwin

2022-06-13 Thread mikulas at artax dot karlin.mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105955 Bug ID: 105955 Summary: ICE when using __attribute__((__sysv_abi__)) on Cygwin Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2022-06-13 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #19 from Kees Cook --- (In reply to Martin Sebor from comment #18) > The zero size case exists (and is documented) solely as a substitute for > flexible array members. Treating is as an ordinary array would disable that >

[Bug libquadmath/105101] incorrect rounding for sqrtq

2022-06-13 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105101 --- Comment #20 from joseph at codesourcery dot com --- On Sat, 11 Jun 2022, already5chosen at yahoo dot com via Gcc-bugs wrote: > On MSYS2 _Float128 and __float128 appears to be mostly the same thing, mapped > to the same library routines

[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from

[Bug fortran/105954] New: ICE in gfc_element_size, at fortran/target-memory.cc:132

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954 Bug ID: 105954 Summary: ICE in gfc_element_size, at fortran/target-memory.cc:132 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105953] New: [12/13 Regression] ICE in extract_insn, at recog.cc:2791

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105953 Bug ID: 105953 Summary: [12/13 Regression] ICE in extract_insn, at recog.cc:2791 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/105952] New: [12/13 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.cc:5680

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105952 Bug ID: 105952 Summary: [12/13 Regression] ICE in sel_redirect_edge_and_branch, at sel-sched-ir.cc:5680 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c/105951] New: [12/13 Regression] ICE in emit_store_flag, at expmed.cc:6027

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105951 Bug ID: 105951 Summary: [12/13 Regression] ICE in emit_store_flag, at expmed.cc:6027 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-13 Thread torvalds--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 --- Comment #12 from Linus Torvalds --- (In reply to Jakub Jelinek from comment #11) > Anyway, I think we need to understand what makes it spill that much more, > and unfortunately the testcase is too large to find that out easily, I think > we

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread jkanapes at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #5 from John Kanapes --- Thank you for taking the time to look at it, and responding so fast:)

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread jkanapes at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #4 from John Kanapes --- I don't know UBSan. What's more these are not user-friendly, compiler errors. It reminds me of assemblers:( I need readable errors with line numbers, otherwise I don't know what to change:(

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

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

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread jkanapes at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 --- Comment #2 from John Kanapes --- Hi, The missing info, gcc -v -save-temps is provided as an attachment. Of the flags, Wextra, -fno-strict-aliasing -fwrapv -fno-aggressive-loop-optimizations did nothing. -fsanitize=undefined creates the

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 --- Comment #17 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f2851a7cff4d74edca26d39c7bfa1264355a22ed commit r10-10828-gf2851a7cff4d74edca26d39c7bfa1264355a22ed Author: Marek

[Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization

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

[Bug target/105927] ICE: RTL check: expected code 'reg', have 'mem' in rhs_regno, at rtl.h:1932 with -mtune=k6-3 -msse

2022-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105927 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug target/105927] ICE: RTL check: expected code 'reg', have 'mem' in rhs_regno, at rtl.h:1932 with -mtune=k6-3 -msse

2022-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105927 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b3dd7d8b48227d3489039ca66b6c0ea2da743255 commit r13-1071-gb3dd7d8b48227d3489039ca66b6c0ea2da743255 Author: Uros Bizjak Date: Mon

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

2022-06-13 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #18 from Martin Sebor --- The zero size case exists (and is documented) solely as a substitute for flexible array members. Treating is as an ordinary array would disable that extension. It might be appropriate to provide a

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 --- Comment #16 from Marek Polacek --- I'll backport to 10.

[Bug c/105950] New: > O2 optimization causes runtime (SIGILL) during main initialization

2022-06-13 Thread jkanapes at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105950 Bug ID: 105950 Summary: > O2 optimization causes runtime (SIGILL) during main initialization Product: gcc Version: 9.4.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/105949] New: RFE: analyzer could warn about calls to vfuncs within a ctor/dtor

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105949 Bug ID: 105949 Summary: RFE: analyzer could warn about calls to vfuncs within a ctor/dtor Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/99667] RFE: complain about uninitialized member variables in constructor

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99667 David Malcolm changed: What|Removed |Added Blocks||105887 --- Comment #1 from David

[Bug analyzer/105948] New: RFE: analyzer could check c++ placement-new sizes

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105948 Bug ID: 105948 Summary: RFE: analyzer could check c++ placement-new sizes Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug analyzer/105947] New: RFE: -fanalyzer should complain about jumps through NULL function pointers

2022-06-13 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105947 Bug ID: 105947 Summary: RFE: -fanalyzer should complain about jumps through NULL function pointers Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug target/105941] --enable-fix-cortex-a53-835769 fails with -fuse-ld=lld

2022-06-13 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105941 --- Comment #3 from Richard Earnshaw --- If you really wanted this to be made to work, I think you'd need to use spec files. Then you could provide a spec for each supported linker. It still wouldn't be trivial, but it seems to me it's the

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

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

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2022-06-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/102003] [PDT] Length of character component not simplified

2022-06-13 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003 Wileam Yonatan Phan changed: What|Removed |Added CC||wileamyp at outlook dot com ---

[Bug lto/105877] GNU strip breaks -flto -g .o files

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105877 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug c++/105864] storing nullptr_t to memory should not generate any instructions

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105864 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug c++/105931] [12/13 regression] ICE in cxx_eval_constant_expression

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

[Bug tree-optimization/105943] [12/13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2640

2022-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105943 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization --- Comment #1 from

[Bug c/105863] RFE: __attribute__((incbin("file"))) or __builtin_incbin("file")

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105863 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Version|unknown

[Bug c++/105946] New: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105946 Bug ID: 105946 Summary: [12/13 Regression] ICE in maybe_warn_pass_by_reference, at tree-ssa-uninit.cc:843 Product: gcc Version: 13.0 Status:

[Bug c/105945] New: [12/13 Regression] ICE in maybe_gen_insn, at optabs.cc:7956

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105945 Bug ID: 105945 Summary: [12/13 Regression] ICE in maybe_gen_insn, at optabs.cc:7956 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/105944] New: [10/11/12/13 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.cc:2648

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105944 Bug ID: 105944 Summary: [10/11/12/13 Regression] ICE in expand_LOOP_DIST_ALIAS, at internal-fn.cc:2648 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c/105943] New: [12/13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2640

2022-06-13 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105943 Bug ID: 105943 Summary: [12/13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2640 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug c++/105838] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 --- Comment #2 from Richard

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

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

[Bug c++/105838] g++ 12.1.0 runs out of memory or time when building const std::vector of std::strings

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105838 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/105835] [13 Regression] Dead Code Elimination Regression at -O1 (trunk vs. 12.1.0)

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105835 Richard Biener changed: What|Removed |Added Summary|Dead Code Elimination |[13 Regression] Dead Code

[Bug tree-optimization/105834] [13 Regression] Dead Code Elimination Regression at -O2 (trunk vs. 12.1.0)

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105834 Richard Biener changed: What|Removed |Added Summary|Dead Code Elimination |[13 Regression] Dead Code

[Bug tree-optimization/105833] [13 Regression] Dead Code Elimination Regression at -O2 (trunk vs. 12.1.0)

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105833 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug target/105941] --enable-fix-cortex-a53-835769 fails with -fuse-ld=lld

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

[Bug tree-optimization/105832] [13 Regression] Dead Code Elimination Regression at -O3 (trunk vs. 12.1.0)

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105832 Richard Biener changed: What|Removed |Added Summary|Dead Code Elimination |[13 Regression] Dead Code

[Bug tree-optimization/86339] DOM does not handle RHS COND_EXPRs well

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

[Bug rtl-optimization/54525] Recognize (vec_)cond_expr in mask operation

2022-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54525 Richard Biener changed: What|Removed |Added Last reconfirmed|2016-01-04 00:00:00 |2022-6-13

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 --- Comment #14 from Stas Sergeev --- (In reply to Uroš Bizjak from comment #13) > Please backport the patch also to gcc-10 branch. 9.4.0 fails for me on ubuntu-20. 8.5.0 also fails. Please back-port to all possible branches.

[Bug d/105942] New: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945

2022-06-13 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105942 Bug ID: 105942 Summary: [12 Regression] d: internal compiler error: in visit, at d/expr.cc:945 Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Uroš Bizjak changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug libstdc++/105934] [9/10/11/12/13 Regression] C++11 pointer versions of atomic_fetch_add missing because of P0558

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105934 Jonathan Wakely changed: What|Removed |Added Known to work||8.5.0 Known to fail|

[Bug target/105941] --enable-fix-cortex-a53-835769 fails with -fuse-ld=lld

2022-06-13 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105941 --- Comment #1 from Richard Earnshaw --- The correct thing to do would be to implement the option in lld. If lld claims to be a replacement for ld, then it really should support all the command-line options that ld supports.

[Bug rtl-optimization/105936] [10 Regression] ICE with inline-asm and TLS on x86_64 and -O2 in move_insn

2022-06-13 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105936 Stas Sergeev changed: What|Removed |Added Resolution|DUPLICATE |FIXED --- Comment #6 from Stas Sergeev

[Bug libstdc++/105934] [9/10/11/12/13 Regression] C++11 pointer versions of atomic_fetch_add missing because of P0558

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105934 --- Comment #3 from Jonathan Wakely --- Created attachment 53127 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53127=edit Restore atomic_fetch_{add,sub} partial specializations for pointers This patch restores the partial

[Bug rtl-optimization/104777] [9/10 Regression] gcc crashes while compiling a custom coroutine library sample

2022-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104777 Uroš Bizjak changed: What|Removed |Added CC||stsp at users dot sourceforge.net ---

[Bug rtl-optimization/105936] [10 Regression] ICE with inline-asm and TLS on x86_64 and -O2 in move_insn

2022-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105936 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/105934] [9/10/11/12/13 Regression] C++11 pointer versions of atomic_fetch_add missing because of P0558

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105934 --- Comment #2 from Jonathan Wakely --- Somewhat related: The MSVC testsuite has an example using atomic_store that fails with libstdc++:

[Bug libstdc++/105934] [9/10/11/12/13 Regression] C++11 pointer versions of atomic_fetch_add missing because of P0558

2022-06-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105934 --- Comment #1 from Jonathan Wakely --- I think this is actually expected post-P0558, and I would prefer to treat that paper as a DR, because the original spec for the atomic_xxx free functions was weird and inconsistent. The partial

[Bug target/105930] [12/13 Regression] Excessive stack spill generation on 32-bit x86

2022-06-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105930 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug rtl-optimization/105936] [10 Regression] ICE with inline-asm and TLS on x86_64 and -O2 in move_insn

2022-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105936 --- Comment #4 from Uroš Bizjak --- Digging a bit further with current gcc-10 branch... Instrumenting a TLS address splitter in i386.md with some creative printfs: (define_split [(match_operand 0 "tls_address_pattern")]

[Bug target/105911] [13 Regression] ICE: in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-06-13 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105911 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >