diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-01-17 23:00:46 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-17 16:00:46 -0700 |
commit | aef28d1d1eb2d3af2b6015c764345724744ee5fe (patch) | |
tree | d9599474877487f2f049276c69aa32b43d95a46f /gcc | |
parent | 7bcac048fddfb4217b6457f61050f0499929a6c5 (diff) | |
download | gcc-aef28d1d1eb2d3af2b6015c764345724744ee5fe.zip gcc-aef28d1d1eb2d3af2b6015c764345724744ee5fe.tar.gz gcc-aef28d1d1eb2d3af2b6015c764345724744ee5fe.tar.bz2 |
acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
* acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
* rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
From-SVN: r17404
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/acconfig.h | 3 | ||||
-rw-r--r-- | gcc/config.in | 3 | ||||
-rw-r--r-- | gcc/rtl.c | 2 |
4 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3efb4cb..99e6e8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -54,6 +54,9 @@ Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com> Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com) + * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for. + * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL. + * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX. * loop.c (find_and_verify_loops): When attempting to move insns from diff --git a/gcc/acconfig.h b/gcc/acconfig.h index 41c0cf8..6d550a8 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -21,4 +21,7 @@ /* Whether getenv must be declared even if <stdlib.h> is included. */ #undef NEED_DECLARATION_GETENV + +/* Whether atol must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_ATOL @TOP@ diff --git a/gcc/config.in b/gcc/config.in index 92d4ca0..18a7528 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -23,6 +23,9 @@ /* Whether getenv must be declared even if <stdlib.h> is included. */ #undef NEED_DECLARATION_GETENV +/* Whether atol must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_ATOL + /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ extern struct obstack *rtl_obstack; -#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT +#ifdef NEED_DECLARATION_ATOL extern long atol(); #endif |