PR bootstrap/10169
* mips-tfile.c (main): Use getopt_long instead of getopt.
Add new command line option --version to display version.
Treat --verbose like -v to report a single line version.
(options): New global variable for getopt_long.
* mips-tdump.c (main): Use getopt_long instead of getopt.
New command line options -v, --version and -verbose to display
the program version number (to match mips-tfile's behavior).
(options): New global variable for getopt_long.
* gcov.c (options): Zero-terminate getopt_long array.
* gcov-dump.c (options): Likewise.
* Makefile.in (mips-tdump.o): Add dependency on version.h.
Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r67230
* builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
(builtin_record): Add an additional builtin_code field to
record which GCC built-in corresponds to the Java function.
(java_builtins): Add new entries for atan, atan2, exp, log,
pow and tan.
(max_builtin, min_builtin, abs_builtin): Perform constant
folding on the resulting tree.
(java_build_function_call_expr): Likewise, perform constant
folding on the resulting tree.
(initialize_builtins): The NULL creators are now allowed in
the java_builtins table, which is now terminated by an entry
with builtin_code == END_BUILTINS.
(check_for_builtin): Likewise. If the matching creator is
NULL, construct the call using java_build_function_call_expr
directly with the decl for the corresponding builtin_code.
From-SVN: r67225
* c-semantics.c (genrtl_do_stmt_1): New function split out from...
(gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1.
(expand_unreachable_stmt): Expand unreachable while statements
using genrtl_do_stmt_1.
* gcc.dg/duff-4.c: New test case.
From-SVN: r67224
* config/mips/mips-protos.h (mips_output_load_label): Declare.
* config/mips/mips.c (mips_output_load_label): New function.
(mips_output_conditional_branch): Use it.
* config/mips/mips.md (jump): And here.
From-SVN: r67220
* config.gcc (i[34567]86-*-mingw32*): Add host makefile
fragment i386/x-mingw32.
* config/i386/x-mingw32: New file. Make local_includedir
relative to EXEC_PREFIX.
From-SVN: r67213
* cselib.c (cselib_invalidate_regno): Abort if hardreg have a
VOIDmode.
* cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
call of cselib_invalidate_regno.
From-SVN: r67210
* fixinc/inclhack.def: Add missing declaration of getpagesize()
to unistd.h on Solaris 2.5.1.
Fix prototype of recv() and send() in sys/socket.h on
Solaris 2.5.1 and 2.6.
* fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
* fixinc/tests/base/sys/socket.h: Add solaris_socket test.
* fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
* fixinc/fixincl.x: Regenerate.
From-SVN: r67206
* snapshot-README: Refer to .bz2 files instead of .gz files.
Add a note on where to find the diff files.
Simplify the note on not using unannounced snapshots.
Remove documentation of the gcc_latest_snapshot tag.
From-SVN: r67205
2003-05-26 Brendan Kehoe <brendan@zen.org>
* include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
make sure the number of digits required after the decimal-point
(if any) is exactly the value returned by frac_digits().
* testsuite/22_locale/money_get/get/char/9.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
From-SVN: r67196
* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
on IA64 HP-UX.
* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
_LIBUNWIND_STD_ABI is set.
From-SVN: r67193
2003-05-26 Brendan Kehoe <brendan@zen.org>
* include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
make sure the number of digits required after the decimal-point
(if any) is exactly the value returned by frac_digits().
From-SVN: r67192
2003-05-27 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/10843
* g77.dg/ffixed-form-1.f: New test
* g77.dg/ffixed-form-2.f: New test
* g77.dg/ffree-form-2.f: New test - XFAIL pending fix
* g77.dg/ffree-form-3.f: New test
From-SVN: r67181
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
* parser.c (cp_parser_explicit_instantiation): Restore old
access before template instantiation.
* g++.dg/template/access11.C: New test.
From-SVN: r67166