[Bug middle-end/95309] New: [11 Regression] Many targets failing ssa-dom-cse-2.c after vectorizer changes

2020-05-24 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95309 Bug ID: 95309 Summary: [11 Regression] Many targets failing ssa-dom-cse-2.c after vectorizer changes Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/94919] Failure to recognize max pattern

2020-05-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94919 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/95125] Unoptimal code for vectorized conversions

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95125 --- Comment #9 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:94c0409717bf8bf783963c1d50bb8f4a4732dce7 commit r11-596-g94c0409717bf8bf783963c1d50bb8f4a4732dce7 Author: liuhongt Date: Sat May

[Bug libstdc++/94268] std::filebuf is extremely (at least 10x) slow on windows compared to Linux. Even much slower MSVC STL with terrible ABI.

2020-05-24 Thread euloanty at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94268 --- Comment #10 from fdlbxtqi --- What about adding another check when BUFSIZ is smaller than 4KB? If it is smaller than 4kb, adjust the filebuf size to 4kb at least.

[Bug tree-optimization/95187] Failure to optimize bool check into consecutive literals

2020-05-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95187 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug target/95095] Feature request: support -fno-unique-section-names

2020-05-24 Thread i at maskray dot me
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95095 --- Comment #1 from Fangrui Song --- I just learned that `int main() {}` compiles to .text.startup in -O2 or -Os It seems that .text.startup. may be better to not accidentally move a C function named `startup` (`startup.` is not a valid C

[Bug middle-end/95276] [10/11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 --- Comment #8 from Thomas Koenig --- Looks like a faithful reduction that you made, it also still shows the locale dependency from comment #4: $ LANG="" gcc -O2 -S a.c a.c: In function 'f': a.c:18:6: warning: writing 1 byte into a region of

[Bug middle-end/95276] [10/11 Regression] Amusing stringpop-overflow message building libgfortran

2020-05-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 --- Comment #7 from Martin Sebor --- There are some uninitialized local variables in the reduced test case but with those made extern I was able to reproduce the warning. But unless the test case was reduced too far or the reduction introduced

[Bug tree-optimization/95308] ICE: in maybe_canonicalize_mem_ref_addr with -O3 -march=skylake-avx512

2020-05-24 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95308 --- Comment #1 from Vsevolod Livinskiy --- bug 94216 might be related to this one

[Bug tree-optimization/95308] New: ICE: in maybe_canonicalize_mem_ref_addr with -O3 -march=skylake-avx512

2020-05-24 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95308 Bug ID: 95308 Summary: ICE: in maybe_canonicalize_mem_ref_addr with -O3 -march=skylake-avx512 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/95253] [10/11 Regression] Build failure on MSys. Wrong dependency file escaping on Windows.

2020-05-24 Thread daniel.f.starke at freenet dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 --- Comment #2 from Daniel Starke --- Minimal test case on MSys/MinGW: echo '#include ' | gcc -MD -MF - -fsyntax-only -x c - Result with gcc 9.3.0: -: \ e:\msys\mingw64_9.3.0\lib\gcc\x86_64-w64-mingw32\9.3.0\include\stddef.h \ [...] Result

[Bug middle-end/95189] [10/11 Regression] memcmp being wrongly stripped like strcmp

2020-05-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug libfortran/95195] gfortran poorly handles a program error of writing a namelist to an unformatted file.

2020-05-24 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95195 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug fortran/95106] Bogus warning from module with long name and an equivalence

2020-05-24 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95106 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/95106] Bogus warning from module with long name and an equivalence

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95106 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d176184d98a00ab379ae5959aed1908a79995e6b commit r11-594-gd176184d98a00ab379ae5959aed1908a79995e6b Author: Harald Anlauf Date:

[Bug c++/95307] Compiler accepts reinterpret_cast in constexpr

2020-05-24 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95307 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler@googlemail.

[Bug c++/95028] ICE in g++ (Arch Linux 9.3.0-1) 9.3.0 with captured OMP reduce clause in lambda

2020-05-24 Thread fytch at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95028 --- Comment #1 from fytch --- Seems to be fixed in GCC g++ 10.1.0

[Bug target/95255] [10/11 Regression] ICE in gen_roundevendf2, at config/i386/i386.md:16328 since r10-2809-gd3b92f35d84f44a8

2020-05-24 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95255 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-24 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #7 from Steve Kargl --- On Sun, May 24, 2020 at 02:45:32PM +, david.sagan at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 > > --- Comment #6 from David Sagan --- > > program foo > >real x > >

[Bug c++/95307] New: Compiler accepts reinterpret_cast in constexpr

2020-05-24 Thread vincent.hamp at higaski dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95307 Bug ID: 95307 Summary: Compiler accepts reinterpret_cast in constexpr Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/95255] [10/11 Regression] ICE in gen_roundevendf2, at config/i386/i386.md:16328 since r10-2809-gd3b92f35d84f44a8

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95255 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:217a22416575c638940b25ea5937ff09d40cf808 commit r10-8178-g217a22416575c638940b25ea5937ff09d40cf808 Author: Uros Bizjak

[Bug jit/95306] New: Getting __builtin_saddl_overflow gives the error "unimplemented primitive type for builtin: 42"

2020-05-24 Thread bouanto at zoho dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95306 Bug ID: 95306 Summary: Getting __builtin_saddl_overflow gives the error "unimplemented primitive type for builtin: 42" Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-24 Thread david.sagan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #6 from David Sagan --- > program foo >real x >x = 42 >call bar(x) >print *, x >contains > subroutine bar(a) > real, intent(inout) :: a > a = 12 > x = 0 > end subroutine bar > end

[Bug c++/95305] Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #2 from Jason --- Overview: = This performance difference appears to affect many versions of g++: my testing indicates since g++ v7.3.0. The performance difference appears to be a 4-7x difference in the time taken to compile

[Bug c++/95305] Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #1 from Jason --- Created attachment 48591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48591=edit Bar-graph of time taken to compile same code.

[Bug c++/95305] New: Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 Bug ID: 95305 Summary: Same code takes ~1/10 time to compile under clang++. Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug jit/95296] Segfault when trying to return a void value

2020-05-24 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95296 David Malcolm changed: What|Removed |Added Last reconfirmed||2020-05-24 Ever confirmed|0

[Bug fortran/94361] [8/9/10/11 Regression] Memory leak in nested types with final

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94361 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/95304] Clean up some code for finalization

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95304 Thomas Koenig changed: What|Removed |Added Severity|normal |enhancement

[Bug fortran/95304] New: Clean up some code for finalization

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95304 Bug ID: 95304 Summary: Clean up some code for finalization Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/95259] Duplicated codes in libgcc, driver-i386.c and i386-builtins.c

2020-05-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95259 Bug 95259 depends on bug 95258, which changed state. Bug 95258 Summary: -march=native doesn't handle -mavx512vpopcntdq https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 What|Removed |Added

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 --- Comment #5 from CVS Commits --- The releases/gcc-8 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:0055fa9a7b7239c50e6067724f28e64eceadd0fe commit r8-10270-g0055fa9a7b7239c50e6067724f28e64eceadd0fe Author: H.J. Lu Date: Fri

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:81e65b210d33bad3e9263cd74fd8eca775df6ff9 commit r9-8618-g81e65b210d33bad3e9263cd74fd8eca775df6ff9 Author: H.J. Lu Date: Fri

[Bug target/95258] -march=native doesn't handle -mavx512vpopcntdq

2020-05-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95258 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by H.J. Lu : https://gcc.gnu.org/g:af216f799553b9306cb662fc303412a244215ec5 commit r10-8176-gaf216f799553b9306cb662fc303412a244215ec5 Author: H.J. Lu Date: Fri

[Bug c++/95303] New: Member type of class template is incorrectly printed in diagnostics when it fails to satisfy a concept

2020-05-24 Thread ensadc at mailnesia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95303 Bug ID: 95303 Summary: Member type of class template is incorrectly printed in diagnostics when it fails to satisfy a concept Product: gcc Version: 10.0 Status:

[Bug c++/95302] New: function attributed to be deprecated cannot include a typedef/using

2020-05-24 Thread shyou...@ruby-lang.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 Bug ID: 95302 Summary: function attributed to be deprecated cannot include a typedef/using Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/95079] unorderd_map::insert_or_assign and try_emplace should only hash and mod once unless there is a rehash.

2020-05-24 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95079 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug c++/95301] New: excessive error messages

2020-05-24 Thread wouter at voti dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95301 Bug ID: 95301 Summary: excessive error messages Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-24 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #5 from Steve Kargl --- On Sun, May 24, 2020 at 06:47:18AM +, tkoenig at gcc dot gnu.org wrote: > > and the effective argument has the TARGET attribute > > That I will have to look up; if a has the TARGET attribute, > does a%b

[Bug libfortran/95293] Fortran not passing array by reference

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #4 from Thomas Koenig --- Time to dig out the F2018 standard... 15.5.2.4 Ordinary dummy variables 9 If the dummy argument has the TARGET attribute That's fulfilled does not have the VALUE attribute, That's fulfilled. and either

[Bug c++/95299] sorry, unimplemented: mangling typename_type

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95299 Thomas Koenig changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/95298] sorry, unimplemented: mangling record_type

2020-05-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95298 --- Comment #1 from Thomas Koenig --- *** Bug 95299 has been marked as a duplicate of this bug. ***