[Bug ipa/94947] [8/9/10/11 Regression] -fipa-pta + pthread_once crash since r6-5684-g47e5754e17e9ac3b

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94947 Martin Liška changed: What|Removed |Added Known to work||5.4.0 Status|UNCONFIRMED

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #14 from Martin Liška --- Created attachment 48448 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48448=edit Reduced test-case

[Bug c++/94946] [10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Martin Liška changed: What|Removed |Added Keywords|needs-reduction |rejects-valid --- Comment #1 from Martin

[Bug middle-end/4210] should not warning with dead code

2020-05-04 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 --- Comment #33 from Vincent Lefèvre --- (In reply to Niels Möller from comment #32) > 4. I also wonder what happens if, for some reason, a constant invalid shift > count is passed through all the way to code generation? Most architectures >

[Bug middle-end/93086] build_nonstandard_integer_type should take signop instead of int

2020-05-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93086 --- Comment #2 from Andrew Pinski --- I have a patch, in some places I am able to remove some extra varibles, in others I need to add one. There was an mix use of 0/1 and false/true even in the same file for the argument of

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #13 from Christoph --- I tried to help with reducing the test case, but could not achieve something substantial. Then I went back to our test cases and tried to pick the simples one I could find. I removed as much code from main() as

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #12 from Christoph --- Created attachment 48447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48447=edit output for injection test case

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread foss at grueninger dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #11 from Christoph --- Created attachment 48446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48446=edit New, smaller test case (called injection)

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #14 from Segher Boessenkool --- So, hrm, we could in principle attach a REG_EQ* note to any single_set instruction?

[Bug c++/94038] [8/9/10 Regression] Compiling with -Wall causes function template body to get needlessly instantiated

2020-05-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038 Patrick Palka changed: What|Removed |Added Summary|Compiling with -Wall causes |[8/9/10 Regression]

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/94038] Compiling with -Wall causes function template body to get needlessly instantiated

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94038 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:a700b4a9f18fd6213de51f4259ee9a8ce7eefdbb commit r11-56-ga700b4a9f18fd6213de51f4259ee9a8ce7eefdbb Author: Patrick Palka Date: Mon

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #13 from Eric Botcazou --- Since Richard kindly invited me to the party, I feel entitled to voice my personal opinion :-) which is apparently aligned with Richard's. I think that we should allow REG_EQUAL notes for insns with

[Bug ipa/94947] New: -fipa-pta + pthread_once crash

2020-05-04 Thread corydoras at ridiculousfish dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94947 Bug ID: 94947 Summary: -fipa-pta + pthread_once crash Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 --- Comment #7 from Eric Botcazou --- The Ada bits have been installed, but approval from a global maintainer is needed for the libgcc bits.

[Bug libstdc++/94906] memory corruption in std::pmr::monotonic_buffer_resource

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94906 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bb27781b64162e1769df15e0c97e8d2145d2d10d commit r11-53-gbb27781b64162e1769df15e0c97e8d2145d2d10d Author: Jonathan Wakely Date:

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 --- Comment #6 from CVS Commits --- The releases/gcc-8 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:4b0a1274faa64cbbe3c3b5db1129b3d2b3b530bb commit r8-10236-g4b0a1274faa64cbbe3c3b5db1129b3d2b3b530bb Author: Eric Botcazou

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:a34b818215174f6cbe46e2e2bfae874fde7aec72 commit r9-8566-ga34b818215174f6cbe46e2e2bfae874fde7aec72 Author: Eric Botcazou

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 --- Comment #3 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:cc7e4de998cd2a31eb7c834fd427e7f16a99d60a commit r11-52-gcc7e4de998cd2a31eb7c834fd427e7f16a99d60a Author: Eric Botcazou Date: Mon

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:1c615f4a935b805e3c030d8261452a17efb138ac commit r10-8091-g1c615f4a935b805e3c030d8261452a17efb138ac Author: Eric Botcazou

[Bug bootstrap/94918] [8/9/10/11 regression] Ada bootstrap errors on Cygwin64

2020-05-04 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94918 Eric Botcazou changed: What|Removed |Added Last reconfirmed||2020-05-04 Summary|Ada

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at gcc dot

[Bug middle-end/4210] should not warning with dead code

2020-05-04 Thread nisse at lysator dot liu.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210 --- Comment #32 from Niels Möller --- I've checked out the gcc sources, to see if I can understand how to move the warning around. The example input I'm looking at now is unsigned shift_dead (unsigned x) { if (0) return x >> 32; else

[Bug middle-end/94941] Expansion of some internal fns can drop the lhs on the floor

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

[Bug middle-end/94941] Expansion of some internal fns can drop the lhs on the floor

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94941 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:688c8da3eb4cc7482f9844e0e87c11f5003bfbef commit r10-8090-g688c8da3eb4cc7482f9844e0e87c11f5003bfbef Author: Richard

[Bug middle-end/94941] Expansion of some internal fns can drop the lhs on the floor

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94941 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:3af3bec2e4d344bd54a134d8b2263f44d788c3d8 commit r11-50-g3af3bec2e4d344bd54a134d8b2263f44d788c3d8 Author: Richard Sandiford

[Bug fortran/93366] ICE: Invalid expression in gfc_element_size

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

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #11 from rsandifo at gcc dot gnu.org --- (In reply to Segher Boessenkool from comment #9) > "clobber" is a red herring; it is impossible to make a REG_EQ* note for > a clobber, a clobber does not set a new value (that is the whole

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #10 from Segher Boessenkool --- Oh, and ideally, we would replace the whole REG_EQ* stuff with a more powerful interface that is to-the-side, not embedded in the instruction stream. For known exact values, nonzero_bits, known

[Bug c++/94946] [10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Martin Liška changed: What|Removed |Added Known to work||9.3.0 Target Milestone|---

[Bug c++/94946] New: [10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94946 Bug ID: 94946 Summary: [10/11 Regression] error: ‘template JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d Product:

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #14 from Richard Earnshaw --- (In reply to Christophe Lyon from comment #13) > But, in general (non-interrupt) code, what is supposed to happen if you > compile for a d32 VFP and run on d16 one ? (and the code uses the extra >

[Bug rtl-optimization/94873] [8/9/10/11 Regression] wrong code with -O -fno-merge-constants -fno-split-wide-types -fno-tree-fre

2020-05-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873 --- Comment #9 from Segher Boessenkool --- "clobber" is a red herring; it is impossible to make a REG_EQ* note for a clobber, a clobber does not set a new value (that is the whole point of a clobber). I think we could allow auto-modify, sure,

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 Martin Liška changed: What|Removed |Added Summary|ICE with if constexpr (in |[10/11 Regression] ICE with

[Bug c++/94937] [10/11 Regression] ICE with if constexpr (in cp_get_fndecl_from_callee, at cp/cvt.c:1000) since r10-2835-g14da3939da3adcef

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94937 --- Comment #9 from Martin Liška --- Created attachment 48444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48444=edit Semi-reduced test-case I'll carry on with the reduction, but it goes down slowly.

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #13 from Christophe Lyon --- > > Why do we need a library function for that? It would have to be special with > > the stack: push FP registers, but do not restore SP, so that the dual > > restore function can pop them and restore

[Bug middle-end/94940] [10/11 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 --- Comment #5 from Martin Liška --- Thank you for the analysis, I'm gonna report that to qemu guys.

[Bug sanitizer/94849] Improper parameter validation in libsanitizer for fopen64

2020-05-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94849 Martin Liška changed: What|Removed |Added Resolution|--- |MOVED Status|ASSIGNED

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 --- Comment #6 from Marek Polacek --- (In reply to David Seifert from comment #5) > (In reply to Marek Polacek from comment #3) > > I'm going to backport the fix to 8 if it passes the usual testing. > > Hi Marek, > could you also test the

[Bug tree-optimization/94800] Failure to optimize yet another popcount idiom

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94800 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-04 Thread soap at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 --- Comment #5 from David Seifert --- (In reply to Marek Polacek from comment #3) > I'm going to backport the fix to 8 if it passes the usual testing. Hi Marek, could you also test the inlined code. Defining some const and then using it alignas

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/90736] [9 Regression] Bogus error with alignas

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90736 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f6965321b1c00bfb2b9c8407df56bcf38f096088 commit r8-10235-gf6965321b1c00bfb2b9c8407df56bcf38f096088 Author: Marek Polacek

[Bug libstdc++/94747] Confusing code in libsupc++/dyncast.cc

2020-05-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94747 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94938] [10/11 Regression] internal compiler error: in value_dependent_expression_p, at cp/pt.c:26522

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94938 --- Comment #2 from Marek Polacek --- value_dependent_expression_p (called via the new uses_template_parms call) doesn't expect a non-constant expression. So one possible fix would be: --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -10624,7 +10624,8

[Bug c++/94827] crash on requires clause in tparam list since r10-4424

2020-05-04 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94827 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/94795] Failure to use fast sbb method on x86 for spreading any set bit to all bits

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

[Bug rtl-optimization/94795] Failure to use fast sbb method on x86 for spreading any set bit to all bits

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94795 --- Comment #5 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:9decd08b7b153a593a0b61e4f5373cb9574a1973 commit r11-45-g9decd08b7b153a593a0b61e4f5373cb9574a1973 Author: Uros Bizjak Date: Mon May

[Bug rtl-optimization/94945] New: Missed optimization: Carry chain not recognized in manually unrolled loop

2020-05-04 Thread madhur4127 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94945 Bug ID: 94945 Summary: Missed optimization: Carry chain not recognized in manually unrolled loop Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug fortran/94931] request: print include path

2020-05-04 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94931 --- Comment #7 from Steve Kargl --- On Mon, May 04, 2020 at 08:23:17AM +, ryofurue at gmail dot com wrote: > > But, then the question is, why don't you need the -L option? as in > > gfortran -I/usr/include mysourcefile.f -L/usr/lib

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #12 from Richard Earnshaw --- (In reply to Christophe Lyon from comment #11) > (In reply to Richard Earnshaw from comment #10) > > (In reply to Christophe Lyon from comment #9) > > > > My initial thoughts are along the lines of... >

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #11 from Christophe Lyon --- (In reply to Richard Earnshaw from comment #10) > (In reply to Christophe Lyon from comment #9) > > > My initial thoughts are along the lines of... > > > Only try to save FP registers that this function

[Bug tree-optimization/92177] [10/11 regression] gcc.dg/vect/bb-slp-22.c FAILs

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Richard Biener changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #7 from Richard

[Bug tree-optimization/94800] Failure to optimize yet another popcount idiom

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94800 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-05-04

[Bug c++/94944] compile error accessing member function of dependent base class template in exception specification

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94944 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-05-04 CC|

[Bug middle-end/94940] [10/11 Regression] spurious -Warray-bounds for a zero length array member of union since r10-4300-g49fb45c81f4ac068

2020-05-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94940 Martin Sebor changed: What|Removed |Added Blocks||56456 Summary|[10/11

[Bug c++/94944] compile error accessing member function of dependent base class template in exception specification

2020-05-04 Thread eracpp at eml dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94944 --- Comment #1 from eracpp --- The example may be simplified further by removing the function parameters: template struct B { void foo() {} }; template struct D : B { void foo() noexcept(noexcept(B::foo())) {} }; template struct D;

[Bug c++/94944] New: compile error accessing member function of dependent base class template in exception specification

2020-05-04 Thread eracpp at eml dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94944 Bug ID: 94944 Summary: compile error accessing member function of dependent base class template in exception specification Product: gcc Version: unknown Status:

[Bug c++/88759] `decltype(auto)` as return type of abbreviated function template strips cv-qualifications and referenceness

2020-05-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88759 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/54366] [meta-bug] decltype issues

2020-05-04 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54366 Bug 54366 depends on bug 88759, which changed state. Bug 88759 Summary: `decltype(auto)` as return type of abbreviated function template strips cv-qualifications and referenceness https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88759

[Bug rtl-optimization/94864] Failure to combine vunpckhpd+movsd into single vunpckhpd

2020-05-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94864 --- Comment #3 from Segher Boessenkool --- vec_duplicate of vec_select is just a vec_select. Any vec_merge is a vec_select as well, as you say. Canonicalisation should make vec_select always. We probably should have canonicalisation rules for

[Bug c++/94929] [8 Regression] GCC 8 chokes on std::max in alignas

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94929 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug tree-optimization/93674] [8/9 Regression] GCC eliminates conditions it should not, when strict-enums is on

2020-05-04 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93674 Richard Earnshaw changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #10 from Richard Earnshaw --- (In reply to Christophe Lyon from comment #9) > > My initial thoughts are along the lines of... > > Only try to save FP registers that this function directly clobbers. > What's the point of saving these

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/94775] [8/9 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:251c85372e088017e79894f50156901d112affee commit r10-8088-g251c85372e088017e79894f50156901d112affee Author: Marek Polacek

[Bug c++/94775] [8/9/10/11 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775 Marek Polacek changed: What|Removed |Added Summary|[8/9 Regression] ICE in |[8/9/10/11 Regression] ICE

[Bug c++/94745] No error emitted for unknown -Wno-meow argument

2020-05-04 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94745 --- Comment #4 from Louis Dionne --- Thanks for your replies, all. We resolved the problem on our side by not trying to workaround the lack of error, which means that we might end up passing `-Wno-foo` to GCC when it's not supported. I think

[Bug c++/94775] [8/9 Regression] ICE in strip_typedefs, at cp/tree.c:1734 since r8-4668-g8a5ee94a082b3d48

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94775 --- Comment #12 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:05be85b649173b10d0bf10255eb15275c2dcf509 commit r11-42-g05be85b649173b10d0bf10255eb15275c2dcf509 Author: Marek Polacek Date:

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment

[Bug tree-optimization/92177] [10/11 regression] gcc.dg/vect/bb-slp-22.c FAILs

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92177 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c++/94896] [10/11 regression] ICE: canonical types differ for identical types

2020-05-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94896 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug fortran/94925] Undesired runtime warning message

2020-05-04 Thread siteg at mathalacarte dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94925 --- Comment #2 from Fred Krogh --- I'm unclear on comment 1. Are you saying the code is such that this diagnostic can not be turned off and that is the way it should be, or that there is an a problem in gfortran with the if that is guarding the

[Bug c++/94907] [10/11 Regression] ICE: Segmentation fault (in check_return_expr) since r10-8016-gbce54ed494fd0e61

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94907 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/93891] CSE where clobber writes the same value

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93891 --- Comment #6 from Richard Biener --- Not yet fixed.

[Bug tree-optimization/93891] CSE where clobber writes the same value

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93891 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:367766f40a031ff064857681dc4da3309f0ce57d commit r11-41-g367766f40a031ff064857681dc4da3309f0ce57d Author: Richard Biener Date:

[Bug libstdc++/94936] pmr::synchronized_pool_resource crashes without -pthread

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94936 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ec40967f1323069da3a5a45286f71fa4f80926df commit r11-40-gec40967f1323069da3a5a45286f71fa4f80926df Author: Jonathan Wakely Date:

[Bug fortran/94909] Rejects valid code for recursion where there is none

2020-05-04 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94909 --- Comment #3 from Neil Carlson --- Richard, this is just a typical declaration of an abstract type. An extension of this type will have to define the deferred dot_ function with an interface that happens to match the interface of dot. The dot

[Bug tree-optimization/94914] Failure to optimize check of high part of 64-bit result of 32 by 32 multiplication into overflow check

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94914 --- Comment #5 from Jakub Jelinek --- (In reply to Marc Glisse from comment #4) > I thought we might already simplify (u >> 32) != 0 to u >= cst (other > possible forms are u != (uint64_t)(uint32_t)u, u & cst != 0, etc, I am > trying to think

[Bug tree-optimization/39612] [8/9 Regression] LIM inserts loads from uninitialized local memory

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612 Richard Biener changed: What|Removed |Added Known to work||11.0 Status|ASSIGNED

[Bug tree-optimization/39612] [8/9 Regression] LIM inserts loads from uninitialized local memory

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39612 --- Comment #39 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f9e1ea10e657af9fb02fafecf1a600740fd34409 commit r11-39-gf9e1ea10e657af9fb02fafecf1a600740fd34409 Author: Richard Biener Date:

[Bug fortran/93581] [9 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-05-04 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93581 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/93581] [9 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93581 --- Comment #10 from CVS Commits --- The releases/gcc-9 branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:da710a35525cc7631b778fa4a5cfd20c366c01a4 commit r9-8565-gda710a35525cc7631b778fa4a5cfd20c366c01a4 Author: Tobias Burnus

[Bug ipa/93385] [10/11 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #33 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:375a77925c320a273d3b1ef3182f29f31aaa8edf commit r11-38-g375a77925c320a273d3b1ef3182f29f31aaa8edf Author: Martin Jambor Date:

[Bug target/94942] [10/11 Regression] ICE: in extract_constrain_insn, at recog.c:2195 (insn does not satisfy its constraints) with -O -flive-range-shrinkage -ftree-vrp -mavx512vl

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94942 --- Comment #2 from Jakub Jelinek --- Created attachment 48441 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48441=edit gcc11-pr94942.patch Untested fix.

[Bug target/94650] Missed x86-64 peephole optimization: x >= large power of two

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

[Bug c/78155] missing warning on invalid isalpha et al.

2020-05-04 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78155 Bruno Haible changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #6

[Bug target/94650] Missed x86-64 peephole optimization: x >= large power of two

2020-05-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94650 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:8ea03e9016cbca5a7ee2b4befa4d5c32467b0982 commit r11-37-g8ea03e9016cbca5a7ee2b4befa4d5c32467b0982 Author: Uros Bizjak Date: Mon May

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug target/94743] IRQ handler doesn't save scratch VFP registers

2020-05-04 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94743 --- Comment #9 from Christophe Lyon --- > My initial thoughts are along the lines of... > Only try to save FP registers that this function directly clobbers. What's the point of saving these if a callee clobbers other registers? Shouldn't that

[Bug tree-optimization/94914] Failure to optimize check of high part of 64-bit result of 32 by 32 multiplication into overflow check

2020-05-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94914 --- Comment #4 from Marc Glisse --- I thought we might already simplify (u >> 32) != 0 to u >= cst (other possible forms are u != (uint64_t)(uint32_t)u, u & cst != 0, etc, I am trying to think which one looks most canonical). I expect in

[Bug target/94942] [10/11 Regression] ICE: in extract_constrain_insn, at recog.c:2195 (insn does not satisfy its constraints) with -O -flive-range-shrinkage -ftree-vrp -mavx512vl

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94942 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug tree-optimization/94914] Failure to optimize check of high part of 64-bit result of 32 by 32 multiplication into overflow check

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94914 --- Comment #3 from Jakub Jelinek --- Created attachment 48439 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48439=edit gcc11-pr94914.patch Untested fix.

[Bug fortran/94943] New: A module does not export allocatable attribute of herein arrays.

2020-05-04 Thread artu72 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943 Bug ID: 94943 Summary: A module does not export allocatable attribute of herein arrays. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/94942] New: [10/11 Regression] ICE: in extract_constrain_insn, at recog.c:2195 (insn does not satisfy its constraints) with -O -flive-range-shrinkage -ftree-vrp -mavx512vl

2020-05-04 Thread zsojka at seznam dot cz
-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r11-36-20200504110332-g6b5c7ee0df6-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gc

[Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903 --- Comment #3 from Richard Biener --- Feel free to backport, it certainly doesn't have high priority.

[Bug tree-optimization/94914] Failure to optimize check of high part of 64-bit result of 32 by 32 multiplication into overflow check

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94914 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug fortran/94109] Memory leak introduced in 8.3.0->8.3.1

2020-05-04 Thread antony at cosmologist dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109 --- Comment #3 from Antony Lewis --- Although my reduced test in the other id case is one problem, it appears that is not the only memory leak. Someone tested else on various gcc versions and still found: versionmemory leak 7.3.0

[Bug c/94903] [8/9 Regression] internal compiler error: in assign_temp, at function.c:982

2020-05-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94903 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

  1   2   >