decl.c (push_overloaded_decl_1): Use pushdecl.
* decl.c (push_overloaded_decl_1): Use pushdecl. * decl.c (auto_function): Replace #ifdef'd __inline with just plain inline. * lex.c (my_get_run_time): Likeise. (yyprint): Likewise. (identifier_type): Likewise. * method.c (start_squangling): Likewise. (end_squangling): Likewise. (icat): Likewise. (old_backref_index): Likewise. (flush_repeats): Likewise. (issue_ktype): Likewise. * parse.y (empty_parms): Likewise. * parse.c: Regenerated. From-SVN: r30154
This commit is contained in:
parent
20819a093e
commit
f9c4f105d5
6 changed files with 839 additions and 843 deletions
|
@ -1,3 +1,21 @@
|
|||
1999-10-24 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (push_overloaded_decl_1): Use pushdecl.
|
||||
|
||||
* decl.c (auto_function): Replace #ifdef'd __inline with just
|
||||
plain inline.
|
||||
* lex.c (my_get_run_time): Likeise.
|
||||
(yyprint): Likewise.
|
||||
(identifier_type): Likewise.
|
||||
* method.c (start_squangling): Likewise.
|
||||
(end_squangling): Likewise.
|
||||
(icat): Likewise.
|
||||
(old_backref_index): Likewise.
|
||||
(flush_repeats): Likewise.
|
||||
(issue_ktype): Likewise.
|
||||
* parse.y (empty_parms): Likewise.
|
||||
* parse.c: Regenerated.
|
||||
|
||||
1999-10-21 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* dump.c (dequeue_and_dump): Replace several uses of
|
||||
|
|
|
@ -5947,13 +5947,10 @@ static void
|
|||
push_overloaded_decl_1 (x)
|
||||
tree x;
|
||||
{
|
||||
push_overloaded_decl (x, PUSH_GLOBAL);
|
||||
pushdecl (x);
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#endif
|
||||
tree
|
||||
inline tree
|
||||
auto_function (name, type)
|
||||
tree name, type;
|
||||
{
|
||||
|
|
15
gcc/cp/lex.c
15
gcc/cp/lex.c
|
@ -390,10 +390,7 @@ get_time_identifier (name)
|
|||
return time_identifier;
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#endif
|
||||
static int
|
||||
static inline int
|
||||
my_get_run_time ()
|
||||
{
|
||||
int old_quiet_flag = quiet_flag;
|
||||
|
@ -954,10 +951,7 @@ reinit_parse_for_function ()
|
|||
current_member_init_list = NULL_TREE;
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#endif
|
||||
void
|
||||
inline void
|
||||
yyprint (file, yychar, yylval)
|
||||
FILE *file;
|
||||
int yychar;
|
||||
|
@ -2983,10 +2977,7 @@ yyerror (string)
|
|||
Value is 0 if we treat this name in a default fashion. */
|
||||
int looking_for_typename;
|
||||
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#endif
|
||||
int
|
||||
inline int
|
||||
identifier_type (decl)
|
||||
tree decl;
|
||||
{
|
||||
|
|
|
@ -21,10 +21,6 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
|
|||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
|
||||
#ifndef __GNUC__
|
||||
#define __inline
|
||||
#endif
|
||||
|
||||
/* Handle method declarations. */
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
|
@ -216,7 +212,7 @@ static int nofold;
|
|||
mangled name currently being built. */
|
||||
static int numeric_output_need_bar;
|
||||
|
||||
static __inline void
|
||||
static inline void
|
||||
start_squangling ()
|
||||
{
|
||||
if (flag_do_squangling)
|
||||
|
@ -229,7 +225,7 @@ start_squangling ()
|
|||
}
|
||||
}
|
||||
|
||||
static __inline void
|
||||
static inline void
|
||||
end_squangling ()
|
||||
{
|
||||
if (flag_do_squangling)
|
||||
|
@ -243,7 +239,7 @@ end_squangling ()
|
|||
|
||||
/* Code to concatenate an asciified integer to a string. */
|
||||
|
||||
static __inline void
|
||||
static inline void
|
||||
icat (i)
|
||||
HOST_WIDE_INT i;
|
||||
{
|
||||
|
@ -310,7 +306,7 @@ dicat (lo, hi)
|
|||
|
||||
/* Returns the index of TYPE in the typevec, or -1 if it's not there. */
|
||||
|
||||
static __inline int
|
||||
static inline int
|
||||
old_backref_index (type)
|
||||
tree type;
|
||||
{
|
||||
|
@ -338,7 +334,7 @@ old_backref_index (type)
|
|||
this is the first time we've seen it and we're just looking to see if
|
||||
it had been used before. */
|
||||
|
||||
static __inline int
|
||||
static inline int
|
||||
flush_repeats (nrepeats, type)
|
||||
int nrepeats;
|
||||
tree type;
|
||||
|
@ -463,7 +459,7 @@ check_ktype (node, add)
|
|||
}
|
||||
|
||||
|
||||
static __inline int
|
||||
static inline int
|
||||
issue_ktype (decl)
|
||||
tree decl;
|
||||
{
|
||||
|
|
1621
gcc/cp/parse.c
1621
gcc/cp/parse.c
File diff suppressed because it is too large
Load diff
|
@ -70,10 +70,7 @@ int have_extern_spec;
|
|||
int used_extern_spec;
|
||||
|
||||
/* Cons up an empty parameter list. */
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
#endif
|
||||
static tree
|
||||
static inline tree
|
||||
empty_parms ()
|
||||
{
|
||||
tree parms;
|
||||
|
|
Loading…
Add table
Reference in a new issue