Commit aef28d1d by Jeffrey A Law Committed by Jeff Law

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
parent 7bcac048
...@@ -54,6 +54,9 @@ Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com> ...@@ -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) 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. * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
* loop.c (find_and_verify_loops): When attempting to move insns from * loop.c (find_and_verify_loops): When attempting to move insns from
......
...@@ -21,4 +21,7 @@ ...@@ -21,4 +21,7 @@
/* Whether getenv must be declared even if <stdlib.h> is included. */ /* Whether getenv must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_GETENV #undef NEED_DECLARATION_GETENV
/* Whether atol must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_ATOL
@TOP@ @TOP@
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
/* Whether getenv must be declared even if <stdlib.h> is included. */ /* Whether getenv must be declared even if <stdlib.h> is included. */
#undef NEED_DECLARATION_GETENV #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. */ /* Define if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
......
...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
extern struct obstack *rtl_obstack; extern struct obstack *rtl_obstack;
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT #ifdef NEED_DECLARATION_ATOL
extern long atol(); extern long atol();
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment