aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-02-25 20:40:21 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-02-25 20:40:21 +0000
commite915b770d9eca0fdfd5dd363daf70be12e543579 (patch)
treef93654398f80da81daa76ad8b689f48c4ebb6328 /gcc/cpplib.c
parent056cd572516e35aff4f58939bfcd27e9bdb54d6b (diff)
downloadgcc-e915b770d9eca0fdfd5dd363daf70be12e543579.zip
gcc-e915b770d9eca0fdfd5dd363daf70be12e543579.tar.gz
gcc-e915b770d9eca0fdfd5dd363daf70be12e543579.tar.bz2
Makefile.in (cppmain.o, [...]): Don't depend on machmode.h.
* 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. From-SVN: r25446
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 26536e9..a46d5c7 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;