Kaveh R. Ghazi [Thu, 14 Dec 2000 20:09:41 +0000 (20:09 +0000)]
warn_summary: Fix subdirectory filtering.
* warn_summary: Fix subdirectory filtering. Add -intl and -fixinc
subdirectory flags. Add source directory prefix filtering.
Redirect diagnostic output to stderr.
From-SVN: r38260
Kaveh R. Ghazi [Thu, 14 Dec 2000 19:58:39 +0000 (19:58 +0000)]
* fixinc/gnu-regex.c: Disable NLS.
From-SVN: r38259
Jason Merrill [Thu, 14 Dec 2000 19:31:49 +0000 (14:31 -0500)]
comment
From-SVN: r38258
Jason Merrill [Thu, 14 Dec 2000 19:30:43 +0000 (14:30 -0500)]
typo
From-SVN: r38257
Benjamin Kosnik [Thu, 14 Dec 2000 19:06:57 +0000 (19:06 +0000)]
*.h: Remove include_next...
2000-12-14 Benjamin Kosnik <bkoz@redhat.com>
* include/c/bits/*.h: Remove include_next, replace with include,
as include_next does not work host-x-host, and include_next not
necessary.
From-SVN: r38256
Kaveh R. Ghazi [Thu, 14 Dec 2000 18:49:11 +0000 (18:49 +0000)]
configure.in (fastjar_warn_cflags): Set when using gcc.
* configure.in (fastjar_warn_cflags): Set when using gcc.
* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
From-SVN: r38255
Kaveh R. Ghazi [Thu, 14 Dec 2000 18:45:35 +0000 (18:45 +0000)]
Warning fixes:
* compress.c: Include stdlib.h and compress.h.
(rcsid): Delete.
(report_str_error): Make static.
(ez_inflate_str): Delete unused variable. Add parens in if-stmt.
(hrd_inflate_str): Likewise.
* compress.h (init_compression, end_compression, init_inflation,
end_inflation): Prototype void arguments.
* dostime.c (rcsid): Delete.
* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
Make functions static. Cast ctype function argument to `unsigned
char'. Add parens in if-stmts. Constify.
(Usage): Change into a macro.
(jargrep): Remove unused parameter.
* jartool.c: Constify. Add parens in if-stmts. Align
signed/unsigned char pointers in functions calls using casts.
(rcsid): Delete.
(list_jar): Fix printf format specifier.
(usage): Chop long string into bits. Reformat.
* pushback.c (rcsid): Delete.
From-SVN: r38254
Tom Tromey [Thu, 14 Dec 2000 18:23:49 +0000 (18:23 +0000)]
* MAINTAINERS: Removed brads.
From-SVN: r38253
Tom Tromey [Thu, 14 Dec 2000 17:51:52 +0000 (17:51 +0000)]
* MAINTAINERS: Added gcj developers.
From-SVN: r38252
Catherine Moore [Thu, 14 Dec 2000 15:31:26 +0000 (10:31 -0500)]
920501-7.c: Check for NO_TRAMPOLINES.
* gcc.c-torture/execute/920501-7.c: Check for NO_TRAMPOLINES.
* gcc.c-torture/execute/920612-2.c: Likewise.
* gcc.c-torture/execute/920428-2.c: Likewise.
* gcc-c-torture/execute/va-arg-11.c: Call exit.
* gcc.c-torture/execute/va-arg-21.c: Likewise.
From-SVN: r38251
Benjamin Kosnik [Thu, 14 Dec 2000 09:19:56 +0000 (09:19 +0000)]
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.
* config/os/*/bits/ctype_inline.h (is): Same.
From-SVN: r38250
Benjamin Kosnik [Thu, 14 Dec 2000 09:07:01 +0000 (09:07 +0000)]
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.
From-SVN: r38249
Jeff Law [Thu, 14 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38248
Richard Henderson [Thu, 14 Dec 2000 08:18:57 +0000 (00:18 -0800)]
alpha.c (alpha_emit_conditional_move): Do not swap comparison operands when that would create non-canonical rtl.
* config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
comparison operands when that would create non-canonical rtl.
From-SVN: r38247
Richard Henderson [Thu, 14 Dec 2000 08:12:13 +0000 (00:12 -0800)]
i386.md (umulsi3_highpart): Remove * from name.
* config/i386/i386.md (umulsi3_highpart): Remove * from name.
(smulsi3_highpart): Likewise.
From-SVN: r38246
Neil Booth [Thu, 14 Dec 2000 07:47:38 +0000 (07:47 +0000)]
gcc.c (cpp_options): Update to use '&'.
* gcc.c (cpp_options): Update to use '&'.
(struct switchstr): Change type of validated to save space.
New member 'ordering'.
(handle_braces, validate_switches): Update to handle '&'.
From-SVN: r38245
Neil Booth [Thu, 14 Dec 2000 07:42:39 +0000 (07:42 +0000)]
gcc.c (cpp_options): Update to use '&'.
* gcc.c (cpp_options): Update to use '&'.
(struct switchstr): Change type of validated to save space.
New member 'ordering'.
(handle_braces, validate_switches): Update to handle '&'.
From-SVN: r38244
Benjamin Kosnik [Thu, 14 Dec 2000 07:20:37 +0000 (07:20 +0000)]
ctype_base.h (ctype_base): Consistency with linux.
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* config/os/generic/bits/ctype_base.h (ctype_base): Consistency
with linux.
* config/os/generic/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_base.h (ctype_base): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_base.h (ctype_base): Same.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
* testsuite/22_locale/ctype.cc (test01): Add tests for
ctype_base::mask bitmask features.
* src/locale.cc: Define const static data for ctype_base.
* config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
ctype_base::mask type an integer type, not an enum.
* config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
* include/bits/locale_facets.h: Tweaks.
* include/bits/ios_base.h: Formatting tweaks.
* docs/html/17_intro/C++STYLE: Add.
From-SVN: r38243
Laurynas Biveinis [Thu, 14 Dec 2000 06:11:40 +0000 (06:11 +0000)]
skip stdio_va_list fix if __DJ_va_list found in a header
From-SVN: r38242
Mike Stump [Thu, 14 Dec 2000 04:28:50 +0000 (04:28 +0000)]
* parse.y (check_static_final_variable_assignment_flag): Fix spelling.
From-SVN: r38241
DJ Delorie [Thu, 14 Dec 2000 00:44:35 +0000 (19:44 -0500)]
* config.gcc (cygwin, win32, mingw32): Use float-i386.h.
From-SVN: r38240
Anthony Green [Wed, 13 Dec 2000 23:19:06 +0000 (23:19 +0000)]
Default to not build gcj target libraries.
From-SVN: r38239
Tom Tromey [Wed, 13 Dec 2000 23:09:33 +0000 (23:09 +0000)]
* gcc.c (handle_braces): Handle %{<S*} spec correctly.
From-SVN: r38238
Tom Tromey [Wed, 13 Dec 2000 22:47:13 +0000 (22:47 +0000)]
Make-lang.in (JAVA_LEX_C): Added chartables.h.
* Make-lang.in (JAVA_LEX_C): Added chartables.h.
* lex.c (java_ignorable_control_p): Removed.
(java_letter_or_digit_p): Removed.
(java_start_char_p): New function.
(java_read_char): Return `int', not `unicode_t'. Changed
callers.
(java_read_unicode): Likewise.
(java_read_unicode_collapsing_terminators): Likewise.
(java_get_unicode): Likewise.
(java_new_lexer): Initialize hit_eof.
(java_parse_end_comment): Take `int' argument.
(java_parse_doc_section): Likewise.
(java_parse_escape_sequence): Don't allow backlash-newline.
Return `int'.
* lex.h (JAVA_DIGIT_P): Removed.
(_JAVA_LETTER_OR_DIGIT_P): Removed.
(_JAVA_IDENTIFIER_IGNORABLE): Removed.
(JAVA_START_CHAR_P): Renamed from JAVA_ID_CHAR_P.
(JAVA_PART_CHAR_P): New macro.
(UEOF): Now -1.
(JAVA_CHAR_ERROR): Now -2.
(java_lexer): New field `hit_eof'.
* chartables.h: New file.
* gen-table.pl: new file.
From-SVN: r38237
Tom Tromey [Wed, 13 Dec 2000 22:36:24 +0000 (22:36 +0000)]
parse.y (java_complete_lhs): Only allow compound assignment of reference type if type is String.
* parse.y (java_complete_lhs): Only allow compound assignment of
reference type if type is String.
Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com>
From-SVN: r38236
Mike Stump [Wed, 13 Dec 2000 22:25:21 +0000 (22:25 +0000)]
Fix typo
From-SVN: r38235
Mike Stump [Wed, 13 Dec 2000 22:01:46 +0000 (22:01 +0000)]
* Makefile.in (local-distclean): Also remove fastjar.
From-SVN: r38234
Alexandre Oliva [Wed, 13 Dec 2000 21:24:03 +0000 (21:24 +0000)]
function.c (assign_parms): Optimize incoming PARALLELs into REGs if possible.
* function.c (assign_parms): Optimize incoming PARALLELs into
REGs if possible.
From-SVN: r38233
Franz Sirl [Wed, 13 Dec 2000 20:16:33 +0000 (20:16 +0000)]
pack-test-1.c: Compile on powerpc*-*-eabi* too.
2000-12-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/pack-test-1.c: Compile on powerpc*-*-eabi* too.
* gcc.dg/pack-test-2.c: Likewise.
From-SVN: r38232
Bruce Korb [Wed, 13 Dec 2000 20:07:46 +0000 (20:07 +0000)]
Use one makefile for fixinc
From-SVN: r38231
Neil Booth [Wed, 13 Dec 2000 19:47:11 +0000 (19:47 +0000)]
tradcpp.c (special_symbol): Improve test for definedness, though it is still not perfect.
* tradcpp.c (special_symbol): Improve test for definedness,
though it is still not perfect.
(do_define): Don't define illegal macro names.
From-SVN: r38230
Neil Booth [Wed, 13 Dec 2000 19:47:04 +0000 (19:47 +0000)]
Tests by Zack Weinberg <zackw@stanford.edu>.
* gcc.dg/cpp/defined.c: Update.
* gcc.dg/cpp/defined_trad.c: New tests.
From-SVN: r38229
Aldy Hernandez [Wed, 13 Dec 2000 19:36:48 +0000 (19:36 +0000)]
(ASM_OUTPUT_SECTION_NAME): emit @nobits
From-SVN: r38228
Neil Booth [Wed, 13 Dec 2000 19:20:14 +0000 (19:20 +0000)]
cppfiles.c (read_name_map): Return null if open () fails.
* cppfiles.c (read_name_map): Return null if open () fails.
(remap_filename): Simplify logic. Add ICE if it doesn't work
as expected. Perform secondary lookup attempt on base filename
only.
From-SVN: r38227
Jan Hubicka [Wed, 13 Dec 2000 18:52:49 +0000 (18:52 +0000)]
flow.c (notice_stack_pointer_modification_1): Notice midifications using PRE_MODIFY and POST_MODIFY.
* flow.c (notice_stack_pointer_modification_1): Notice midifications
using PRE_MODIFY and POST_MODIFY.
From-SVN: r38226
Tom Tromey [Wed, 13 Dec 2000 18:11:57 +0000 (18:11 +0000)]
* jartool.c (extract_jar): Use strchr, not index.
From-SVN: r38225
Michael Sokolov [Wed, 13 Dec 2000 18:11:45 +0000 (18:11 +0000)]
safe-ctype.c: #include "ansidecl.h".
* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise.
From-SVN: r38224
DJ Delorie [Wed, 13 Dec 2000 17:51:56 +0000 (12:51 -0500)]
fix date
From-SVN: r38223
DJ Delorie [Wed, 13 Dec 2000 17:49:56 +0000 (12:49 -0500)]
typeck.c (build_binary_op): Do signed/unsigned warnings for >?
* typeck.c (build_binary_op): Do signed/unsigned warnings for >?
and <? operators.
From-SVN: r38222
Michael Sokolov [Wed, 13 Dec 2000 17:44:01 +0000 (17:44 +0000)]
* strtoul.c: Include safe-ctype.h, not ctype.h.
From-SVN: r38221
Jan Hubicka [Wed, 13 Dec 2000 16:26:45 +0000 (17:26 +0100)]
* genoutput.c (process_template): Add sanity checking for '@' templates.
From-SVN: r38220
Tom Tromey [Wed, 13 Dec 2000 15:45:29 +0000 (15:45 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): New macro, includes --encoding
option.
(GCJCOMPILE): Use it.
(JAVAC): Likewise.
From-SVN: r38219
Bernd Schmidt [Wed, 13 Dec 2000 15:06:54 +0000 (15:06 +0000)]
Plug a memory leak.
From-SVN: r38218
Benjamin Kosnik [Wed, 13 Dec 2000 09:25:44 +0000 (09:25 +0000)]
[multiple changes]
2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype
files here...
* configure.in: Rather, do it once for all targets here. Clean up
canadian cross and cross compile targets for linux-targeted
crosses.
* configure: Regenerate.
* aclocal.m4: Regnerate.
* acconfig.h: Add more defines.
* config.h.in: Regenerate.
2000-12-12 Angela Marie Thomas <angela@cygnus.com>
* configure.in: Fix case for host-x-linux
* configure: Regenerate.
From-SVN: r38217
Jeff Law [Wed, 13 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38216
Neil Booth [Wed, 13 Dec 2000 07:28:54 +0000 (07:28 +0000)]
* gcc.dg/cpp/tr-direct.c: Update.
From-SVN: r38215
Rodney Brown [Wed, 13 Dec 2000 05:58:57 +0000 (05:58 +0000)]
gcc_update: Add fastjar --touch entries.
2000-12-12 Rodney Brown <RodneyBrown@mynd.com>
* contrib/gcc_update: Add fastjar --touch entries.
(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00588.html)
From-SVN: r38214
Mike Stump [Tue, 12 Dec 2000 23:38:14 +0000 (23:38 +0000)]
* Makefile.in (distclean): Remove safe-ctype.c as well.
From-SVN: r38213
Brad Lucier [Tue, 12 Dec 2000 23:17:00 +0000 (23:17 +0000)]
tradcpp.c (do_error): Cast difference of pointers to int for error message.
* tradcpp.c (do_error): Cast difference of pointers to int
for error message.
From-SVN: r38212
Franz Sirl [Tue, 12 Dec 2000 21:38:18 +0000 (21:38 +0000)]
linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
* config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
From-SVN: r38211
Jim Wilson [Tue, 12 Dec 2000 21:23:33 +0000 (13:23 -0800)]
Fix for ia64-linux miscompilation of glibc nan tests.
* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
From-SVN: r38210
Jim Wilson [Tue, 12 Dec 2000 21:23:04 +0000 (13:23 -0800)]
Fix for ia64-linux glibc miscompilation of nan tests.
* rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
From-SVN: r38209
Alexandre Petit-Bianco [Tue, 12 Dec 2000 20:52:54 +0000 (20:52 +0000)]
Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
* configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
set accordingly.
* Makefile.in: Rebuilt.
* configure: Likewise.
(http://sources.redhat.com/ml/java-patches/2000-q4/msg00237.html)
From-SVN: r38208
Alexandre Oliva [Tue, 12 Dec 2000 20:28:52 +0000 (20:28 +0000)]
configure.in: Simplify language enabling/disabling code.
* configure.in: Simplify language enabling/disabling code.
* configure: Rebuilt.
* ch/config-lang.in (target_libs): Set.
(build_by_default): Set to no.
* cp/config-lang.in (target_libs): Set.
* f/config-lang.in (target_libs): Set.
* java/config-lang.in (target_libs): Set.
* objc/config-lang.in (target_libs): Set.
From-SVN: r38207
Alexandre Oliva [Tue, 12 Dec 2000 20:16:17 +0000 (20:16 +0000)]
configure.in: Disable language-specific target libraries for languages that aren't enabled.
* configure.in: Disable language-specific target libraries for
languages that aren't enabled.
From-SVN: r38206
Neil Booth [Tue, 12 Dec 2000 18:54:26 +0000 (18:54 +0000)]
tradcpp.c (enum node_type): Add T_ERROR.
* tradcpp.c (enum node_type): Add T_ERROR.
(do_error): New function.
(directive_table): Add #error handler.
From-SVN: r38205
Franz Sirl [Tue, 12 Dec 2000 12:01:18 +0000 (12:01 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.
From-SVN: r38204
Franz Sirl [Tue, 12 Dec 2000 11:53:48 +0000 (11:53 +0000)]
configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.
From-SVN: r38203
Jeff Law [Tue, 12 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38202
Tom Tromey [Tue, 12 Dec 2000 00:32:02 +0000 (00:32 +0000)]
FirstThread.java (Kcert, [...]): New static final fields.
* gnu/gcj/runtime/FirstThread.java (Kcert, Kfile, Khttp, Kjar):
New static final fields.
From-SVN: r38200
Neil Booth [Mon, 11 Dec 2000 22:14:18 +0000 (22:14 +0000)]
* gcc.dg/cpp/defined_trad.c: Update.
From-SVN: r38199
Tom Tromey [Mon, 11 Dec 2000 21:50:39 +0000 (21:50 +0000)]
re GNATS libgcj/378 (Problem with scripts/classes.pl)
* scripts/classes.pl (scan): Skip lines with leading `*'.
Fix for PR libgcj/378.
From-SVN: r38198
Jeffrey A Law [Mon, 11 Dec 2000 21:17:34 +0000 (21:17 +0000)]
pa.c (cmpib_comparison_operator): Remove GEU and LTU.
* pa.c (cmpib_comparison_operator): Remove GEU and LTU.
* pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
changes.
From-SVN: r38197
Bruce Korb [Mon, 11 Dec 2000 21:04:50 +0000 (21:04 +0000)]
emit initial value for all fields
From-SVN: r38196
Neil Booth [Mon, 11 Dec 2000 20:27:03 +0000 (20:27 +0000)]
* gcc.dg/cpp/defined_trad.c: New test.
From-SVN: r38195
Neil Booth [Mon, 11 Dec 2000 19:38:15 +0000 (19:38 +0000)]
* tradcpp.h: For tradcpp, NUL is not whitespace.
From-SVN: r38194
Alexandre Petit-Bianco [Mon, 11 Dec 2000 18:41:29 +0000 (18:41 +0000)]
install-defs.sh: Removed.
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
* install-defs.sh: Removed.
From-SVN: r38193
Neil Booth [Mon, 11 Dec 2000 18:22:32 +0000 (18:22 +0000)]
* fix-header.c (read_scan_file): Macro expansion is not a file buffer.
From-SVN: r38192
Anthony Green [Mon, 11 Dec 2000 16:52:42 +0000 (16:52 +0000)]
configure.in cleanup for libgcj
From-SVN: r38191
Marek Michalkiewicz [Mon, 11 Dec 2000 12:46:57 +0000 (13:46 +0100)]
avr.c (compare_condition, [...]): New functions.
* config/avr/avr.c (compare_condition, compare_sign_p): New functions.
(compare_diff_p, compare_eq_p): Call compare_condition.
(out_tsthi, out_tstsi): Call compare_sign_p.
(avr_progmem_p): Check for error_mark_node.
From-SVN: r38190
Jeff Law [Mon, 11 Dec 2000 08:45:40 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38189
Bryce McKinlay [Mon, 11 Dec 2000 07:50:52 +0000 (07:50 +0000)]
* gcj/javaprims.h: Rebuilt CNI namespace declarations.
From-SVN: r38188
Neil Booth [Mon, 11 Dec 2000 07:46:25 +0000 (07:46 +0000)]
* gcc.dg/cpp/if-2.c: Separate tests so that which failed is obvious.
From-SVN: r38187
Neil Booth [Mon, 11 Dec 2000 07:45:16 +0000 (07:45 +0000)]
cpperror.c (print_location): New function.
* cpperror.c (print_location): New function.
(print_containing_files): Simplify.
(_cpp_begin_message): Simplify and use print_location.
* cppfiles.c (stack_include_file): Update.
(_cpp_pop_file_buffer): Update.
* cpphash.h (struct cpp_buffer): New members
include_stack_listed and type.
* cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
(run_directive): Take buffer type. cpp_push_buffer cannot fail.
(_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
handle_assertion): Update.
(cpp_push_buffer): Take a buffer type and file name.
(cpp_pop_buffer): Update. Clear include_stack_listed.
* cpplib.h (input_stack_listing_current): Remove.
(enum cpp_buffer_type): New.
(cpp_push_buffer): New prototype.
* cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
* fix-header.c (read_scan_file): Update.
From-SVN: r38186
Bryce McKinlay [Mon, 11 Dec 2000 04:54:55 +0000 (04:54 +0000)]
* java/util/Hashtable.java (Enumerator.nextElement): Initialize `e'.
From-SVN: r38185
Bryce McKinlay [Mon, 11 Dec 2000 04:37:14 +0000 (04:37 +0000)]
configure.in: Remove check for -fuse-divide-subroutine.
* configure.in: Remove check for -fuse-divide-subroutine.
* configure: Rebuilt.
From-SVN: r38184
Bryce McKinlay [Mon, 11 Dec 2000 03:47:48 +0000 (03:47 +0000)]
Makefile.am: Add HashSet.java and java/lang/ref classes.
* Makefile.am: Add HashSet.java and java/lang/ref classes.
Remove BasicMapEntry.java and Bucket.java.
* Makefile.in: Rebuilt.
* java/util/HashMap.java: Rewritten.
* java/util/HashSet.java: Imported from classpath.
* java/util/WeakHashMap.java: Imported from classpath.
* java/util/Hashtable.java: Rewritten based on new HashMap code.
* java/util/Bucket.java: Deleted.
* java/util/BasicMapEntry.java: Deleted.
* java/util/Collections.java (search): Use a for-loop, not iterator
hasNext().
(copy): Use a for-loop. Throw an IndexOutOfBoundsException if run out
of elements in source.
(max): Use a for-loop.
(min): Ditto.
(reverse): Keep track of positions instead of using Iterator's
nextIndex() and previousIndex().
(shuffle(List)): Initialize defaultRandom if required using
double-check thread safety idiom. Call two-argument shuffle method
using defaultRandom.
(defaultRandom): New field.
(shuffle(List, Random)): Use a for-loop. Keep track of pos instead
of using previousIndex() and nextIndex().
(singletonMap(iterator)): Use a HashMap.Entry, not BasicMapEntry.
* java/util/AbstractCollection.java (toString): Use a StringBuffer.
* java/util/AbstractMap.java (toString): Use StringBuffer.
* java/lang/ref/PhantomReference.java: Imported from classpath.
* java/lang/ref/SoftReference.java: Ditto.
* java/lang/ref/Reference.java: Ditto.
* java/lang/ref/WeakReference.java: Ditto.
* java/lang/ref/ReferenceQueue.java: Ditto.
From-SVN: r38183
Alexandre Petit-Bianco [Mon, 11 Dec 2000 02:59:55 +0000 (18:59 -0800)]
[multiple changes]
2000-12-10 Robert Lipe <robertlipe@usa.net>
* jargrep.c (jargrep): Added null statement after case.
2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile: Removed.
* Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
(http://gcc.gnu.org/ml/gcc/2000-12/msg00294.html)
From-SVN: r38182
Richard Henderson [Mon, 11 Dec 2000 02:30:14 +0000 (18:30 -0800)]
Recognize alpha*-*.
From-SVN: r38181
Robert Lipe [Mon, 11 Dec 2000 00:16:22 +0000 (00:16 +0000)]
install.texi (i*86-*-sco3.2v5*): Remove information duplicated in html version.
* install.texi (i*86-*-sco3.2v5*): Remove information duplicated
in html version.
From-SVN: r38180
Geoffrey Keating [Sun, 10 Dec 2000 22:57:37 +0000 (22:57 +0000)]
gcconfig.h: Add new case for powerpc EABI.
* gcconfig.h: Add new case for powerpc EABI.
[PPC]: Handle embedded OS for powerpc simulator.
From-SVN: r38179
Alexandre Petit-Bianco [Sun, 10 Dec 2000 20:51:22 +0000 (20:51 +0000)]
Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include 2000-11-12 hunk.
2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
* src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
2000-11-12 hunk.
* src/Makefile.in: Rebuilt.
From-SVN: r38178
Mo DeJong [Sun, 10 Dec 2000 20:18:23 +0000 (20:18 +0000)]
jcf-io.c (find_class): Correct the logic that tests to see if a .java file is newer than its .class file.
2000-12-07 Mo DeJong <mdejong@redhat.com>
* jcf-io.c (find_class): Correct the logic that tests to see if a
.java file is newer than its .class file. The compiler was
incorrectly printing a warning when file mod times were equal.
(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00530.html)
From-SVN: r38177
Richard Henderson [Sun, 10 Dec 2000 19:51:07 +0000 (11:51 -0800)]
i386.md (andqi_ext_0_cc): Use matching constraint for op1 to op0.
* config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
for op1 to op0.
From-SVN: r38176
Richard Henderson [Sun, 10 Dec 2000 19:50:53 +0000 (11:50 -0800)]
genrecog.c (find_operand): Handle 'V' format code.
* genrecog.c (find_operand): Handle 'V' format code.
(find_matching_operand): New.
(validate_pattern): Accept '=' for an in-out operand if there
is another operand with a matching constraint.
From-SVN: r38175
Richard Henderson [Sun, 10 Dec 2000 19:09:01 +0000 (11:09 -0800)]
* genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
From-SVN: r38174
Neil Booth [Sun, 10 Dec 2000 17:55:26 +0000 (17:55 +0000)]
* MAINTAINERS: Update address, remove self from WAA list.
From-SVN: r38173
Jason Merrill [Sun, 10 Dec 2000 11:23:50 +0000 (06:23 -0500)]
auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an...
* testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
isn't supposed to work anymore.
From-SVN: r38171
Jeff Law [Sun, 10 Dec 2000 08:45:10 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38170
Richard Henderson [Sun, 10 Dec 2000 07:13:18 +0000 (23:13 -0800)]
Richards changes to the closure code for alpha
From-SVN: r38169
Anthony Green [Sun, 10 Dec 2000 07:12:32 +0000 (07:12 +0000)]
Enable interpreter for alpha.
From-SVN: r38168
Alexandre Petit-Bianco [Sun, 10 Dec 2000 05:32:49 +0000 (05:32 +0000)]
Top level ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* libjava: Imported from /cvs/java.
* libffi: Likewise.
* Boehm-gc: Likewise.
libjava/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (data_DATA): libgcj.jar replaces libgcj.zip.
(ZIP): Points at fastjar instead of zip.
(libgcj_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcj_la_LDFLAGS): Correctly point at libsupc++.
(libgcjx_la_DEPENDENCIES): libgcj.jar replaces libgcj.zip.
(libgcjx_la_LDFLAGS): Correctly point at libsupc++.
($(java_source_files:.java=.class):): libgcj.jar replaces libgcj.zip.
($(x_java_source_files:.java=.class):): Likewise.
(libgcj.jar:): Replaces libgcj.zip:, builds libgcj.jar and uses
fastar's flags.
(CLEANFILES): libgcj.jar replaces libgcj.zip.
(java/lang/ClassLoader.h:): Depends on libgcj.jar.
(gnu/gcj/runtime/FirstThread.h:, java/lang/Thread.h:,
java/lang/String.h:, java/lang/reflect/Constructor.h:,
java/lang/reflect/Field.h:, java/lang/reflect/Method.h:,
gnu/gcj/runtime/VMClassLoader.h:,
java/io/ObjectInputStream$$GetField.h:,
java/io/ObjectOutputStream$$PutField.h:, header-check:): Likewise.
(Makefile.in): Rebuilt.
gcc/java/ChangeLog:
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (java/jcf-path.o:): libgcj.jar replaces libgcj.zip.
jcf-path.c: Likewise.
From-SVN: r38167
Phil Edwards [Sun, 10 Dec 2000 04:04:56 +0000 (04:04 +0000)]
Move the HTML-containing subdirs from 'docs' to 'docs/html'.
2000-12-09 Phil Edwards <pme@sources.redhat.com>
Move the HTML-containing subdirs from 'docs' to 'docs/html'.
* README: Update the locations of instructions.
* docs/doxygen/run_doxygen: New file, stub.
* docs/Makefile: Moved...
* docs/configopts.html: Likewise.
* docs/documentation.html: Likewise.
* docs/install.html: Likewise.
* docs/lib3styles.css: Likewise.
* docs/17_intro/BADNAMES: Likewise.
* docs/17_intro/BUGS: Likewise.
* docs/17_intro/C++STYLE: Likewise.
* docs/17_intro/CHECKLIST: Likewise.
* docs/17_intro/COPYING: Likewise.
* docs/17_intro/DESIGN: Likewise.
* docs/17_intro/HEADER_POLICY: Likewise.
* docs/17_intro/PROBLEMS: Likewise.
* docs/17_intro/RELEASE-NOTES: Likewise.
* docs/17_intro/TODO: Likewise.
* docs/17_intro/contribute.html: Likewise.
* docs/17_intro/headers_cc.txt: Likewise.
* docs/17_intro/howto.html: Likewise.
* docs/17_intro/libstdc++-assign.txt: Likewise.
* docs/17_intro/organization: Likewise.
* docs/17_intro/porting-howto.html: Likewise.
* docs/18_support/howto.html: Likewise.
* docs/19_diagnostics/howto.html: Likewise.
* docs/20_util/howto.html: Likewise.
* docs/21_strings/gotw29a.txt: Likewise.
* docs/21_strings/howto.html: Likewise.
* docs/21_strings/stringtok_h.txt: Likewise.
* docs/21_strings/stringtok_std_h.txt: Likewise.
* docs/22_locale/codecvt.html: Likewise.
* docs/22_locale/ctype.html: Likewise.
* docs/22_locale/howto.html: Likewise.
* docs/22_locale/locale.html: Likewise.
* docs/23_containers/howto.html: Likewise.
* docs/23_containers/wrappers_h.txt: Likewise.
* docs/24_iterators/howto.html: Likewise.
* docs/25_algorithms/howto.html: Likewise.
* docs/26_numerics/howto.html: Likewise.
* docs/27_io/howto.html: Likewise.
* docs/27_io/iostreams_hierarchy.pdf: Likewise.
* docs/ext/howto.html: Likewise.
* docs/faq/index.html: Likewise.
* docs/faq/index.txt: Likewise.
* docs/html/Makefile: ...to here.
* docs/html/configopts.html: Likewise.
* docs/html/documentation.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/lib3styles.css: Likewise.
* docs/html/17_intro/BADNAMES: Likewise.
* docs/html/17_intro/BUGS: Likewise.
* docs/html/17_intro/C++STYLE: Likewise.
* docs/html/17_intro/CHECKLIST: Likewise.
* docs/html/17_intro/COPYING: Likewise.
* docs/html/17_intro/DESIGN: Likewise.
* docs/html/17_intro/HEADER_POLICY: Likewise.
* docs/html/17_intro/PROBLEMS: Likewise.
* docs/html/17_intro/RELEASE-NOTES: Likewise.
* docs/html/17_intro/TODO: Likewise.
* docs/html/17_intro/contribute.html: Likewise.
* docs/html/17_intro/headers_cc.txt: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/libstdc++-assign.txt: Likewise.
* docs/html/17_intro/organization: Likewise.
* docs/html/17_intro/porting-howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/gotw29a.txt: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/21_strings/stringtok_h.txt: Likewise.
* docs/html/21_strings/stringtok_std_h.txt: Likewise.
* docs/html/22_locale/codecvt.html: Likewise.
* docs/html/22_locale/ctype.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/22_locale/locale.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/23_containers/wrappers_h.txt: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/27_io/iostreams_hierarchy.pdf: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Likewise.
From-SVN: r38166
Anthony Green [Sun, 10 Dec 2000 03:53:33 +0000 (03:53 +0000)]
zipfile.h (ZipDirectory): Declare size, uncompressed_size, filestart and filename_length as int values.
* zipfile.h (ZipDirectory): Declare size, uncompressed_size,
filestart and filename_length as int values.
From-SVN: r38165
Richard Henderson [Sat, 9 Dec 2000 22:06:52 +0000 (14:06 -0800)]
genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and STRICT_LOW_PART as SET_DEST have in-out constraints.
* genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
STRICT_LOW_PART as SET_DEST have in-out constraints.
From-SVN: r38164
Joseph Myers [Sat, 9 Dec 2000 21:26:56 +0000 (21:26 +0000)]
c-common.c (check_function_format): Don't suggest adding format attributes to functions with no parameter to which...
* c-common.c (check_function_format): Don't suggest adding format
attributes to functions with no parameter to which to add them.
testsuite:
* gcc.dg/format-miss-2.c: New test.
From-SVN: r38163
Alexandre Petit-Bianco [Sat, 9 Dec 2000 21:08:13 +0000 (21:08 +0000)]
configure.in (target_libs): Revert 2000-12-08 patch.
2000-12-09 Alexandre Petit-Bianco <apbianco@cygnus.com>
* configure.in (target_libs): Revert 2000-12-08 patch.
(noconfigdirs): Added target-libjava.
(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00500.html)
From-SVN: r38162
Nick Clifton [Sat, 9 Dec 2000 20:53:53 +0000 (20:53 +0000)]
Remove some psurious whitespace
From-SVN: r38161
Nick Clifton [Sat, 9 Dec 2000 20:51:26 +0000 (20:51 +0000)]
Mark the generated insn not the set as being DWARF2_FRAME_RELATED_P.
From-SVN: r38160
Jason Merrill [Sat, 9 Dec 2000 19:03:24 +0000 (14:03 -0500)]
Clean up copy-initialization in overloading code.
* call.c (build_user_type_conversion_1): Die if we are asked to
convert to the same or a base type.
(implicit_conversion): Avoid doing so. Lose reference binding code.
(convert_like_real): Treat BASE_CONV and RVALUE_CONV as implicit
direct-initialization. Also do direct-init part of copy-init.
(build_user_type_conversion): Don't provide context to convert_like.
* cvt.c (ocp_convert): build_user_type_conversion will now provide
the constructor call for copy-init.
From-SVN: r38159