[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-05-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jonathan Wakely  changed:

   What|Removed |Added

 CC||oremanj at mit dot edu

--- Comment #13 from Jonathan Wakely  ---
*** Bug 81976 has been marked as a duplicate of this bug. ***

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jason Merrill  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Jason Merrill  ---
Fixed for 7.4/8.

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #12 from Jason Merrill  ---
Author: jason
Date: Fri Feb 16 16:45:49 2018
New Revision: 257746

URL: https://gcc.gnu.org/viewcvs?rev=257746=gcc=rev
Log:
PR c++/82764 - C++17 ICE with empty base

* class.c (build_base_field_1): Set DECL_SIZE to zero for empty
base.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/nsdmi-empty1.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/class.c

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #10 from Jason Merrill  ---
Author: jason
Date: Fri Feb 16 16:44:26 2018
New Revision: 257745

URL: https://gcc.gnu.org/viewcvs?rev=257745=gcc=rev
Log:
PR c++/82764 - C++17 ICE with empty base

* class.c (build_base_field_1): Set DECL_SIZE to zero for empty
base.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-empty1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #9 from Jason Merrill  ---
Moving b out of the function reproduces the bug on x86_64 as well:

struct Empty {};
struct Empty2 : Empty {};

struct A : Empty2
{
  int x {1};
  int y {2};
};

struct B
{
  A a {};
};

B b;

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-02-16 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jason Merrill  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2018-01-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.3 |7.4

--- Comment #8 from Richard Biener  ---
GCC 7.3 is being released, adjusting target milestone.

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-12-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #7 from Martin Liška  ---
(In reply to Jeffrey A. Law from comment #6)
> Not sure about Martin's c#2.  It just reproduced on the trunk for me. 
> r255837

Yep, sorry. Forget about the comment.

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-12-20 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jeffrey A. Law  changed:

   What|Removed |Added

 CC||law at redhat dot com

--- Comment #6 from Jeffrey A. Law  ---
Not sure about Martin's c#2.  It just reproduced on the trunk for me.  r255837

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-12-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Richard Biener  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
   Priority|P3  |P2

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #5 from Jakub Jelinek  ---
Started with r241187.

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

--- Comment #4 from Jakub Jelinek  ---
Bisecting...

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Jakub Jelinek  changed:

   What|Removed |Added

   Keywords|needs-bisection |
 CC||jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek  ---
Bisecting...

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |7.3

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Martin Liška  changed:

   What|Removed |Added

  Known to work||8.0

--- Comment #2 from Martin Liška  ---
Looks current trunk is OK.

[Bug c++/82764] [7/8 Regression] ICE in output_constructor_regular_field, at varasm.c:5030

2017-10-29 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82764

Martin Liška  changed:

   What|Removed |Added

 Target||arm-linux-gnueabi-gcc
 Status|UNCONFIRMED |NEW
  Known to work||6.4.0
   Keywords||needs-bisection
   Last reconfirmed||2017-10-29
 CC||marxin at gcc dot gnu.org
 Ever confirmed|0   |1
Summary|internal compiler error: in |[7/8 Regression] ICE in
   |output_constructor_regular_ |output_constructor_regular_
   |field, at varasm.c:5030 |field, at varasm.c:5030
  Known to fail||7.2.0

--- Comment #1 from Martin Liška  ---
Confirmed.