Kaveh R. Ghazi
37729557c9
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
2000-12-14 18:49:11 +00:00
Kaveh R. Ghazi
990bee10e7
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
2000-12-14 18:45:35 +00:00
Tom Tromey
ad46e8819b
* MAINTAINERS: Removed brads.
...
From-SVN: r38253
2000-12-14 18:23:49 +00:00
Tom Tromey
90a1041848
* MAINTAINERS: Added gcj developers.
...
From-SVN: r38252
2000-12-14 17:51:52 +00:00
Catherine Moore
eb9461fb98
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
2000-12-14 10:31:26 -05:00
Benjamin Kosnik
0c3a231d2f
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
2000-12-14 09:19:56 +00:00
Benjamin Kosnik
65b66e1f90
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
2000-12-14 09:07:01 +00:00
Jeff Law
dfd24dbc4e
Daily bump.
...
From-SVN: r38248
2000-12-14 01:45:08 -07:00
Richard Henderson
c53f9f5bda
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
2000-12-14 00:18:57 -08:00
Richard Henderson
34c659e2cf
i386.md (umulsi3_highpart): Remove * from name.
...
* config/i386/i386.md (umulsi3_highpart): Remove * from name.
(smulsi3_highpart): Likewise.
From-SVN: r38246
2000-12-14 00:12:13 -08:00
Neil Booth
7667db9b1a
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
2000-12-14 07:47:38 +00:00
Neil Booth
196a37f4e2
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
2000-12-14 07:42:39 +00:00
Benjamin Kosnik
d9ab8adb37
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
2000-12-14 07:20:37 +00:00
Laurynas Biveinis
413c5c85ca
skip stdio_va_list fix if __DJ_va_list found in a header
...
From-SVN: r38242
2000-12-14 06:11:40 +00:00
Mike Stump
e9e42530cd
* parse.y (check_static_final_variable_assignment_flag): Fix spelling.
...
From-SVN: r38241
2000-12-14 04:28:50 +00:00
DJ Delorie
60a8ab96f4
* config.gcc (cygwin, win32, mingw32): Use float-i386.h.
...
From-SVN: r38240
2000-12-13 19:44:35 -05:00
Anthony Green
41dfe3a2e6
Default to not build gcj target libraries.
...
From-SVN: r38239
2000-12-13 23:19:06 +00:00
Tom Tromey
14dd240269
* gcc.c (handle_braces): Handle %{<S*} spec correctly.
...
From-SVN: r38238
2000-12-13 23:09:33 +00:00
Tom Tromey
3f27e3f86a
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
2000-12-13 22:47:13 +00:00
Tom Tromey
568aac9cf7
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
2000-12-13 22:36:24 +00:00
Mike Stump
47bf5e3a33
Fix typo
...
From-SVN: r38235
2000-12-13 22:25:21 +00:00
Mike Stump
e2f601da48
* Makefile.in (local-distclean): Also remove fastjar.
...
From-SVN: r38234
2000-12-13 22:01:46 +00:00
Alexandre Oliva
e68a6ce10e
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
2000-12-13 21:24:03 +00:00
Franz Sirl
7c757aa486
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
2000-12-13 20:16:33 +00:00
Bruce Korb
2629a11424
Use one makefile for fixinc
...
From-SVN: r38231
2000-12-13 20:07:46 +00:00
Neil Booth
c36ee1647b
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
2000-12-13 19:47:11 +00:00
Neil Booth
04fd40b9d1
Tests by Zack Weinberg <zackw@stanford.edu>.
...
* gcc.dg/cpp/defined.c: Update.
* gcc.dg/cpp/defined_trad.c: New tests.
From-SVN: r38229
2000-12-13 19:47:04 +00:00
Aldy Hernandez
a65fd88acf
(ASM_OUTPUT_SECTION_NAME): emit @nobits
...
From-SVN: r38228
2000-12-13 19:36:48 +00:00
Neil Booth
8767c8949a
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
2000-12-13 19:20:14 +00:00
Jan Hubicka
a4377974da
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
2000-12-13 18:52:49 +00:00
Tom Tromey
b114d8ed2e
* jartool.c (extract_jar): Use strchr, not index.
...
From-SVN: r38225
2000-12-13 18:11:57 +00:00
Michael Sokolov
a8e4a997df
safe-ctype.c: #include "ansidecl.h".
...
* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise.
From-SVN: r38224
2000-12-13 13:11:45 -05:00
DJ Delorie
3175064910
fix date
...
From-SVN: r38223
2000-12-13 12:51:56 -05:00
DJ Delorie
8d3b081e50
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
2000-12-13 12:49:56 -05:00
Michael Sokolov
75444da786
* strtoul.c: Include safe-ctype.h, not ctype.h.
...
From-SVN: r38221
2000-12-13 12:44:01 -05:00
Jan Hubicka
c6d79beefd
* genoutput.c (process_template): Add sanity checking for '@' templates.
...
From-SVN: r38220
2000-12-13 16:26:45 +00:00
Tom Tromey
ee84a135f5
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): New macro, includes --encoding
option.
(GCJCOMPILE): Use it.
(JAVAC): Likewise.
From-SVN: r38219
2000-12-13 15:45:29 +00:00
Bernd Schmidt
b639e6e4c6
Plug a memory leak.
...
From-SVN: r38218
2000-12-13 15:06:54 +00:00
Benjamin Kosnik
eebc608e3b
[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
2000-12-13 09:25:44 +00:00
Jeff Law
29b8e5ddc0
Daily bump.
...
From-SVN: r38216
2000-12-13 01:45:07 -07:00
Neil Booth
31a408bc7e
* gcc.dg/cpp/tr-direct.c: Update.
...
From-SVN: r38215
2000-12-13 07:28:54 +00:00
Rodney Brown
70030c013c
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
2000-12-12 21:58:57 -08:00
Mike Stump
ffc0eab4de
* Makefile.in (distclean): Remove safe-ctype.c as well.
...
From-SVN: r38213
2000-12-12 23:38:14 +00:00
Brad Lucier
1df97aa412
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
2000-12-12 23:17:00 +00:00
Franz Sirl
edf1137870
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
2000-12-12 21:38:18 +00:00
Jim Wilson
4d4182e92f
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
2000-12-12 13:23:33 -08:00
Jim Wilson
734508eae5
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
2000-12-12 13:23:04 -08:00
Alexandre Petit-Bianco
f2beb7ef55
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
2000-12-12 12:52:54 -08:00
Alexandre Oliva
2b60b2cb39
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
2000-12-12 20:28:52 +00:00
Alexandre Oliva
2a50f859e3
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
2000-12-12 20:16:17 +00:00