https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89054
Bug ID: 89054
Summary: libphobos/src/std/math.d:5279:18: error: undefined
iden tifier 'ControlState'
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: danglin at gcc dot gnu.org
Target Milestone: ---
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
libtool: compile: /home/dave/gnu/gcc/objdir/./gcc/gdc
-B/home/dave/gnu/gcc/objd
ir/./gcc/ -B/home/dave/opt/gnu/gcc/gcc-9/hppa-linux-gnu/bin/
-B/home/dave/opt/gn
u/gcc/gcc-9/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-9/hppa-linux
-gnu/include -isystem /home/dave/opt/gnu/gcc/gcc-9/hppa-linux-gnu/sys-include
-f
checking=1 -fPIC -O2 -g -nostdinc -I ../../../../gcc/libphobos/src -I
../../../.
./gcc/libphobos/libdruntime -I ../libdruntime -I . -c
../../../../gcc/libphobos/
src/std/json.d -fversion=Shared -o std/.libs/json.o
/home/dave/gnu/gcc/gcc-9/libphobos/src/std/math.d:5279:18: error: undefined
iden
tifier 'ControlState'
5279 | ControlState savedState;
| ^
/home/dave/gnu/gcc/gcc-9/libphobos/src/std/math.d:5326:25: error: undefined
iden
tifier 'ControlState'
5326 | static ControlState getControlState() @trusted nothrow @nogc
| ^
/home/dave/gnu/gcc/gcc-9/libphobos/src/std/math.d:5392:17: error: undefined
iden
tifier 'ControlState'
5392 | static void setControlState(ControlState newState) @trusted nothrow
@nogc
| ^
make[4]: *** [Makefile:1628: std/json.lo] Error 1
make[4]: Leaving directory
'/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libphobos/src'