[Bug tree-optimization/107005] gcc not exploiting undefined behavior to optimize away the result of division

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005 Richard Biener changed: What|Removed |Added Resolution|--- |WONTFIX Keywords|

[Bug tree-optimization/107004] [12/13 Regression] GCC12 warning in OOB access: array subscript is partly outside array bounds

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107004 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-09-22 Ever confirmed|0

[Bug c/107002] [13 Regression] ICE in column_range, at diagnostic-show-locus.cc:2236

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107002 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 CC|

[Bug fortran/106999] [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106999 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 106994, which changed state. Bug 106994 Summary: [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 What|Removed

[Bug target/106966] alpha cross build crashes gcc-12 "internal compiler error: in emit_move_insn"

2022-09-21 Thread christian.ehrhardt at canonical dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106966 --- Comment #5 from Christian Ehrhardt --- Thanks Uroš for the explanation. I've tried and it does not bail out with a relocation overflow when dropping -mbuild-constants. I've suggested to upstream to consider that change. => https://gitlab.c

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 --- Comment #4 from Hongtao.liu --- Fixed in GCC13.

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:cbaa0ed34e1429dd9861350532534a85a07d220d commit r13-2767-gcbaa0ed34e1429dd9861350532534a85a07d220d Author: liuhongt Date: Wed Sep

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-21 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 --- Comment #3 from Johel Ernesto Guerrero Peña --- So this is a duplicate of Bug 100687.

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #9 from H. Peter Anvin --- To clarify: the C test case produces the same output regardless if it is compiled as C or C++. Only the C++ wrapped class definition detects the additional case of a 32-bit bigendian load.

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #8 from H. Peter Anvin --- Created attachment 53610 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53610&action=edit C++ test case object code

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #7 from H. Peter Anvin --- Created attachment 53609 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53609&action=edit C++ test case assembly output

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #6 from H. Peter Anvin --- Created attachment 53608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53608&action=edit C++ test case preprocessed source

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #5 from H. Peter Anvin --- Created attachment 53607 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53607&action=edit C++ test case main file

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #4 from H. Peter Anvin --- Created attachment 53606 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53606&action=edit C++ test case class definition header file

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #3 from H. Peter Anvin --- Created attachment 53605 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53605&action=edit C test case object code

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #2 from H. Peter Anvin --- Created attachment 53604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53604&action=edit C test case assembly output

[Bug rtl-optimization/107006] Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 --- Comment #1 from H. Peter Anvin --- Created attachment 53603 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53603&action=edit C test case preprocessed source

[Bug rtl-optimization/107006] New: Missing optimization: common idiom for external data

2022-09-21 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107006 Bug ID: 107006 Summary: Missing optimization: common idiom for external data Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/101991] bit_and or bit_ior with an invariant inside loop is not pulled out of the loop

2022-09-21 Thread lingling.kong7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101991 kong lingling changed: What|Removed |Added CC||lingling.kong7 at gmail dot com --- Com

[Bug tree-optimization/105735] GCC failed to reduce &= loop_inv in loop.

2022-09-21 Thread lingling.kong7 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105735 kong lingling changed: What|Removed |Added CC||lingling.kong7 at gmail dot com --- Com

[Bug target/106910] roundss not vectorized

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #11 from Hongtao.liu --- (In reply to Hongtao.liu from comment #10) > Because the round insn does not trap on denormals. Note for scalar version, gcc generates roundss $9, %xmm0, %xmm0 which doesn't raise exception because it's allo

[Bug target/106910] roundss not vectorized

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #10 from Hongtao.liu --- Because the round insn does not trap on denormals.

[Bug tree-optimization/107005] gcc not exploiting undefined behavior to optimize away the result of division

2022-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005 --- Comment #2 from Andrew Pinski --- Even ICC warns

[Bug tree-optimization/107005] gcc not exploiting undefined behavior to optimize away the result of division

2022-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005 --- Comment #1 from Andrew Pinski --- That is because GCC constants folds INT_MIN / -1 into INT_MIN. GCC warns about this code for this expression while clang does not ...

[Bug tree-optimization/95565] [Feature request] add a flag to only instrument function entry.

2022-09-21 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95565 --- Comment #2 from AK --- clang has `-finstrument-function-entry-bare` to this effect: https://reviews.llvm.org/D40276

[Bug tree-optimization/107005] New: gcc not exploiting undefined behavior to optimize away the result of division

2022-09-21 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005 Bug ID: 107005 Summary: gcc not exploiting undefined behavior to optimize away the result of division Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug ipa/106991] new+delete pair not optimized by g++ at -O3 but optimized at -Os

2022-09-21 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106991 --- Comment #3 from AK --- Thanks for identifying the underlying issue @Jan After modifying the definition of operator delete. gcc does optimize it at -O3 as well. https://godbolt.org/z/1WPqaWrEr // source code #include #include int volatile

[Bug fortran/100103] Automatic reallocation fails inside select rank

2022-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100103 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libstdc++/54185] [4.7/4.8 Regression] condition_variable not properly destructed

2022-09-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54185 --- Comment #17 from Jonathan Wakely --- Yes, I've raised this with the AIX pthreads team, but they disagreed with my interpretation of POSIX. They said my reduced example was incorrect because pthread_cond_destroy() and pthread_mutex_destroy() c

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 --- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 53601 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53601&action=edit Hackish patch This patch fixes all ICE in comment#0 and comment#1. However, it papers over the issu

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/82868] ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203

2022-09-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82868 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|u

[Bug libstdc++/54185] [4.7/4.8 Regression] condition_variable not properly destructed

2022-09-21 Thread paul.groke at dynatrace dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54185 Paul Groke changed: What|Removed |Added CC||paul.groke at dynatrace dot com --- Comment

[Bug tree-optimization/107004] New: GCC12 warning in OOB access: array subscript is partly outside array bounds

2022-09-21 Thread rogerio.souza at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107004 Bug ID: 107004 Summary: GCC12 warning in OOB access: array subscript is partly outside array bounds Product: gcc Version: 12.2.0 URL: https://godbolt.org/z/aoYh66EYb

[Bug c++/106654] [C++23] P1774 - Portable assumptions

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

[Bug c++/107003] ICE in mangle_decl, at cp/mangle.cc:4112

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

[Bug c++/107003] New: ICE in mangle_decl, at cp/mangle.cc:4112

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107003 Bug ID: 107003 Summary: ICE in mangle_decl, at cp/mangle.cc:4112 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/107002] New: [13 Regression] ICE in column_range, at diagnostic-show-locus.cc:2236

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107002 Bug ID: 107002 Summary: [13 Regression] ICE in column_range, at diagnostic-show-locus.cc:2236 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/107001] New: ICE in expand_gimple_stmt_1, at cfgexpand.cc:4017

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107001 Bug ID: 107001 Summary: ICE in expand_gimple_stmt_1, at cfgexpand.cc:4017 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/107000] ICE in gfc_real2complex, at fortran/arith.cc:2243

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

[Bug fortran/107000] New: ICE in gfc_real2complex, at fortran/arith.cc:2243

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 Bug ID: 107000 Summary: ICE in gfc_real2complex, at fortran/arith.cc:2243 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/106999] [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106999 --- Comment #1 from G. Steinmetz --- FYI, a directly matching variant compiles : $ cat z2.f90 program p type t procedure(g), pointer :: f end type class(t), allocatable :: z call s(z%f) contains subroutine g(x) class

[Bug fortran/106999] New: [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at fortran/trans-expr.cc:233

2022-09-21 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106999 Bug ID: 106999 Summary: [11/12/13 Regression] ICE tree check: expected record_type or union_type or qual_union_type, have function_type in gfc_class_data_get, at f

[Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets

2022-09-21 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998 Bug ID: 106998 Summary: libsanitizer PATH_MAX not defined for linux new targets Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture'

2022-09-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106981 --- Comment #4 from Tobias Burnus --- Obviously, my ICE-preventing patch (→ comment 2) does not work well as it now rejects the following, which looks fine: error: invalid form of ‘#pragma omp atomic’ before ‘;’ token 66 |

[Bug libstdc++/91456] std::function and std::is_invocable_r do not understand guaranteed elision

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:5814816641389dd76153aae63e8ccb67a1a9a321 commit r13-2764-g5814816641389dd76153aae63e8ccb67a1a9a321 Author: Jonathan Wakely Date:

[Bug c++/106997] Use coroutines on avr-gcc

2022-09-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106997 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug c++/106997] New: Use coroutines on avr-gcc

2022-09-21 Thread klaus.doldinger64 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106997 Bug ID: 106997 Summary: Use coroutines on avr-gcc Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture'

2022-09-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106981 --- Comment #3 from Jakub Jelinek --- Yes, this is certainly not valid OpenMP, if in the syntax x or expr or r appears multiple times, then each occurence needs to be the exact same set of tokens and due to the "During the execution of an atomic

[Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture'

2022-09-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106981 Tobias Burnus changed: What|Removed |Added Keywords|ice-on-valid-code |ice-on-invalid-code --- Comment #2 from

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-09-21 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:c3fda946dedbb08df8eb46bb0120938c08f09742 commit r10-10996-gc3fda946dedbb08df8eb46bb0120938c08f09742 Author: Richard S

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:c77cd8d782d65864fb7f13119a1e88cb79cfcd9f commit r11-10266-gc77cd8d782d65864fb7f13119a1e88cb79cfcd9f Author: Richard S

[Bug tree-optimization/106922] [12 Regression] Bogus uninitialized warning on boost::optional<>>, missed FRE

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106922 Richard Biener changed: What|Removed |Added Attachment #53597|0 |1 is obsolete|

[Bug c++/106826] [13 Regression] [modules] Variable template of type trait via importable header gives wrong result

2022-09-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106826 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug debug/106996] SIGSEGV in mapping_symbol_for_insn

2022-09-21 Thread nickkirkby at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106996 nickkirkby at protonmail dot ch changed: What|Removed |Added Resolution|--- |MOVED Stat

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #16 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:dc829c7613ddf562d1aecaf22eda965e87108ac8 commit r13-2761-gdc829c7613ddf562d1aecaf22eda965e87108ac8 Author: Aldy Hernandez Date:

[Bug ipa/106991] new+delete pair not optimized by g++ at -O3 but optimized at -Os

2022-09-21 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106991 --- Comment #2 from Jan Hubicka --- > Looks like inlining decisions decide to inline new but not delete but for -Os > we inline none and elide the new/delete pair. > > Maybe we can devise some inline hints to keep pairs? Inliner is mostly buil

[Bug sanitizer/106984] [13 Regression] ICE with -fsanitize=thread : verify_gimple failed since r13-707-g68e0063397ba820e

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

[Bug target/106910] roundss not vectorized

2022-09-21 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106910 --- Comment #9 from Pilar Latiesa --- Thans so much for the fix. I have tested last night (20220920) snapshot and I can confirm the testcase is vectorized. However, for the vectorization to kick in I had to use -fno-trapping-math. I assume tha

[Bug sanitizer/106984] [13 Regression] ICE with -fsanitize=thread : verify_gimple failed since r13-707-g68e0063397ba820e

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106984 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:41b5edaa5c03db36ad45a9cf524881de221a1812 commit r13-2759-g41b5edaa5c03db36ad45a9cf524881de221a1812 Author: Richard Biener Date:

[Bug c++/106993] GCC accepts invalid program involving templated conversion function

2022-09-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106993 --- Comment #1 from Jonathan Wakely --- Reduced: struct string_view { string_view(const char*) { } }; struct object{}; struct foo{ foo operator[](string_view s){ return foo{}; } template operator T(){ return object{}; } };

[Bug sanitizer/106984] [13 Regression] ICE with -fsanitize=thread : verify_gimple failed since r13-707-g68e0063397ba820e

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106984 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/106995] [13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2720 with -O2 since r13-1598-g0a7e721a6499a42f

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

[Bug debug/106996] SIGSEGV in mapping_symbol_for_insn

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106996 --- Comment #1 from Richard Biener --- isn't that a gdb issue then?

[Bug tree-optimization/106992] [12/13 Regression] aarch64: Unexpected maybe-uninitialized warning when compiling fdlibm

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106992 Richard Biener changed: What|Removed |Added Target|aarch64 |aarch64, x86_64-*-* Ever confirmed

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #14 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:d2278da1c3cb7bf8b3d96c86dbef2982bf4cc54a commit r13-2756-gd2278da1c3cb7bf8b3d96c86dbef2982bf4cc54a Author: Aldy Hernandez Date:

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-09-21 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #10 from Denis Yaroshevskiy --- Thank you for fixing this

[Bug target/106491] ICE when compiling ArmSVE intrinsics in PCH

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106491 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:a1465af240ee28fc7fcb83877c6aea94f11fb32f commit r12-8779-ga1465af240ee28fc7fcb83877c6aea94f11fb32f Author: Richard San

[Bug tree-optimization/106995] [13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2720 with -O2 since r13-1598-g0a7e721a6499a42f

2022-09-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 Martin Liška changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/106995] [13 Regression] ICE in expand_LOOP_VECTORIZED, at internal-fn.cc:2720 with -O2 since r13-1598-g0a7e721a6499a42f

2022-09-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-09-21 CC|

[Bug debug/106996] New: SIGSEGV in mapping_symbol_for_insn

2022-09-21 Thread nickkirkby at protonmail dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106996 Bug ID: 106996 Summary: SIGSEGV in mapping_symbol_for_insn Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 --- Comment #2 from Hongtao.liu --- Created attachment 53598 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53598&action=edit Patch under testing. I'm testing the patch.

[Bug ipa/106991] new+delete pair not optimized by g++ at -O3 but optimized at -Os

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106991 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/106995] gcc-trunk crash at -O2

2022-09-21 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 --- Comment #1 from Li Shaohua --- Sorry, it should be `gcc-tk -w -O2 a.c`

[Bug tree-optimization/106990] Missing TYPE_OVERFLOW_SANITIZED checks in match.pd

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106990 Richard Biener changed: What|Removed |Added Keywords||easyhack --- Comment #1 from Richard B

[Bug tree-optimization/106989] GCC fail to vectorize and clang succeed

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

[Bug tree-optimization/106990] Missing TYPE_OVERFLOW_SANITIZED checks in match.pd

2022-09-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106990 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-09-21 Status|UNCONFIRME

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 --- Comment #1 from Hongtao.liu --- (define_expand "floorv2sf2" [(set (match_operand:V2SF 0 "register_operand") (unspec:V2SF [(match_operand:V2SF 1 "vector_operand") (match_dup 2)] UNSPEC_ROUND))] "TARG

[Bug c/106995] New: gcc-trunk crash at -O2

2022-09-21 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106995 Bug ID: 106995 Summary: gcc-trunk crash at -O2 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: una

[Bug target/106994] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Summary|ICE in extract_insn

[Bug target/106994] New: ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67

2022-09-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106994 Bug ID: 106994 Summary: ICE in extract_insn, at recog.cc:2791 since r13-2730-gd0c73b6c85677e67 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/106986] [10/11/12/13 Regression] ICE in simplify_findloc_nodim, at fortran/simplify.cc:5675

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106986 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/106987] [10/11/12/13 Regression] ICE in simplify_intrinsic_op, at fortran/expr.cc:1305

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106987 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug c/106981] [10/11/12/13 Regression][OpenACC][OpenMP] ICE in decompose, at wide-int.h:984 with '#pragma omp/acc atomic capture'

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106981 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5

[Bug middle-end/106982] [10/11/12/13 Regression][OpenACC] ICE incorrect sharing of tree nodes with nested reduction / .GOACC_REDUCTION

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106982 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.5

[Bug d/106977] [13 regression] d21 dies with SIGBUS on 32-bit Darwin

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106977 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Priority|P3

[Bug tree-optimization/106963] [13 Regression] ICE in vect_gen_perm_mask_checked, at tree-vect-stmts.cc:8606 since r13-2503-gc13223b790bbc5e4

2022-09-21 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106963 --- Comment #4 from Hongtao.liu --- Fixed in GCC13.

[Bug tree-optimization/106963] [13 Regression] ICE in vect_gen_perm_mask_checked, at tree-vect-stmts.cc:8606 since r13-2503-gc13223b790bbc5e4

2022-09-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106963 --- Comment #3 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:eddbb81f1254f025d6f1b6b8e7554aa9a3830302 commit r13-2754-geddbb81f1254f025d6f1b6b8e7554aa9a3830302 Author: liuhongt Date: Tue Sep

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #13 from rguenther at suse dot de --- On Wed, 21 Sep 2022, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 > > --- Comment #12 from Aldy Hernandez --- > (In reply to Richard Biener from commen

[Bug c++/106993] New: GCC accepts invalid program involving templated conversion function

2022-09-21 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106993 Bug ID: 106993 Summary: GCC accepts invalid program involving templated conversion function Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #12 from Aldy Hernandez --- (In reply to Richard Biener from comment #11) > Btw, > > static inline bool > finite_operands_p (const frange &op1, const frange &op2) > { > return flag_finite_math_only || (!op1.maybe_isnan () && !op2.

[Bug tree-optimization/106967] [13 Regression] ICE in upper_bound, at value-range.h:348 since r13-2713-g917461478d3bb733

2022-09-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106967 --- Comment #11 from Richard Biener --- Btw, static inline bool finite_operands_p (const frange &op1, const frange &op2) { return flag_finite_math_only || (!op1.maybe_isnan () && !op2.maybe_isnan ()); } is wrong, you should either test HONOR