decl.c (init_decl_processing): Set mark_lang_status.
* decl.c (init_decl_processing): Set mark_lang_status. (lang_mark_false_label_stack): Adjust prototype. * decl2.c (grok_function_init): Remove extraneous declaration of abort_fndecl. From-SVN: r29120
This commit is contained in:
parent
87ff9c8e4b
commit
b4b8bee7bd
|
@ -1,5 +1,10 @@
|
||||||
1999-09-04 Mark Mitchell <mark@codesourcery.com>
|
1999-09-04 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
|
* decl.c (init_decl_processing): Set mark_lang_status.
|
||||||
|
(lang_mark_false_label_stack): Adjust prototype.
|
||||||
|
* decl2.c (grok_function_init): Remove extraneous declaration of
|
||||||
|
abort_fndecl.
|
||||||
|
|
||||||
* Make-lang.in (cc1plus): Remove dependency on GGC.
|
* Make-lang.in (cc1plus): Remove dependency on GGC.
|
||||||
* Makefile.in (OBJS): Don't mention ggc-simple.o.
|
* Makefile.in (OBJS): Don't mention ggc-simple.o.
|
||||||
(OBJDEPS): Don't mention ggc-simple.o.
|
(OBJDEPS): Don't mention ggc-simple.o.
|
||||||
|
|
|
@ -6205,6 +6205,7 @@ init_decl_processing ()
|
||||||
per-function globals. */
|
per-function globals. */
|
||||||
save_lang_status = &push_cp_function_context;
|
save_lang_status = &push_cp_function_context;
|
||||||
restore_lang_status = &pop_cp_function_context;
|
restore_lang_status = &pop_cp_function_context;
|
||||||
|
mark_lang_status = &mark_cp_function_context;
|
||||||
|
|
||||||
/* Create the global per-function variables. */
|
/* Create the global per-function variables. */
|
||||||
push_function_context_to (NULL_TREE);
|
push_function_context_to (NULL_TREE);
|
||||||
|
@ -14597,12 +14598,11 @@ in_function_p ()
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
lang_mark_false_label_stack (arg)
|
lang_mark_false_label_stack (l)
|
||||||
void *arg;
|
struct label_node *l;
|
||||||
{
|
{
|
||||||
/* C++ doesn't use false_label_stack. It better be NULL. */
|
/* C++ doesn't use false_label_stack. It better be NULL. */
|
||||||
if (*(void **)arg != NULL)
|
my_friendly_assert (l != NULL, 19990904);
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -1917,7 +1917,6 @@ grok_function_init (decl, init)
|
||||||
vtbl. For wellformed call, it should be itself. pr4737 */
|
vtbl. For wellformed call, it should be itself. pr4737 */
|
||||||
if (!DESTRUCTOR_NAME_P (DECL_ASSEMBLER_NAME (decl)))
|
if (!DESTRUCTOR_NAME_P (DECL_ASSEMBLER_NAME (decl)))
|
||||||
{
|
{
|
||||||
extern tree abort_fndecl;
|
|
||||||
/* Give this node rtl from `abort'. */
|
/* Give this node rtl from `abort'. */
|
||||||
DECL_RTL (decl) = DECL_RTL (abort_fndecl);
|
DECL_RTL (decl) = DECL_RTL (abort_fndecl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue