[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

2022-02-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 --- Comment #6 from Richard Biener --- Fix in testing.

[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

2022-02-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 --- Comment #5 from Martin Liška --- Btw. I see the same ICE on libreoffice.

[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

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

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #14 from Richard Biener --- The pushed change is a micro-optimization not really addressing the underlying issue which needs more analysis.

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #13 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a8250bbaeb2e8250c20db477fe67fd085214be7c commit r12-7401-ga8250bbaeb2e8250c20db477fe67fd085214be7c Author: Richard Biener Date:

[Bug rtl-optimization/104664] [12 Regression] ICE: in extract_constrain_insn, at recog.cc:2670 (insn does not satisfy its constraints) with -Og -ffinite-math-only

2022-02-27 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104664 --- Comment #4 from Hongyu Wang --- (In reply to Uroš Bizjak from comment #3) > Reconfirmed as RA issue. I'm afraid we'd avoid pattern like (insn 180 179 182 2 (set (reg:V8HF 220) (subreg:V8HF (

[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-02-27 Thread lili.cui at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #28 from cuilili --- (In reply to H.J. Lu from comment #25) > Can this be mitigated by removing redundant load and store? Yes, inlining say_sphere can remove redundant loads and stores, O3 does inlining, but O2 is more sensitive to c

[Bug c++/104712] -fkeep-inline-functions causing link errors (debian but not godbolt?)

2022-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104712 --- Comment #3 from Andrew Pinski --- (In reply to ajrh from comment #2) > Oh drat, reduced test cases are maddening... it's an inline static const > in my original. I'll try to reduce something again. I think even with inline static const,

[Bug c++/104712] -fkeep-inline-functions causing link errors (debian but not godbolt?)

2022-02-27 Thread ajrh at ajrh dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104712 --- Comment #2 from ajrh at ajrh dot net --- Oh drat, reduced test cases are maddening... it's an inline static const in my original. I'll try to reduce something again.

[Bug c++/104712] -fkeep-inline-functions causing link errors (debian but not godbolt?)

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

[Bug c++/104712] New: -fkeep-inline-functions causing link errors (debian but not godbolt?)

2022-02-27 Thread ajrh at ajrh dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104712 Bug ID: 104712 Summary: -fkeep-inline-functions causing link errors (debian but not godbolt?) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norma

[Bug target/104704] [12 Regression] ix86_gen_scratch_sse_rtx doesn't work with explicit XMM7/XMM15/XMM31 usage

2022-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104704 --- Comment #4 from H.J. Lu --- (In reply to Hongtao.liu from comment #3) > (In reply to H.J. Lu from comment #1) > > ix86_expand_vector_move shouldn't use ix86_gen_scratch_sse_rtx. > > Is it problematic for TARGET_GEN_MEMSET_SCRATCH_RTX? It i

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #12 from Hongtao.liu --- (In reply to Hongtao.liu from comment #11) > (In reply to Martin Liška from comment #8) > > (In reply to Martin Liška from comment #7) > > > (In reply to Richard Biener from comment #6) > > > > Both revisions

[Bug target/104704] [12 Regression] ix86_gen_scratch_sse_rtx doesn't work with explicit XMM7/XMM15/XMM31 usage

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104704 --- Comment #3 from Hongtao.liu --- (In reply to H.J. Lu from comment #1) > ix86_expand_vector_move shouldn't use ix86_gen_scratch_sse_rtx. Is it problematic for TARGET_GEN_MEMSET_SCRATCH_RTX?

[Bug target/104704] [12 Regression] ix86_gen_scratch_sse_rtx doesn't work with explicit XMM7/XMM15/XMM31 usage

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104704 --- Comment #2 from Hongtao.liu --- Yes, thanks for the reproduced testcase.

[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #27 from Hongtao.liu --- > We can start with disabling vectorization with very cheap cost model to fix Of course only for (>=)16-byte struct passing.

[Bug target/101908] [12 regression] cray regression with -O2 -ftree-slp-vectorize compared to -O2

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101908 --- Comment #26 from Hongtao.liu --- (In reply to Richard Biener from comment #22) > (In reply to Hongtao.liu from comment #21) > > Now we have SLP node available in vector cost hook, maybe we can do sth in > > cost model to prevent vectorizatio

[Bug target/104686] [12 Regression] Huge compile-time regression building SPEC 2017 538.imagick_r with -march=skylake

2022-02-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104686 --- Comment #11 from Hongtao.liu --- (In reply to Martin Liška from comment #8) > (In reply to Martin Liška from comment #7) > > (In reply to Richard Biener from comment #6) > > > Both revisions affect vectorizer cost modeling only. With > > >

[Bug c++/104618] [12 Regression] trunk 20220221 on x86_64-linux-gnu ICEs building sh.cc for sh4-linux-gnu (in build_call_a, at cp/call.cc:381)

2022-02-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104618 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0096b0b467b2c98ed258f0ead9a8b87b2a6d8466 commit r12-7398-g0096b0b467b2c98ed258f0ead9a8b87b2a6d8466 Author: Jason Merrill Date: F

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #4 from Segher Boessenkool --- Created attachment 52522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52522&action=edit testcase

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #3 from Segher Boessenkool --- ... does NOT have a good enough balance ... Sorry :-)

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2022-02-27 Ever confirmed|0

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Andrew Pinski changed: What|Removed |Added Keywords||documentation --- Comment #1 from Andre

[Bug c/104711] New: Unnecessary -Wshift-negative-value warning

2022-02-27 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Bug ID: 104711 Summary: Unnecessary -Wshift-negative-value warning Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug ada/104710] Ada-Bootstrap fails with gcc-4.8.4

2022-02-27 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104710 Arnaud Charlet changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/104710] New: Ada-Bootstrap fails with gcc-4.8.4

2022-02-27 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104710 Bug ID: 104710 Summary: Ada-Bootstrap fails with gcc-4.8.4 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug fortran/104570] [12 Regression] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3681 since r12-7217-g57da34939703a6e6

2022-02-27 Thread mikael at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104570 Mikael Morin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mikael at gcc dot gnu.org

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #14 from H.J. Lu --- (In reply to H.J. Lu from comment #13) > (In reply to Hongtao.liu from comment #8) > > Created attachment 52495 [details] > > untested patch. > > I see these regressions with -m32: > > FAIL: gcc.dg/lower-subreg

[Bug target/104610] memcmp () == 0 can be optimized better for avx512f

2022-02-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104610 --- Comment #13 from H.J. Lu --- (In reply to Hongtao.liu from comment #8) > Created attachment 52495 [details] > untested patch. I see these regressions with -m32: FAIL: gcc.dg/lower-subreg-1.c scan-rtl-dump subreg1 "Splitting reg" FAIL: gcc.

[Bug c++/104709] New: A translated error message will include untanslated parts

2022-02-27 Thread goeran at uddeborg dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104709 Bug ID: 104709 Summary: A translated error message will include untanslated parts Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug middle-end/104705] [12 regression] ICE ‘global_options’ are modified in local context in cl_optimization_compare

2022-02-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104705 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug middle-end/80270] [9/10/11/12 Regression ICE in extract_bit_field_1 at gcc/expmed.c:1798

2022-02-27 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80270 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug target/104707] gcc on riscv64 isn't passing entire library path to the linker

2022-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 Andrew Pinski changed: What|Removed |Added CC||rui314 at gmail dot com --- Comment #2

[Bug c++/104708] RV64: gcc does not pass all library directories to linker

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

[Bug c++/104708] RV64: gcc does not pass all library directories to linker

2022-02-27 Thread rui314 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104708 --- Comment #1 from Rui Ueyama --- Here is the link to the original bug report: https://github.com/rui314/mold/issues/358