[Bug middle-end/117143] program crash under -O3 optimization or higher with function optimization flags assigned

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117143 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/117143] program crash under -O3 optimization or higher with function optimization flags assigned

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117143 --- Comment #1 from Andrew Pinski --- Created attachment 59350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59350&action=edit Better testcase you can use the noinline attribute to get the same effect, this has been fixed in GCC 14 ...

[Bug tree-optimization/117142] [13/14/15 Regression] ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117142 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-15 Status|UNCONFIRM

[Bug tree-optimization/117142] [13/14/15 Regression] ICE: verify_flow_info failed: error: returns_twice call is not first in basic block 2 at -O1 and above

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117142 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4

[Bug middle-end/117141] gcc/match.pd: patten duplicates around signed_integer_sat_sub

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117141 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #2 from Andrew Pinski --- I suspect r15-4324-gaccb85345edb91 .

[Bug target/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 --- Comment #1 from Andrew Pinski --- /* We are going to use the operand cache API, such as SET_USE, SET_DEF, and FOR_EACH_IMM_USE_FAST. The operand cache for each statement should be up-to-date. */ gcc_checking_a

[Bug target/117140] [15 regression] RISC-V: ICE in initialize_flags_in_bb for rv32gcv

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117140 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug c/117139] ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117139 --- Comment #3 from Andrew Pinski --- Even more reduced: ``` constexpr int myconst = 5.0; ``` Also ICEs with complex integer too: ``` constexpr int myconst = 5i; ```

[Bug c/117139] ICE with invalid constexpr expression (tree check: expected integer_cst, have real_cst in get_len, at tree.h:6509)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117139 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-14 Ever confirmed|0

[Bug target/117138] [15 Regression] ICE: tree check: expected none of vector_type, have vector_type in range_compatible_p, at value-range.h:1796 with -O2 -msse4

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117138 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug target/117137] [15 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: (compare:CCZ reg:V2DI reg:V2DI) with -O2 -msse4

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117137 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/117137] [15 Regression] ICE: in extract_insn, at recog.cc:2882 unrecognizable insn: (compare:CCZ reg:V2DI reg:V2DI) with -O2 -msse4

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117137 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug c++/117133] [15 regression] Undefined references when building stockfish-17 (incbin)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117133 Andrew Pinski changed: What|Removed |Added Keywords||ABI --- Comment #5 from Andrew Pinski

[Bug preprocessor/114436] #pragma GCC system_header vs. _Pragma("GCC system_header")

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114436 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug preprocessor/109704] #pragma {push,pop}_macro broken for identifiers that contain dollar signs at nonfirst positions

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109704 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/82250] Fortran OpenACC acc_on_device early folding

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82250 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/82251] OpenMP omp_is_initial_device early folding

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82251 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116826] Optimise log (1.0 / x) into -log (x)

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116826 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/116974] omp inscan reduction not supported with SLP

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116974 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/109498] SVE support for ctz

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109498 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/116615] Investigate LOGICAL_OP_NON_SHORT_CIRCUIT for RISC-V

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116615 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug fortran/51815] confusing substring syntax with array section for character coarray

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51815 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug middle-end/116896] codegen for <=> compared to hand-written equivalent

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116896 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug c/116735] ICE in build_counted_by_ref

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116735 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug target/89213] Optimize V2DI shifts by a constant on power8 & above systems.

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89213 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug tree-optimization/117132] A call to a function which returns a wider result can be considered a sibling call

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117132 --- Comment #3 from Andrew Pinski --- (In reply to LIU Hao from comment #2) > (In reply to Andrew Pinski from comment #1) > > It depends on the ABI, some require the extension while others don't. > > PR 14441 is for a target which has the extens

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug tree-optimization/117132] A call to a function which returns a wider result can be considered a sibling call

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117132 --- Comment #1 from Andrew Pinski --- It depends on the ABI, some require the extension while others don't. PR 14441 is for a target which has the extension.

[Bug tree-optimization/117132] A call to a function which returns a wider result can be considered a sibling call

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

[Bug target/117116] [15 regression] error: unrecognizable insn: with -march=znver3

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117116 Andrew Pinski changed: What|Removed |Added CC||sjames at gcc dot gnu.org --- Comment #

[Bug target/117134] [15 regression] ICE when building mercury-22.01.1 with -march=znver2

2024-10-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117134 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/116065] [13/14 Regression] Function attribute optimize() might make ISA target attribute broken

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 --- Comment #16 from Andrew Pinski --- (In reply to Sam James from comment #15) > (In reply to Haochen Jiang from comment #14) > > (In reply to Richard Biener from comment #13) > > > Fixed on trunk sofar(?) > > > > Yes, could be closed if only

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 See Also|

[Bug c++/117129] [14/15 Regression] internal compiler error: Segmentation fault at gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int)

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117129 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error:|[14/15 Regression] internal

[Bug target/117128] [15 regression] GCC trunk generates larger code than GCC 14 at -Os/Oz

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117128 Andrew Pinski changed: What|Removed |Added Target||x86_64 Component|middle-end

[Bug target/117126] GCC 14 generates redundant movq xmm1, xmm1 instructions with -O2 optimization, leading to code bloat (regression from GCC 13.x)

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117126 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|

[Bug preprocessor/117125] No error by if it terminating comment only provided

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117125 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID See Also|

[Bug preprocessor/117124] Header file contents get modified when macro defined before header file inclusion

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117124 --- Comment #2 from Andrew Pinski --- >If I #define with any macro which is also available in the header files, Yes that is expected and the behavior that the C standard preprocessor does. For define extern, GCC should most likely warn about

[Bug preprocessor/117118] [12/13/14/15 Regression] ICE with pragma message and raw strings

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117118 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/117113] ICE on valid code at -O3 with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: verify_ssa failed

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117113 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/116213] [14/15 regression] -Wmaybe-uninitialized in tree-ssa-loop-niter.cc since r14-3460-gabf915193fbf72

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116213 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #3) > In this case, I suspect the warning might be legit, but bisected to > r14-3460-gabf915193fbf72 anyway. Was this with the reduced testcase or the original one? With

[Bug c/83294] int32_t & related definitions wrong with -funsigned-bitfields

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83294 Andrew Pinski changed: What|Removed |Added CC||luigighiron at gmail dot com --- Comment

[Bug c/117122] -funsigned-bitfields has incorrect behavior with typeof and typedef redefinitions

2024-10-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117122 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/117108] [12/13/14/15 Regression] internal compiler error: error reporting routines re-entered at build_c_cast(unsigned int, tree_node*, cp_expr)

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117108 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug c++/117108] internal compiler error: error reporting routines re-entered at build_c_cast(unsigned int, tree_node*, cp_expr)

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117108 Andrew Pinski changed: What|Removed |Added Target Milestone|12.5|---

[Bug c++/117108] [12/13/14/15 Regression] internal compiler error: error reporting routines re-entered at build_c_cast(unsigned int, tree_node*, cp_expr)

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117108 Andrew Pinski changed: What|Removed |Added Known to work||5.5.0 Keywords|

[Bug c++/117107] [14/15 Regression] ICE with structured binding (not with std::tuple_size/tuple_element) and decltype inside a template

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117107 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | See Also|

[Bug c++/117107] [14/15 Regression] ICE with structured binding and decltype inside a template

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117107 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/117109] [15 Regression] "make gcc.pot" fails with "emit_diagnostic used incompatibly" since r15-4081-g385a232229a5b4 (diagnostics: bulletproof opening of SARIF output)

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117109 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Assignee|dmalcolm at gcc

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug ipa/116908] [12/13/14/15 Regression] ICE (invalid calls_comdat_local flag) with -O1 compiling webkit

2024-10-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116908 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #5) > Reduced testcase: For this only `-O2 -mavx -fno-vect-cost-model` is needed.

[Bug tree-optimization/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-10-12 CC|

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #4 from Andrew Pinski --- vect__69.1299_108 = MAX_EXPR <_110, { 0, 0 }>; ... _9 = .REDUC_IOR (vect__69.1299_108); _71 = _9; if (_71 == 0) Most likely: /* MIN (X, Y) == X -> X <= Y */ /* MIN (X, Y) < X -> X > Y */ /* MIN (

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 --- Comment #3 from Andrew Pinski --- _110 = {left_59, _61}; if (_110 <= { 0, 0 }) goto ; [34.00%] else goto ; [66.00%]

[Bug target/117104] [15 regression] ICE when building python-3.12.7 (prepare_cmp_insn, at optabs.cc:4622) with -O2 -march=x86-64-v4 -fno-vect-cost-model -fwrapv

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117104 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Attachment #59325|0 |1 is obsolete|

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Depends on||109934 --- Comment #9 from Andrew Pinsk

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > (In reply to Sam James from comment #6) > > Simplified a bit: > > Just some debug: > > When we create one of the unswitch_predicate for the second switch, we h

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #7 from Andrew Pinski --- (In reply to Sam James from comment #6) > Simplified a bit: Just some debug: When we create one of the unswitch_predicate for the second switch, we have: true_range: [irange] int [4, 4][6, 6][8, 8] NONZER

[Bug target/117103] GCC trunk emits push + pop at -Oz when a mov could suffice

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117103 --- Comment #2 from Andrew Pinski --- Note if you are doing code size comparison, then looking at the # of instructions for a target like x86 is not the way to go. You need to actually look at the assembled instruction output. In the case of us

[Bug target/117103] GCC trunk emits push + pop at -Oz when a mov could suffice

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117103 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 --- Comment #5 from Andrew Pinski --- Created attachment 59325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59325&action=edit Patch which might fix the issue Can you test this patch? It might fix the issue by using an allocated array of

[Bug c++/117101] [12/13/14/15 Regression] internal compiler error: Segmentation fault for operator new

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117101 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

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

[Bug tree-optimization/117100] [13 regression] ImageMagick miscompiled with -O1 -funswitch-loops

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117100 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 Version|15.0

[Bug c++/117099] [14/15 Regression] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Andrew Pinski changed: What|Removed |Added Known to work||13.3.0 Priority|P3

[Bug c++/117099] internal compiler error: Segmentation fault in finalize_nrv(tree_node*, tree_node*)

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117099 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery, |

[Bug target/117097] [15 Regression] gcc.target/i386/pr63527.c

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117097 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/117097] [15 Regression] gcc.target/i386/pr63527.c

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117097 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra,

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 --- Comment #3 from Andrew Pinski --- Created attachment 59324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59324&action=edit The first patch This is the first patch which I am testing. Will handle the factor one afterwards. Note the ch

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 --- Comment #2 from Andrew Pinski --- This is one just for match_simplify_replacement/empty_bb_or_one_feeding_into_p: ``` struct s1{ unsigned b = 0; }; int f(signed a, int c) { signed b = 0; if (a < 0) { s1(); b = a; }

[Bug tree-optimization/117096] Clobbers sometimes gets in the way of phiopt

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

[Bug tree-optimization/117096] New: Clobbers sometimes gets in the way of phiopt

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117096 Bug ID: 117096 Summary: Clobbers sometimes gets in the way of phiopt Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug target/117089] GCC Segmentation Fault internal compiler error on PPC64EL running with QEMU + chroot

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117089 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/117093] Missing detection of REV64 vector permute

2024-10-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117093 --- Comment #1 from Andrew Pinski --- t_4 = BIT_FIELD_REF ; a_5 = VEC_PERM_EXPR <_1, _1, { 1, 1, 2, 3 }>; a_6 = BIT_INSERT_EXPR ; t_7 = BIT_FIELD_REF ; _2 = BIT_FIELD_REF ; a_8 = BIT_INSERT_EXPR ; a_9 = BIT_INSERT_EXPR ; IIRC th

[Bug c++/117084] ICE: in coerce_delete_type, at cp/decl2.cc:2122

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117084 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108112] ICE on explicit instantiation of template member operator delete

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108112 Andrew Pinski changed: What|Removed |Added CC||iamanonymous.cs at gmail dot com --- C

[Bug c/117083] ICE: in get_expr_operands, at tree-ssa-operands.cc:939

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117083 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/117083] ICE: in get_expr_operands, at tree-ssa-operands.cc:939

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117083 --- Comment #1 from Andrew Pinski --- Reduced testcase: ``` void foo (unsigned *); void __GIMPLE (ssa) bar1 () { v unsigned int vect__35; unsigned int buf[4]; foo (&buf); } ```

[Bug target/117068] bpf: add support for preserve_static_offset attribute

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117068 --- Comment #2 from Andrew Pinski --- in the case of GCC, the attribute is lost early on for many accesses. Especially a target specific one. In RTL mem has attributes but nothing like preserve_static_offset . CE (ifcvt) could turn in theory tur

[Bug target/117068] bpf: add support for preserve_static_offset attribute

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117068 --- Comment #1 from Andrew Pinski --- I can't think of a good way of solving this really. Having a specific pass after register allocation might work but I am not 100% sure if it will work always. The other way of solving this is having special

[Bug target/117068] bpf: add support for preserve_static_offset attribute

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

[Bug target/117081] [15 Regression] FAIL: gcc.target/i386/pr91384.c since r15-1619-g3b9b8d6cfdf593

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117081 --- Comment #4 from Andrew Pinski --- (In reply to Sam James from comment #2) > I mentioned it in PR115673 which may help with bisection range. https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655721.html

[Bug tree-optimization/117080] [15 Regression] FAIL: gcc.target/i386/pr88531-2b.c and FAIL: gcc.target/i386/pr88531-2c.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117080 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization Blocks|

[Bug target/117079] [15 Regression] FAIL: gcc.target/i386/pr105493.c since r15-2820-gab18785840d7b8

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117079 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2024-August/659911.html

[Bug target/117076] [15 Regression] FAIL: gcc.target/i386/pr101716.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117076 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug tree-optimization/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 --- Comment #3 from Andrew Pinski --- See https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662257.html which mentions this failure explicitly.

[Bug tree-optimization/116463] [15 Regression] fast-math-complex-mls-{double,float}.c fail after r15-3087-gb07f8a301158e5

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463 --- Comment #14 from Andrew Pinski --- *** Bug 117075 has been marked as a duplicate of this bug. ***

[Bug target/117075] [15 Regression] FAIL: gcc.target/i386/part-vect-complexhf.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117075 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/117074] [15 Regression] FAIL: gcc.target/i386/force-indirect-call-2.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117074 --- Comment #2 from Andrew Pinski --- See https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662257.html which mentions this failure explicitly.

[Bug target/117074] [15 Regression] FAIL: gcc.target/i386/force-indirect-call-2.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117074 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug target/117074] [15 Regression] FAIL: gcc.target/i386/force-indirect-call-2.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117074 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655721.html

[Bug tree-optimization/117072] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_{float,double,_Float16}-1.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117072 Andrew Pinski changed: What|Removed |Added Blocks||53947 Keywords|

[Bug target/117073] [15 Regression] FAIL: gcc.target/i386/cond_op_fma_double-1.c

2024-10-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117073 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

<    3   4   5   6   7   8   9   10   11   12   >