aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-08-30 12:18:31 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-08-30 12:18:31 +0000
commit4094f4d2c49d3a83fb43e481c4110f16fb812aaf (patch)
treecc734d7b461afd69a7c14c6e990ecc000f934c0d /gcc/c-common.h
parent83010c5a1948342d3363d17b268589957e7f31f3 (diff)
downloadgcc-4094f4d2c49d3a83fb43e481c4110f16fb812aaf.zip
gcc-4094f4d2c49d3a83fb43e481c4110f16fb812aaf.tar.gz
gcc-4094f4d2c49d3a83fb43e481c4110f16fb812aaf.tar.bz2
c-common.c (c_sizeof_or_alignof_type): Use gcc_assert.
* c-common.c (c_sizeof_or_alignof_type): Use gcc_assert. (handle_visibility_attribute, c_determine_visibility): Likewise. * c-common.h (my_friendly_assert): Remove. * cp/cp-tree.h (SET_BINFO_NEW_VTABLE_MARKED): Use gcc_assert. From-SVN: r86762
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 86706e6..4403cee 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -650,9 +650,6 @@ extern tree c_alignof_expr (tree);
/* Print an error message for invalid operands to arith operation CODE.
NOP_EXPR is used as a special case (see truthvalue_conversion). */
extern void binary_op_error (enum tree_code);
-#define my_friendly_assert(EXP, N) (void) \
- (((EXP) == 0) ? (fancy_abort (__FILE__, __LINE__, __FUNCTION__), 0) : 0)
-
extern tree fix_string_type (tree);
struct varray_head_tag;
extern void constant_expression_warning (tree);