[Bug ipa/102762] [10/11 Regression] ICE with -O2: Segmentation fault, memcpy, copy_bb

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102762 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:30c18bbfed2fae5ff89841172553951a74125f8e commit r11-9226-g30c18bbfed2fae5ff89841172553951a74125f8e Author: Richard Biener

[Bug tree-optimization/102788] [11 Regression] Wrong code with -O3

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102788 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:34ed721929700b85f19f14fc56fb598a658b2bbc commit r11-9227-g34ed721929700b85f19f14fc56fb598a658b2bbc Author: Richard Biene

[Bug tree-optimization/102572] [11 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102572 Richard Biener changed: What|Removed |Added Known to work||11.2.1 Status|ASSIGNED

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 102572, which changed state. Bug 102572 Summary: [11 Regression] ICE for skx in vect_build_gather_load_calls, at tree-vect-stmts.c:2835 since r11-3070-g783dc66f9ccb0019 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1025

[Bug tree-optimization/102139] [11 Regression] -O3 miscompile due to slp-vectorize on strict align target

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102139 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/101480] [11 Regression] Miscompiled code involving operator new

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 Richard Biener changed: What|Removed |Added Known to work||11.2.1 Status|ASSIGNED

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #3 from Richard Biener --- Still a user error - you should link with -pthread

[Bug preprocessor/103130] [11/12 Regression] \*/ is not detected as the end of a comment with -fdirectives-only

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #4 from Jonathan Wakely --- (In reply to Richard Biener from comment #3) > Still a user error - you should link with -pthread That doesn't help here though.

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #5 from Jonathan Wakely --- (In reply to Florian Weimer from comment #2) > libstdc++.a still uses weak symbols. I assumed we had already removed all > that weak symbol stuff from libstdc++ for __GLIBC_PREREQ (2, 34). No, none of tha

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #10 from rguenther at suse dot de --- On Mon, 8 Nov 2021, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 > > --- Comment #9 from Martin Liška --- > Valgrind reports: > > ==9236== Conditiona

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #22 from rguenther at suse dot de --- On Mon, 8 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > --- Comment #21 from hubicka at kam dot mff.cuni.cz --- > > to also allow to

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #23 from hubicka at kam dot mff.cuni.cz --- > We verify that by simply looking at the loop depth relation of > the entry and exit of the path. Which seem wrong for the path leaving loop and entering another... > > > It seems to me t

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #2 from dave.anglin at bell dot net --- On 2021-11-08 4:24 a.m., rguenth at gcc dot gnu.org wrote: > David, can you try adding > -fno-tree-vectorize to the command line to see if that silences the > diagnostic? It does not silence th

[Bug middle-end/102518] [11 Regression] ICE during GIMPLE pass: einline in gimplify_modify_expr at -O2 since r11-165-geb72dc663e9070b2

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102518 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ae3227710c71ca693ee43c825f5d0d0fbd3c3773 commit r11-9228-gae3227710c71ca693ee43c825f5d0d0fbd3c3773 Author: Richard Biener

[Bug tree-optimization/102798] [9/10/11 Regression] wrong code with -O3 -fno-tree-pta by r9-2475

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102798 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1631d6d2910e03e4517079d6e6ad0ae1aeb24dfa commit r11-9229-g1631d6d2910e03e4517079d6e6ad0ae1aeb24dfa Author: Richard Biene

[Bug middle-end/102518] [11 Regression] ICE during GIMPLE pass: einline in gimplify_modify_expr at -O2 since r11-165-geb72dc663e9070b2

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102518 Richard Biener changed: What|Removed |Added Known to fail||11.2.0 Known to work|

[Bug c++/102262] No reason given for constexpr function that uses non-constexpr destructor

2021-11-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102262 --- Comment #4 from Jonathan Wakely --- Another variation: template struct vector { struct _Temp_value { constexpr _Temp_value() { } #ifndef ICE constexpr ~_Temp_value()

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #24 from rguenther at suse dot de --- On Mon, 8 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > --- Comment #23 from hubicka at kam dot mff.cuni.cz --- > > We verify that by

[Bug tree-optimization/101824] [9 Regression] VOLATILE not honored

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101824 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:8dec0ae6200ae8c56dbeef5ff9acd2214282de67 commit r9-9817-g8dec0ae6200ae8c56dbeef5ff9acd2214282de67 Author: Richard Biener

[Bug tree-optimization/101373] PRE hoists trapping instructions over possibly throwing calls

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373 --- Comment #19 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2498de689b735422ef71d93e2afe7ae3e6988bb3 commit r9-9818-g2498de689b735422ef71d93e2afe7ae3e6988bb3 Author: Richard Biener

[Bug tree-optimization/101868] [9 Regression] Incorrect reordering in -O2 with LTO

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 --- Comment #13 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2498de689b735422ef71d93e2afe7ae3e6988bb3 commit r9-9818-g2498de689b735422ef71d93e2afe7ae3e6988bb3 Author: Richard Biener

[Bug tree-optimization/101824] [9 Regression] VOLATILE not honored

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

[Bug tree-optimization/101868] [9 Regression] Incorrect reordering in -O2 with LTO

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101868 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #25 from Richard Biener --- (In reply to rguent...@suse.de from comment #24) > On Mon, 8 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 > > > > --- Comment #23 from hubicka

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #26 from Richard Biener --- (In reply to Richard Biener from comment #25) > (In reply to rguent...@suse.de from comment #24) > > On Mon, 8 Nov 2021, hubicka at kam dot mff.cuni.cz wrote: > > > > > https://gcc.gnu.org/bugzilla/show_b

[Bug tree-optimization/103120] [12 Regression] test miscompiled with -O2 since r12-4790

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103120 --- Comment #6 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:18546941ae4c56cd9240d2dc2ca2806e01eb6fb7 commit r12-5000-g18546941ae4c56cd9240d2dc2ca2806e01eb6fb7 Author: Aldy Hernandez Date:

[Bug tree-optimization/103120] [12 Regression] test miscompiled with -O2 since r12-4790

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

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #11 from Martin Liška --- > I'm going to fix that (but it's spurious) Now as you fixed the valgrind error, I can still see the original verification error. What about you?

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-11-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #12 from Martin Liška --- https://godbolt.org/z/n1sjM6TEY

[Bug middle-end/102997] [12 Regression] 45% 454.calculix regression with LTO+PGO -march=native -Ofast on Zen since r12-4526-gd8edfadfc7a9795b65177a50ce44fd348858e844

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102997 --- Comment #27 from Aldy Hernandez --- (In reply to Richard Biener from comment #20) > (In reply to hubicka from comment #19) > > The testcase would be > > > > void test () > > { > > int i; > > if (test()) > > i=0; >

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 --- Comment #4 from Martin Sebor --- I have been testing the following changes to deal with other location and warning related problems. They might be worth giving a try to see if they help with this issue as well. diff --git a/gcc/diagnostic

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #4 from John David Anglin --- Created attachment 51748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51748&action=edit Preprocessed source

[Bug debug/103134] New: Redundant DW_AT_entry_pc tags for inlined functions

2021-11-08 Thread wcohen at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103134 Bug ID: 103134 Summary: Redundant DW_AT_entry_pc tags for inlined functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:239d82d4c05b30632fd09ba4056de7dac5aee070 commit r12-5003-g239d82d4c05b30632fd09ba4056de7dac5aee070 Author: Martin Jambor Date: M

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:239d82d4c05b30632fd09ba4056de7dac5aee070 commit r12-5003-g239d82d4c05b30632fd09ba4056de7dac5aee070 Author: Martin Jambor Date: M

[Bug ipa/103099] [12 Regression] ICE tree check: expected ssa_name, have debug_expr_decl in split_function, at ipa-split.c:1397 since r12-4920-g1ece90ffa9ce63b4

2021-11-08 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103099 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/103107] [12 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (constructor) in prepare_debug_expressions, at ipa-param-manipulation.c:1189 since r12-4920-g1ece90ffa

2021-11-08 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103107 Martin Jambor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/103132] [12 Regression] ICE in remap_gimple_stmt at tree-inline.c:1828 since r12-4920-g1ece90ffa9ce63b4

2021-11-08 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103132 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug c++/56665] -O2 with -fno-strict-aliasing makes boost::spirit::classic::assign_a not working

2021-11-08 Thread bodzio131 at op dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56665 --- Comment #8 from Bogdan Slusarczyk --- (In reply to Nikita Kniazev from comment #6) > This is not a GCC bug. The examples above have use after scope bug. > Look at `assign_a` documentation > https://www.boost.org/doc/libs/1_69_0/libs/spirit/cl

[Bug c++/56665] -O2 with -fno-strict-aliasing makes boost::spirit::classic::assign_a not working

2021-11-08 Thread bodzio131 at op dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56665 --- Comment #9 from Bogdan Slusarczyk --- Gushhh my fault, VALUE not VARIABLE :) all it is clear, sorry.

[Bug tree-optimization/103117] uncprop produces harder to analyze but not better code

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

[Bug tree-optimization/103122] [12 Regression] ICE in fill_block_cache, at gimple-range-cache.cc:1277 with -O2 since r12-4866-gfc4076752067fb40

2021-11-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103122 --- Comment #2 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:0cd653bd2559701da9cc4c9bf51f22bdd68623b5 commit r12-5006-g0cd653bd2559701da9cc4c9bf51f22bdd68623b5 Author: Andrew MacLeod Date:

[Bug tree-optimization/103122] [12 Regression] ICE in fill_block_cache, at gimple-range-cache.cc:1277 with -O2 since r12-4866-gfc4076752067fb40

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103122 Andrew Macleod changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/103035] [meta-bug] YARPGen bugs

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103035 Bug 103035 depends on bug 103122, which changed state. Bug 103122 Summary: [12 Regression] ICE in fill_block_cache, at gimple-range-cache.cc:1277 with -O2 since r12-4866-gfc4076752067fb40 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103122

[Bug testsuite/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-08 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #9 from Christophe Lyon --- (In reply to Aldy Hernandez from comment #7) > > then size ivopts-4.o: > >textdata bss dec hex filename > > 38 0 0 38 26 ivopts-4.o > > where the testcase exp

[Bug debug/103135] New: DW_AT_high_pc 0 offset for inlined functions with a singled instruction

2021-11-08 Thread wcohen at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103135 Bug ID: 103135 Summary: DW_AT_high_pc 0 offset for inlined functions with a singled instruction Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: norm

[Bug testsuite/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-08 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 Aldy Hernandez changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #3 from Peter Bergner --- (In reply to Andrew Pinski from comment #1) > The types are OPAQUE_TYPE. [snip] > So if I understand this correctly and PR 98872 correctly. We should not > expand a DEFERRED_INIT for this type. So something

[Bug fortran/103136] New: [12 Regression] ICE in maybe_gen_insn, at optabs.c:7871

2021-11-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103136 Bug ID: 103136 Summary: [12 Regression] ICE in maybe_gen_insn, at optabs.c:7871 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Prior

[Bug fortran/103136] [12 Regression] ICE in maybe_gen_insn, at optabs.c:7871

2021-11-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103136 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug fortran/103137] New: [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181

2021-11-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103137 Bug ID: 103137 Summary: [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug fortran/103138] New: [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139

2021-11-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103138 Bug ID: 103138 Summary: [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/103139] New: [12 Regression] ICE in fold_convert_loc, at fold-const.c:2573

2021-11-08 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103139 Bug ID: 103139 Summary: [12 Regression] ICE in fold_convert_loc, at fold-const.c:2573 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Martin Sebor --

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 Martin Sebor changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #6

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

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

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #5 from Peter Bergner --- (In reply to qinzhao from comment #4) > with -ftrivial-auto-var-init=zero, failed at the same place. You mean without the patch from Comment #3? With the patch, I don't see an ICE using -ftrivial-auto-var-

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 Andrew Macleod changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #6 from qinzhao at gcc dot gnu.org --- (In reply to Peter Bergner from comment #5) > (In reply to qinzhao from comment #4) > > with -ftrivial-auto-var-init=zero, failed at the same place. > > You mean without the patch from Comment #

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #7 from qinzhao at gcc dot gnu.org --- (In reply to Peter Bergner from comment #3) > (In reply to Andrew Pinski from comment #1) > > The types are OPAQUE_TYPE. > [snip] > > So if I understand this correctly and PR 98872 correctly. We

[Bug c++/103140] New: __builtin_bit_cast To C array target type

2021-11-08 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103140 Bug ID: 103140 Summary: __builtin_bit_cast To C array target type Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: patch Severity: normal Priority: P3

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #8 from Martin Sebor --- The [1, 1] range comes from a call to qry->range_of_expr (vr, exp, stmt) in in get_size_range() in pointer-query.cc: (gdb) p debug(gimple_bb(stmt)) [local count: 118111600]: _4 = _1 + 1; grp_name_37 = __bui

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #8 from Peter Bergner --- (In reply to qinzhao from comment #7) > (In reply to Peter Bergner from comment #3) > > (In reply to Andrew Pinski from comment #1) > > > The types are OPAQUE_TYPE. > > [snip] > > > So if I understand this c

[Bug c++/103140] __builtin_bit_cast To C array target type

2021-11-08 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103140 --- Comment #1 from Will Wray --- Created attachment 51750 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51750&action=edit c++: __builtin_bit_cast To C array target type Proposed patch, submitted here: https://gcc.gnu.org/pipermail/gcc-p

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #9 from Andrew Macleod --- (In reply to Martin Sebor from comment #8) > The [1, 1] range comes from a call to qry->range_of_expr (vr, exp, stmt) in > in get_size_range() in pointer-query.cc: > > (gdb) > #7 0x0192c0df in str

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread qing.zhao at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #9 from Qing Zhao --- > On Nov 8, 2021, at 1:56 PM, bergner at gcc dot gnu.org > wrote: > > > So this then? This is better, I think. You can send a patch review request to gcc-patch alias for more comments or approval.

[Bug preprocessor/103141] New: #pragma GCC diagnostic ignored "-Wno-deprecated-declarations" doesn't work

2021-11-08 Thread noah at revrobotics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103141 Bug ID: 103141 Summary: #pragma GCC diagnostic ignored "-Wno-deprecated-declarations" doesn't work Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: no

[Bug fortran/103138] [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139

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

[Bug preprocessor/103141] #pragma GCC diagnostic ignored "-Wno-deprecated-declarations" doesn't work

2021-11-08 Thread noah at revrobotics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103141 --- Comment #1 from Noah Andrews --- -Wno-deprecated also has this issue.

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #10 from Martin Sebor --- Sorry, I've been having trouble with GDB and so I'm running two GDB sessions and I have been mixing output from both of them. I see the warning for the store to *_23 in BB 13, not for BB 12. Here's a fresh

[Bug fortran/103137] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181

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

[Bug other/103142] New: [12 regression] gfortran.dg/vector_subscript_1.f90 fails at execution after r12-4976

2021-11-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103142 Bug ID: 103142 Summary: [12 regression] gfortran.dg/vector_subscript_1.f90 fails at execution after r12-4976 Product: gcc Version: 12.0 Status: UNCONFIRMED Sev

[Bug c/103141] #pragma GCC diagnostic ignored "-Wno-deprecated-declarations" doesn't work

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

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #11 from Andrew Macleod --- (In reply to Martin Sebor from comment #10) > Sorry, I've been having trouble with GDB and so I'm running two GDB sessions > and I have been mixing output from both of them. I see the warning for the > st

[Bug other/103142] [12 regression] gfortran.dg/vector_subscript_1.f90 fails at execution after r12-4976

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

[Bug fortran/102043] Wrong array types used for negative stride accesses

2021-11-08 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102043 Jan Hubicka changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #7

[Bug fortran/103136] [12 Regression] ICE in maybe_gen_insn, at optabs.c:7871

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

[Bug tree-optimization/103102] [12 Regression] pr81175.f fails since r12-4946-ga79fe53d6ce6074d083e925b6b19773e45817405

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103102 Andrew Pinski changed: What|Removed |Added CC||gs...@t-online.de --- Comment #8 from A

[Bug middle-end/103127] ICE in fold_convert_loc with __vector_quad and -ftrivial-auto-var-init=pattern on powerpc64*

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103127 --- Comment #10 from Peter Bergner --- (In reply to Qing Zhao from comment #9) > This is better, I think. > You can send a patch review request to gcc-patch alias for more comments or > approval. Ok, if people are fine with this, I'll kick off

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #12 from Martin Sebor --- Okay, here's my question: when I call range_of_expr (vr, _4, stmt) with stmt being 'grp_name_37 = __builtin_alloca (_4)' in BB 4, should I not expect the result to be either VR_VARYING or [0, +INF]? What I

[Bug fortran/103137] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8181

2021-11-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103137 --- Comment #2 from anlauf at gcc dot gnu.org --- After playing with the Intel compiler, which accepts the testcase, I start to think the code could actually be valid F2018. At least I cannot find text in the F2018 standard prohibiting PARAMETER

[Bug fortran/103138] [12 Regression] ICE in gfc_simplify_cshift, at fortran/simplify.c:2139

2021-11-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103138 --- Comment #2 from anlauf at gcc dot gnu.org --- There are more testcases also with valid code which would ICE when using CLASS and PARAMETER, or are rejected. See also pr103137. Another one: program p type t end type class(t), paramete

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #13 from Martin Sebor --- Here's a reduced test case that reproduces the problem with an x86_64-linux GCC in ILP32 mode: $ cat pr103121.C && gcc -O2 -S -Wall -m32 pr103121.C typedef typeof (sizeof 0) size_t; struct tree_node { co

[Bug c/103141] #pragma GCC diagnostic ignored "-Wno-deprecated-declarations" doesn't work

2021-11-08 Thread noah at revrobotics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103141 --- Comment #3 from Noah Andrews --- (In reply to Andrew Pinski from comment #2) > you want: > #pragma GCC diagnostic ignored "-Wdeprecated-declarations" > > Not the no- version That's correct, thank you!

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org

[Bug bootstrap/102831] [12 regression] Spurious -Wparentheses etc. warnings

2021-11-08 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102831 --- Comment #6 from Peter Bergner --- (In reply to Peter Bergner from comment #5) > I see the same error in Comment #3 on my powerpc64le-linux build, which > breaks my bootstrap too. Hmmm, if I manually execute the failing compile command, it I

[Bug tree-optimization/103121] [12 Regression] Warnings in cp/optimize.c causing build failure

2021-11-08 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103121 --- Comment #14 from Andrew Macleod --- As near as I can tell, you are calling debug_ranger () to see what ranger could produce. That routine creates a new ranger and populates it, dumps out the results, kills the ranger and returns. When I pu

[Bug middle-end/103143] New: [12 Regression] ICE due to infinite recursion in pointer-query.cc

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143 Bug ID: 103143 Summary: [12 Regression] ICE due to infinite recursion in pointer-query.cc Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/103143] [12 Regression] ICE due to infinite recursion in pointer-query.cc

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Keywords|

[Bug middle-end/101397] [11 Regression] spurious warning writing to the result of stpcpy minus 1

2021-11-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101397 Martin Sebor changed: What|Removed |Added Depends on||103143 --- Comment #8 from Martin Sebor

[Bug target/99092] Using -O3 and -fprefetch-loop-arrays to compile BLAS on Apple M1 fails

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99092 --- Comment #13 from Andrew Pinski --- Did the LLVM assembler get fixed?

[Bug middle-end/103143] [12 Regression] ICE due to infinite recursion in pointer-query.cc

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

[Bug target/99657] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

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

[Bug target/99657] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

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

[Bug target/99092] Using -O3 and -fprefetch-loop-arrays to compile BLAS on Apple M1 fails

2021-11-08 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99092 --- Comment #14 from Iain Sandoe --- (In reply to Andrew Pinski from comment #13) > Did the LLVM assembler get fixed? not as of xcode 13.0 (I don't know if anyone filed a radar tho) - since the problem was fixed on the branch, I guess no-one was

[Bug tree-optimization/102690] [12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-08 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 --- Comment #4 from seurer at gcc dot gnu.org --- Was the change that caused this backported to gcc 11? I am seeing the same failures there now.

[Bug middle-end/103143] [12 Regression] ICE due to infinite recursion in pointer-query.cc

2021-11-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103143 --- Comment #1 from Andrew Pinski --- But it does not fix: int f () { char a[12]; __SVInt8_t freq; return __builtin_bcmp (&freq, &freq, 10); }

<    1   2   3   >