Module Name: src
Committed By: plunky
Date: Mon Mar 12 09:09:40 UTC 2012
Modified Files:
src/external/bsd/pcc/dist/pcc/cc/ccom: gcc_compat.c pass1.h
Log Message:
recognise (but ignore) the __returns_twice__ GCC attribute
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c \
src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c
diff -u src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.1.1.4 src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.2
--- src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c:1.1.1.4 Thu Sep 1 12:46:58 2011
+++ src/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c Mon Mar 12 09:09:40 2012
@@ -1,5 +1,5 @@
/* Id: gcc_compat.c,v 1.81 2011/07/27 13:41:44 ragge Exp */
-/* $NetBSD: gcc_compat.c,v 1.1.1.4 2011/09/01 12:46:58 plunky Exp $ */
+/* $NetBSD: gcc_compat.c,v 1.2 2012/03/12 09:09:40 plunky Exp $ */
/*
* Copyright (c) 2004 Anders Magnusson ([email protected]).
* All rights reserved.
@@ -263,6 +263,7 @@ struct atax {
CS(GCC_ATYP_ALW_INL) { A_0ARG, "always_inline" },
CS(GCC_ATYP_TLSMODEL) { A_1ARG|A1_STR, "tls_model" },
CS(GCC_ATYP_ALIASWEAK) { A_1ARG|A1_STR, "aliasweak" },
+ CS(GCC_ATYP_RETURNS_TWICE) { A_0ARG, "returns_twice" },
CS(GCC_ATYP_BOUNDED) { A_3ARG|A_MANY|A1_NAME, "bounded" },
};
Index: src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h
diff -u src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h:1.1.1.4 src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h:1.2
--- src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h:1.1.1.4 Thu Sep 1 12:47:00 2011
+++ src/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h Mon Mar 12 09:09:40 2012
@@ -1,5 +1,5 @@
/* Id: pass1.h,v 1.235 2011/08/14 14:52:29 ragge Exp */
-/* $NetBSD: pass1.h,v 1.1.1.4 2011/09/01 12:47:00 plunky Exp $ */
+/* $NetBSD: pass1.h,v 1.2 2012/03/12 09:09:40 plunky Exp $ */
/*
* Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
*
@@ -491,6 +491,7 @@ enum { ATTR_NONE,
GCC_ATYP_ALW_INL,
GCC_ATYP_TLSMODEL,
GCC_ATYP_ALIASWEAK,
+ GCC_ATYP_RETURNS_TWICE,
/* other stuff */
GCC_ATYP_BOUNDED, /* OpenBSD extra boundary checks */