From 6599d05679056c4927894ec9aac978c151de4eff Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 15 Sep 2011 12:19:13 +0000 Subject: Port the -Wbounded extension from gcc3 to gcc4. Based on work started by jasper@. This omits the sizeof(pointer) tracking which is very difficult to implement for gcc4 due to internal changes. Thanks to landry@ for running through a ports bulk build and both landry@ and jasper@ for fixing a few issues. ok deraadt millert jasper --- gnu/usr.bin/cc/cc_int/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/cc/cc_int/Makefile b/gnu/usr.bin/cc/cc_int/Makefile index af57bb55d7b..34d73d86788 100644 --- a/gnu/usr.bin/cc/cc_int/Makefile +++ b/gnu/usr.bin/cc/cc_int/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/usr.bin/cc/cc_int/Makefile,v 1.52.8.1 2009/04/15 03:14:26 kensmith Exp $ -# $OpenBSD: Makefile,v 1.2 2009/10/18 02:47:27 kurt Exp $ +# $OpenBSD: Makefile,v 1.3 2011/09/15 12:19:12 nicm Exp $ .include @@ -88,7 +88,7 @@ C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \ c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \ c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \ c-objc-common.o c-dump.o c-pch.o c-parser.o $(C_TARGET_OBJS) \ - c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o + c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o c-bounded.o # Language-specific object files for C. C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS) -- cgit v1.2.3