[Bug target/106101] [12 Regression] ICE in reg_bitfield_target_p since r12-4428-g147ed0184f403b

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106101 --- Comment #26 from CVS Commits --- The releases/gcc-12 branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:e1357577e6e39430869e294f94c2c547717b960f commit r12-9058-ge1357577e6e39430869e294f94c2c547717b960f Author: Andreas Kreb

[Bug target/108489] internal_error adding data fields in a promise_type

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108489 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-01-23 Ever confirmed|0

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2023-01-23 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #20 from David Ledger --- Yeah, your right. I had noticed the mistake and reduced the code without thinking enough: ```CPP #include #include #include #include using namespace std; struct overaligned { alignas(128) char padding[

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/108491] New: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 Bug ID: 108491 Summary: cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug modula2/108462] duplicate install of static libraries

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108462 --- Comment #4 from Richard Biener --- OK, so besides the relocation issue it seems that search paths (or install paths) are wrong (because of my changes?). Configuring with --prefix=/tmp/install and doing > /tmp/install/bin/gm2 -fiso coroutin

[Bug modula2/108462] duplicate install of static libraries

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108462 --- Comment #5 from Richard Biener --- OK, so after fixing that I see /tmp/install/lib/gcc/x86_64-pc-linux-gnu/13.0.1/collect2 -plugin /tmp/install/lib/gcc/x86_64-pc-linux-gnu/13.0.1/liblto_plugin.so -plugin-opt=/tmp/install/lib/gcc/x86_64-pc-

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 --- Comment #20 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:47465fff9738b08796f4b52570fec49bbdbf3e57 commit r13-5288-g47465fff9738b08796f4b52570fec49bbdbf3e57 Author: Richard Biener Date:

[Bug bootstrap/107950] partial LTO linking of libbackend.a: gcc/gcc-rich-location.cc:207: undefined reference to `range_label_for_type_mismatch::get_text(unsigned int) const'

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950 --- Comment #12 from Martin Liška --- > So moving range_label_for_type_mismatch *and* binary_op_rich_location to > c/cp/c-family might be a fix for this; I'm not sure. I don't think so as any other (non-C family) FE will fail to link against li

[Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 --- Comment #14 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ad4f8c4e375dd7603382ed3ff95bd184e1959918 commit r13-5300-gad4f8c4e375dd7603382ed3ff95bd184e1959918 Author: Richard Biener Date:

[Bug analyzer/108492] New: __analyzer_eval has effect on the analysis result of gcc static analyzer

2023-01-23 Thread mengli.ming at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108492 Bug ID: 108492 Summary: __analyzer_eval has effect on the analysis result of gcc static analyzer Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug modula2/108135] Modula2 meets clang

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug driver/108350] Windows: invoking gcc via symlink does not work

2023-01-23 Thread gnu.org at billz dot fastmail.fm via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 --- Comment #33 from Bill Zissimopoulos --- Now that we have a potential patch what are the steps to get it included into the gcc codebase?

[Bug libgomp/108494] New: Slow thread creation with nested loops in GFortran

2023-01-23 Thread dewhurst--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108494 Bug ID: 108494 Summary: Slow thread creation with nested loops in GFortran Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug driver/108350] Windows: invoking gcc via symlink does not work

2023-01-23 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 --- Comment #34 from niXman --- (In reply to Bill Zissimopoulos from comment #33) > Now that we have a potential patch what are the steps to get it included > into the gcc codebase? great question! I think the best option is to give me rights t

[Bug driver/108350] Windows: invoking gcc via symlink does not work

2023-01-23 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350 --- Comment #35 from niXman --- and the rights to edit my comments too =)

[Bug target/108495] New: [10/11/12/13 Regression] aarch64 ICE with __builtin_aarch64_rndr

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 Bug ID: 108495 Summary: [10/11/12/13 Regression] aarch64 ICE with __builtin_aarch64_rndr Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/108495] [10/11/12/13 Regression] aarch64 ICE with __builtin_aarch64_rndr

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug target/108495] [10/11/12/13 Regression] aarch64 ICE with __builtin_aarch64_rndr

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 --- Comment #2 from Jakub Jelinek --- I know, that is basically what I told the reporter in https://bugzilla.redhat.com/show_bug.cgi?id=2161928

[Bug target/108493] Interaction with builtin_defines (on PowerPC) and -traditional-cpp

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108493 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Target|

[Bug sanitizer/108497] New: UBsan at -O1 failed to report an integer-overflow

2023-01-23 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108497 Bug ID: 108497 Summary: UBsan at -O1 failed to report an integer-overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug d/108408] libphobos: Support building on *-*-cygwin

2023-01-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108408 ibuclaw at gcc dot gnu.org changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org

[Bug modula2/108493] New: Interaction with implicit includes and -traditional-cpp

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108493 Bug ID: 108493 Summary: Interaction with implicit includes and -traditional-cpp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug target/108495] [10/11/12/13 Regression] aarch64 ICE with __builtin_aarch64_rndr

2023-01-23 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108495 ktkachov at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug d/108408] libphobos: Support building on *-*-cygwin

2023-01-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108408 --- Comment #3 from ibuclaw at gcc dot gnu.org --- So a big part of what's missing in druntime bindings is *any* declarations for version(CRuntime_Newlib) targets. Though as I understand it, Cygwin is a bit of a hybrid in that matter.

[Bug target/55522] -funsafe-math-optimizations is unexpectedly harmful, especially w/ -shared

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 --- Comment #39 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:054e407b7f68f714c024d8a9c983fdd53ceead2b commit r13-5305-g054e407b7f68f714c024d8a9c983fdd53ceead2b Author: Richard Biener Date:

[Bug sanitizer/108481] UBsan missed a signed integer overflow

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108481 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug sanitizer/108497] UBsan at -O1 failed to report an integer-overflow

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108497 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug modula2/108493] Interaction with implicit includes and -traditional-cpp

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108493 --- Comment #1 from Iain Sandoe --- I can reproduce this with C - so it's not specifically a module-2 issue (but the use of traditional-cpp does trigger it .. and for keywords within (* *) so we need to figure out what the intended semantics are

[Bug analyzer/108432] Analyzer fails to detect out-of-bounds issues within loops

2023-01-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108432 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comm

[Bug c++/108496] [13 Regression] NRV ICE since r13-4469

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108496 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from

[Bug libgomp/108494] Slow thread creation with nested loops in GFortran

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108494 Richard Biener changed: What|Removed |Added Version|unknown |12.2.1 Keywords|

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 --- Comment #2 from Richard Biener --- how did you configure? does the build pick up the host tools?

[Bug d/108408] libphobos: Support building on *-*-cygwin

2023-01-23 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108408 --- Comment #5 from ibuclaw at gcc dot gnu.org --- (In reply to Corinna from comment #4) > I'm not sure what you mean with "hybrid". Probably the wrong word to use, based on what I was told via gcc irc. """ the relationship of cygwin1.dll and new

[Bug middle-end/88345] -Os overrides -falign-functions=N on the command line

2023-01-23 Thread mark at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345 --- Comment #14 from Mark Rutland --- > Patch posted before, but seems like not everybody agree: > https://gcc.gnu.org/pipermail/gcc-patches/2022-October/603049.html FWIW, from the arm64 kernel side all we need is a reliable mechanism to align f

[Bug c/108498] New: ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Bug ID: 108498 Summary: ppc64 big endian generates uninitialized reads with -fstore-merging Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero

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

[Bug d/108408] libphobos: Support building on *-*-cygwin

2023-01-23 Thread vinschen at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108408 --- Comment #4 from Corinna --- I'm not sure what you mean with "hybrid". Cygwin is just one of the citizens in the newlib libc world, supporting 16, 32, and 64 bit targets. Usually the most full-featured one, but still... The underlying str

[Bug c++/108496] [13 Regression] NRV ICE since r13-4469

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108496 Jakub Jelinek changed: What|Removed |Added CC||aldot at gcc dot gnu.org,

[Bug c++/108496] New: [13 Regression] NRV ICE since r13-4469

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108496 Bug ID: 108496 Summary: [13 Regression] NRV ICE since r13-4469 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/108496] [13 Regression] NRV ICE since r13-4469

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

[Bug libgomp/108494] Slow thread creation with nested loops in GFortran

2023-01-23 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108494 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Com

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 --- Comment #19 from Martin Liška --- (In reply to Richard Biener from comment #18) > No, you need to amend > > # move shared libs from versionspecific dir to main libdir > for libname in \ > %if %{build_fortran} > libgfortran \ > ... > > fo

[Bug libgomp/108494] Slow thread creation with nested loops in GFortran

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108494 --- Comment #3 from Jakub Jelinek --- Yeah, we only cache threads at the outermost parallelism level, for nested parallelism threads are created and destructed as needed. I know libomp basically never destroys threads (except for omp_pause_resou

[Bug c/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #1 from Adam Stylinski --- I also should note this affects GCC 11.3, as well. The code being generated via this optimization, while marginally shorter, seems to be rather suboptimal in general. Here's what clang's emitting for the

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #2 from Andrew P

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #3 from Adam Stylinski --- (In reply to Andrew Pinski from comment #2) > This might be a valgrind bug of not tracking bits correctly for some ppc > instructions. It's most certainly not, though. That bit is explicitly being set to

[Bug c++/108479] ICE in type_memfn_rqual, at cp/typeck.cc:10994

2023-01-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108479 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/108499] New: False positive -Warray-bounds

2023-01-23 Thread steveire at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 Bug ID: 108499 Summary: False positive -Warray-bounds Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/108491] cross compiler does not work: cc1: error: ‘-msecure-plt’ not supported by your assembler

2023-01-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108491 --- Comment #1 from Segher Boessenkool --- This error is from sysv4.h SUBTARGET_OVERRIDE_OPTIONS. -msecure-plt is unconditionally required. It looks like an oversight that it is not required in the assembler you used (which is that?)

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #4 from Adam Stylinski --- Also I strongly suspect valgrind is correctly identifying the unitialized bits because the underlying bug it produces is a "sometimes" bug, depending on what's on the heap. Sometimes insn.sat is 0 (when it

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

2023-01-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/108047] [13 Regression] ICE: unexpected expression of kind implicit_conv_expr since r13-4564-gd081807d8d70e3e8

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108047 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #6 from Adam Stylinski --- (In reply to Richard Biener from comment #5) > maybe a stack sharing issue? Can you try -fstack-reuse=none? So that does fix it, at least when the struct is backed by the stack. And also valgrind is no l

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #7 from Adam Stylinski --- Err wait, my bad, I had added the workaround in that source code. The bug still exists when I take out that pragma to push no store-merging. adam@g5box ~ $ valgrind ./test.out ==27014== Memcheck, a memory

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #8 from Adam Stylinski --- Here's the code GCC emits: 17a0 <.emit_test>: 17a0: 7c 08 02 a6 mflrr0 17a4: fb e1 ff f8 std r31,-8(r1) 17a8: 3d 42 ff fe addis r10,r2,-2

[Bug tree-optimization/108499] False positive -Warray-bounds

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108499 --- Comment #1 from Andrew Pinski --- Adding: if (!theSize) __builtin_unreachable(); After the declaration of theSize, fixes the warning. I don't know if in the original code there was a check for zero theSize or not but the warning di

[Bug analyzer/108432] Analyzer fails to detect out-of-bounds issues within loops

2023-01-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108432 --- Comment #2 from David Malcolm --- (In reply to Segher Boessenkool from comment #1) > Many warning messages are also dependent on optimisation level. And the > actual generated code is as well ;-) > > -O0 means do the least possible work to

[Bug c/108476] Please turn -Wreturn-type on by default for C

2023-01-23 Thread alexhenrie24 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108476 --- Comment #3 from Alex Henrie --- (In reply to Andrew Pinski from comment #1) > Note the warning should really be split into two different options. One for > the return type of the declaration and one for the missing return in > non-void case.

[Bug target/107678] [13 Regression] Segfault in aarch64_fallback_frame_state when running SVE code

2023-01-23 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107678 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:bcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc commit r13-5307-gbcc023e2b4dd0dc1fd1fca3ea12664d5bdade4dc Author: Iain Sandoe Date: Sat

[Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures

2023-01-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108447 --- Comment #25 from Andrew Macleod --- Created attachment 54327 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54327&action=edit possible patch There's another infrastructure patch which precedes this one which turns existing relation_un

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 --- Comment #17 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:47b269caf87904fd0112e8c9e96884dd0313ed15 commit r13-5308-g47b269caf87904fd0112e8c9e96884dd0313ed15 Author: Iain Sandoe Date: We

[Bug modula2/108480] gm2 fails to find SYSTEM module after relocation

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108480 --- Comment #2 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:47b269caf87904fd0112e8c9e96884dd0313ed15 commit r13-5308-g47b269caf87904fd0112e8c9e96884dd0313ed15 Author: Iain Sandoe Date: Wed

[Bug c/108500] New: -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-23 Thread dhekir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 Bug ID: 108500 Summary: -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls) Product: gcc

[Bug modula2/108405] modula-2: Testsuite fails: concurrentstore.mod, contimer.mod, tinytimer.mod on Darwin (and likely elsewhere)

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108405 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug modula2/108182] gm2 driver mishandles target and multilib options

2023-01-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108182 Iain Sandoe changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #9 from Andrew Pinski --- The only thing is memcpy could be broken ... I can't find anything wrong with the generated code. 17cc: 38 a0 00 44 li r5,68 ... 17d8: 3c 00 02 00 lis r0,512 1

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #10 from Andrew Pinski --- oh wait there is no store to 124 ...

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #11 from Adam Stylinski --- (In reply to Andrew Pinski from comment #9) > The only thing is memcpy could be broken ... > > I can't find anything wrong with the generated code. > > > 17cc: 38 a0 00 44 li r5,68 > ..

[Bug middle-end/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #12 from Andrew Pinski --- (In reply to Adam Stylinski from comment #11) > It's possible's a glibc bug and clang avoids it by simply not needing it but > it seems doubtful a small memcpy like this would have an issue that didn't > s

[Bug fortran/108501] New: [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941

2023-01-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108501 Bug ID: 108501 Summary: [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: nor

[Bug fortran/108502] New: ICE in gfc_check_dependency, at fortran/dependency.cc:1295

2023-01-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108502 Bug ID: 108502 Summary: ICE in gfc_check_dependency, at fortran/dependency.cc:1295 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/108503] New: [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

2023-01-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 Bug ID: 108503 Summary: [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norm

[Bug c++/108504] New: [13 Regression] ICE in cp_lexer_handle_early_pragma, at cp/parser.cc:675

2023-01-23 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108504 Bug ID: 108504 Summary: [13 Regression] ICE in cp_lexer_handle_early_pragma, at cp/parser.cc:675 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|middle-end

[Bug tree-optimization/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #14 from Adam Stylinski --- (In reply to Andrew Pinski from comment #13) > Ok, this seems wrong: > > New sequence of 1 stores to replace old one of 10 stores > # .MEM_102 = VDEF <.MEM_101> > MEM [(void *)&insn] = "\x02\x00\xff\x03\

[Bug c/108500] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls)

2023-01-23 Thread dhekir at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500 dhekir at gmail dot com changed: What|Removed |Added Attachment #54328|0 |1 is obsolete|

[Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread srinath.parvathaneni at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 Bug ID: 108505 Summary: Arm: arm-none-eabi toolchain build failing with compiler error. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread kungfujesus06 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 --- Comment #15 from Adam Stylinski --- (In reply to Adam Stylinski from comment #14) > (In reply to Andrew Pinski from comment #13) > > Ok, this seems wrong: > > > > New sequence of 1 stores to replace old one of 10 stores > > # .MEM_102 = VDE

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 --- Comment #1 from Andrew Pinski --- How did you configure GCC?

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread srinath.parvathaneni at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 --- Comment #2 from Srinath Parvathaneni --- /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/configure' '--target=arm-none-eabi' '--prefix=/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/install' '--with-gmp=/media/sripar01/2tb_work/t

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread srinath.parvathaneni at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 --- Comment #3 from Srinath Parvathaneni --- I introduced the bug, working on the fix.

[Bug target/108505] [13 Regression] Arm: arm-none-eabi toolchain build failing with compiler error.

2023-01-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/108432] Analyzer fails to detect out-of-bounds issues within loops

2023-01-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108432 --- Comment #3 from Segher Boessenkool --- (In reply to David Malcolm from comment #2) > Unfortunately, some analyzer warnings work better with optimization > *disabled*. -fanalyzer runs much later than most other static analyzers. Understood.

[Bug tree-optimization/108498] ppc64 big endian generates uninitialized reads with -fstore-merging

2023-01-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108498 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/108496] [13 Regression] NRV ICE since r13-4469

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108496 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4b125d01a5d5e601961419396332b74eea2219bb commit r13-5310-g4b125d01a5d5e601961419396332b74eea2219bb Author: Jason Merrill Date: Mo

[Bug c++/108496] [13 Regression] NRV ICE since r13-4469

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

[Bug c++/108195] [13 Regression] Incorrect implicit conversion when assigning initializer_list to std::vector since r13-4564-gd081807d8d70e3

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

[Bug fortran/108420] [13 Regression] ICE in check_charlen_present, at fortran/iresolve.cc:98 since r13-4394-g3832c6f7e672e76b

2023-01-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108420 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e6669c0a50ed8aee9e5997d61e6271668d149218 commit r13-5311-ge6669c0a50ed8aee9e5997d61e6271668d149218 Author: Harald Anlauf Date: M

[Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs

2023-01-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 qinzhao at gcc dot gnu.org changed: What|Removed |Added CC||qinzhao at gcc dot gnu.org

[Bug fortran/108501] [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941

2023-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108501 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-01-23 Keyword

[Bug tree-optimization/107952] tree-object-size: inconsistent size for flexible arrays nested in structs

2023-01-23 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952 --- Comment #7 from qinzhao at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > GCC considered this as a flex-array. do you mean for the following example: typedef struct { char pad; char data[]; } F2; typedef struct {

[Bug fortran/108501] [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941

2023-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108501 --- Comment #2 from anlauf at gcc dot gnu.org --- Created attachment 54330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54330&action=edit Patch for the ICE in get_expr_storage_size

[Bug fortran/108501] [13 Regression] ICE in get_expr_storage_size, at fortran/interface.cc:2941

2023-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108501 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code, |ice-on-invalid-code

[Bug fortran/108502] ICE in gfc_check_dependency, at fortran/dependency.cc:1295

2023-01-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108502 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2023-01-23 Statu

  1   2   >