[Bug target/66791] [ARM] Replace builtins with gcc vector extensions code

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66791 --- Comment #5 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:a3bac40469b7052bfadc21cad0e53f40b147e937 commit r11-6108-ga3bac40469b7052bfadc21cad0e53f40b147e937 Author: Prathamesh

[Bug target/98310] New: drivers/mtd/tests/subpagetest.c:426:1: error: could not split insn

2020-12-15 Thread rong.a.chen at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98310 Bug ID: 98310 Summary: drivers/mtd/tests/subpagetest.c:426:1: error: could not split insn Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/66791] [ARM] Replace builtins with gcc vector extensions code

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66791 --- Comment #4 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:9f2877adab2b0af2486bedb731c0fc89bdf2 commit r11-6107-g9f2877adab2b0af2486bedb731c0fc89bdf2 Author: Prathamesh

[Bug target/66791] [ARM] Replace builtins with gcc vector extensions code

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66791 --- Comment #3 from CVS Commits --- The master branch has been updated by Prathamesh Kulkarni : https://gcc.gnu.org/g:cff6dac28a0699cb26cdaafe1dbae255a7ee8030 commit r11-6106-gcff6dac28a0699cb26cdaafe1dbae255a7ee8030 Author: Prathamesh

[Bug tree-optimization/88767] 'unroll and jam' not optimizing some loops

2020-12-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88767 --- Comment #11 from Jiu Fu Guo --- And the patch(PR98137) also helps a lot for the code in comment 9, since vectorization happens.

[Bug target/98309] New: [AVX512] Missing expander for ldexpm3.

2020-12-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98309 Bug ID: 98309 Summary: [AVX512] Missing expander for ldexpm3. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/88767] 'unroll and jam' not optimizing some loops

2020-12-15 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88767 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment

[Bug tree-optimization/98308] New: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512

2020-12-15 Thread vsevolod.livinskij at frtk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98308 Bug ID: 98308 Summary: ICe in in vect_slp_analyze_node_operations, at tree-vect-slp.c:3764 with -O3 -march=skylake-avx512 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/98307] New: use "allocatable" instead of "pointer" (forall_3.f90)

2020-12-15 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98307 Bug ID: 98307 Summary: use "allocatable" instead of "pointer" (forall_3.f90) Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-12-15 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #51 from Jim Wilson --- Created attachment 49773 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49773=edit untested fix to use instead of levy's combine.c patch Needs testing without Levy's patch to make sure it doesn't

[Bug target/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-12-15 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #50 from Jim Wilson --- The combine change is inconvenient. We can't do that in stage3, and it means we need to make sure that this doesn't break other targets. If the combine change is a good idea, then I think you can just modify

[Bug fortran/70863] [F03] Finalization of array of derived type causes segfault

2020-12-15 Thread drikosev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863 Ev Drikos changed: What|Removed |Added CC||drikosev at gmail dot com --- Comment #5

[Bug fortran/97920] [FINAL] -O2 segment fault due to extend derive type's member being partially allocated

2020-12-15 Thread xin.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97920 --- Comment #5 from xin liu --- (In reply to Paul Thomas from comment #2) > (In reply to Martin Liška from comment #1) > > Confirmed with valgrind. At least as old as 4.9.0. > > Hi, > > From a quick perusal of the standard, I find in F2003

[Bug fortran/97920] [FINAL] -O2 segment fault due to extend derive type's member being partially allocated

2020-12-15 Thread xin.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97920 --- Comment #4 from xin liu --- (In reply to Thomas Koenig from comment #3) > Paul is correct, the state of the pointers is undefined. > > What you can do to correct this is to use > > module m > type t1 > real, dimension(:), pointer ::

[Bug c++/52830] ICE: "canonical types differ for identical types ..." when attempting SFINAE with member type

2020-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52830 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/98217] Prefer a warning for when VLAs declared on stack

2020-12-15 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98217 --- Comment #11 from joseph at codesourcery dot com --- It would seem reasonable to have options both for the case of warning about all VLA declarations, and more specifically for the case of allocating a VLA on the stack. The diagnostics for

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #9 from fdlbxtqi --- (In reply to Nathan Sidwell from comment #6) > Created attachment 49769 [details] > potential patch > > Care to give this patch a try? hello??

[Bug c++/98306] invalid use of incomplete type 'struct grammar'

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98306 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/98306] New: invalid use of incomplete type 'struct grammar'

2020-12-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98306 Bug ID: 98306 Summary: invalid use of incomplete type 'struct grammar' Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/98305] New: Incomprehensible -Wmismatched-new-delete warning

2020-12-15 Thread sbergman at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98305 Bug ID: 98305 Summary: Incomprehensible -Wmismatched-new-delete warning Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/98284] ICE in get_array_index

2020-12-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284 --- Comment #3 from Steve Kargl --- On Tue, Dec 15, 2020 at 09:01:15PM +, anlauf at gcc dot gnu.org wrote: > --- Comment #2 from anlauf at gcc dot gnu.org --- > Steve, > > https://gcc.gnu.org/pipermail/fortran/2020-December/055427.html > >

[Bug tree-optimization/98304] New: Failure to optimize bitwise arithmetic pattern

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98304 Bug ID: 98304 Summary: Failure to optimize bitwise arithmetic pattern Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/96094] Failure to optimize bool division

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96094 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d41b097350d3c5d03824ea19520cd3b4430c9e62 commit r11-6100-gd41b097350d3c5d03824ea19520cd3b4430c9e62 Author: Jakub Jelinek Date:

[Bug d/98277] d: ICE in gimplify_expr, at gimplify.c

2020-12-15 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/98277] d: ICE in gimplify_expr, at gimplify.c

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277 --- Comment #3 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:85b55ae6e87bd5cf6a23175065f634614e96a243 commit r9-9116-g85b55ae6e87bd5cf6a23175065f634614e96a243 Author: Iain Buclaw Date:

[Bug d/98277] d: ICE in gimplify_expr, at gimplify.c

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:d0bdf3a9069f8f42b2ab196db2c4d75937722646 commit r10-9154-gd0bdf3a9069f8f42b2ab196db2c4d75937722646 Author: Iain Buclaw

[Bug d/98277] d: ICE in gimplify_expr, at gimplify.c

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98277 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:36c9a3fe3f3c200ad3937d00d339b7269cf07adb commit r11-6099-g36c9a3fe3f3c200ad3937d00d339b7269cf07adb Author: Iain Buclaw Date: Tue

[Bug target/98303] New: [x86] Bad register allocation when reproducing assembly code

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98303 Bug ID: 98303 Summary: [x86] Bad register allocation when reproducing assembly code Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/98302] [11 Regression] Wrong code on aarch64

2020-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 --- Comment #2 from Martin Liška --- Created attachment 49772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49772=edit test case 2

[Bug target/98302] [11 Regression] Wrong code on aarch64

2020-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 --- Comment #1 from Martin Liška --- Created attachment 49771 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49771=edit test-case 1

[Bug target/98302] New: [11 Regression] Wrong code on aarch64

2020-12-15 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98302 Bug ID: 98302 Summary: [11 Regression] Wrong code on aarch64 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug fortran/98284] ICE in get_array_index

2020-12-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug middle-end/93195] -fpatchable-function-entries : __patchable_function_entries should consider comdat groups

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93195 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #8 from fdlbxtqi --- (In reply to Nathan Sidwell from comment #6) > Created attachment 49769 [details] > potential patch > > Care to give this patch a try? make[2]: Leaving directory

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug libfortran/98301] random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 --- Comment #1 from kargl at gcc dot gnu.org --- Created attachment 49770 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49770=edit random_init() patch

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #7 from fdlbxtqi --- (In reply to Nathan Sidwell from comment #6) > Created attachment 49769 [details] > potential patch > > Care to give this patch a try? I will help you. no problem. BTW. Welcome to join discord so I can show

[Bug libfortran/98301] New: random_init() may be non-conforming

2020-12-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 Bug ID: 98301 Summary: random_init() may be non-conforming Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #6 from Nathan Sidwell --- Created attachment 49769 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49769=edit potential patch Care to give this patch a try?

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #5 from fdlbxtqi --- (In reply to Nathan Sidwell from comment #3) > Hm, I thought there was sufficient #ifing to prevent that ... BTW. I tried the example you showed on the GCC module webpage on Linux. It fails to compile. why?

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #4 from fdlbxtqi --- (In reply to Nathan Sidwell from comment #3) > Hm, I thought there was sufficient #ifing to prevent that ... Try the compiler I build before to guard against this.

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #3 from Nathan Sidwell --- Hm, I thought there was sufficient #ifing to prevent that ...

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 --- Comment #2 from fdlbxtqi --- Here was an older version (GCC11 20201204) that can be used for bootstrapping. Please, thank you for fixing this issue ASAP. https://bitbucket.org/ejsvifq_mabmip/mingw-gcc/src/master/

[Bug bootstrap/98300] GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 fdlbxtqi changed: What|Removed |Added Target||x86_64-msys2-mingw-w64, |

[Bug fortran/95372] ICE in find_array_section, at fortran/expr.c:1687

2020-12-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95372 --- Comment #3 from anlauf at gcc dot gnu.org --- Playing around with the above patches, I found that the following now gets rejected instead of an ICE: program p type t integer :: a = 1 end type t type(t), parameter :: z(3) = t()

[Bug bootstrap/98300] New: GCC 11 failed to build on Windows 10. I guess the new module completely breaks this.

2020-12-15 Thread euloanty at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98300 Bug ID: 98300 Summary: GCC 11 failed to build on Windows 10. I guess the new module completely breaks this. Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/98299] Failure to optimize sub loop into modulo-based pattern

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98299 --- Comment #3 from Gabriel Ravier --- PS: The optimization seems to already occur for simpler cases such as powers of 2, e.g. : int f1(int n) { while (n >= 64) n -= 64; return n; } is optimized into `return (n <= 63) ? n : (n

[Bug tree-optimization/98299] Failure to optimize sub loop into modulo-based pattern

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98299 --- Comment #2 from Gabriel Ravier --- At the very least, it seems like a worthwhile pattern to recognize in -O3, even if only to avoid vectorizing it, i.e. have similar effects to what happens if you add `if (n >= 1000)

[Bug tree-optimization/98299] Failure to optimize sub loop into modulo-based pattern

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98299 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/98299] New: Failure to optimize sub loop into modulo-based pattern

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98299 Bug ID: 98299 Summary: Failure to optimize sub loop into modulo-based pattern Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/98298] [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072

2020-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98298 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:433703843b3fa76bcbba4f1fd782c7ef319b64a8 commit r11-6091-g433703843b3fa76bcbba4f1fd782c7ef319b64a8 Author: Jonathan Wakely Date:

[Bug c++/98297] [8/9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653

2020-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/98296] ICE: Segmentation fault signal terminated program cc1plus

2020-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98296 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-12-15 CC|

[Bug c++/98295] [8/9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312

2020-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 Marek Polacek changed: What|Removed |Added Target Milestone|--- |8.5 Keywords|

[Bug target/98289] [8/9/10/11 Regression] [x86] Suboptimal optimization of stack usage when function call does not occur

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289 --- Comment #3 from Jakub Jelinek --- --- gcc/shrink-wrap.c.jj2020-07-28 15:39:09.983756571 +0200 +++ gcc/shrink-wrap.c 2020-12-15 19:15:00.213861334 +0100 @@ -494,7 +494,7 @@ can_get_prologue (basic_block pro, HARD_ edge e;

[Bug c++/98295] [9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312

2020-12-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/98293] [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:494

2020-12-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98293 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/98289] [8/9/10/11 Regression] [x86] Suboptimal optimization of stack usage when function call does not occur

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289 --- Comment #2 from Jakub Jelinek --- That particular change is of course correct, but all that means that shrink-wrapping at least on this testcase doesn't work with -freorder-blocks-and-partition which is on by default. Compiling it with -O2

[Bug libstdc++/98298] New: [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072

2020-12-15 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98298 Bug ID: 98298 Summary: [11 regression] g++.dg/pch/system-1.C assembly comparison fails after r11-6072 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug c++/98297] New: [9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653

2020-12-15 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98297 Bug ID: 98297 Summary: [9/10/11 Regression] ICE in cp_parser_elaborated_type_specifier, at cp/parser.c:19653 Product: gcc Version: 11.0 Status:

[Bug target/98289] [8/9/10/11 Regression] [x86] Suboptimal optimization of stack usage when function call does not occur

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/98296] New: ICE: Segmentation fault signal terminated program cc1plus

2020-12-15 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98296 Bug ID: 98296 Summary: ICE: Segmentation fault signal terminated program cc1plus Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/98295] New: [9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312

2020-12-15 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98295 Bug ID: 98295 Summary: [9/10/11 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:4312 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c/98294] New: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296

2020-12-15 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98294 Bug ID: 98294 Summary: [9/10/11 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1296 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug analyzer/98293] New: [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:494

2020-12-15 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98293 Bug ID: 98293 Summary: [11 Regression] ICE in get_subregion_within_ctor, at analyzer/store.cc:494 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/98292] New: Optimize away C return; in function returning integral/pointer

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98292 Bug ID: 98292 Summary: Optimize away C return; in function returning integral/pointer Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/98291] New: multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert

2020-12-15 Thread peter at cordes dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98291 Bug ID: 98291 Summary: multiple scalar FP accumulators auto-vectorize worse than scalar, including vector load + merge instead of scalar + high-half insert Product: gcc

[Bug target/98210] [11 Regression] SHF_GNU_RETAIN breaks gold linker generated binaries

2020-12-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98210 --- Comment #5 from H.J. Lu --- Since gold has been fixed now, you can add a check for broken gold and set HAVE_GAS_SHF_GNU_RETAIN to 0 for broken gold.

[Bug target/98210] [11 Regression] SHF_GNU_RETAIN breaks gold linker generated binaries

2020-12-15 Thread jozefl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98210 --- Comment #4 from Jozef Lawrynowicz --- Since gold is not built by default, should we just disable SHF_GNU_RETAIN support if gold has been built at all, for Binutils versions without the gold patch. There's 2 weeks between the GCC "used"

[Bug fortran/98290] run-time error with optional character arguments

2020-12-15 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98290 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |INVALID

[Bug tree-optimization/94779] Bad optimization of simple switch

2020-12-15 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779 --- Comment #13 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #12) > So, for start I think we should do: > 1) query->range_of_expr (m_index_range, m_index_expr, swtch) >where query is address of gimple_ranger passed down

[Bug fortran/98290] run-time error with optional character arguments

2020-12-15 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98290 Vivek Rao changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug fortran/98290] New: run-time error with optional character arguments

2020-12-15 Thread vivekrao4 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98290 Bug ID: 98290 Summary: run-time error with optional character arguments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/98289] New: [x86] Suboptimal optimization of stack usage when function call to cold function is not needed

2020-12-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289 Bug ID: 98289 Summary: [x86] Suboptimal optimization of stack usage when function call to cold function is not needed Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/98288] Accidental equality of classes templated by pointer to local static constant of templated function

2020-12-15 Thread matthieum.147192 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288 --- Comment #1 from Matthieu M --- The above program leads to an ICE on gcc (trunk): https://godbolt.org/z/dGe1T6, from SO user https://stackoverflow.com/users/4832499/passer-by.

[Bug rtl-optimization/98287] [10/11 Regression] ICE: in expand_expr_real_2, at expr.c:10000 with -O2 -fno-tree-ccp -fno-tree-forwprop

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98287 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target

[Bug c++/98288] New: Accidental equality of classes templated by pointer to local static constant of templated function

2020-12-15 Thread matthieum.147192 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98288 Bug ID: 98288 Summary: Accidental equality of classes templated by pointer to local static constant of templated function Product: gcc Version: 7.2.0 Status: UNCONFIRMED

[Bug tree-optimization/94779] Bad optimization of simple switch

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94779 Jakub Jelinek changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug rtl-optimization/98287] New: [10/11 Regression] ICE: in expand_expr_real_2, at expr.c:10000 with -O2 -fno-tree-ccp -fno-tree-forwprop

2020-12-15 Thread zsojka at seznam dot cz via Gcc-bugs
s-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.0.0 20201215 (experimental) (GCC)

[Bug libstdc++/97549] [11 Regression] include/pstl rebase breaking

2020-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97549 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > There are also errors when compiling with the Intel compiler and tbb from > oneAPI (aka tbb 2021.1.1): Which is documented as not working, due to API

[Bug libstdc++/97549] [11 Regression] include/pstl rebase breaking

2020-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97549 --- Comment #2 from Jonathan Wakely --- There are also errors when compiling with the Intel compiler and tbb from oneAPI (aka tbb 2021.1.1): In file included from /usr/include/c++/10/pstl/parallel_backend.h(16), from

[Bug rtl-optimization/78559] [7 Regression] wrong code due to tree if-conversion?

2020-12-15 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78559 Andreas Krebbel changed: What|Removed |Added CC||stli at linux dot ibm.com --- Comment

[Bug c/98269] gcc 6.5.0 __builtin_add_overflow() with small uint32_t values incorrectly detects overflow

2020-12-15 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98269 Andreas Krebbel changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2020-12-15 Thread getchar_gnu at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 --- Comment #6 from getchar_gnu at hotmail dot com --- https://gcc.godbolt.org/z/qzG9jj template struct bar { template bar(B& obj, void(B::*f)(A...)const=::operator()){} }; int main() { const auto f1 = [](){}; bar f8(f1); } This

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.0 Status|UNCONFIRMED

[Bug c++/78173] Hard error subtracting pointers to incomplete type in SFINAE context

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78173 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:fa452a843d26a64a5ca0fd7c17ea1bd6e1b81a69 commit r11-6074-gfa452a843d26a64a5ca0fd7c17ea1bd6e1b81a69 Author: Jonathan Wakely Date:

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #4 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cf4ed3b41594b6935a337fe0aaf8149eadf88751 commit r11-6072-gcf4ed3b41594b6935a337fe0aaf8149eadf88751 Author: Jonathan Wakely Date:

[Bug libstdc++/65118] Android target build is broken with "guard.cc:36:22: fatal error: syscall.h: No such file or directory"

2020-12-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65118 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

[Bug target/97827] bootstrap error building the amdgcn-amdhsa offload compiler with LLVM 11

2020-12-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 --- Comment #11 from Tobias Burnus --- For completeness, the LLVM 'main' patch was backported/cherry-picked for LLVM 11.0.1 with commit 700baa009dc685a0adc5f94d258be4ae24742471 Regarding the .section discussion, see also last few comments in

[Bug lto/98275] -flto=auto fails if nthreads_var is zero, must not pass -j0

2020-12-15 Thread pexu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98275 --- Comment #4 from Pekka S --- (I wrote this prior the ticked was modifed and the patch committed.) Thanks. Applied the patch on the latest trunk, built aarch64-none-gcc cross compiler (mingw64). Using -flto=auto -v reports `LTO parallelism

[Bug c++/98282] [8/9/10/11 Regression] Segmentation fault when compiling with optimization >= 2

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98282 Jakub Jelinek changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug rtl-optimization/97092] [10/11 Regression] aarch64, SVE: ICE in ira-color.c since r10-4752-g2d56600c

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97092 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Andrea Corallo : https://gcc.gnu.org/g:41a2a54476cba88376c4b30ca8b94b4a088a66ce commit r10-9153-g41a2a54476cba88376c4b30ca8b94b4a088a66ce Author: Andrea

[Bug target/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-12-15 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 Levy changed: What|Removed |Added Attachment #49543|0 |1 is obsolete|

[Bug target/98274] -march=x86-64-v[234] incompatible with target attribute

2020-12-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98274 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/98274] -march=x86-64-v[234] incompatible with target attribute

2020-12-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98274 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:69bd5d473d22157d0737fc20e98eb3347cbd6ab5 commit r11-6041-g69bd5d473d22157d0737fc20e98eb3347cbd6ab5 Author: Jakub Jelinek Date:

[Bug c++/98286] g++ accepts 'void d(void) { typename foo; }' as valid

2020-12-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98286 Andrew Pinski changed: What|Removed |Added Known to fail||7.5.0 Ever confirmed|0

[Bug tree-optimization/98176] Loop invariant memory could not be hoisted when nonpure_call in loop body

2020-12-15 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98176 --- Comment #7 from Hongyu Wang --- (In reply to Richard Biener from comment #5) > Yes. > > For a LIM testcase an example with a memcpy might be more practically > relevant. > > For refactoring I'd start with classifying the unanalyzable refs

[Bug c++/98286] New: g++ accepts 'void d(void) { typename foo; }' as valid

2020-12-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98286 Bug ID: 98286 Summary: g++ accepts 'void d(void) { typename foo; }' as valid Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

  1   2   >