On Mon, 4 Nov 2013, Ian Lance Taylor wrote:
2013-11-04 Ian Lance Taylor <i...@google.com>
* builtins.def (ATTR_NOTHROWCALL_LEAF_LIST): Define.
* sync-builtins.def: Use ATTR_NOTHROWCALL_LEAF_LIST for all sync
builtins that take pointers.
* lto-opts.c (lto_write_options): Write -fnon-call-exceptions
if set.
* lto-wrapper.c (merge_and_complain): Collect
OPT_fnon_call_exceptions.
(run_gcc): Pass -fnon-call-exceptions.
Hello,
I am seeing a bootstrap failure that seems related:
/tmp/testgcc/pristine/build/./prev-gcc/xg++
-B/tmp/testgcc/pristine/build/./prev-gcc/
-B/tmp/testgcc/pristine/inst/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/data/repos/gcc/pristine/libstdc++-v3/libsupc++
-L/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/tmp/testgcc/pristine/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-c -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -Ifortran -I/data/repos/gcc/pristine/gcc
-I/data/repos/gcc/pristine/gcc/fortran
-I/data/repos/gcc/pristine/gcc/../include
-I/data/repos/gcc/pristine/gcc/../libcpp/include
-I/data/repos/gcc/pristine/gcc/../libdecnumber
-I/data/repos/gcc/pristine/gcc/../libdecnumber/bid -I../libdecnumber
-I/data/repos/gcc/pristine/gcc/../libbacktrace -DCLOOG_INT_GMP -o
fortran/trans.o -MT fortran/trans.o -MMD -MP -MF fortran/.deps/trans.TPo
/data/repos/gcc/pristine/gcc/fortran/trans.c
/data/repos/gcc/pristine/gcc/fortran/../sync-builtins.def: In function 'void
gfc_init_builtin_functions()':
/data/repos/gcc/pristine/gcc/builtins.def:220:2: error: 'ATTR_LEAF_LIST' was
not declared in this scope
ATTR_LEAF_LIST : ATTR_NOTHROW_LEAF_LIST)
^
/data/repos/gcc/pristine/gcc/fortran/f95-lang.c:1034:4: note: in definition of
macro 'DEF_SYNC_BUILTIN'
attr);
^
/data/repos/gcc/pristine/gcc/fortran/../sync-builtins.def:32:21: note: in
expansion of macro 'ATTR_NOTHROWCALL_LEAF_LIST'
BT_FN_VOID_VAR, ATTR_NOTHROWCALL_LEAF_LIST)
^
make[3]: *** [fortran/f95-lang.o] Error 1
--
Marc Glisse