D.gnu - [Bug 204] New: GDC crashes when a concrete class only declare a
- via D.gnu (65/65) Dec 09 2015 Date: Wed, 9 Dec 2015 09:12:34 +0000
Date: Wed, 9 Dec 2015 09:12:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable http://bugzilla.gdcproject.org/show_bug.cgi?id=3D204 Bug ID: 204 Summary: GDC crashes when a concrete class only declare a interface method. Product: GDC Version: development Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: Normal Component: gdc Assignee: ibuclaw gdcproject.org Reporter: dorian.haglund gmail.com The following snippet make gdc crash interface I { void f(); } class C: I { void f(); } int main() { return 0; } gdc outputs "tmp/test.d: In member function =E2=80=98_DT16_D4test1C1fMFZv=E2=80=99: /tmp/test.d:1:0: internal compiler error: Segmentation fault interface I ^ 0xab44df crash_signal ../../src/gcc/toplev.c:383 0x88e61a fold_build_pointer_plus_hwi_loc(unsigned int, tree_node*, long) ../../src/gcc/fold-const.c:16283 0x7c669a thunk_adjust ../../src/gcc/cgraphunit.c:1407 0x7c780f cgraph_node::expand_thunk(bool, bool) ../../src/gcc/cgraphunit.c:1665 0x73aad2 finish_thunk(tree_node*, tree_node*, int) ../../src/gcc/d/d-objfile.cc:2151 0x72e10c FuncDeclaration::toThunkSymbol(int) ../../src/gcc/d/d-decls.cc:522 0x738dfb ClassDeclaration::toObjFile(bool) ../../src/gcc/d/d-objfile.cc:460 0x73bfb6 Module::genobjfile(bool) ../../src/gcc/d/d-objfile.cc:1433 0x72d097 d_parse_file() ../../src/gcc/d/d-lang.cc:1183 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. " Versions: "gdc --version" outputs "gdc (Debian 5.2.1-23) 5.2.1 20151028" "head /etc/debian_version" outputs : "stretch/sid" --=20 You are receiving this mail because: You are watching all bug changes.
Dec 09 2015