Bug 89054

Summary: libphobos/src/std/math.d:5279:18: error: undefined iden tifier 'ControlState'
Product: gcc Reporter: John David Anglin <danglin>
Component: dAssignee: Iain Buclaw <ibuclaw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 9.0   
Target Milestone: ---   
Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu Known to work:
Known to fail: Last reconfirmed:

Description John David Anglin 2019-01-25 00:10:32 UTC
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'
Comment 1 Iain Buclaw 2019-01-26 13:43:56 UTC
Phobos part of hppa support committed in r268293, build should be ok now.