[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 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 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/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 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 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 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

[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 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 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/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

[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 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:

[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

[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

[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 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:

[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 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

[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/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

[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/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/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/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/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/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/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 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 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

[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 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

[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/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/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

[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/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/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

[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/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

[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/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/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

[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 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 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

[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 ---

[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 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

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

2023-06-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #14 from Richard Biener --- (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 execution test > FAIL: gcc.dg/vect/pr110381.c

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

2023-06-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110381 --- Comment #13 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c0439218eb79aa0293291aed92453a59db8c6e85 commit r14-2207-gc0439218eb79aa0293291aed92453a59db8c6e85 Author: Richard Biener Date:

[Bug middle-end/110443] [14 Regression] ICE on a52dec-0.7.4: GIMPLE pass: vect SIGSEGV in vect_get_gather_scatter_ops()

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

<    1   2