[Bug target/103463] [12 Regression] ICE: in ix86_attr_length_immediate_default, at config/i386/i386.c:16686 with -Os -fno-tree-dominator-opts -fno-tree-vrp

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103463 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug tree-optimization/103458] [12 Regression] ICE in verify_loop_structure, at cfgloop.c:1736 (error: loop with header 4 not in loop tree)

2021-11-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103458 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/103463] [12 Regression] ICE: in ix86_attr_length_immediate_default, at config/i386/i386.c:16686 with -Os -fno-tree-dominator-opts -fno-tree-vrp

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103463 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/103451] [12 Regression] crash at gcc/range-op.cc:1836 since r12-5531-g1b0acc4b800b589a

2021-11-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103451 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug target/61713] ICE when building c++ code with atomic functions for thumb1 target

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61713 Andrew Pinski changed: What|Removed |Added CC||mans at mansr dot com --- Comment #9

[Bug middle-end/56964] ICE with -fno-sync-libcalls when target lacks atomic operations

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56964 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/103463] New: [12 Regression] ICE: in ix86_attr_length_immediate_default, at config/i386/i386.c:16686 with -Os -fno-tree-dominator-opts -fno-tree-vrp

2021-11-28 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103463 Bug ID: 103463 Summary: [12 Regression] ICE: in ix86_attr_length_immediate_default, at config/i386/i386.c:16686 with -Os -fno-tree-dominator-opts -fno-tree-vrp

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Bug 46476 depends on bug 103439, which changed state. Bug 103439 Summary: genemit emits dead code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103439 What|Removed |Added

[Bug middle-end/103439] genemit emits dead code

2021-11-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103439 Richard Biener changed: What|Removed |Added Resolution|--- |WONTFIX

[Bug rtl-optimization/60412] superfluous arithmetic generated for uneven tail handling

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60412 Andrew Pinski changed: What|Removed |Added CC||l_belev at yahoo dot com --- Comment #2

[Bug tree-optimization/70274] optimization goes astray and adds completely redundant code

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70274 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug rtl-optimization/60412] superfluous arithmetic generated for uneven tail handling

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60412 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-11-28 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #8 from Tamar Christina --- > > I wonder how the situation looks on AArch64? The situation didn't improve, up until the end of stage-1 we were seeing a 6% perf uplift from somewhere which seems to have gone away now (in a commit

[Bug middle-end/46143] __attribute__((optimize)) emits wrong code

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46143 Bug 46143 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/52555] [4.6/4.7/4.8 Regression] ICE unrecognizable insn with -ffast-math and __attribute__((optimize(xx)))

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52555 Bug 52555 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/47315] ICE: in extract_insn, at recog.c:2109 (unrecognizable insn) with -mvzeroupper and __attribute__((target("avx")))

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47315 Bug 47315 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/45478] __attribute__((__target__())) causes crashes at various places

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45478 Bug 45478 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/45325] [4.9 Regression] target attribute doesn't work with -march=i586

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325 Bug 45325 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug c/41206] Segmentation fault from two "#pragma GCC optimize" lines

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41206 Bug 41206 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/38018] gcc.dg/pr37106-1.c doesn't work

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38018 Bug 38018 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/37394] [4.4 Regression] Segfault in ia64_variable_issue with -O -fschedule-insns2

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37394 Bug 37394 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug middle-end/53776] pragma optimize does not support Os

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53776 Bug 53776 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug middle-end/39840] Non-optimal (or wrong) implementation of SSE intrinsics

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39840 Bug 39840 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug target/39787] ICE with #pragma GCC target

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39787 Bug 39787 depends on bug 37565, which changed state. Bug 37565 Summary: __optimize__ attribute doesn't work correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 What|Removed |Added

[Bug middle-end/37565] __optimize__ attribute doesn't work correctly

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/102239] powerpc suboptimal boolean test of contiguous bits

2021-11-28 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102239 --- Comment #7 from luoxhu at gcc dot gnu.org --- 1| Dump of assembler code for function foo: 2|0x15e0 <+0>: rldicr. r3,r3,29,1 3+> 0x15e4 <+4>: beq 0x15f0 4|0x15e8 <+8>: blr 5|

[Bug tree-optimization/49946] Thread jumps confuse loop unrolling

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Last reconfirmed|

[Bug middle-end/87210] [RFE] introduce build time options to zero initialize automatic stack variables

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87210 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug middle-end/96159] atomic creates incorrect code for possible misaligned struct

2021-11-28 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159 Martin Uecker changed: What|Removed |Added Summary|atomic creates incorrect|atomic creates incorrect

[Bug tree-optimization/19676] Loop optimizer fails to reverse simple loop

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

[Bug tree-optimization/103462] GCC failed to reduce bit clear in loop.

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

[Bug tree-optimization/103462] GCC failed to reduce bit clear in loop.

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

[Bug tree-optimization/103462] GCC failed to reduce bit clear in loop.

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103462 --- Comment #2 from Hongtao.liu --- bit clear and induction variable could be simplified to `& CONSTANT`

[Bug tree-optimization/103462] GCC failed to reduce bit clear in loop.

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103462 --- Comment #1 from Hongtao.liu --- Should it be done in vectorizer or ldist(just like memory op), or somewhere else?

[Bug target/47769] [missed optimization] use of btr (bit test and reset)

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47769 --- Comment #7 from Hongtao.liu --- > > This is obviously horrible, but the right answer isn't btr in a loop, it's > what clang does: > > movabsq $7905747460161236406, %rax # imm = 0x6DB6DB6DB6DB6DB6 every > third bit unset >

[Bug tree-optimization/103462] New: vectorizer failed to reduce bit_clear in loop.

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103462 Bug ID: 103462 Summary: vectorizer failed to reduce bit_clear in loop. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/103461] [12 Regression] ICE in operator_div::wi_fold or in evaluate_conditions_for_known_args

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103461 --- Comment #2 from Andrew Pinski --- The first one is a dup of bug 103451.

[Bug ipa/103461] [12 Regression] ICE in operator_div::wi_fold or in evaluate_conditions_for_known_args

2021-11-28 Thread asolokha at gmx dot com via Gcc-bugs
, at ipa-fnsummary.c:516 19 | } | ^ 0x6d8bdb evaluate_conditions_for_known_args /var/tmp/portage/sys-devel/gcc-12.0.0_p20211128/work/gcc-12-20211128/gcc/ipa-fnsummary.c:516 0xc4732d do_estimate_edge_size(cgraph_edge*) /var/tmp/portage/sys-devel/gcc-12.0.0_p20211128/work/gcc-12

[Bug ipa/103461] [12 Regression] ICE in operator_div::wi_fold

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103461 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug ipa/103461] New: [12 Regression] ICE in operator_div::wi_fold

2021-11-28 Thread asolokha at gmx dot com via Gcc-bugs
lt 14 | } | ^ 0xeaadef crash_signal /var/tmp/portage/sys-devel/gcc-12.0.0_p20211128/work/gcc-12-20211128/gcc/toplev.c:322 0x1d1e040 operator_div::wi_fold(irange&, tree_node*, generic_wide_int const&, generic_wide_int const&, generic_wide_int const&, generic_wide_int const&

[Bug middle-end/60070] An option to disable all floating-pont

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60070 --- Comment #3 from Andrew Pinski --- For x86_64, the option was added with PR 70738. I don't know if this would be an useful option that is general though. Each target will implement it differently too.

[Bug target/61810] init-regs.c papers over issues elsewhere

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61810 --- Comment #6 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577192.html

[Bug tree-optimization/64992] More optimize opportunity

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/102239] powerpc suboptimal boolean test of contiguous bits

2021-11-28 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102239 --- Comment #6 from luoxhu at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #5) > (In reply to luoxhu from comment #4) > > Simply adjust the sequence of dot instruction could produce expected code, > > is this correct? > > No

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #20 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #18) > (In reply to Uroš Bizjak from comment #17) > > (In reply to Hongtao.liu from comment #16) > > > > > ix86_expand_vector_set is mainly used by vec_set_optab which

[Bug rtl-optimization/50677] volatile forces load into register

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50677 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug middle-end/60089] Complex arithmetic instructions

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60089 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #5 from

[Bug middle-end/53875] calls to const functions are eliminated at -O0

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53875 Andrew Pinski changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug middle-end/53875] calls to const functions are eliminated at -O0

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53875 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > The code which introduced this was > g:8c6a82695b85f8ed74cdc67f2cf74c5a62d0d91d . https://gcc.gnu.org/pipermail/gcc-patches/2003-May/104797.html

[Bug middle-end/53875] calls to const functions are eliminated at -O0

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53875 Andrew Pinski changed: What|Removed |Added Known to work||3.3.3 Known to fail|

[Bug target/102811] vcvtph2ps and vcvtps2ph should be used to convert _Float16 to SFmode with -mf16c

2021-11-28 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102811 --- Comment #19 from Hongtao.liu --- (In reply to Uroš Bizjak from comment #17) > (In reply to Hongtao.liu from comment #16) > > > ix86_expand_vector_set is mainly used by vec_set_optab which exactly takes > > target as both input and output,

[Bug middle-end/59711] ICE in force_constant_size, at gimplify.c:619 with variably-modified return type

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59711 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 See Also|

[Bug c++/103460] New: GCC rejected operator[](auto[]...) after P2128

2021-11-28 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103460 Bug ID: 103460 Summary: GCC rejected operator[](auto[]...) after P2128 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/50463] [4.6/4.7 Regression] -ftree-dse leeds to wrong code with gfortran

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50463 Andrew Pinski changed: What|Removed |Added CC||strasbur at chkw386 dot ch.pwr.wro

[Bug middle-end/58270] Wrong code while accessing trailing array elements in a global common structure

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

[Bug middle-end/50808] Diagnostic output at expansion time should be moved earlier.

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50808 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2011-10-20 00:00:00 |2021-11-28 --- Comment #4 from Andrew

[Bug ipa/46554] Less inlining leads to CSiBE regression

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46554 Andrew Pinski changed: What|Removed |Added Component|middle-end |ipa Keywords|

[Bug c++/97681] noinline attribute ignored on constexpr function

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97681 Andrew Pinski changed: What|Removed |Added Keywords||wrong-debug See Also|

[Bug c++/93008] Need a way to make inlining heuristics ignore whether a function is inline

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93008 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/65503] g++ string array in struct crash

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

[Bug other/103021] Make the path to etags used in the build system configurable

2021-11-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103021 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-11-28 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #7 from Jiangning Liu --- Without reverting the commit g:1118a3ff9d3ad6a64bba25dc01e7703325e23d92, we still see exchange2 performance issue for aarch64. BTW, we have been using -fno-inline-functions-called-once to get the best

[Bug other/19089] Environment variable TMP may yield gcc: abort with internal error

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

[Bug other/19089] Environment variable TMP may yield gcc: abort with internal error

2021-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:68332ab7ec58a89660db82569c5f4c2251d59741 commit r12-5568-g68332ab7ec58a89660db82569c5f4c2251d59741 Author: Andrew Pinski Date:

[Bug debug/24551] [meta-bug] -feliminate-unused-debug-types issues

2021-11-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24551 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c++/90885] GCC should warn about 2^16 and 2^32 and 2^64 [-Wxor-used-as-pow]

2021-11-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90885 Eric Gallager changed: What|Removed |Added Summary|GCC should warn about 2^16 |GCC should warn about 2^16

[Bug bootstrap/103459] New: Make configury regenerate cleanly with `autoreconf -Wall`

2021-11-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103459 Bug ID: 103459 Summary: Make configury regenerate cleanly with `autoreconf -Wall` Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build

[Bug tree-optimization/103458] [12 Regression] ICE in verify_loop_structure, at cfgloop.c:1736 (error: loop with header 4 not in loop tree)

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103458 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug tree-optimization/103458] [12 Regression] ICE in verify_loop_structure, at cfgloop.c:1736 (error: loop with header 4 not in loop tree)

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103458 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/103456] [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594cff78

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456 Andrew Pinski changed: What|Removed |Added Severity|normal |blocker

[Bug tree-optimization/81174] bswap not recognized in |= statement

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

[Bug tree-optimization/103457] boolean operations on bit-fields are not merged

2021-11-28 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103457 --- Comment #2 from Roland Illig --- Cool, thank you for taking this optimization. Just to give you a bit of background: I discovered this while converting some of the enum types in BSD Make to proper bitfields, which theoretically should be

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #7 from

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 --- Comment #5 from Andrew Pinski --- Reduced: template struct rp { T* operator->() const; operator T*() const; template explicit operator U*() const; }; struct b {}; typedef void (b::*fptr)(); void foo(rp n, fptr h) {

[Bug sanitizer/100987] make distclean error "hwasan: No such file or directory"

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100987 Bug 100987 depends on bug 62157, which changed state. Bug 62157 Summary: make distclean error when libsanitizer is configured not to build 'tsan' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62157 What|Removed

[Bug bootstrap/3415] make distclean (in gcc subdirectory) does not clean up all the way

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3415 Bug 3415 depends on bug 62157, which changed state. Bug 62157 Summary: make distclean error when libsanitizer is configured not to build 'tsan' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62157 What|Removed

[Bug sanitizer/62157] make distclean error when libsanitizer is configured not to build 'tsan'

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62157 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug sanitizer/62157] make distclean error when libsanitizer is configured not to build 'tsan'

2021-11-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62157 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:32377c101934477e3d27fec9c6a22f1c97ccf730 commit r12-5566-g32377c101934477e3d27fec9c6a22f1c97ccf730 Author: Andrew Pinski Date:

[Bug tree-optimization/103457] boolean operations on bit-fields are not merged

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

[Bug target/103302] wrong code with -fharden-compares

2021-11-28 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 --- Comment #5 from Alexandre Oliva --- Hello, Jim, Thanks for the investigation, that's useful. I guess the register allocator shouldn't choose to coalesce registers when there's a clobber afterwards, or it should drop the clobber, since

[Bug tree-optimization/103458] New: [12 Regression] ICE in verify_loop_structure, at cfgloop.c:1736 (error: loop with header 4 not in loop tree)

2021-11-28 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103458 Bug ID: 103458 Summary: [12 Regression] ICE in verify_loop_structure, at cfgloop.c:1736 (error: loop with header 4 not in loop tree) Product: gcc Version: 12.0

[Bug tree-optimization/103457] New: boolean operations on bit-fields are not merged

2021-11-28 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103457 Bug ID: 103457 Summary: boolean operations on bit-fields are not merged Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread stha09 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 --- Comment #4 from Stephan Hartmann --- Last working compiler was gcc-8.1, gcc-8.2 and later produce an ICE.

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-11-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #6 from Jan Hubicka --- I am sorry for getting back to this again late. This stage1 we spent some time with Martin improving the ipa-cp profile updating and looked again into the realism of the profile. Also recently the codegen has

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread stha09 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 --- Comment #3 from Stephan Hartmann --- Scratch comment 2, copied wrong one: template struct raw_ptr { T* operator->() const; operator T*() const; template explicit operator U*() const; }; struct bar {}; struct foo {

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread stha09 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 --- Comment #2 from Stephan Hartmann --- Handwritten reduced testcase: template struct raw_ptr { T* operator->() const; template explicit operator U*() const; }; struct bar { static void func(); }; struct foo { typedef

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

2021-11-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 103227, which changed state. Bug 103227 Summary: [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

[Bug ipa/103227] [12 Regression] 58% exchange2 regression with -Ofast -march=native on zen3 since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103227 Jan Hubicka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/101540] CONSTRUCTOR for vector(1) should just be VCE

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101540 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 Andrew Pinski changed: What|Removed |Added Known to fail||8.2.0 Keywords|

[Bug c++/103455] [9/10/11/12 Regression] internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 Andrew Pinski changed: What|Removed |Added Summary|internal compiler error: in |[9/10/11/12 Regression]

[Bug fortran/103261] ICE in gfc_check_reshape, at fortran/check.c:4742

2021-11-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103261 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug tree-optimization/103456] [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594cff78

2021-11-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug tree-optimization/103456] New: [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x0000009f5037 with insufficient space for an object of type 'const char' since r12-5548-g4a2007594

2021-11-28 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103456 Bug ID: 103456 Summary: [12 Regression] gcc/gcc.c:9502:8: runtime error: load of address 0x009f5037 with insufficient space for an object of type 'const char' since

[Bug target/63691] GCC 4.9.x fails to build GLIBC 2.20 on HPPA

2021-11-28 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63691 John David Anglin changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/103455] New: internal compiler error: in dependent_type_p, at cp/pt.c:27057

2021-11-28 Thread stha09 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103455 Bug ID: 103455 Summary: internal compiler error: in dependent_type_p, at cp/pt.c:27057 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102609] [C++23] P0847R7 - Deducing this

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

[Bug libstdc++/103448] unexpected tuple collapse

2021-11-28 Thread janezz55 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103448 --- Comment #10 from Janez Zemva --- The code worked for ((...), (...), ...), but not for ((...)), I did not understand how a tuple not containing another tuple could possibly be constructed. On the other hand, I already found a workaround and

[Bug tree-optimization/101540] CONSTRUCTOR for vector(1) should just be VCE

2021-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101540 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/103454] New: -finline-functions-called-once is both compile-time and runtime loss at average for spec2006, spec2017 and tramp3d

2021-11-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103454 Bug ID: 103454 Summary: -finline-functions-called-once is both compile-time and runtime loss at average for spec2006, spec2017 and tramp3d Product: gcc Version:

  1   2   >