From 164e0f6632316fc4c2c223dcd0e19bbbd372450b Mon Sep 17 00:00:00 2001 From: ghazi Date: Thu, 25 Feb 1999 20:40:21 +0000 Subject: * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o, cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o, scan-decls.o): Don't depend on machmode.h. * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore. Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT. * cppfiles.c: Likewise. * cpplib.c: Likewise. * cpplib.h: Likewise. Also don't include machmode.h anymore. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25446 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cpplib.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/cpplib.c') diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 26536e91a8e..a46d5c7f2fe 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -55,7 +55,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ static char *my_strerror PROTO ((int)); static void validate_else PROTO ((cpp_reader *, char *)); -static HOST_WIDE_INT eval_if_expression PROTO ((cpp_reader *)); +static HOST_WIDEST_INT eval_if_expression PROTO ((cpp_reader *)); static void conditional_skip PROTO ((cpp_reader *, int, enum node_type, U_CHAR *)); @@ -64,7 +64,7 @@ static int parse_name PARAMS ((cpp_reader *, int)); /* External declarations. */ -extern HOST_WIDE_INT cpp_parse_expr PARAMS ((cpp_reader *)); +extern HOST_WIDEST_INT cpp_parse_expr PARAMS ((cpp_reader *)); /* `struct directive' defines one #-directive, including how to handle it. */ @@ -1595,7 +1595,7 @@ do_if (pfile, keyword) cpp_reader *pfile; struct directive *keyword ATTRIBUTE_UNUSED; { - HOST_WIDE_INT value = eval_if_expression (pfile); + HOST_WIDEST_INT value = eval_if_expression (pfile); conditional_skip (pfile, value == 0, T_IF, NULL_PTR); return 0; } @@ -1631,7 +1631,7 @@ do_elif (pfile, keyword) if (pfile->if_stack->if_succeeded) skip_if_group (pfile); else { - HOST_WIDE_INT value = eval_if_expression (pfile); + HOST_WIDEST_INT value = eval_if_expression (pfile); if (value == 0) skip_if_group (pfile); else { @@ -1647,11 +1647,11 @@ do_elif (pfile, keyword) * then parse the result as a C expression and return the value as an int. */ -static HOST_WIDE_INT +static HOST_WIDEST_INT eval_if_expression (pfile) cpp_reader *pfile; { - HOST_WIDE_INT value; + HOST_WIDEST_INT value; long old_written = CPP_WRITTEN (pfile); pfile->pcp_inside_if = 1; -- cgit v1.2.1