Commit 0d0a1710 by Kazu Hirata Committed by Kazu Hirata

vbase1.C: Fix comment typos.

	* g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
	* g++.old-deja/g++.abi/vtable3.h: Likewise.
	* g++.old-deja/g++.law/code-gen5.C: Likewise.
	* g++.old-deja/g++.other/union2.C: Likewise.
	* gcc.dg/c90-const-expr-2.c: Likewise.
	* gcc.dg/c90-const-expr-3.c: Likewise.
	* gcc.dg/c99-const-expr-2.c: Likewise.
	* gcc.dg/c99-const-expr-3.c: Likewise.
	* gcc.dg/concat.c: Likewise.

From-SVN: r68769
parent 6344b1f1
2003-07-01 Kazu Hirata <kazu@cs.umass.edu>
* g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
* g++.old-deja/g++.abi/vtable3.h: Likewise.
* g++.old-deja/g++.law/code-gen5.C: Likewise.
* g++.old-deja/g++.other/union2.C: Likewise.
* gcc.dg/c90-const-expr-2.c: Likewise.
* gcc.dg/c90-const-expr-3.c: Likewise.
* gcc.dg/c99-const-expr-2.c: Likewise.
* gcc.dg/c99-const-expr-3.c: Likewise.
* gcc.dg/concat.c: Likewise.
2003-07-01 Mark Mitchell <mark@codesourcery.com> 2003-07-01 Mark Mitchell <mark@codesourcery.com>
PR c++/9559 PR c++/9559
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Copyright (C) 2000 Free Software Foundation, Inc. // Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 16 Jan 2001 <nathan@codesourcery.com> // Contributed by Nathan Sidwell 16 Jan 2001 <nathan@codesourcery.com>
// Bug 1611. Under the new ABI, the vtable can be clobered during dtoring our // Bug 1611. Under the new ABI, the vtable can be clobbered during dtoring our
// primary vbase. We mustn't use the vtable after that to locate our vbases. // primary vbase. We mustn't use the vtable after that to locate our vbases.
#if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 #if defined (__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Contributed by Nathan Sidwell 4 February 2001 <nathan@codesourcery.com> // Contributed by Nathan Sidwell 4 February 2001 <nathan@codesourcery.com>
// Check constructor vtables work. This is included from numerous test // Check constructor vtables work. This is included from numerous test
// files, which set the #defines necessary to specify the heirarchy. // files, which set the #defines necessary to specify the hierarchy.
#include <typeinfo> #include <typeinfo>
#include <stdio.h> #include <stdio.h>
......
...@@ -34,7 +34,7 @@ class VectorInt ...@@ -34,7 +34,7 @@ class VectorInt
VectorInt *refer(); VectorInt *refer();
void unrefer(); void unrefer();
int count; /* Number of Vector's refering to me */ int count; /* Number of Vector's referring to me */
VEC *vec; VEC *vec;
......
// { dg-do run } // { dg-do run }
// Bug: g++ crashed on empty intializers for unions. // Bug: g++ crashed on empty initializers for unions.
// Bug: gcc and g++ didn't zero unions with empty initializers. // Bug: gcc and g++ didn't zero unions with empty initializers.
// Submitted by J"orn Rennecke <amylaar@cygnus.co.uk> // Submitted by J"orn Rennecke <amylaar@cygnus.co.uk>
......
...@@ -19,7 +19,7 @@ long *c; ...@@ -19,7 +19,7 @@ long *c;
*/ */
#define ASSERT_NPC(n) (b = *(1 ? a : (n))) #define ASSERT_NPC(n) (b = *(1 ? a : (n)))
/* Assertion that n is not a null pointer constant: so the conditional /* Assertion that n is not a null pointer constant: so the conditional
expresions has type 'void *' instead of 'int *'. expressions has type 'void *' instead of 'int *'.
*/ */
#define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n)))
......
...@@ -17,7 +17,7 @@ long *c; ...@@ -17,7 +17,7 @@ long *c;
*/ */
#define ASSERT_NPC(n) (b = *(1 ? a : (n))) #define ASSERT_NPC(n) (b = *(1 ? a : (n)))
/* Assertion that n is not a constant zero: so the conditional /* Assertion that n is not a constant zero: so the conditional
expresions has type 'void *' instead of 'int *'. expressions has type 'void *' instead of 'int *'.
*/ */
#define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n)))
......
...@@ -19,7 +19,7 @@ long *c; ...@@ -19,7 +19,7 @@ long *c;
*/ */
#define ASSERT_NPC(n) (b = *(1 ? a : (n))) #define ASSERT_NPC(n) (b = *(1 ? a : (n)))
/* Assertion that n is not a null pointer constant: so the conditional /* Assertion that n is not a null pointer constant: so the conditional
expresions has type 'void *' instead of 'int *'. expressions has type 'void *' instead of 'int *'.
*/ */
#define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n)))
......
...@@ -17,7 +17,7 @@ long *c; ...@@ -17,7 +17,7 @@ long *c;
*/ */
#define ASSERT_NPC(n) (b = *(1 ? a : (n))) #define ASSERT_NPC(n) (b = *(1 ? a : (n)))
/* Assertion that n is not a constant zero: so the conditional /* Assertion that n is not a constant zero: so the conditional
expresions has type 'void *' instead of 'int *'. expressions has type 'void *' instead of 'int *'.
*/ */
#define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n)))
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* Test we output a warning for concatenation of artifical strings. /* Test we output a warning for concatenation of artificial strings.
Neil Booth, 10 Dec 2001. */ Neil Booth, 10 Dec 2001. */
......
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