[Bug tree-optimization/92788] New: [10 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2313

2019-12-03 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92788 Bug ID: 92788 Summary: [10 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2313 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords:

[Bug lto/92599] ICE in speculative_call_info, at cgraph.c:1142

2019-12-03 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92599 --- Comment #4 from Xiong Hu XS Luo --- (In reply to Xiong Hu XS Luo from comment #3) > (In reply to Martin Liška from comment #2) > > So we ICE at the end of cgraph_edge::speculative_call_info: > > (gdb) p ref > > $4 = > > > > (gdb) p e > >

[Bug tree-optimization/92772] wrong code vectorizing masked max

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92772 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug c/92773] GCC compilation with big array / header is infinite

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog, |

[Bug lto/92599] ICE in speculative_call_info, at cgraph.c:1142

2019-12-03 Thread luoxhu at cn dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92599 --- Comment #3 from Xiong Hu XS Luo --- (In reply to Martin Liška from comment #2) > So we ICE at the end of cgraph_edge::speculative_call_info: > (gdb) p ref > $4 = > > (gdb) p e > $5 = "ConvertASEToModelSurfaces.constprop"/113> ->

[Bug other/92784] [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92784 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug c++/92787] New: P0634R3 is not implemented correctly if parameter-declaration appears in a default argument

2019-12-03 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92787 Bug ID: 92787 Summary: P0634R3 is not implemented correctly if parameter-declaration appears in a default argument Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug c++/92786] [c++11] static constexpr member link error

2019-12-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92786 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92786] [c++11] static constexpr member link error

2019-12-03 Thread xavierb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92786 --- Comment #1 from Xavier B --- additional info: - getting the array out of the struct works, - using 'namespace' instead of 'struct' also works fine.

[Bug c++/92652] function call to lambda expression that return true does not satisfy the constraint in requires-clause if using return type deduction

2019-12-03 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92652 --- Comment #2 from Ryou Ezoe --- Yes. this is C++20 concepts .

[Bug c++/92786] New: [c++11] static constexpr member link error

2019-12-03 Thread xavierb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92786 Bug ID: 92786 Summary: [c++11] static constexpr member link error Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/92760] [10 regression] several vector test cases fail on power 7 after r278800

2019-12-03 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92760 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92760] [10 regression] several vector test cases fail on power 7 after r278800

2019-12-03 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92760 --- Comment #2 from Kewen Lin --- Author: linkw Date: Wed Dec 4 05:10:46 2019 New Revision: 278955 URL: https://gcc.gnu.org/viewcvs?rev=278955=gcc=rev Log: [rs6000] Fix PR92760 by checking VECTOR_MEM_NONE_P instead PR92760 exposed one issue

[Bug fortran/92785] New: expressions passed as real arguments to a dummy polymorphic argument fail with indexing error

2019-12-03 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92785 Bug ID: 92785 Summary: expressions passed as real arguments to a dummy polymorphic argument fail with indexing error Product: gcc Version: 9.2.1 Status: UNCONFIRMED

[Bug c++/92735] unused member variable causes code to compile for member to function for undefined function

2019-12-03 Thread marcpawl at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92735 --- Comment #4 from Marc Pawlowsky --- (In reply to Jonathan Wakely from comment #2) > For the case reported here, Clang and EDG do reject it, but I'm not yet > convinced GCC is wrong to accept it. > > The implicit instantiation of is_Foo

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073 --- Comment #9 from Jonathan Wakely --- Author: redi Date: Tue Dec 3 23:57:46 2019 New Revision: 278951 URL: https://gcc.gnu.org/viewcvs?rev=278951=gcc=rev Log: libstdc++: Implement spaceship for std::pair (P1614R2) This defines operator<=>

[Bug other/92784] [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944

2019-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92784 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 --- Comment #4 from Eric Botcazou --- Author: ebotcazou Date: Tue Dec 3 23:10:46 2019 New Revision: 278948 URL: https://gcc.gnu.org/viewcvs?rev=278948=gcc=rev Log: PR bootstrap/92783 * gcc-interface/utils.c

[Bug middle-end/92761] hash_table::expand invokes assignment on invalid objects

2019-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92761 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #10 from Martin Sebor

[Bug other/92784] New: [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944

2019-12-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92784 Bug ID: 92784 Summary: [10 regression] ICE when compiling g++.dg/torture/pr59226.C after r278944 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED CC|ebotcazou

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 --- Comment #1 from Eric Botcazou --- > No patch in that range is immediately obvious, so I'll have to run a reghunt. Probably r278930 though.

[Bug bootstrap/92783] [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92783 Rainer Orth changed: What|Removed |Added Target Milestone|--- |10.0

[Bug bootstrap/92783] New: [10 regression] SEGV in field_byte_offset

2019-12-03 Thread ro at gcc dot gnu.org
: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: ebotcazou at gcc dot gnu.org Target Milestone: --- Target: sparc-sun-solaris2.11 Between 20191202 (r278904) and 20191203 (r278942), Solaris/SPARC Ada bootstrap got broken

[Bug bootstrap/92661] [10 Regression] Bootstrap failure with builtin-types.def change

2019-12-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92661 --- Comment #11 from Peter Bergner --- I have a patch I'm testing for the second problem. Basically, it verifies that the builtin we are overloading has already been defined or not. If it hasn't (ie, it wasn't supported for some reason, like

[Bug target/92767] [m68k]: Random ICE: verify_flow_info failed

2019-12-03 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92767 --- Comment #2 from John Paul Adrian Glaubitz --- A local native bootstrap went through without problems, so maybe it's a problem with the Debian buildds. I'll try to track it down and if I can reproduce it locally, I will provide the

[Bug fortran/92782] New: ICE in fold_convert_loc, at fold-const.c:2431

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92782 Bug ID: 92782 Summary: ICE in fold_convert_loc, at fold-const.c:2431 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/92781] New: ICE in convert_nonlocal_reference_op, at tree-nested.c:1065

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92781 Bug ID: 92781 Summary: ICE in convert_nonlocal_reference_op, at tree-nested.c:1065 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #4 from Hannes Hauswedell --- Thanks for the quick reply, Jonathan! I am familiar with the error in general, but I am using vanilla packages by the vendor (FreeBSD) which should not have any funky optimisations. Also, my colleague

[Bug fortran/92780] New: [10 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:484

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92780 Bug ID: 92780 Summary: [10 Regression] ICE in gfc_get_class_from_expr, at fortran/trans-expr.c:484 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #3 from Jonathan Wakely --- Because "illegal instruction" happens if the executable contains an instruction that your CPU doesn't support. And that should never happen if you built GCC correctly. When I try to compile with

[Bug fortran/92779] [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 G. Steinmetz changed: What|Removed |Added Keywords||ice-on-valid-code --- Comment #1 from G.

[Bug fortran/92779] New: [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92779 Bug ID: 92779 Summary: [8/9/10 Regression] ICE in gfc_conv_intrinsic_funcall, at fortran/trans-intrinsic.c:4225 Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug fortran/55735] ICE with deferred-length strings in COMMON

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55735 --- Comment #14 from G. Steinmetz --- $ cat z3.f90 program p character(:), pointer :: c common c n = len(c) end $ gfortran-10-20191201 -c z3.f90 z3.f90:4:0: 4 |n = len(c) | internal compiler error: in

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #2 from Jonathan Wakely --- This usually means you built GCC (or one of the libraries it uses, like libgmp) on a different machine with a different CPU.

[Bug fortran/55735] ICE with deferred-length strings in COMMON

2019-12-03 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55735 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #13 from

[Bug c++/92778] ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 --- Comment #1 from Hannes Hauswedell --- Here is the intermediate code: https://hauswedell.net/lambda.ii.xz

[Bug c++/92778] New: ICE: Illegal instruction signal terminated program cc1plus

2019-12-03 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92778 Bug ID: 92778 Summary: ICE: Illegal instruction signal terminated program cc1plus Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/92767] [m68k]: Random ICE: verify_flow_info failed

2019-12-03 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92767 --- Comment #1 from Bernd Schmidt --- People will be more likely to look at it if there's a preprocessed .i file that reproduces the issue, ideally with a cross compiler rather than a native bootstrap. If it only occurs when bootstrapping,

[Bug c++/92735] unused member variable causes code to compile for member to function for undefined function

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92735 --- Comment #3 from Jonathan Wakely --- Related to http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1396

[Bug c++/88323] implement C++20 language features.

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 91369, which changed state. Bug 91369 Summary: Implement P0784R7: constexpr new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 What|Removed |Added

[Bug c++/91369] Implement P0784R7: constexpr new

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 91369, which changed state. Bug 91369 Summary: Implement P0784R7: constexpr new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 What|Removed |Added

[Bug c++/92777] New: ICE on concept containing lambda with auto variable declaration

2019-12-03 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92777 Bug ID: 92777 Summary: ICE on concept containing lambda with auto variable declaration Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/91369] Implement P0784R7: constexpr new

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369 --- Comment #22 from Jakub Jelinek --- Author: jakub Date: Tue Dec 3 19:27:47 2019 New Revision: 278945 URL: https://gcc.gnu.org/viewcvs?rev=278945=gcc=rev Log: PR c++/91369 * constexpr.c (struct constexpr_global_ctx): Add

[Bug fortran/92756] [9/10 Regression] ICE in lower_omp, at omp-low.c:12988

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92756 --- Comment #3 from Jakub Jelinek --- Created attachment 47412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47412=edit gcc10-pr92756.patch Untested fix.

[Bug fortran/92756] [9/10 Regression] ICE in lower_omp, at omp-low.c:12988

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92756 Jakub Jelinek changed: What|Removed |Added Keywords|ice-on-invalid-code | Status|NEW

[Bug c++/92776] New: Can't define member function out of line with non-type template parameter

2019-12-03 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92776 Bug ID: 92776 Summary: Can't define member function out of line with non-type template parameter Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/92486] Wrong optimization: padding in structs is not copied even with memcpy

2019-12-03 Thread ch3root at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92486 --- Comment #16 from Alexander Cherepanov --- BTW this bug combines nicely with pr71460. Possible effects: - padding in a long double inside a struct is lost on x86-64; - sNaN is converted to qNaN in a double inside a struct on x86-32. Both are

[Bug fortran/92775] New: Incorrect expression in DW_AT_byte_stride on an array

2019-12-03 Thread andrew.burgess at embecosm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92775 Bug ID: 92775 Summary: Incorrect expression in DW_AT_byte_stride on an array Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/65146] alignment of _Atomic structure member is not correct

2019-12-03 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #19 from joseph at codesourcery dot com --- On Tue, 3 Dec 2019, jason at gcc dot gnu.org wrote: > Can we please fix this for GCC 10? It's an important compatibility issue, and > becoming more important. Bumping to P1 to raise

[Bug gcov-profile/91971] Profile directory concatenated with object file path

2019-12-03 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 Eric Botcazou changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug target/65146] alignment of _Atomic structure member is not correct

2019-12-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 Jason Merrill changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #13 from rguenther at suse dot de --- On December 3, 2019 4:09:12 PM GMT+01:00, "jakub at gcc dot gnu.org" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 > >--- Comment #12 from Jakub Jelinek --- >(In reply to

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #13 from Jakub Jelinek --- (In reply to Martin Sebor from comment #12) > The __builtin_strcmp(ptr->header.magic, "x") call in comment #0 is undefined > because the two-element array ptr->header.magic is not a nul-terminated > string.

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #12 from Martin Sebor --- The __builtin_strcmp(ptr->header.magic, "x") call in comment #0 is undefined because the two-element array ptr->header.magic is not a nul-terminated string. The warning was designed to point that out.

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #11 from Jakub Jelinek --- Untested patch to fix all these wrong-code issues would be something like: --- gcc/tree-ssa-strlen.c.jj2019-11-28 09:35:32.443298424 +0100 +++ gcc/tree-ssa-strlen.c 2019-12-03 17:02:32.131658020

[Bug c++/91363] Implement P0960R3: Parenthesized initialization of aggregates

2019-12-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91363 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/88323] implement C++20 language features.

2019-12-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88323 Bug 88323 depends on bug 91363, which changed state. Bug 91363 Summary: Implement P0960R3: Parenthesized initialization of aggregates https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91363 What|Removed |Added

[Bug c++/91363] Implement P0960R3: Parenthesized initialization of aggregates

2019-12-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91363 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Tue Dec 3 15:59:40 2019 New Revision: 278939 URL: https://gcc.gnu.org/viewcvs?rev=278939=gcc=rev Log: PR c++/91363 - P0960R3: Parenthesized initialization of aggregates.

[Bug c++/92774] New: ICE with defaulted three-way comparison function

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92774 Bug ID: 92774 Summary: ICE with defaulted three-way comparison function Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug preprocessor/47857] Pragma once warning when compiling PCH

2019-12-03 Thread romain.geissler at amadeus dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857 Romain Geissler changed: What|Removed |Added CC||romain.geissler at amadeus dot com

[Bug target/92758] [10 regression] r278833 breaks gcc.target/powerpc/fold-vec-splat-floatdouble.c

2019-12-03 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92758 --- Comment #4 from seurer at gcc dot gnu.org --- OK, thanks. BTW, for reference this also affected a couple other test cases on LE power 8 and power 9. FAIL: gcc.target/powerpc/swaps-p8-16.c scan-assembler vspltw FAIL:

[Bug c/92773] GCC compilation with big array / header is infinite

2019-12-03 Thread renault at fedoraproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 --- Comment #2 from Charles-Antoine Couret --- Created attachment 47410 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47410=edit one big header which raises the problem

[Bug c/92773] GCC compilation with big array / header is infinite

2019-12-03 Thread renault at fedoraproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 --- Comment #1 from Charles-Antoine Couret --- Created attachment 47409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47409=edit module driver header

[Bug c/92773] New: GCC compilation with big array / header is infinite

2019-12-03 Thread renault at fedoraproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92773 Bug ID: 92773 Summary: GCC compilation with big array / header is infinite Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug bootstrap/92762] hash_table::empty_slow invokes assignment on invalid objects

2019-12-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92762 --- Comment #3 from Martin Sebor --- It looks to me like the whole else block with the BROKEN_VALUE_INITIALIZATION guard is incorrect. The following test case aborts: typedef int_hash IntHash; hash_map > x; static void test_hash_table () {

[Bug tree-optimization/92772] New: wrong code vectorizing masked max

2019-12-03 Thread ams at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92772 Bug ID: 92772 Summary: wrong code vectorizing masked max Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component:

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #12 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #11) > Alternatively add another flag to operand_equal_p to say whether > exact literal equality is asked for. That is fine with me. Though, as I said on IRC,

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #10 from Jakub Jelinek --- Testcase showing wrong-code with the __builtin_strcmp_eq stuff (assuming the testcase is considered valid): /* { dg-do run { target mmap } } */ /* { dg-options "-O2" } */ #include #include #ifndef

[Bug target/92758] [10 regression] r278833 breaks gcc.target/powerpc/fold-vec-splat-floatdouble.c

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92758 --- Comment #3 from Richard Biener --- Author: rguenth Date: Tue Dec 3 14:47:24 2019 New Revision: 278938 URL: https://gcc.gnu.org/viewcvs?rev=278938=gcc=rev Log: 2019-12-03 Richard Biener PR tree-optimization/92758 *

[Bug target/92758] [10 regression] r278833 breaks gcc.target/powerpc/fold-vec-splat-floatdouble.c

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92758 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #9 from Jakub Jelinek --- (In reply to Jeffrey A. Law from comment #8) > Perhaps related to: > > https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01874.html Yes, that is pretty much the same thing. One thing is whether it is safe or

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #11 from rguenther at suse dot de --- On Tue, 3 Dec 2019, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2019-12-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #8

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2019-11-19 00:00:00 |2019-12-3 --- Comment #8 from

[Bug c++/67491] [meta-bug] concepts issues

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 92771, which changed state. Bug 92771 Summary: [9/10 Regression] Concept won't use default template argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 What|Removed |Added

[Bug c++/91073] [9/10 Regression] if constexpr no longer works directly with Concepts

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91073 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment

[Bug c++/92771] [9/10 Regression] Concept won't use default template argument

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/92770] std::unordered_map requires both T and U to be fully declared

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92770 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/92754] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:693

2019-12-03 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92754 --- Comment #2 from Tobias Burnus --- Created attachment 47407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47407=edit Lightly tested patch (In reply to Martin Liška from comment #1) > Confirmed, started with r218068, it was rejected

[Bug c++/92771] [9/10 Regression] Concept won't use default template argument

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > trunk accepts with -fconcepts (?!?) At r276764 it started to be accepted with -std=gnu++14 -fconcepts but is still rejected with -std=gnu++17 -fconcepts or

[Bug c++/92771] [9/10 Regression] Concept won't use default template argument

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 --- Comment #1 from Jonathan Wakely --- Reduced: template concept one_or_two = true; template concept one = one_or_two; template constexpr void foo() { if (one) // OK { } if (one_or_two) // ERROR { } } gcc-8-branch accepts this with

[Bug c++/92771] [9/10 Regression] Concept won't use default template argument

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/92771] New: [9/10 Regression] Concept won't use default template argument

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92771 Bug ID: 92771 Summary: [9/10 Regression] Concept won't use default template argument Product: gcc Version: 9.2.1 Status: UNCONFIRMED Keywords: rejects-valid

[Bug libstdc++/92770] New: std::unordered_map requires both T and U to be fully declared

2019-12-03 Thread raphael.kubo.da.costa at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92770 Bug ID: 92770 Summary: std::unordered_map requires both T and U to be fully declared Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/81202] Concept parsing error for default template arguments

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81202 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c++/92214] Unhelpful diagnostic for static_assert( some_concept(some_type) )

2019-12-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92214 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #5 from Jakub Jelinek --- Even more reduced: #include __m128 foo (__m128 x) { int f[4] __attribute__((aligned (16))) = { 0x, 0x8000, 0x, 0x8000 }; return _mm_xor_ps (x, *(__m128 *) f); } int main ()

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #6 from Richard Biener --- Possibly the ->equal_p () use in vector-builder elides the -0.0 since it may appear "equal" to 0.0?

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #7 from Richard Biener --- (In reply to Jakub Jelinek from comment #5) > Even more reduced: > #include > > __m128 > foo (__m128 x) > { > int f[4] __attribute__((aligned (16))) > = { 0x, 0x8000, 0x,

[Bug c/92769] New: No way to set CR0[SO] on function return

2019-12-03 Thread christophe.le...@c-s.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92769 Bug ID: 92769 Summary: No way to set CR0[SO] on function return Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 Martin Liška changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

[Bug tree-optimization/92768] [8/9/10 Regression] Maybe a wrong code for vector constants

2019-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92768 --- Comment #3 from Jakub Jelinek --- Slightly cleaned up testcase: #include struct S { int f[4]; }; __m128 foo (__m128 x) { const struct S a = { {0x, 0x8000, 0x, 0x8000}}; return _mm_xor_ps (x, _mm_load_ps ((float

  1   2   >