public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jsg at openbsd dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]
Date: Wed, 29 Jun 2011 08:31:00 -0000	[thread overview]
Message-ID: <bug-48851-4-iN7UhoRz39@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48851-4@http.gcc.gnu.org/bugzilla/>

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


  parent reply	other threads:[~2011-06-29  8:31 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-03 12:15 [Bug lto/48851] New: " michael.a.richmond at nasa dot gov
2011-05-03 13:49 ` [Bug lto/48851] " rguenth at gcc dot gnu.org
2011-05-03 14:14 ` michael.a.richmond at nasa dot gov
2011-05-03 14:27 ` froydnj at gcc dot gnu.org
2011-05-03 15:51 ` michael.a.richmond at nasa dot gov
2011-05-03 16:02 ` rguenth at gcc dot gnu.org
2011-05-03 16:10 ` jakub at gcc dot gnu.org
2011-05-03 16:25 ` schwab@linux-m68k.org
2011-05-04 11:05 ` rguenth at gcc dot gnu.org
2011-05-04 12:14 ` matz at gcc dot gnu.org
2011-06-29  8:31 ` jsg at openbsd dot org [this message]
2011-06-29 21:02 ` jsg at openbsd dot org
2011-06-29 21:18 ` jsg at openbsd dot org
2011-06-30 10:06 ` rguenth at gcc dot gnu.org
2011-06-30 10:13 ` jsg at openbsd dot org
2011-06-30 11:13 ` rguenth at gcc dot gnu.org
2011-06-30 12:19 ` jsg at openbsd dot org
2011-06-30 12:58 ` rguenth at gcc dot gnu.org
2011-07-03 19:01 ` jsg at openbsd dot org
2011-07-04 11:06 ` rguenth at gcc dot gnu.org
2011-07-12 13:00 ` jsg at openbsd dot org
2011-07-12 14:21 ` rguenth at gcc dot gnu.org
2011-07-12 18:04 ` mrs at gcc dot gnu.org
2011-07-28 19:25 ` jsg at openbsd dot org
2011-08-31 19:31 ` mrs at gcc dot gnu.org
2011-10-25 20:08 ` mrs at gcc dot gnu.org
2011-10-25 20:11 ` mrs at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-48851-4-iN7UhoRz39@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).