------- Comment #4 from rob1weld at aol dot com  2007-07-17 12:56 -------
(In reply to comment #3)
> They are duplicated because they are different sections of the case 
> statement. 
> Nothing we can do about this.

"that one is an autoconf issue an not the way we coded configure.ac"
That is what I said.


I am repening this because of the title "gettimeofday" !


gcc-4_3-trunk/libiberty/configure.ac

# These are neither executed nor required, but they help keep
# autoheader happy without adding a bunch of text to acconfig.h.
if test "x" = "y"; then
  AC_CHECK_FUNCS(asprintf atexit basename bcmp bcopy bsearch bzero calloc clock
\
  getcwd getpagesize gettimeofday index insque mkstemps memchr memcmp memcpy \
  memmove mempcpy memset putenv random rename rindex sigsetmask \
  strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr
strstr \
  strtod strtol strtoul strverscmp tmpnam vasprintf vfprintf vprintf \
  vsprintf waitpid getrusage on_exit psignal strerror strsignal \
  sysconf times sbrk gettimeofday ffs snprintf vsnprintf \
  pstat_getstatic pstat_getdynamic sysmp getsysinfo table sysctl wait3 wait4 \
  realpath canonicalize_file_name __fsetlocking)
  AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf])
  AC_DEFINE(HAVE_SYS_ERRLIST, 1, [Define if you have the sys_errlist
variable.])
  AC_DEFINE(HAVE_SYS_NERR,    1, [Define if you have the sys_nerr variable.])
  AC_DEFINE(HAVE_SYS_SIGLIST, 1, [Define if you have the sys_siglist
variable.])
fi

See line 364 and line 369 ?

364: getcwd getpagesize gettimeofday index insque mkstemps memchr memcmp memcpy
\
369: sysconf times sbrk gettimeofday ffs snprintf vsnprintf \



See line 552 in gcc-4_3-trunk/libiberty/configure.ac ?

getcwd getpagesize getrusage gettimeofday gettimeofday \


_WE_ are the ones who write the ".ac" files we can remove the second occurance
of "gettimeofday" to fix this bug.

Perhaps the writer intended _S_ettimeofday for the first occurance.

Please review stuff when your not tired. No problem, it happens to me too.


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32783

Reply via email to