This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r268304 - in /trunk/gcc: d/ChangeLog d/decl.cc ...


Author: ibuclaw
Date: Sat Jan 26 21:07:15 2019
New Revision: 268304

URL: https://gcc.gnu.org/viewcvs?rev=268304&root=gcc&view=rev
Log:
Fix ICE when handling void initialized manifest constants.

gcc/d/ChangeLog:

2019-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>

	PR d/89042
	* decl.cc (DeclVisitor::visit(VarDeclaration)): Don't assert if
	handling a void initialized manifest constant.

gcc/testsuite/ChangeLog:

2019-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>

	PR d/89042
	* gdc.dg/pr89042a.d: New test.
	* gdc.dg/pr89042b.d: New test.

Added:
    trunk/gcc/testsuite/gdc.dg/pr89042a.d
    trunk/gcc/testsuite/gdc.dg/pr89042b.d
Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/decl.cc
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]