[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #4 from Richard Biener --- BOOLEAN_TYPE means it has two values (else undefined), when the values are 0 and 1 the precision can always be 1 and just TYPE_SIZE can be larger when required (fortran bools). With values -1 and 0 and vec

[Bug middle-end/110492] Attempted optimization of switch statement pessimizes it instead

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

[Bug target/108742] Incorrect constant folding with (or exposed by) -fexcess-precision=standard

2023-06-30 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108742 Matthias Kretz (Vir) changed: What|Removed |Added CC||mkretz at gcc dot gnu.org --- Co

[Bug target/108742] Incorrect constant folding with (or exposed by) -fexcess-precision=standard

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108742 Jakub Jelinek changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #15 from Jakub Je

[Bug middle-end/110489] Slow building virtual.c.i from p11-kit

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

[Bug c++/110493] 'is not a constant expression' for function-local static std::initializer_list with fsanitize=undefined

2023-06-30 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110493 --- Comment #4 from Ed Catmur --- Ah, thanks. So a workaround is something like: void f() { static auto a = {((bool*)&(int const&)0, std::string())}; } That's not too bad, then.

[Bug fortran/87908] [PDT] ICE in check_interface0, at fortran/interface.c:1841

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87908 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Block

[Bug fortran/95504] [PDT] ICE in transfer_array_component, at fortran/trans-io.c:2167

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95504 Paul Thomas changed: What|Removed |Added Blocks||82173 CC|

[Bug fortran/95541] [PDT] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6909

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95541 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas ---

[Bug fortran/95543] [PDT] ICE in is_CFI_desc, at fortran/expr.c:1080

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95543 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Block

[Bug fortran/98023] ICE: [PDT] free_expr0(): Bad expr type

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98023 --- Comment #4 from Paul Thomas --- Added to PDT meta-bug

[Bug fortran/99709] [PDT] VALUE attribute for an object with nonconstant length parameter

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99709 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Block

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

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/102240] [PDT] derived type parameter does not shadow variable name in enclosing scope

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102240 Paul Thomas changed: What|Removed |Added Blocks||82173 CC|

[Bug fortran/102241] [PDT] ICE when declaring derived type with a parameterized derived type member

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102241 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Bloc

[Bug fortran/102457] [PDT] ICE in fold_convert_const_int_from_real, at fold-const.c:2034

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102457 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas --

[Bug fortran/102686] [PDT] ICE in check_host_association, at fortran/resolve.c:6055

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102686 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas --

[Bug fortran/102901] ICE (segfault) when compiling pdt_13.f03 with -fcheck=all in gfc_check_pdt_dummy -> structure_alloc_comps

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102901 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Bloc

[Bug fortran/103371] [PDT] f951: internal compiler error: Aborted (free(): double free detected in tcache 2) when giving diagnostics on type of a parameter expression since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103371 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #2 from Paul Thomas --

[Bug middle-end/110489] Slow building virtual.c.i from p11-kit

2023-06-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110489 --- Comment #4 from Richard Biener --- There would possibly be opportunity to optimize some of our infrastructure for the case where we have 3 basic blocks (the minimum, ENTRY, bb2 and EXIT). For example dominance compute doesn't need to be "co

[Bug middle-end/110489] Slow building virtual.c.i from p11-kit

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110489 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:18e5aeaef294428fc8458c2c70a9ac3a537c35d6 commit r14-2209-g18e5aeaef294428fc8458c2c70a9ac3a537c35d6 Author: Richard Biener Date:

[Bug fortran/103414] [10/11/12/13/14 Regression] [PDT] ICE in gfc_free_actual_arglist, at fortran/expr.c:547 since r10-2083-g8dc63166e0b85954

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103414 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/103508] [PDT] ICE in gfc_find_symtree, at fortran/symbol.c:2979

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103508 Paul Thomas changed: What|Removed |Added Blocks||82173 Ever confirmed|0

[Bug fortran/103748] [PDT] Variable declaration with PDT syntax when the type is not a PDT fails to trigger a syntax error

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103748 Paul Thomas changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/104096] ICE with parameterized derived type (PDT)

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 Paul Thomas changed: What|Removed |Added Blocks||82173 CC|

[Bug fortran/104097] parameterized derived type (PDT) with type-bound procedure

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104097 Paul Thomas changed: What|Removed |Added Ever confirmed|0 |1 Blocks|

[Bug fortran/104650] [PDT] ICE in gfc_resolve_finalizers, at fortran/resolve.cc:13749 since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104650 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #3 from Paul Thomas --

[Bug fortran/105380] [PDT] ICE in gfc_conv_array_initializer, at fortran/trans-array.cc:6317 since r8-3056-g5bab4c9631c478b7

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105380 Paul Thomas changed: What|Removed |Added Blocks||82173 --- Comment #3 from Paul Thomas --

[Bug fortran/107142] [PDT] ICE: Segmentation fault (in next_statement)

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107142 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Bloc

[Bug fortran/107142] [PDT] ICE: Segmentation fault (in next_statement)

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107142 --- Comment #2 from Paul Thomas --- Added to PDT meta-bug

[Bug fortran/108663] Accepts invalid bug with pdtXXX

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108663 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org Bloc

[Bug fortran/106242] [PDT] Internal compiler error: Parameterised derived types

2023-06-30 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106242 Paul Thomas changed: What|Removed |Added Blocks||82173 CC|

[Bug tree-optimization/110495] New: fre introduces signed wrap for vector

2023-06-30 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110495 Bug ID: 110495 Summary: fre introduces signed wrap for vector Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optim

[Bug middle-end/110294] [10/11 Regression] Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2023-06-30 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Another related and smaller reproducer: # cat tmp.i a; *const b; main() { a != *b; }

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org Ever c

[Bug tree-optimization/110496] New: ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654

2023-06-30 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110496 Bug ID: 110496 Summary: ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654 Product: gcc V

[Bug c++/110497] New: Wrong error on non-static data member referenced in concept definition

2023-06-30 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110497 Bug ID: 110497 Summary: Wrong error on non-static data member referenced in concept definition Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/110282] Segmentation fault with specific optimizations

2023-06-30 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #6 from CTC <19373742 at buaa dot edu.cn> --- Another related and smaller reproducer: # cat tmp.i main() { int *a = 0; int b = *a; }

[Bug middle-end/110282] Segmentation fault with specific optimizations

2023-06-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110282 --- Comment #7 from Xi Ruoyao --- (In reply to CTC from comment #6) > Another related and smaller reproducer: > > # cat tmp.i > main() { > int *a = 0; > int b = *a; > } No, this is an undefined behavior and the compiler is allowed to gener

[Bug middle-end/110294] [10/11 Regression] Segmentation fault with '-O3 -fno-dce -fno-toplevel-reorder -fno-tree-dce -fno-tree-pta -fno-tree-sink -ftoplevel-reorder'

2023-06-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110294 --- Comment #4 from Xi Ruoyao --- (In reply to CTC from comment #3) > Another related and smaller reproducer: > > # cat tmp.i > a; > *const b; > main() { a != *b; } This is an undefined behavior and the compiler is allowed to generate code to

[Bug middle-end/110495] fre introduces signed wrap for vector

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

[Bug c++/110497] Wrong error on non-static data member referenced in concept definition

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110497 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Last reconfirmed|

[Bug tree-optimization/110496] ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654

2023-06-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110496 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug tree-optimization/110496] ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654

2023-06-30 Thread sirl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110496 --- Comment #2 from Franz Sirl --- Forget to mention, needs -O2 or higher to reproduce. Was exposed by r14-2150-gfe48f2651334bc4d96b6df6b2bb6b29fcb732a83 .

[Bug tree-optimization/110496] ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110496 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4f8e31e01bd04ab17a53deb5aa44bd82c885b228 commit r14-2211-g4f8e31e01bd04ab17a53deb5aa44bd82c885b228 Author: Richard Biener Date:

[Bug tree-optimization/110496] ICE: tree check: expected none of vector_type, have vector_type in find_bswap_or_nop_1, at gimple-ssa-store-merging.cc:654

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

[Bug libstdc++/110498] New: Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve

2023-06-30 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110498 Bug ID: 110498 Summary: Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug tree-optimization/110487] [12/13/14 Regression] invalid wide Boolean value

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110487 --- Comment #5 from Andrew Pinski --- I think there is zero_one_value_p is also accepting signed-boolean:32 incorrectly too ...

[Bug analyzer/110483] Several gcc.dg/analyzer/out-of-bounds-diagram-*.c tests FAIL

2023-06-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110483 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from David Malcolm --- > Thanks for filing this; sorry about the failures. > > What's the endianness of the hosts that this is happening on? Solaris/SPARC and AIX are

[Bug c++/110497] Wrong error on non-static data member referenced in concept definition

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110497 Patrick Palka changed: What|Removed |Added Blocks||67491 CC|

[Bug target/110478] RISC-V multilib gcc zicsr in the -march causing incorrect libgcc to be used

2023-06-30 Thread bmeng.cn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110478 --- Comment #6 from Bin Meng --- While I am figuring out the build failure, Palmer or Kito, are you able to reproduce this libgcc bug with zicsr on the GCC HEAD?

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #3 from Marek Polacek --- (In reply to Eric Botcazou from comment #2) > Confirmed, but > > Author: Marek Polacek > Date: Wed May 3 17:06:13 2023 -0400 > > configure: Implement --enable-host-pie > ada/ > * gcc-interface/

[Bug tree-optimization/110499] New: malloc branch predictor is broken

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110499 Bug ID: 110499 Summary: malloc branch predictor is broken Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiz

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-30 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #13 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #10 from Jonathan Wakely --- > (In reply to Jonathan Wakely from comment #9) >> One solution would be to just add the declaration to the header, and adjust >> the exports

[Bug fortran/88632] [F08] function contained in module invisible to submodule unless declared public

2023-06-30 Thread daryl.00179 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88632 Pablo changed: What|Removed |Added CC||daryl.00179 at gmail dot com --- Comment #4 from

[Bug c++/107079] [10/11 Regression] ICE initializing lifetime-extended constexpr variable that stores its this pointer

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107079 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org Target Mile

[Bug fortran/104630] module subroutine not accessible from submodule

2023-06-30 Thread daryl.00179 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104630 Pablo changed: What|Removed |Added CC||daryl.00179 at gmail dot com --- Comment #3 fro

[Bug c++/102921] error: modification of '' is not a constant expression

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102921 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/110381] [11/12/13 Regression] double counting for sum of structs of floating point types

2023-06-30 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #15 from Christophe Lyon --- (In reply to Richard Biener from comment #14) > (In reply to Christophe Lyon from comment #12) > > The new testcase (gcc.dg/vect/pr110381.c) fails: > > FAIL: gcc.dg/vect/pr110381.c -flto -ffat-lto-objects

[Bug c/110500] New: gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate

2023-06-30 Thread 141242068 at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110500 Bug ID: 110500 Summary: gcc: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in c_parser_omp_clause_allocate Product: gcc

[Bug libstdc++/105081] Make std::random_device throw std::system_error

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105081 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d6a6a4ea086d6af97bd7fbd482f51df41c265b79 commit r14-2217-gd6a6a4ea086d6af97bd7fbd482f51df41c265b79 Author: Jonathan Wakely Date:

[Bug c++/92181] initializer_list & string_view result in "modification of '' is not a constant expression

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/55004] [meta-bug] constexpr issues

2023-06-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 92181, which changed state. Bug 92181 Summary: initializer_list & string_view result in "modification of '' is not a constant expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92181 What|Removed

[Bug testsuite/108835] gm2 tests at large -jNN numbers do not return

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108835 --- Comment #7 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:ef4ea6e08707d27674a8c5ddb4b478aac8713c03 commit r14-2218-gef4ea6e08707d27674a8c5ddb4b478aac8713c03 Author: Iain Sandoe Date: Sat

[Bug middle-end/109849] suboptimal code for vector walking loop

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #20 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:eab57b825bcc350e9ff44eb2fa739a80199d9bb1 commit r14-2219-geab57b825bcc350e9ff44eb2fa739a80199d9bb1 Author: Jan Hubicka Date: Fri

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #12 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fe2651affa8c15624188bfd062fb894648743431 commit r14-2221-gfe2651affa8c15624188bfd062fb894648743431 Author: Jonathan Wakely Date

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

2023-06-30 Thread vultkayn at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105948 --- Comment #1 from Benjamin Priour --- I'm writing a patch for this, and I've got support for non symbolic bounds. However, as I wrote my patch, a missing warning came up. Consider the test case: --- void var_too_short () { short s; long

[Bug libstdc++/110077] [14 regression] libstdc++-abi/abi_check FAILs on Solaris

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110077 --- Comment #14 from Jonathan Wakely --- (In reply to r...@cebitec.uni-bielefeld.de from comment #13) > That would mean an implementation of C23 Annex H, right? IIUC, > implementing that is optional. Right (on both counts). > However, I can r

[Bug analyzer/110501] New: Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 Bug ID: 110501 Summary: Invalid use-after-free / realloc Product: gcc Version: 12.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug analyzer/110501] Invalid use-after-free / realloc

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #1 from Cheyenne Wills --- Created attachment 55434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55434&action=edit stdout/stderr from compile

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-06-30 Thread sascha.scandella at dentsplysirona dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #13 from Sascha Scandella --- Awesome. Thanks a lot for the provided solution! Nice! Is already known when approximately GCC 13.2 will be released? Have a great weekend!

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #8 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c3c0ba5436170e01499f4390b7b628a32943a9e2 commit r14-2223-gc3c0ba5436170e01499f4390b7b628a32943a9e2 Author: David Malcolm Date: F

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:6735d66083953315c0d7d491df07d36061093a24 commit r14--g6735d66083953315c0d7d491df07d36061093a24 Author: David Malcolm Date: F

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

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

[Bug bootstrap/110467] Bootstrap with Ada enabled fails with --enable-host-pie

2023-06-30 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467 --- Comment #4 from Eric Botcazou --- > You were CC'd here: > , FWIW. I totally missed it, sorry about that. :-(

[Bug jit/110466] jit.dg FAILs on ppc64le

2023-06-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110466 --- Comment #9 from David Malcolm --- Should be fixed on trunk for gcc 14 by the above commits. Keeping open to track backporting to gcc 13.

[Bug tree-optimization/110501] Invalid use-after-free / realloc at -O0

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 Andrew Pinski changed: What|Removed |Added Summary|Invalid use-after-free /|Invalid use-after-free /

[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #3 from Andrew Pinski --- Oh GCC warns even with optimizations turned on ...

[Bug tree-optimization/110501] Invalid use-after-free / realloc with a store/load happening

2023-06-30 Thread cheyenne.wills at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110501 --- Comment #4 from Cheyenne Wills --- (In reply to Andrew Pinski from comment #3) > Oh GCC warns even with optimizations turned on ... Correct. For gcc-12 the failure only occurs with -O0. With gcc-13 (and later), the problem occurs with or

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #10 from Jan Hubicka --- I am testing: diff --git a/gcc/cfg.cc b/gcc/cfg.cc index 897ef534ff5..defdf679f7b 100644 --- a/gcc/cfg.cc +++ b/gcc/cfg.cc @@ -922,7 +922,6 @@ update_bb_profile_for_threading (basic_block bb, fprintf

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #11 from Jan Hubicka --- The following are passes affecting mismatches for tramp3d -O3 build: 107t cunrolli | 85 +77 110t forwprop | 87+2 113t fre |151 +64 115t threadfull

[Bug tree-optimization/110502] New: [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd

2023-06-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110502 Bug ID: 110502 Summary: [14 Regression] Dead Code Elimination Regression at -Os since r14-1656-g55fcaa9a8bd Product: gcc Version: 14.0 Status: UNCONFIRMED Seve

[Bug rtl-optimization/110220] [13/14 Regression] ICE in patch_jump_insn, at cfgrtl.cc:1295 - avr/xmega

2023-06-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110220 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment #

[Bug tree-optimization/110503] New: [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e

2023-06-30 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110503 Bug ID: 110503 Summary: [13/14 Regression] Dead Code Elimination Regression at -O3 since r13-322-g7f04b0d786e Product: gcc Version: 14.0 Status: UNCONFIRMED S

[Bug libstdc++/110504] New: std::format("{:%S}", duration>(4)) returns "02.0" instead of "02"

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110504 Bug ID: 110504 Summary: std::format("{:%S}", duration>(4)) returns "02.0" instead of "02" Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/110505] New: Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result

2023-06-30 Thread everythingfunctional at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110505 Bug ID: 110505 Summary: Memory Problems with Array Constructor From Zero Size Allocatable Array Function Result Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug target/110217] [avr] SREG: use BSET and BCLR instead of load/modify/write

2023-06-30 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110217 Georg-Johann Lay changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Geor

[Bug libstdc++/110504] std::format("{:%S}", duration>(4)) returns "02.0" instead of "02"

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

[Bug libstdc++/110355] std::format("{}", 1e-7) returns "1e-07" instead of "1e-7"

2023-06-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110355 Jonathan Wakely changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c/110506] New: ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 Bug ID: 110506 Summary: ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686 Product: gcc Version: unkn

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #31 from anlauf at gcc dot gnu.org --- Looking at rng_stream_sub.o with objdump, I see fprem generated for 13 & 14, but not for 12. I haven't yet found an option to suppress its generation and fall back to the behavior of 12-branch.

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 Jakub Jelinek changed: What|Removed |Added CC||uros at gcc dot gnu.org --- Comment #32

[Bug tree-optimization/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #12 from CVS Commits --- The master branch has been updated by Qing Zhao : https://gcc.gnu.org/g:e050ce7c3adf71eedd5482c29cf54b827e026642 commit r14-2225-ge050ce7c3adf71eedd5482c29cf54b827e026642 Author: Qing Zhao Date: Fri Jun

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #33 from anlauf at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #32) > Then maybe r13-6361-g8020c9c42349f51f75239b > is the commit that changed it? > Would be good to put a breakpoint at that instruction and see in whic

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #34 from anlauf at gcc dot gnu.org --- A few more data points: reverting r13-6361-g8020c9c42349f51f75239b on 13-branch fixes the issue: no fprem generated, no FPE. Adding -ffinite-math-only to the modified 13-branch restores the FPE

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-06-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55427|0 |1 is obsolete|

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #35 from Uroš Bizjak --- (In reply to anlauf from comment #33) > (In reply to Jakub Jelinek from comment #32) > > Then maybe r13-6361-g8020c9c42349f51f75239b > > is the commit that changed it? > > Would be good to put a breakpoint at

[Bug tree-optimization/110311] [14 Regression] regression in tree-optimizer

2023-06-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110311 --- Comment #36 from anlauf at gcc dot gnu.org --- Breakpoint 2, rng_stream.rng_stream_s::mmm_mod (x1=330289839997, x2=4294967087) at rng_stream_sub.f90:336 336 res = mod (x1, x2) (gdb) info float R7: Valid 0x401be51fb578 +480

[Bug middle-end/31985] Wide operations (i.e. adddi3) are split too late

2023-06-30 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31985 Roger Sayle changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug tree-optimization/110506] [14 Regression] Ice: tree check: expected none of vector_type, have vector_type in get_value_for_expr, at tree-ssa-ccp.cc:686

2023-06-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110506 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Keywords|

  1   2   >