aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2001-11-19 06:28:52 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-11-19 06:28:52 -0500
commitaa6ad1a68bf94672cbc9f4c3aef60640cbc95a0a (patch)
tree4656c8e74eb6eaa6a7769cb24904b1f293ae4ef4 /gcc/c-lang.c
parent55d56a9096cc459870a18fdef5c8fcfdd270ba9a (diff)
downloadgcc-aa6ad1a68bf94672cbc9f4c3aef60640cbc95a0a.zip
gcc-aa6ad1a68bf94672cbc9f4c3aef60640cbc95a0a.tar.gz
gcc-aa6ad1a68bf94672cbc9f4c3aef60640cbc95a0a.tar.bz2
cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing cur_token, not after.
* cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing cur_token, not after. * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h: Lose ASM_OUTPUT_CONSTRUCTOR. * system.h: Poison it and INT_ASM_OP. * c-lang.c (finish_file): Don't check for it. * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead. From-SVN: r47169
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 5a82c59..54f86df 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -203,7 +203,6 @@ lookup_objc_ivar (id)
return 0;
}
-#if !defined(ASM_OUTPUT_CONSTRUCTOR) || !defined(ASM_OUTPUT_DESTRUCTOR)
extern tree static_ctors;
extern tree static_dtors;
@@ -253,7 +252,6 @@ finish_cdtor (body)
finish_function (0);
}
-#endif
/* Register a function tree, so that its optimization and conversion
to RTL is only done at the end of the compilation. */
@@ -307,7 +305,6 @@ finish_file ()
VARRAY_FREE (deferred_fns);
-#ifndef ASM_OUTPUT_CONSTRUCTOR
if (static_ctors)
{
tree body = start_cdtor ('I');
@@ -318,8 +315,6 @@ finish_file ()
finish_cdtor (body);
}
-#endif
-#ifndef ASM_OUTPUT_DESTRUCTOR
if (static_dtors)
{
tree body = start_cdtor ('D');
@@ -330,7 +325,6 @@ finish_file ()
finish_cdtor (body);
}
-#endif
if (back_end_hook)
(*back_end_hook) (getdecls ());