The D frontend is also broken.

(gdb) r
Starting program: /opt/gcc/test/Build/gcc/d21 
../../../../libphobos/libdruntime/core/sys/posix/utime.d -quiet -dumpbase 
utime.d -mlittle-endian -mabi=lp64 -auxbase-strip core/sys/posix/.libs/utime.o 
-g -O2 -fPIC -fversion=Shared -iprefix 
/opt/gcc/test/Build/gcc/../lib64/gcc/aarch64-suse-linux/10.0.0/ -isystem 
/opt/gcc/test/Build/./gcc/include -isystem 
/opt/gcc/test/Build/./gcc/include-fixed -nostdinc -isystem 
/usr/aarch64-suse-linux/include -isystem /usr/aarch64-suse-linux/sys-include -I 
../../../../libphobos/libdruntime -I .

Breakpoint 1, fancy_abort (file=file@entry=0x1832210 "../../gcc/poly-int.h", 
    line=line@entry=504, function=function@entry=0x1832200 "to_constant")
    at ../../gcc/diagnostic.c:1649
1649      internal_error ("in %s, at %s:%d", function, trim_filename (file), 
line);
(gdb) bt
#0  fancy_abort (file=file@entry=0x1832210 "../../gcc/poly-int.h", 
    line=line@entry=504, function=function@entry=0x1832200 "to_constant")
    at ../../gcc/diagnostic.c:1649
#1  0x0000000000793278 in poly_int_pod<2u, unsigned long>::to_constant (
    this=<synthetic pointer>) at ../../gcc/poly-int.h:502
#2  build_frontend_type (type=<vector_type 0xffffbefbd5e8 __SVBool_t>)
    at ../../gcc/d/d-builtins.cc:204
#3  0x0000000000794ed4 in d_build_builtins_module (m=m@entry=0x214cc90)
    at ../../gcc/tree.h:3382
#4  0x00000000007a3ca8 in Compiler::loadModule (m=m@entry=0x214cc90)
    at ../../gcc/d/d-frontend.cc:547
#5  0x00000000006ab040 in Module::load (loc=..., packages=<optimized out>, 
    ident=0x214fce0) at ../../gcc/d/dmd/dmodule.c:291
#6  0x000000000069057c in Import::load (this=this@entry=0x214fd10, 
    sc=sc@entry=0x214c250) at ../../gcc/d/dmd/dimport.c:154
#7  0x000000000069076c in Import::importAll (sc=0x214c250, this=0x214fd10)
    at ../../gcc/d/dmd/dimport.c:173
#8  Import::importAll (this=0x214fd10, sc=0x214c250)
    at ../../gcc/d/dmd/dimport.c:169
#9  0x0000000000657284 in AttribDeclaration::importAll (this=<optimized out>, 
    sc=0x214c250) at ../../gcc/d/dmd/attrib.c:160
#10 0x0000000000657284 in AttribDeclaration::importAll (this=<optimized out>, 
    sc=0x214c250) at ../../gcc/d/dmd/attrib.c:160
#11 0x00000000006a8e8c in Module::importAll (this=0x214bab0)
    at ../../gcc/d/dmd/dmodule.c:716
#12 Module::importAll (this=0x214bab0) at ../../gcc/d/dmd/dmodule.c:655
#13 0x0000000000690784 in Import::importAll (sc=0x213d9b0, this=0x213df60)
    at ../../gcc/d/dmd/dimport.c:176
#14 Import::importAll (this=0x213df60, sc=0x213d9b0)
    at ../../gcc/d/dmd/dimport.c:169
#15 0x0000000000657284 in AttribDeclaration::importAll (this=<optimized out>, 
    sc=0x213cc10) at ../../gcc/d/dmd/attrib.c:160
#16 0x00000000006a8e8c in Module::importAll (this=0x213c4f0)
    at ../../gcc/d/dmd/dmodule.c:716
#17 Module::importAll (this=0x213c4f0) at ../../gcc/d/dmd/dmodule.c:655
#18 0x0000000000690784 in Import::importAll (sc=0x213c390, this=0x1ec8030)
    at ../../gcc/d/dmd/dimport.c:176
#19 Import::importAll (this=0x1ec8030, sc=0x213c390)
    at ../../gcc/d/dmd/dimport.c:169
#20 0x0000000000657284 in AttribDeclaration::importAll (this=<optimized out>, 
    sc=0x1f23140) at ../../gcc/d/dmd/attrib.c:160
#21 0x00000000006a8e8c in Module::importAll (this=0x1f1ea40)
    at ../../gcc/d/dmd/dmodule.c:716
#22 Module::importAll (this=0x1f1ea40) at ../../gcc/d/dmd/dmodule.c:655
#23 0x00000000007ab114 in d_parse_file () at ../../gcc/d/d-lang.cc:1137
#24 0x0000000000d16f18 in compile_file () at ../../gcc/toplev.c:456
#25 0x000000000064bdac in do_compile () at ../../gcc/toplev.c:2176
#26 toplev::main (this=this@entry=0xffffffffebf8, argc=<optimized out>, 
    argc@entry=28, argv=<optimized out>, argv@entry=0xffffffffed48)
    at ../../gcc/toplev.c:2311
#27 0x000000000064d8ac in main (argc=28, argv=0xffffffffed48)
    at ../../gcc/main.c:39

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to