[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #10 from Steve Kargl --- On Sat, Jan 16, 2021 at 04:48:09AM +, Bahram.shahrooz at uc dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 > > --- Comment #9 from Bahram.shahrooz at uc dot edu --- > Yes, thank you

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread Bahram.shahrooz at uc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #9 from Bahram.shahrooz at uc dot edu --- Yes, thank you for finding this bug. Things didn't change after changing estart to estrt. Sorry, I don't know how to use -freal-init=nan. I tried to use it like this but got an error. %

[Bug tree-optimization/98703] New: Failure to optimize out non-zero check relative to multiplication overflow check

2021-01-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98703 Bug ID: 98703 Summary: Failure to optimize out non-zero check relative to multiplication overflow check Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #8 from Steve Kargl --- On Fri, Jan 15, 2021 at 05:21:22PM -0800, Steve Kargl wrote: > > You're using undefined variables. > I little more debugging, read(5,*) estrt,esfinal,eincr if(eincr.gt.0)

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #7 from Steve Kargl --- On Sat, Jan 16, 2021 at 12:51:38AM +, Bahram.shahrooz at uc dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 > > --- Comment #6 from Bahram.shahrooz at uc dot edu --- > I get wrong

[Bug middle-end/98702] New: linker failure with a very simple testing case for gcc10

2021-01-15 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98702 Bug ID: 98702 Summary: linker failure with a very simple testing case for gcc10 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread Bahram.shahrooz at uc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #6 from Bahram.shahrooz at uc dot edu --- I get wrong answers doing this: gfortran FiberAnalysis.f -o FiberAnalysis I get correct answers doing this: gfortran FiberAnalysis.f -fcheck=all -ffpe-trap=zero,invalid -o FiberAnalysis

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #5 from Steve Kargl --- On Sat, Jan 16, 2021 at 12:41:56AM +, Bahram.shahrooz at uc dot edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 > > --- Comment #4 from Bahram.shahrooz at uc dot edu --- > I compiled with

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread Bahram.shahrooz at uc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #4 from Bahram.shahrooz at uc dot edu --- I compiled with the suggested options (below) and now the code gives the same result as g77. -fcheck=all -ffpe-trap=zero,invalid Things look good now! Sorry for starting this bug report

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread Bahram.shahrooz at uc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 --- Comment #3 from Bahram.shahrooz at uc dot edu --- Created attachment 49979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49979=edit source code Sorry, I had to zip several files. Readme file in Archive.zip explains what the files are.

[Bug rtl-optimization/98692] Unitialized Values reported only with -Os

2021-01-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98692 Segher Boessenkool changed: What|Removed |Added CC||acsawdey at gcc dot gnu.org ---

[Bug rtl-optimization/98692] Unitialized Values reported only with -Os

2021-01-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98692 --- Comment #4 from Segher Boessenkool --- Are you sure that target is correct?!

[Bug d/98607] GDC merging computations but rounding mode has changed

2021-01-15 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98607 --- Comment #9 from Marc Glisse --- Since I doubt gdc handles rounding modes correctly for scalars, I think you can ignore this issue in the implementation of the vector intrinsics for now (same as we do in C and C++). Note that gcc isn't alone

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

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

[Bug fortran/98701] I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the one c

2021-01-15 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/96623] [11 Regression] ICE in inject_parm_decls, at cp/parser.c:23893

2021-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96623 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 --- Comment #8 from Marek Polacek --- (In reply to Nathan Sidwell from comment #5) > I don;t think your patch is quite right. the call afterwards is making the > assumption that DEPENDENT_TYPE_P is only ever set when > DEPENDENT_TYPE_P_VALID is

[Bug fortran/89891] [meta-bug] Accessing memory in rejected statements or expressions

2021-01-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89891 Bug 89891 depends on bug 98661, which changed state. Bug 98661 Summary: Valgrind errors during error recovery of invalid derived type declarations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98661 What|Removed

[Bug other/86656] [meta-bug] Issues found with -fsanitize=address

2021-01-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 98661, which changed state. Bug 98661 Summary: Valgrind errors during error recovery of invalid derived type declarations https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98661 What|Removed

[Bug fortran/98661] Valgrind errors during error recovery of invalid derived type declarations

2021-01-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98661 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libgomp/98699] Reset OMP_NESTED to true if OMP_MAX_ACTIVE_LEVELS is > 1.

2021-01-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98699 anlauf at gcc dot gnu.org changed: What|Removed |Added Component|fortran |libgomp

[Bug fortran/98701] New: I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the results from the

2021-01-15 Thread Bahram.shahrooz at uc dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98701 Bug ID: 98701 Summary: I compiled a program with gfortran on Mac (Big Sur, version 11.1) and g77 on Windows 10. I get two very different results for identical input files with the

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 --- Comment #6 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:9beb6d88effdab4209beb8bc5e4b8773317f1d33 commit r11-6741-g9beb6d88effdab4209beb8bc5e4b8773317f1d33 Author: Nathan Sidwell Date:

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

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 --- Comment #9 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:e1efa6af61ab54faf0d8d091328e0c6a1141050c commit r11-6740-ge1efa6af61ab54faf0d8d091328e0c6a1141050c Author: Nathan Sidwell Date:

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from Nathan

[Bug tree-optimization/18487] Warnings for pure and const functions that are not actually pure or const

2021-01-15 Thread federico.kircheis at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18487 Federico Kircheis changed: What|Removed |Added CC||federico.kircheis at gmail dot com

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96681, which changed state. Bug 96681 Summary: Failure to optimize xor of comparisons with specific constants to comparison of xor-ed of compared variables https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96681

[Bug tree-optimization/96681] Failure to optimize xor of comparisons with specific constants to comparison of xor-ed of compared variables

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

[Bug tree-optimization/96669] Failure to optimize shift by variable+and by 1 to test for 0

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96669 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0425f4c1b63107bf3bc4778d1fe53c91ace7838d commit r11-6739-g0425f4c1b63107bf3bc4778d1fe53c91ace7838d Author: Jakub Jelinek Date:

[Bug tree-optimization/96681] Failure to optimize xor of comparisons with specific constants to comparison of xor-ed of compared variables

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96681 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5c046034e3ea61dd68965154a398f8f813daf8f2 commit r11-6738-g5c046034e3ea61dd68965154a398f8f813daf8f2 Author: Jakub Jelinek Date:

[Bug c++/98062] [11 regression] Crash in type_as_string from plugin

2021-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98062 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 --- Comment #4 from Marek Polacek --- Oops, I hadn't noticed that this PR has an assignee, since it's still in NEW. Anyway, this was my patch: --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1341,7 +1341,9 @@ cp_build_qualified_type_real (tree

[Bug c++/98624] UBSAN: gcc/cp/module.cc:5895:29: runtime error: member call on null pointer of type 'struct module_state'

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98624 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug ada/98228] [11 Regression] ICE: Assert_Failure atree.adb:931: Error detected at s-gearop.adb:382:34 [a-ngrear.adb:313:7 [a-nllrar.ads:18:1]] on s390x-linux-gnu

2021-01-15 Thread mhillen at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98228 --- Comment #13 from Marius Hillenbrand --- gnat applies different choices for the calling convention on x86 and s390 for Get_Next_Interp. though, by massaging gcc/ada/sem_type.ads, I got them to produce the same GIMPLE. while compiling

[Bug c++/98642] [10/11 Regression] wrong "use of deleted function" error

2021-01-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 --- Comment #3 from Jason Merrill --- Created attachment 49977 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49977=edit possible patch to elide more copies This implements a suggestion I made in

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 Jason Merrill changed: What|Removed |Added Known to work||11.0 Known to fail|11.0

[Bug c++/98642] [10/11 Regression] wrong "use of deleted function" error

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98642 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:d75199f782348bfc401f925b60f33ffc9822b7cc commit r11-6736-gd75199f782348bfc401f925b60f33ffc9822b7cc Author: Jason Merrill Date:

[Bug c++/63707] Brace initialization of array sometimes fails if no copy constructor

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63707 --- Comment #17 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cd09079cfd50d289cbb05eadb728a0713f6bae8a commit r11-6733-gcd09079cfd50d289cbb05eadb728a0713f6bae8a Author: Jason Merrill Date:

[Bug target/97847] [11 Regression] ICE in insert_insn_on_edge, at cfgrtl.c:1976

2021-01-15 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97847 --- Comment #6 from Vladimir Makarov --- I've reproduced the bug too. The fix will be on the next week.

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96671, which changed state. Bug 96671 Summary: Failure to optimize a 3 xor+and pattern to xor+andnot https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96671 What|Removed |Added

[Bug tree-optimization/96671] Failure to optimize a 3 xor+and pattern to xor+andnot

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

[Bug bootstrap/98696] [11 Regression] ICE when build x86_64-elf-cross compiler with MinGW-w64

2021-01-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98696 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/96671] Failure to optimize a 3 xor+and pattern to xor+andnot

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96671 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:aaec739250b1b148f7db5aa86719fe76645efc06 commit r11-6731-gaaec739250b1b148f7db5aa86719fe76645efc06 Author: Jakub Jelinek Date:

[Bug c++/98700] New: Infinite stream of error messages from bad concept code

2021-01-15 Thread igfoo at github dot com via Gcc-bugs
(C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. and g++ (GCC) 11.0.0 20210115 (experimental) Copyright © 2021 Free Software Foundation, Inc. This is free

[Bug bootstrap/98696] [11 Regression] ICE when build x86_64-elf-cross compiler with MinGW-w64

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98696 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:a3128bf01289a243a9e0ebb4e34c23bcb04cb938 commit r11-6730-ga3128bf01289a243a9e0ebb4e34c23bcb04cb938 Author: David Malcolm Date:

[Bug tree-optimization/98597] [11 Regression] ICE in print_mem_ref since r11-6508-gabb1b6058c09a7c0

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98597 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:adb520606ce3e1e1f8aa8c5d0c59a5f3196fc545 commit r11-6729-gadb520606ce3e1e1f8aa8c5d0c59a5f3196fc545 Author: Jakub Jelinek Date:

[Bug bootstrap/98696] [11 Regression] ICE when build x86_64-elf-cross compiler with MinGW-w64

2021-01-15 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98696 --- Comment #4 from cqwrteur --- (In reply to David Malcolm from comment #3) > Created attachment 49976 [details] > Patch to fix the failing selftest > > Does the attached patch fix the build on Windows hosts? Thank you it is working now. You

[Bug target/98688] C++ modules support does not work on PowerPC with opaque MMA types vector_pair/vector_quad

2021-01-15 Thread acsawdey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98688 --- Comment #3 from acsawdey at gcc dot gnu.org --- Yeah it's pretty clear that something needs to be output, as with that code I get an error like this: In module imported at mma-module-2.C:1:1: mma_foo0: In function ‘int bar(__vector_quad*,

[Bug c++/98682] g++ allows goto inside statement expr

2021-01-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98682 --- Comment #1 from Andrew Pinski --- I think this is a dup of bug 772.

[Bug target/98694] [11 Regression] GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

2021-01-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98694 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > and rewritten pattern > (define_insn "*vec_dupv4hi" > [(set (match_operand:V4HI 0 "register_operand" "=y,xYw") > (vec_duplicate:V4HI >

[Bug target/98694] [11 Regression] GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

2021-01-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98694 --- Comment #5 from Hongtao.liu --- and rewritten pattern (define_insn "*vec_dupv4hi" [(set (match_operand:V4HI 0 "register_operand" "=y,xYw") (vec_duplicate:V4HI (truncate:HI (match_operand:SI 1

[Bug target/88836] [SVE] Redundant PTEST in loop test

2021-01-15 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug driver/98591] [11 Regression] -x c++-header -fsyntax-only fails: cc1plus: error: output filename specified twice since r11-5615-g10ee6da64c574947

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98591 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/98694] [11 Regression] GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

2021-01-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98694 --- Comment #4 from Hongtao.liu --- > It seems to be be handled here. > > cut from copy_value in regcprop.c: > > /* If SRC had been assigned a mode narrower than the copy, we can't > link DEST into the chain, because not all of

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

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 --- Comment #7 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:1ba71fabb78b18884e9f479f45a257bab50e8959 commit r11-6725-g1ba71fabb78b18884e9f479f45a257bab50e8959 Author: Nathan Sidwell Date:

[Bug driver/98591] [11 Regression] -x c++-header -fsyntax-only fails: cc1plus: error: output filename specified twice since r11-5615-g10ee6da64c574947

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98591 --- Comment #2 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:492b90f33dfb37576dc7ae424d67b2be8b959bf2 commit r11-6724-g492b90f33dfb37576dc7ae424d67b2be8b959bf2 Author: Nathan Sidwell Date:

[Bug rtl-optimization/96015] [10/11 Regression] gcc-10.1.0 miscompiles Python on hppa

2021-01-15 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96015 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/98694] [11 Regression] GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

2021-01-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98694 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > cprop hardreg change > > (insn 457 499 460 33 (set (reg:SI 39 r11 [orig:86 _11 ] [86]) > (reg:SI 37 r9 [orig:86 _11 ] [86])) "test.c":29:36 75 >

[Bug bootstrap/98696] [11 Regression] ICE when build x86_64-elf-cross compiler with MinGW-w64

2021-01-15 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98696 --- Comment #3 from David Malcolm --- Created attachment 49976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49976=edit Patch to fix the failing selftest Does the attached patch fix the build on Windows hosts?

[Bug target/88836] [SVE] Redundant PTEST in loop test

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88836 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:5a783f42d77b2f00a1ed171c119b020e8df8e521 commit r11-6723-g5a783f42d77b2f00a1ed171c119b020e8df8e521 Author: Richard Sandiford

[Bug fortran/98699] New: Reset OMP_NESTED to true if OMP_MAX_ACTIVE_LEVELS is > 1.

2021-01-15 Thread longb at cray dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98699 Bug ID: 98699 Summary: Reset OMP_NESTED to true if OMP_MAX_ACTIVE_LEVELS is > 1. Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/96372] [11 regression] arm/ivopts.c fails since r11-2012

2021-01-15 Thread akrl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96372 akrl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/96599] Failure to optimize self-stpcpy to strlen

2021-01-15 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96599 --- Comment #4 from Gabriel Ravier --- That makes sense, I had forgotten it was UB and Clang didn't seem to diagnose this in any way, and I must have forgotten to check with GCC.

[Bug tree-optimization/96669] Failure to optimize shift by variable+and by 1 to test for 0

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

[Bug target/96372] [11 regression] arm/ivopts.c fails since r11-2012

2021-01-15 Thread akrl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96372 akrl at gcc dot gnu.org changed: What|Removed |Added Priority|P1 |P3

[Bug target/96372] [11 regression] arm/ivopts.c fails since r11-2012

2021-01-15 Thread andrea.corallo at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96372 --- Comment #2 from Andrea Corallo --- I see what's going on, originally this object-size text <= 20 test was gated with target 'arm_thumb2'. My patch to exclude LOB targets replaced that with 'arm_thumb2_ok_no_arm_v8_1_lob', unfortunatelly

Re: [Bug target/96372] [11 regression] arm/ivopts.c fails since r11-2012

2021-01-15 Thread Andrea Corallo via Gcc-bugs
I see what's going on, originally this object-size text <= 20 test was gated with target 'arm_thumb2'. My patch to exclude LOB targets replaced that with 'arm_thumb2_ok_no_arm_v8_1_lob', unfortunatelly this is relying on 'arm_thumb2_ok' that has a different semantic compared to the original

[Bug c++/98538] [11 Regression] ICE in cp_build_qualified_type_real, at cp/tree.c:1335

2021-01-15 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98538 --- Comment #3 from Marek Polacek --- Extended test: template using A = int[1]; template> struct X { }; template void f (const A) { const A a; } template struct Y { const A a; };

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

2021-01-15 Thread daniel.f.starke at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 --- Comment #6 from Daniel Starke --- That is what I did as workaround for me, but I am not sure how this affacts other targets.

[Bug c++/96443] Incorrect satisfaction value for dependent placeholder return type constraint

2021-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96443 Patrick Palka changed: What|Removed |Added CC||drozdov_xf2g3gb3 at mail dot ru ---

[Bug c++/98346] ICE with a combination of concepts, decltype and type aliases

2021-01-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98346 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug target/98698] New: atomic load to FPU registers

2021-01-15 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98698 Bug ID: 98698 Summary: atomic load to FPU registers Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

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

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95253 --- Comment #5 from Nathan Sidwell --- Created attachment 49975 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49975=edit test patch I think it's as simpleas the attached patch. Are you able to try it?

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

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

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 96094, which changed state. Bug 96094 Summary: Failure to optimize bool division https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96094 What|Removed |Added

[Bug tree-optimization/96271] Failure to optimize memcmp of doubles to avoid going through memory

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96271 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #75 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:63999d751df9bcde4ab9107edb4c635d274b248d commit r11-6719-g63999d751df9bcde4ab9107edb4c635d274b248d Author: Christophe Lyon

[Bug tree-optimization/96376] [11 regression] vect/vect-alias-check.c and vect/vect-live-5.c fail on armeb

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

[Bug tree-optimization/96376] [11 regression] vect/vect-alias-check.c and vect/vect-live-5.c fail on armeb

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96376 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:446703ccc2ce09e9710964f781a21030bf3c2d54 commit r11-6717-g446703ccc2ce09e9710964f781a21030bf3c2d54 Author: Richard Biener Date:

[Bug bootstrap/98696] [11 Regression] ICE when build x86_64-elf-cross compiler with MinGW-w64

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

[Bug tree-optimization/96599] Failure to optimize self-stpcpy to strlen

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

[Bug tree-optimization/96671] Failure to optimize a 3 xor+and pattern to xor+andnot

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96671 --- Comment #6 from Jakub Jelinek --- Created attachment 49973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49973=edit gcc11-pr96671.patch Seems we handle all those cases, so I think we just should add a testcase and close.

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

2021-01-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95276 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug target/98667] gcc generates endbr32 invalid opcode on -march=i486

2021-01-15 Thread tedheadster at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667 --- Comment #11 from Matthew Whitehead --- A patch has been proposed to remove the -fcf-protection=full from the ebuild script: https://bugs.gentoo.org/765442

[Bug tree-optimization/96671] Failure to optimize a 3 xor+and pattern to xor+andnot

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

[Bug target/98688] C++ modules support does not work on PowerPC with opaque MMA types vector_pair/vector_quad

2021-01-15 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98688 Nathan Sidwell changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org ---

[Bug tree-optimization/96681] Failure to optimize xor of comparisons with specific constants to comparison of xor-ed of compared variables

2021-01-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96681 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug tree-optimization/96147] [11 regression] gcc.dg/vect/slp-43.c etc. FAIL

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

[Bug tree-optimization/96147] [11 regression] gcc.dg/vect/slp-43.c etc. FAIL

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96147 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b36c9cd09472c8efb8405726b7cc94fa4ae7059f commit r11-6715-gb36c9cd09472c8efb8405726b7cc94fa4ae7059f Author: Richard Biener Date:

[Bug tree-optimization/96147] [11 regression] gcc.dg/vect/slp-43.c etc. FAIL

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96147 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:aa4ee5798fefd8eedd51287695120bf5219a9858 commit r11-6714-gaa4ee5798fefd8eedd51287695120bf5219a9858 Author: Richard Biener Date:

[Bug tree-optimization/96147] [11 regression] gcc.dg/vect/slp-43.c etc. FAIL

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96147 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e1bd80fb7064869e8d03ddb59e583f4cc9020770 commit r11-6713-ge1bd80fb7064869e8d03ddb59e583f4cc9020770 Author: Richard Biener Date:

[Bug tree-optimization/96147] [11 regression] gcc.dg/vect/slp-43.c etc. FAIL

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96147 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d03f14c354a348cc1043f637cae1ac6470034f71 commit r11-6712-gd03f14c354a348cc1043f637cae1ac6470034f71 Author: Richard Biener Date:

[Bug target/71233] [ARM, AArch64] missing AdvSIMD intrinsics

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71233 --- Comment #74 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:1a6306420090409cb397e2e042256eb1905f415f commit r11-6711-g1a6306420090409cb397e2e042256eb1905f415f Author: Christophe Lyon

[Bug testsuite/96098] [11 regression] gcc.dg/vect/bb-slp-pr68892.c fails since r11-205

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

[Bug testsuite/96098] [11 regression] gcc.dg/vect/bb-slp-pr68892.c fails since r11-205

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96098 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cb60334b7162ec5ae560be482cd7a33402470bb4 commit r11-6710-gcb60334b7162ec5ae560be482cd7a33402470bb4 Author: Richard Biener Date:

[Bug testsuite/96098] [11 regression] gcc.dg/vect/bb-slp-pr68892.c fails since r11-205

2021-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96098 --- Comment #2 from Richard Biener --- The testcase morphed in a way no longer testing what it was originally supposed to do and slightly altering it shows the original issue isn't fixed (anymore). The limit as set as result of PR91403 (and

[Bug target/70454] --with-arch=native isn't applied to 32-bit x86 target library

2021-01-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34 commit r11-6709-g0411ae7f08e0f5a8b02ff313d26d27a0f6d1bb34 Author: Jakub Jelinek Date:

[Bug target/98697] shl not vectorized for v16qi and v8hi with MVE

2021-01-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697 --- Comment #1 from Richard Biener --- it looks like unpack from short int to int is not supported? That is, the usual issue is that a[i] << b[i] is a shift of int << ... because of C integral promotion rules.

  1   2   >