This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix some typos
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 10 Aug 2002 14:11:56 +0100
- Subject: Fix some typos
- Organization: Codesourcery LLC
Hi,
I've installed the attached. Fixes a typo, and an erroneously
pedantic test failure.
tested on i686-pc-linux-gnu.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2002-08-10 Nathan Sidwell <nathan@codesourcery.com>
* tree.c (maybe_dummy_object): Replace // with /* */
2002-08-10 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/bitfld-4.c: Add blank options.
Index: cp/tree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/tree.c,v
retrieving revision 1.293
diff -c -3 -p -r1.293 tree.c
*** cp/tree.c 8 Aug 2002 05:48:37 -0000 1.293
--- cp/tree.c 10 Aug 2002 13:02:11 -0000
*************** maybe_dummy_object (type, binfop)
*** 1856,1863 ****
*binfop = binfo;
if (current_class_ref && context == current_class_type
! // Kludge: Make sure that current_class_type is actually correct.
! // It might not be if we're in the middle of tsubst_default_argument.
&& same_type_p (TYPE_MAIN_VARIANT (TREE_TYPE (current_class_ref)),
current_class_type))
decl = current_class_ref;
--- 1856,1864 ----
*binfop = binfo;
if (current_class_ref && context == current_class_type
! /* Kludge: Make sure that current_class_type is actually
! correct. It might not be if we're in the middle of
! tsubst_default_argument. */
&& same_type_p (TYPE_MAIN_VARIANT (TREE_TYPE (current_class_ref)),
current_class_type))
decl = current_class_ref;
Index: testsuite/gcc.dg/bitfld-4.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/bitfld-4.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 bitfld-4.c
*** testsuite/gcc.dg/bitfld-4.c 8 Aug 2002 22:52:20 -0000 1.1
--- testsuite/gcc.dg/bitfld-4.c 10 Aug 2002 13:02:37 -0000
***************
*** 1,4 ****
--- 1,5 ----
/* { dg-do run } */
+ /* { dg-options "" } */
/* Check bitfields and non-bitfields are aligned & sized similarly.