From 76fb7947e66368adc02e06e275a19b6db4725643 Mon Sep 17 00:00:00 2001 From: Herman ten Brugge Date: Mon, 12 Oct 1998 21:34:12 +0200 Subject: [PATCH] * decl.c (start_function): Fix cut-and-paste error. From-SVN: r23031 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b7d2bcc..ed33ae2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1998-10-12 Herman ten Brugge + + * decl.c (start_function): Fix cut-and-paste error. + 1998-10-12 Jason Merrill * inc/typeinfo: Add #pragma interface. diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index ad1fd63..49c24db 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -12380,7 +12380,7 @@ start_function (declspecs, declarator, attrs, pre_parsed_p) DECL_INITIAL (decl1) = error_mark_node; #ifdef SET_DEFAULT_DECL_ATTRIBUTES - SET_DEFAULT_DECL_ATTRIBUTES (decl1, attributes); + SET_DEFAULT_DECL_ATTRIBUTES (decl1, attrs); #endif /* This function exists in static storage. -- 2.7.4