From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25145 invoked by alias); 4 Nov 2013 21:24:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 25130 invoked by uid 89); 4 Nov 2013 21:24:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2 X-HELO: mail3-relais-sop.national.inria.fr Received: from Unknown (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 04 Nov 2013 21:24:14 +0000 Received: from ip-1.net-81-220-33.lyon.rev.numericable.fr (HELO laptop-mg.local) ([81.220.33.1]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 04 Nov 2013 22:24:05 +0100 Date: Mon, 04 Nov 2013 21:28:00 -0000 From: Marc Glisse Reply-To: gcc-patches@gcc.gnu.org To: Ian Lance Taylor cc: GCC Patches Subject: Re: Patch RFA: With -fnon-call-exceptions sync builtins may throw In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 8BIT X-SW-Source: 2013-11/txt/msg00292.txt.bz2 On Mon, 4 Nov 2013, Ian Lance Taylor wrote: > 2013-11-04 Ian Lance Taylor > > * 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