tree.c (maybe_dummy_object): Replace // with /* */e

cp:
	* tree.c (maybe_dummy_object): Replace // with /* */e
testsuite:
	* gcc.dg/bitfld-4.c: Add blank options.

From-SVN: r56183
This commit is contained in:
Nathan Sidwell 2002-08-10 13:11:43 +00:00 committed by Nathan Sidwell
parent d950dee3a5
commit 3ebf520442
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-08-10 Nathan Sidwell <nathan@codesourcery.com>
* tree.c (maybe_dummy_object): Replace // with /* */
2002-08-09 Mark Mitchell <mark@codesourcery.com>
* call.c (standard_conversion): Use build_ptrmem_type.

View File

@ -1856,8 +1856,9 @@ maybe_dummy_object (type, binfop)
*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.
/* 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;

View File

@ -1,3 +1,7 @@
2002-08-10 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/bitfld-4.c: Add blank options.
2002-08-09 Mark Mitchell <mark@codesourcery.com>
* g++.dg/template/crash1.C: New test.
@ -12,7 +16,7 @@
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/abi/bitfield4.c: New test.
* g++.dg/abi/bitfield4.C: New test.
* gcc.dg/bitfld-4.c: New test.
2002-08-08 Nathan Sidwell <nathan@codesourcery.com>

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* { dg-options "" } */
/* Check bitfields and non-bitfields are aligned & sized similarly.