Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pcc/dist/pcc/cc/ccom recognise (but ignore) the...



details:   https://anonhg.NetBSD.org/src/rev/b792b9b16476
branches:  trunk
changeset: 778011:b792b9b16476
user:      plunky <plunky%NetBSD.org@localhost>
date:      Mon Mar 12 09:09:40 2012 +0000

description:
recognise (but ignore) the __returns_twice__ GCC attribute

diffstat:

 external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c |  3 ++-
 external/bsd/pcc/dist/pcc/cc/ccom/pass1.h      |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r c50f9e8e5b97 -r b792b9b16476 external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c
--- a/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c    Mon Mar 12 08:19:46 2012 +0000
+++ b/external/bsd/pcc/dist/pcc/cc/ccom/gcc_compat.c    Mon Mar 12 09:09:40 2012 +0000
@@ -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 (ragge%ludd.luth.se@localhost).
  * All rights reserved.
@@ -263,6 +263,7 @@
        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" },
 };
diff -r c50f9e8e5b97 -r b792b9b16476 external/bsd/pcc/dist/pcc/cc/ccom/pass1.h
--- a/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h Mon Mar 12 08:19:46 2012 +0000
+++ b/external/bsd/pcc/dist/pcc/cc/ccom/pass1.h Mon Mar 12 09:09:40 2012 +0000
@@ -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 @@
        GCC_ATYP_ALW_INL,
        GCC_ATYP_TLSMODEL,
        GCC_ATYP_ALIASWEAK,
+       GCC_ATYP_RETURNS_TWICE,
 
        /* other stuff */
        GCC_ATYP_BOUNDED,       /* OpenBSD extra boundary checks */



Home | Main Index | Thread Index | Old Index