------- Comment #8 from dominiq at lps dot ens dot fr 2010-06-12 15:01 ------- > There should not be a /usr/include/float.h but the gcc internal header should > be included. Please check if that is the case
I don't understand what I am supposed to do (please use baby English;-). Why did I suspect a problem with float.h? because if on x86_64-apple-darwin10.3.0 I remove -gtoggle, the ICE is replaced by an error: [macbook] p_build/gcc% /opt/gcc/p_build/prev-gcc/xgcc -B/opt/gcc/p_build/prev-gcc/ -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../p_work/gcc -I../../p_work/gcc/build -I../../p_work/include -I../../p_work/libcpp/include -I/opt/sw64/include -I../../p_work/libdecnumber -I../../p_work/libdecnumber/dpd -I../libdecnumber -I/opt/sw64/include -DCLOOG_PPL_BACKEND ../../p_work/gcc/genautomata.c In file included from /usr/include/math.h:28:0, from ../../p_work/gcc/genautomata.c:117: /usr/include/architecture/i386/math.h: In function '__inline_isnormald': /usr/include/architecture/i386/math.h:192:166: error: '__DBL_MIN__' undeclared (first use in this function) /usr/include/architecture/i386/math.h:192:166: note: each undeclared identifier is reported only once for each function it appears in /usr/include/architecture/i386/math.h: In function '__inline_isnormal': /usr/include/architecture/i386/math.h:193:177: error: invalid operands to binary << (have 'long double' and 'int') instead of [macbook] p_build/gcc% /opt/gcc/p_build/prev-gcc/xgcc -B/opt/gcc/p_build/prev-gcc/ -c -g -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../p_work/gcc -I../../p_work/gcc/build -I../../p_work/include -I../../p_work/libcpp/include -I/opt/sw64/include -I../../p_work/libdecnumber -I../../p_work/libdecnumber/dpd -I../libdecnumber -I/opt/sw64/include -DCLOOG_PPL_BACKEND ../../p_work/gcc/genautomata.c In file included from /usr/include/math.h:28:0, from ../../p_work/gcc/genautomata.c:117: /usr/include/architecture/i386/math.h: In function '__inline_isnormalf': /usr/include/architecture/i386/math.h:191:163: error: invalid operands to binary >= (have 'float' and 'double_int') /usr/include/architecture/i386/math.h: In function '__inline_isnormald': /usr/include/architecture/i386/math.h:192:163: error: invalid operands to binary >= (have 'double' and 'double_int') /usr/include/architecture/i386/math.h: In function '__inline_isnormal': /usr/include/architecture/i386/math.h:193:2: internal compiler error: Segmentation fault > and/or if your > /usr/include/float.h > provides defines for __DBL_MAX__ or __FLT_MAX__ AFAICT the answer is yes also for DBL_MIN. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44509