[Bug tree-optimization/107368] New: [13 Regression] ICE: 'verify_gimple' failed (error: non-trivial conversion in 'var_decl')

2022-10-23 Thread asolokha at gmx dot com via Gcc-bugs
Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc 13.0.0 20221023 snapshot (g

[Bug tree-optimization/106076] Sub-optimal code is generated for checking bitfields via proxy functions

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/106076] Sub-optimal code is generated for checking bitfields via proxy functions

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106076 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/85043] -Wuseless-cast false positive for temporary objects; add separate -Wcast-to-the-same-type to cover that case instead

2022-10-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85043 --- Comment #17 from Eric Gallager --- (In reply to Marek Polacek from comment #16) > Should be fixed now. It seems the fix just silenced the -Wuseless-cast false positive without also adding the separate -Wcast-to-the-same-type flag to cover

[Bug libstdc++/107367] All standard library algorithms should optimize to pointers internally when they are contiguous iterators after C++20

2022-10-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107367 --- Comment #1 from cqwrteur --- This optimization will prevent duplications of templates over iterators and pointers. (vector::iterator and int* duplications for example) For example: https://godbolt.org/z/9zEajxxa8 vs

[Bug libstdc++/107367] New: All standard library algorithms should detect whether they are contiguous iterators after C++20

2022-10-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107367 Bug ID: 107367 Summary: All standard library algorithms should detect whether they are contiguous iterators after C++20 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug middle-end/106081] missed vectorization

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/107364] [10/11/12/13 Regression] ICE on Via Nehemiah with --march=native

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 Andrew Pinski changed: What|Removed |Added Host|X86_64 |i?86-linux-gnu Keywords|

[Bug c++/107361] Why does -Wclass-memaccess require trivial types, instead of trivially-copyable types?

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107361 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/legacy-ml/gcc-patches/2017-04/msg01571.html

[Bug fortran/105633] ICE in find_array_section, at fortran/expr.cc:1582

2022-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105633 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:910156619c93ff988587762b446542c4dfbb00a2 commit r10-11055-g910156619c93ff988587762b446542c4dfbb00a2 Author: Harald Anlauf

[Bug fortran/105633] ICE in find_array_section, at fortran/expr.cc:1582

2022-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105633 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c6ff6ca2fcefdd5edc37011a2ba8412a466d9b0b commit r11-10330-gc6ff6ca2fcefdd5edc37011a2ba8412a466d9b0b Author: Harald Anlauf

[Bug fortran/105633] ICE in find_array_section, at fortran/expr.cc:1582

2022-10-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105633 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:e3c997824f17dd6a4f7eb8d668b9ed2ef84408fc commit r12-8860-ge3c997824f17dd6a4f7eb8d668b9ed2ef84408fc Author: Harald Anlauf

[Bug fortran/107362] Segfault for recursive class

2022-10-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/105774] Bogus overflow in constant expression with signed char++

2022-10-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105774 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/107363] Wrong caret location for "redundant move in return statement" and nvo

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 --- Comment #1 from Andrew Pinski --- The wrong caret comes from named return value optimization iirc.

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-23 Thread kaploceh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #9 from Carlos E --- (In reply to Martin Liška from comment #7) > (In reply to Carlos E from comment #6) > > (In reply to Martin Liška from comment #4) > > > > When you say to attach a preprocessed source, what would be the most > >

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-23 Thread kaploceh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #8 from Carlos E --- Created attachment 53762 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53762=edit preprocessed file

[Bug tree-optimization/107365] ICE in verify_range, at value-range.cc:726

2022-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107365 --- Comment #2 from Aldy Hernandez --- Created attachment 53761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53761=edit untested

[Bug tree-optimization/107365] ICE in verify_range, at value-range.cc:726

2022-10-23 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107365 --- Comment #1 from Aldy Hernandez --- Ok, this is getting ridiculous. I'm tired of these weird finite-math-only combinations in Vax and rx-elf. I think we should just test -ffinite-math-only and -fno-finite-math-only in the self tests for

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-23 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #9 from avieira at gcc dot gnu.org --- Hi Eric, I realised the same, got a patch pending here: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/604139.html

[Bug c/107366] New: -fanalyzer with -fdiagnostics-format=sarif-file or sarif-stderr

2022-10-23 Thread rainer.keller--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107366 Bug ID: 107366 Summary: -fanalyzer with -fdiagnostics-format=sarif-file or sarif-stderr Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug tree-optimization/107365] ICE in verify_range, at value-range.cc:726

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

[Bug tree-optimization/107365] New: ICE in verify_range, at value-range.cc:726

2022-10-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107365 Bug ID: 107365 Summary: ICE in verify_range, at value-range.cc:726 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c/107364] New: ICE on Via Nehemiah with --march=native

2022-10-23 Thread orzel at freehackers dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107364 Bug ID: 107364 Summary: ICE on Via Nehemiah with --march=native Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/107363] New: Wrong caret location for "redundant move in return statement"

2022-10-23 Thread dani at danielbertalan dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107363 Bug ID: 107363 Summary: Wrong caret location for "redundant move in return statement" Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/107360] ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA

2022-10-23 Thread izbyshev at ispras dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107360 --- Comment #2 from Alexey Izbyshev --- (In reply to Andrew Pinski from comment #1) > Maybe this should be invalid code ... Yes, I think it should be invalid. VLAs are not allowed in function return types in C. VLAs in C++ are a GCC extension,

[Bug fortran/107362] New: Segfault for recursive class

2022-10-23 Thread baradi09 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107362 Bug ID: 107362 Summary: Segfault for recursive class Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/107361] New: Why does -Wclass-memaccess require trivial types, instead of trivially-copyable types?

2022-10-23 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107361 Bug ID: 107361 Summary: Why does -Wclass-memaccess require trivial types, instead of trivially-copyable types? Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/107360] ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107360 Andrew Pinski changed: What|Removed |Added Keywords|ice-on-valid-code | --- Comment #1 from Andrew Pinski

[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-10-23

[Bug c++/107360] New: ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA

2022-10-23 Thread izbyshev at ispras dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107360 Bug ID: 107360 Summary: ICE on sizeof(*f(x)) when f's (deduced) return type is a pointer to VLA Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity:

[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359 --- Comment #1 from Andrew Pinski --- Options: -O3 -march=armv8.2-a+sve