This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Q. lang_unsave_expr_now which is correct gcc/tree.c or gcc/cp/tree.c?


Hi

There is a inconistency in the definition of the `lang_unsave_expr_now`
in gcc/tree.c,gcc/tree.h where it is prototyped to be

int (*lang_unsave_expr_now)PROTO((tree))

and its use in gcc/cp/tree.c where `cplus_unsave_expr_now` which is 
prototyped to be 

tree cplus_unsave_expr_now PROTO((tree))

and is assigned to `lang_unsave_expr_now'.

Which is the correct return type?

At the present time the use of lang_unsave_expr_now in gcc/tree.c 
doesn't the result.

Graham


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]