Commit 9399bad3 by Joseph Myers Committed by Joseph Myers

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
parent 163686bd
2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
* 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 <nathan@codesourcery.com> 2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
* parse.y (unary_expr): Move VA_ARG from here ... * parse.y (unary_expr): Move VA_ARG from here ...
......
...@@ -92,7 +92,7 @@ static int issue_ktype PARAMS ((tree)); ...@@ -92,7 +92,7 @@ static int issue_ktype PARAMS ((tree));
static void build_overload_scope_ref PARAMS ((tree)); static void build_overload_scope_ref PARAMS ((tree));
static void build_mangled_template_parm_index PARAMS ((const char *, tree)); static void build_mangled_template_parm_index PARAMS ((const char *, tree));
#if HOST_BITS_PER_WIDE_INT >= 64 #if HOST_BITS_PER_WIDE_INT >= 64
static void build_mangled_C9x_name PARAMS ((int)); static void build_mangled_C99_name PARAMS ((int));
#endif #endif
static int is_back_referenceable_type PARAMS ((tree)); static int is_back_referenceable_type PARAMS ((tree));
static int check_btype PARAMS ((tree)); static int check_btype PARAMS ((tree));
...@@ -652,7 +652,7 @@ build_mangled_template_parm_index (s, index) ...@@ -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 and other types) is based on the letter "I" followed by the hex
representations of the bitsize for the type in question. For representations of the bitsize for the type in question. For
encodings that result in larger than two digits, a leading and encodings that result in larger than two digits, a leading and
...@@ -674,7 +674,7 @@ build_mangled_template_parm_index (s, index) ...@@ -674,7 +674,7 @@ build_mangled_template_parm_index (s, index)
#if HOST_BITS_PER_WIDE_INT >= 64 #if HOST_BITS_PER_WIDE_INT >= 64
static void static void
build_mangled_C9x_name (bits) build_mangled_C99_name (bits)
int bits; int bits;
{ {
char mangled[10] = ""; char mangled[10] = "";
...@@ -1454,7 +1454,7 @@ process_overload_item (parmtype, extra_Gcode) ...@@ -1454,7 +1454,7 @@ process_overload_item (parmtype, extra_Gcode)
else else
{ {
int bits = TREE_INT_CST_LOW (TYPE_SIZE (parmtype)); int bits = TREE_INT_CST_LOW (TYPE_SIZE (parmtype));
build_mangled_C9x_name (bits); build_mangled_C99_name (bits);
} }
#else #else
else else
......
2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
* 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 <jakub@redhat.com> 2000-11-25 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/ultrasp3.c: New test. * gcc.dg/ultrasp3.c: New test.
......
/* GNU C dependencies: /* GNU C dependencies:
Checker support hooks Checker support hooks
ISO C 9x array element initialization ISO C99 array element initialization
void-pointer arithmetic */ void-pointer arithmetic */
#include "driver.h" #include "driver.h"
......
/* GNU C dependencies: /* GNU C dependencies:
Checker support hooks Checker support hooks
ISO C 9x array element initialization ISO C99 array element initialization
void-pointer arithmetic */ void-pointer arithmetic */
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
......
/* Test that the preprocessor is capable of 64-bit arithmetic. /* 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-do preprocess } */
/* { dg-options "" } */ /* { dg-options "" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment