[Bug d/94623] ice for ./gdc.test/compilable/interpret3.d
ibuclaw at gdcproject dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 19 17:07:58 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94623
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to David Binderman from comment #4)
> Configure flags:
>
> ../trunk.git/configure --prefix=/home/dcb/gcc/results.20200416 \
> --disable-bootstrap \
> --disable-multilib \
> --disable-werror \
> --enable-checking=df,extra,fold,rtl,yes \
> --enable-languages=ada,c,c++,d,fortran,go
>
> sed 's/-O2/-O3 -march=native/' < Makefile > Makefile.tmp
> mv Makefile.tmp Makefile
>
> Host gcc version is 9.3.1 and glibc version is 2.30 on fedora x86_64.
>
> The line that ices is the following:
>
> assert((*collateral->value->elements)[5]->type->ty == Tclass);
>
> Hopefully that is enough information to be able to attempt to reproduce
> the problem.
g++ host: gcc version 9.3.1 20200419 (GCC)
glibc: 2.30-0ubuntu2.1 (ubuntu x86_64-linux-gnu)
gdc build: gcc version 10.0.1 20200419 (experimental) (GCC)
gdc configure: ../configure --disable-bootstrap --disable-multilib
--enable-werror --enable-checking=df,extra,fold,rtl,yes
--enable-languages=c++,d
$ make check-gcc-d RUNTESTFLAGS="compilable.exp=interpret3.d --all"
...
PASS: compilable/interpret3.d (test for excess errors)
PASS: compilable/interpret3.d output-exists interpret3.o
PASS: compilable/interpret3.d -finline-functions (test for excess errors)
PASS: compilable/interpret3.d -finline-functions output-exists interpret3.o
...
Can't say I can reproduce at all.
IIRC, Fedora has some compiler hardening patches switched on by default. I'll
try once more with '-O3 -march=native -fstack-protector-strong'
More information about the Gcc-bugs
mailing list