Bug 88722 - <no_file>:1: internal compiler error: in register_moduleinfo, at d/modules.cc:40 2
Summary: <no_file>:1: internal compiler error: in register_moduleinfo, at d/modules.cc...
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: d (show other bugs)
Version: 9.0
: P3 normal
Target Milestone: ---
Assignee: Iain Buclaw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-06 17:41 UTC by John David Anglin
Modified: 2019-08-21 08:07 UTC (History)
0 users

See Also:
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John David Anglin 2019-01-06 17:41:00 UTC
spawn /test/gnu/gcc/objdir/gcc/testsuite/gdc/../../gdc -B/test/gnu/gcc/objdir/gc
c/testsuite/gdc/../../ /test/gnu/gcc/gcc/gcc/testsuite/gdc.dg/gdc254.d -fno-diag
nostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-color=never
-I/test/gnu/gcc/gcc/gcc/testsuite/../../libphobos/libdruntime -I/test/gnu/gcc/gc
c/gcc/testsuite/../../libphobos/src -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11
/./libstdc++-v3/include -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++
-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/gcc/gcc/testsuite/../../libstd
c++-v3/libsupc++ -O0 -I /test/gnu/gcc/gcc/gcc/testsuite/gdc.dg -S -o gdc254.s
/test/gnu/gcc/gcc/gcc/testsuite/gdc.dg/gdc254.d:13:1: error: class gdc254.C254 i
nterface function 'void F()' is not implemented
<no_file>:1: internal compiler error: in register_moduleinfo, at d/modules.cc:40
2
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
Comment 1 Iain Buclaw 2019-08-21 07:54:16 UTC
Author: ibuclaw
Date: Wed Aug 21 07:53:44 2019
New Revision: 274769

URL: https://gcc.gnu.org/viewcvs?rev=274769&root=gcc&view=rev
Log:
d: Partially fix ICE: in register_moduleinfo, at d/modules.cc:40

gcc/d/ChangeLog:

	PR d/88722
	* modules.cc: Include diagnostic.h.
	(register_moduleinfo): Use sorry instead of gcc_assert for targets
	without named sections.

Modified:
    trunk/gcc/d/ChangeLog
    trunk/gcc/d/modules.cc
Comment 2 Iain Buclaw 2019-08-21 08:07:18 UTC
The ICE is no more as of r274769, but phobos still can't be built.  Adding support for targets without targetm_common.have_named_sections could be tracked in a separate PR.