http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851

Jonathan Gray <jsg at openbsd dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsg at openbsd dot org

--- Comment #10 from Jonathan Gray <jsg at openbsd dot org> 2011-06-29 08:31:27 
UTC ---
I see the same on 4.6.1 (4.7 svn does not bootstrap see pr 49246, 4.6.1
bootstraps fine with --disable-lto).

gmake[4]: Entering directory `/home/jsg/src/obj461/lto-plugin'
/bin/sh ./libtool --tag=CC --tag=disable-static  --mode=compile
/home/jsg/src/obj461/./prev-gcc/xgcc -B/home/jsg/src/obj461/./prev-gcc/
-B/usr/gc
c/i386-unknown-openbsd4.9/bin/ -B/usr/gcc/i386-unknown-openbsd4.9/bin/
-B/usr/gcc/i386-unknown-openbsd4.9/lib/ -isystem /usr/gcc/i386-unknown-ope
nbsd4.9/include -isystem /usr/gcc/i386-unknown-openbsd4.9/sys-include   
-DHAVE_CONFIG_H -I. -I../../gcc-4.6.1/lto-plugin  -I../../gcc-4.6.1/lto-
plugin/../include -DHAVE_CONFIG_H  -Wall -Werror -g -O2 -fomit-frame-pointer
-gtoggle -c -o lto-plugin.lo ../../gcc-4.6.1/lto-plugin/lto-plugin.c
libtool: compile:  /home/jsg/src/obj461/./prev-gcc/xgcc
-B/home/jsg/src/obj461/./prev-gcc/ -B/usr/gcc/i386-unknown-openbsd4.9/bin/
-B/usr/gcc/i38
6-unknown-openbsd4.9/bin/ -B/usr/gcc/i386-unknown-openbsd4.9/lib/ -isystem
/usr/gcc/i386-unknown-openbsd4.9/include -isystem /usr/gcc/i386-unknow
n-openbsd4.9/sys-include -DHAVE_CONFIG_H -I. -I../../gcc-4.6.1/lto-plugin
-I../../gcc-4.6.1/lto-plugin/../include -DHAVE_CONFIG_H -Wall -Werror -
g -O2 -fomit-frame-pointer -gtoggle -c ../../gcc-4.6.1/lto-plugin/lto-plugin.c 
-fPIC -DPIC -o .libs/lto-plugin.o
../../gcc-4.6.1/lto-plugin/lto-plugin.c: In function 'parse_table_entry':
../../gcc-4.6.1/lto-plugin/lto-plugin.c:224:7: error: missing sentinel in
function call [-Werror=format]
../../gcc-4.6.1/lto-plugin/lto-plugin.c: In function 'exec_lto_wrapper':
../../gcc-4.6.1/lto-plugin/lto-plugin.c:525:3: error: missing sentinel in
function call [-Werror=format]
cc1: all warnings being treated as errors

$ cat /home/jsg/src/obj461/stage_current
stage2

This is with OpenBSD/i386 -current which has had NULL defined as follows
for the last three months:

#ifndef NULL
#ifdef  __GNUG__
#define NULL    __null
#else
#define NULL    ((void *)0)
#endif
#endif

system compiler is 4.2.1

Reply via email to