From: Joseph Myers Date: Sat, 25 Nov 2000 19:50:51 +0000 (+0000) Subject: method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9399bad37b8792cf22b5d90b7ca91ea11b6eedc1;p=gcc.git method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name. cp: * method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name. Change C9X references in comments to refer to C99. testsuite: * gcc.c-torture/execute/memcheck/driver.c, gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change C9X references to refer to C99. From-SVN: r37745 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9bbf5b92e4a..1cc9c5f3430 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2000-11-25 Joseph S. Myers + + * method.c (build_mangled_C9x_name): Rename to + build_mangled_C99_name. Change C9X references in comments to + refer to C99. + 2000-11-24 Nathan Sidwell * parse.y (unary_expr): Move VA_ARG from here ... diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 532e45120f8..3a959585343 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -92,7 +92,7 @@ static int issue_ktype PARAMS ((tree)); static void build_overload_scope_ref PARAMS ((tree)); static void build_mangled_template_parm_index PARAMS ((const char *, tree)); #if HOST_BITS_PER_WIDE_INT >= 64 -static void build_mangled_C9x_name PARAMS ((int)); +static void build_mangled_C99_name PARAMS ((int)); #endif static int is_back_referenceable_type PARAMS ((tree)); static int check_btype PARAMS ((tree)); @@ -652,7 +652,7 @@ build_mangled_template_parm_index (s, index) } -/* Mangling for C9X integer types (and Cygnus extensions for 128-bit +/* Mangling for C99 integer types (and Cygnus extensions for 128-bit and other types) is based on the letter "I" followed by the hex representations of the bitsize for the type in question. For encodings that result in larger than two digits, a leading and @@ -674,7 +674,7 @@ build_mangled_template_parm_index (s, index) #if HOST_BITS_PER_WIDE_INT >= 64 static void -build_mangled_C9x_name (bits) +build_mangled_C99_name (bits) int bits; { char mangled[10] = ""; @@ -1454,7 +1454,7 @@ process_overload_item (parmtype, extra_Gcode) else { int bits = TREE_INT_CST_LOW (TYPE_SIZE (parmtype)); - build_mangled_C9x_name (bits); + build_mangled_C99_name (bits); } #else else diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b328ff34027..1cec4704921 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2000-11-25 Joseph S. Myers + + * gcc.c-torture/execute/memcheck/driver.c, + gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change + C9X references to refer to C99. + 2000-11-25 Jakub Jelinek * gcc.dg/ultrasp3.c: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.c b/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.c index 1da22e7a222..26803d84b34 100644 --- a/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.c +++ b/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.c @@ -1,6 +1,6 @@ /* GNU C dependencies: Checker support hooks - ISO C 9x array element initialization + ISO C99 array element initialization void-pointer arithmetic */ #include "driver.h" diff --git a/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.h b/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.h index d8d22d2496a..33086598cc9 100644 --- a/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.h +++ b/gcc/testsuite/gcc.c-torture/execute/memcheck/driver.h @@ -1,6 +1,6 @@ /* GNU C dependencies: Checker support hooks - ISO C 9x array element initialization + ISO C99 array element initialization void-pointer arithmetic */ typedef __SIZE_TYPE__ size_t; diff --git a/gcc/testsuite/gcc.dg/cpp/if-3.c b/gcc/testsuite/gcc.dg/cpp/if-3.c index c46f5633761..674b91b9493 100644 --- a/gcc/testsuite/gcc.dg/cpp/if-3.c +++ b/gcc/testsuite/gcc.dg/cpp/if-3.c @@ -1,5 +1,5 @@ /* Test that the preprocessor is capable of 64-bit arithmetic. - (Must turn off -pedantic, since `LL' constants are only in C9x.) */ + (Must turn off -pedantic, since `LL' constants are only in C99.) */ /* { dg-do preprocess } */ /* { dg-options "" } */