[Bug c++/101065] "internal compiler error: Segmentation fault signal terminated program cc1plus" when compiling some malformed code

2021-06-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101065 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug rtl-optimization/101076] RTL Combine pass won't generate sign_extnd RTX in some senario

2021-06-14 Thread wf831130 at sina dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101076 --- Comment #4 from Coco Wang --- (In reply to Andrew Pinski from comment #3) > This sounds like a rsicv backend issue really ... I think the key is the subreg, the reason why x86_64 and aarch64 have no problems is that subreg does not appear i

[Bug tree-optimization/101014] [12 Regression] Big compile time hog with -O3 since r12-1268-g9858cd1a6827ee7a

2021-06-14 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101014 --- Comment #5 from Martin Liška --- Should be fixed with: commit ecc5644fa3bc7f37eada2a3e9c627cd1918922e0 Author: Andrew MacLeod Date: Mon Jun 14 15:33:59 2021 -0400 Limit new value calculations to first order effects. When utilzi

[Bug rtl-optimization/101076] RTL Combine pass won't generate sign_extnd RTX in some senario

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101076 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Target|

[Bug rtl-optimization/101076] RTL Combine pass won't generate sign_extnd RTX in some senario

2021-06-14 Thread wf831130 at sina dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101076 --- Comment #2 from Coco Wang --- (In reply to Andrew Pinski from comment #1) > What target is this for? > For both x86_64 and aarch64 we have both shifts in SI mode so we don't end > up with problem. > We get the following RTL for aarch64 (befo

[Bug rtl-optimization/3507] appalling optimisation with sub/cmp on multiple targets

2021-06-14 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3507 Ivan Sorokin changed: What|Removed |Added CC||vanyacpp at gmail dot com --- Comment #60

[Bug rtl-optimization/101076] RTL Combine pass won't generate sign_extnd RTX in some senario

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

[Bug rtl-optimization/101076] New: RTL Combine pass won't generate sign_extnd RTX in some senario

2021-06-14 Thread wf831130 at sina dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101076 Bug ID: 101076 Summary: RTL Combine pass won't generate sign_extnd RTX in some senario Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/101007] [12 Regression] ICE: in extract_insn, at recog.c:2770 (unrecognizable insn) with -mno-sse2

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

[Bug libgcc/101075] libatomic's libat_lock_n can deadlock from inconsistent locking order

2021-06-14 Thread rprichard at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101075 Ryan Prichard changed: What|Removed |Added Attachment #51019|0 |1 is obsolete|

[Bug libgcc/101075] New: libatomic's libat_lock_n can deadlock from inconsistent locking order

2021-06-14 Thread rprichard at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101075 Bug ID: 101075 Summary: libatomic's libat_lock_n can deadlock from inconsistent locking order Product: gcc Version: unknown Status: UNCONFIRMED Severity: norma

[Bug tree-optimization/94566] conversion between std::strong_ordering and int

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94566 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-04-13 00:00:00 |2021-6-14 --- Comment #4 from Andrew Pin

[Bug testsuite/101020] [12 regression] Several test case failures after r12-1316

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101020 --- Comment #3 from CVS Commits --- The master branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:327a6b55e171669f2e72588570c931cd000822d0 commit r12-1443-g327a6b55e171669f2e72588570c931cd000822d0 Author: Xionghu Luo Date: Mon

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-14 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 --- Comment #7 from TC --- (In reply to Patrick Palka from comment #6) > > For the other adaptors, we still unconditionally disable perfect forwarding > call wrapper semantics. I'm not sure if the performance/diagnostic tradeoff > is worth it

[Bug tree-optimization/101042] Bogus -Wstringop-overread with 11.1.0 and -O1 because of a call to printf _after_ assertions

2021-06-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101042 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-06-15 Keywords|

[Bug tree-optimization/101074] New: calloc result not treated as zeroed out

2021-06-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101074 Bug ID: 101074 Summary: calloc result not treated as zeroed out Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-o

[Bug tree-optimization/91540] missed value-replacement in phiopt

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91540 --- Comment #5 from Andrew Pinski --- In summary, clang is trying to produce xor always for similar value reductions (or still branches) while GCC produce plus and minus; though producing xor or ior might lead to better code in general.

[Bug tree-optimization/91540] missed value-replacement in phiopt

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91540 --- Comment #4 from Andrew Pinski --- On the trunk we get: _5 = cond1_2(D) & cond2_3(D); _6 = (int) _5; _7 = 43 - _6; If we replace the minus with xor, we would get what clang gives. I think we do this with or though. I looked into a slig

[Bug fortran/97046] Bad interaction between lbound/ubound, allocatable arrays and bind(C) subroutine with dimension(..) parameter

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97046 --- Comment #9 from José Rui Faustino de Sousa --- Created attachment 51018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51018&action=edit Updated patch.

[Bug fortran/97046] Bad interaction between lbound/ubound, allocatable arrays and bind(C) subroutine with dimension(..) parameter

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97046 --- Comment #8 from José Rui Faustino de Sousa --- Updated patch: https://gcc.gnu.org/pipermail/fortran/2021-June/056163.html

[Bug fortran/94331] Bind(C) corrupts array descriptors

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 --- Comment #13 from José Rui Faustino de Sousa --- Created attachment 51017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51017&action=edit Updated patch.

[Bug fortran/94327] Bind(c) argument attributes are incorrectly set

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94327 --- Comment #6 from José Rui Faustino de Sousa --- Created attachment 51016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51016&action=edit Updated patch.

[Bug fortran/94327] Bind(c) argument attributes are incorrectly set

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94327 --- Comment #5 from José Rui Faustino de Sousa --- Updated patch: https://gcc.gnu.org/pipermail/fortran/2021-June/056163.html

[Bug fortran/93963] Select rank mishandling allocatable and pointer arguments with bind(c)

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93963 --- Comment #7 from José Rui Faustino de Sousa --- Created attachment 51015 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51015&action=edit Updated patch.

[Bug fortran/93963] Select rank mishandling allocatable and pointer arguments with bind(c)

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93963 --- Comment #6 from José Rui Faustino de Sousa --- Updated patch: https://gcc.gnu.org/pipermail/fortran/2021-June/056163.html

[Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 --- Comment #7 from José Rui Faustino de Sousa --- Created attachment 51014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51014&action=edit Updated patch.

[Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 --- Comment #6 from José Rui Faustino de Sousa --- Updated patch: https://gcc.gnu.org/pipermail/fortran/2021-June/056163.html

[Bug fortran/94331] Bind(C) corrupts array descriptors

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 --- Comment #12 from José Rui Faustino de Sousa --- Updated patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056163.html

[Bug middle-end/100876] [11 Regression] -Wmismatched-new-delete should understand placement new when it's not inlined

2021-06-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100876 Martin Sebor changed: What|Removed |Added Summary|-Wmismatched-new-delete |[11 Regression] |shoul

[Bug middle-end/100876] -Wmismatched-new-delete should understand placement new when it's not inlined

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100876 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:d9f1466f88abef7c814d02ba39a6ea5ef420aaec commit r12-1441-gd9f1466f88abef7c814d02ba39a6ea5ef420aaec Author: Martin Sebor Date: Mon

[Bug fortran/94104] Request for diagnostic improvement

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104 José Rui Faustino de Sousa changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/94104] Request for diagnostic improvement

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 51013 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51013&action=edit Error message improvement

[Bug fortran/94104] Request for diagnostic improvement

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94104 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056162.html

[Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp

2021-06-14 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777 --- Comment #3 from Peter Bergner --- Fixed on trunk. I'll backport the fix to gcc11 and gcc10 after baking on trunk for a day or two.

[Bug c++/100796] [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-06-14 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 --- Comment #5 from Jason Merrill --- Created attachment 51012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51012&action=edit fix Testing this fix now. Making a suitable testcase for the testsuite will be a bit tricky...

[Bug tree-optimization/100864] (a&!b) | b is not opimized to a | b for comparisons

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100864 --- Comment #5 from Andrew Pinski --- So what is done for A && !B (and A || !B), is the following: /* Simple range test simplifications. */ /* A < B || A >= B -> true. */ (for test1 (lt le le le ne ge) test2 (ge gt ge ne eq ne) (simplify

[Bug target/100777] MMA builtin usage ICEs when used in a #pragma omp parallel and using -fopenmp

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100777 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:20073534c0ccca0a4e079c053ee0874af10b2ea0 commit r12-1439-g20073534c0ccca0a4e079c053ee0874af10b2ea0 Author: Peter Bergner Date: M

[Bug libstdc++/100894] The std::common_reference implementation seems to be wrong

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100894 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3ae416e0a77a000b536171dbe06c3c2d136fb8e1 commit r11-8572-g3ae416e0a77a000b536171dbe06c3c2d136fb8e1 Author: Jonathan Wake

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #6 from Eric Botcazou --- > Does Ada allow bitfields in unions and if yes, what does it want for those? Yes, it does, and I don't think there is any specific need so the default should be OK like for structures.

[Bug gcov-profile/80223] RFE: Exclude functions from profile instrumentation

2021-06-14 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #7 from F

[Bug tree-optimization/100494] [11/12 Regression] Unterminated recursion in gimple-range.cc (x86_64-w64-mingw32)

2021-06-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494 --- Comment #4 from Andrew Macleod --- I just checked a patch in for PR 101014 which I suspect will fix this as well.. want to give it a try off trunk? I plan to port it to gcc 11 as well

[Bug gcov-profile/80223] RFE: Exclude functions from profile instrumentation

2021-06-14 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80223 Nick Desaulniers changed: What|Removed |Added CC||elver at google dot com,

[Bug tree-optimization/101014] [12 Regression] Big compile time hog with -O3 since r12-1268-g9858cd1a6827ee7a

2021-06-14 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101014 --- Comment #4 from Andrew Macleod --- When a range is being calculated for an ssa-name, the propagation process often goes along back edges. These back edges sometime require other ssa-names which have not be processed yet. These are flagged as

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #5 from Jakub Jelinek --- --- gcc/expr.c.jj 2021-06-14 12:27:02.0 +0200 +++ gcc/expr.c 2021-06-14 22:18:56.852524237 +0200 @@ -5120,15 +5120,18 @@ get_bit_range (poly_uint64_pod *bitstart poly_int64_pod

[Bug libstdc++/100894] The std::common_reference implementation seems to be wrong

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100894 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c37b5ddcc88e0cc0f6a4ad609eda51021df0f6bb commit r12-1437-gc37b5ddcc88e0cc0f6a4ad609eda51021df0f6bb Author: Jonathan Wakely Date:

[Bug c++/100796] [11 Regression] GCC does not honor #pragma diagnostic ignored when using the integrated preprocessor

2021-06-14 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100796 --- Comment #4 from Giuseppe D'Angelo --- Created attachment 51011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51011&action=edit testcase Hi, I've tried to "carve" a subset of files that show the problem. Apologies for not really bein

[Bug c++/101071] [10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101071 Andrew Pinski changed: What|Removed |Added Target Milestone|9.5 |10.4 Summary|[9/10/11/12 Reg

[Bug c++/101071] [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101071 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5

[Bug libstdc++/100894] The std::common_reference implementation seems to be wrong

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100894 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.4 --- Comment #1 from Jonathan Wak

[Bug fortran/101069] ICE in gfc_resolve_expr, at fortran/resolve.c:7087

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101069 --- Comment #2 from G. Steinmetz --- Oops, indeed.

[Bug c/29186] optimzation breaks floating point exception flag reading

2021-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29186 Andrew Pinski changed: What|Removed |Added CC||pavel.morozkin at gmail dot com --- Comm

[Bug middle-end/101063] #pragma STDC FENV_ACCESS ON: wrong code generation: instructions leading to side effects may not be generated

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

[Bug preprocessor/89808] An option to disable warning "#pragma once in main file"

2021-06-14 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89808 Alejandro Colomar changed: What|Removed |Added CC||colomar.6.4.3 at gmail dot com --- C

[Bug pch/64117] warning control #pragmas in precompiled headers are not obeyed for template code

2021-06-14 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64117 --- Comment #7 from Alejandro Colomar --- Oops, sorry, I meant the previous comment for another bug. I don't know if it's solved or not in gcc-11

[Bug fortran/79524] [9/10/11/12 Regression] valgrind error for gcc/testsuite/gfortran.dg/fimplicit_none_2.f90

2021-06-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79524 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||gs...@t-online.de --- Comment

[Bug fortran/101069] ICE in gfc_resolve_expr, at fortran/resolve.c:7087

2021-06-14 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101069 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE CC

[Bug pch/64117] warning control #pragmas in precompiled headers are not obeyed for template code

2021-06-14 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64117 Alejandro Colomar changed: What|Removed |Added CC||colomar.6.4.3 at gmail dot com --- C

[Bug target/101058] [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a

2021-06-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101058 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 Jakub Jelinek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug target/101058] [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101058 --- Comment #11 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:4986946f3b761dd4c3e0d79ca735c90e33f4bb83 commit r12-1436-g4986946f3b761dd4c3e0d79ca735c90e33f4bb83 Author: Uros Bizjak Date: Mon

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.5

[Bug libstdc++/100982] wrong constraint in std::optional::operator=

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100982 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:37864c5e6aa6befc17051f162c02d4f593a57e57 commit r10-9915-g37864c5e6aa6befc17051f162c02d4f593a57e57 Author: Jonathan Wake

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b0d29239bd2e90b4d0af6608c01c1a1a40d617f3 commit r10-9914-gb0d29239bd2e90b4d0af6608c01c1a1a40d617f3 Author: Jonathan Wake

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #3 from Jakub Jelinek --- And union U { signed b : 5; }; int c; volatile union U d[7] = {{8}}; short e = 1; __attribute__((noipa, noinline, noclone)) void foo () { d[6].b = 0; d[6].b = 0; d[6].b = 0; d[6].b = 0; d[6].b = 0

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 --- Comment #2 from Jakub Jelinek --- Actually, with noinline,noclone,noipa it started already with r0-102336-g8f0fe813790d58066714c8f38f4916925c83517d

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-14 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 --- Comment #5 from Jonny Grant --- Amazing 1-day turnaround, thank you Jonathan!

[Bug tree-optimization/101062] [10/11/12 Regression] wrong code with "-O2 -fno-toplevel-reorder -frename-registers"

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101062 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug libstdc++/100894] The std::common_reference implementation seems to be wrong

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100894 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug c++/101073] New: [9/10/11/12 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6941

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101073 Bug ID: 101073 Summary: [9/10/11/12 Regression] ICE in cxx_eval_constant_expression, at cp/constexpr.c:6941 Product: gcc Version: 12.0 Status: UNCONFIRMED Seve

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93bfadf3a1db7d73e9ca4a4a3d40f7f81ea16d39 commit r12-1435-g93bfadf3a1db7d73e9ca4a4a3d40f7f81ea16d39 Author: Jonathan Wakely Date:

[Bug c++/101072] New: [11/12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101072 Bug ID: 101072 Summary: [11/12 Regression] ICE in build_target_expr_with_type, at cp/tree.c:845 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101071] New: [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101071 Bug ID: 101071 Summary: [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: n

[Bug c++/101070] New: ICE: Error reporting routines re-entered.

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101070 Bug ID: 101070 Summary: ICE: Error reporting routines re-entered. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/101069] New: ICE in gfc_resolve_expr, at fortran/resolve.c:7087

2021-06-14 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101069 Bug ID: 101069 Summary: ICE in gfc_resolve_expr, at fortran/resolve.c:7087 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug libstdc++/100940] views::take and views::drop should not define _S_has_simple_extra_args

2021-06-14 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100940 Patrick Palka changed: What|Removed |Added Target Milestone|--- |11.2 --- Comment #6 from Patrick Palka

[Bug fortran/100683] Array initialization refuses valid

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 --- Comment #9 from José Rui Faustino de Sousa --- Created attachment 51010 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51010&action=edit Patch and changelog

[Bug fortran/100683] Array initialization refuses valid

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 --- Comment #8 from José Rui Faustino de Sousa --- Corrected patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056160.html

[Bug fortran/100683] Array initialization refuses valid

2021-06-14 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 --- Comment #7 from José Rui Faustino de Sousa --- I was using pr87993.f90 from the testsuite... ;-) The fix is simple enough: diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index a37ad66..a9518e7 100644 --- a/gcc/fortran/resolve.c

[Bug analyzer/101068] New: Analyzer does not purge constraints in loops (e.g. in explode-2.c)

2021-06-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101068 Bug ID: 101068 Summary: Analyzer does not purge constraints in loops (e.g. in explode-2.c) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #2 from Jonathan Wa

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:028fd30231ea8a5ddea5525851ed93e0bc658a23 commit r11-8569-g028fd30231ea8a5ddea5525851ed93e0bc658a23 Author: Jonathan Wake

[Bug c++/101067] New: SFINAE Out-of-line Function Definition not Matching Declaration

2021-06-14 Thread bboys_nick at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101067 Bug ID: 101067 Summary: SFINAE Out-of-line Function Definition not Matching Declaration Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2021-06-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 100913, which changed state. Bug 100913 Summary: cppcheck: 2 * pointless new assignments in the parser ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100913 What|Removed |Added -

[Bug c/100913] cppcheck: 2 * pointless new assignments in the parser ?

2021-06-14 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100913 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/100944] missing -Warray-bounds accessing a flexible array member of a nested struct

2021-06-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100944 --- Comment #2 from Martin Sebor --- The front end does complain but only with -Wpedantic.

[Bug c/100913] cppcheck: 2 * pointless new assignments in the parser ?

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100913 --- Comment #2 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:12d13cf50fe68c898ee65d71d1ba9cdb3ea07996 commit r12-1433-g12d13cf50fe68c898ee65d71d1ba9cdb3ea07996 Author: Tobias Burnus Date: M

[Bug tree-optimization/100934] [9/10/11 Regression] wrong code at -O3 during unrolling since r9-6299

2021-06-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 Richard Biener changed: What|Removed |Added Known to fail|12.0|11.1.0 Summary|[9/10/11/12

[Bug tree-optimization/100934] [9/10/11/12 Regression] wrong code at -O3 during unrolling since r9-6299

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 --- Comment #11 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:788bb7edb3975b80c4cb16323e7a5e55a2471e46 commit r12-1432-g788bb7edb3975b80c4cb16323e7a5e55a2471e46 Author: Richard Biener Date:

[Bug libstdc++/101034] wrong constraint in std::any's constructor

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101034 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:14f26c75d255ef05b706a12d25b003da8a2f5b45 commit r12-1430-g14f26c75d255ef05b706a12d25b003da8a2f5b45 Author: Jonathan Wakely Date:

[Bug c/101066] New: Wrong code after fixup_cfg3

2021-06-14 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101066 Bug ID: 101066 Summary: Wrong code after fixup_cfg3 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug target/101058] [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a

2021-06-14 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101058 --- Comment #10 from Jakub Jelinek --- And maybe for V2SImode too, though haven't verified that.

[Bug libstdc++/101055] [11/12 Regression] should use __has_cpp_attribute() with __ prefixed/suffixed names

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101055 Jonathan Wakely changed: What|Removed |Added See Also||http://bugzilla.opensuse.or

[Bug libstdc++/101055] [11/12 Regression] should use __has_cpp_attribute() with __ prefixed/suffixed names

2021-06-14 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101055 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/101065] New: "internal compiler error: Segmentation fault signal terminated program cc1plus" when compiling some malformed code

2021-06-14 Thread 786246442 at qq dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101065 Bug ID: 101065 Summary: "internal compiler error: Segmentation fault signal terminated program cc1plus" when compiling some malformed code Product: gcc Version:

[Bug libstdc++/101056] std::compare_partial_order_fallback missing the constraint of "F < E is well-formed"

2021-06-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101056 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b76a529c095f076c4780df0c913cf6d2391bcbc9 commit r12-1425-gb76a529c095f076c4780df0c913cf6d2391bcbc9 Author: Jonathan Wakely Date:

[Bug tree-optimization/100934] [9/10/11/12 Regression] wrong code at -O3 during unrolling since r9-6299

2021-06-14 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 --- Comment #10 from rguenther at suse dot de --- On Mon, 14 Jun 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 > > --- Comment #9 from Jakub Jelinek --- > (In reply to Richard Biener from comment

[Bug target/101058] [12 Regression] ICE in extract_insn, at recog.c:2770 since r12-1215-g8d7dae0eb366a88a

2021-06-14 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101058 --- Comment #9 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #8) > Though, when this *punpckwd define_insn_and_split handles all possible > constant permutations for V2HImode, shouldn't ix86_vectorize_vec_perm_const > say so: >

[Bug debug/101064] New: long compile time in var_tracking for Go package

2021-06-14 Thread thanm at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101064 Bug ID: 101064 Summary: long compile time in var_tracking for Go package Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   >