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
Neil Booth
e793c60979
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
2000-12-12 18:54:26 +00:00
Franz Sirl
d033a98935
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
2000-12-12 12:01:18 +00:00
Franz Sirl
e6978109a1
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
2000-12-12 11:53:48 +00:00
Jeff Law
df86583c2e
Daily bump.
...
From-SVN: r38202
2000-12-12 01:45:11 -07:00
Tom Tromey
d65b78c9a4
FirstThread.java (Kcert, [...]): New static final fields.
...
* gnu/gcj/runtime/FirstThread.java (Kcert, Kfile, Khttp, Kjar):
New static final fields.
From-SVN: r38200
2000-12-12 00:32:02 +00:00
Neil Booth
9502066fa8
* gcc.dg/cpp/defined_trad.c: Update.
...
From-SVN: r38199
2000-12-11 22:14:18 +00:00
Tom Tromey
7896f1e43a
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
2000-12-11 21:50:39 +00:00
Jeffrey A Law
27b18383e6
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
2000-12-11 14:17:34 -07:00
Bruce Korb
37082e6df2
emit initial value for all fields
...
From-SVN: r38196
2000-12-11 21:04:50 +00:00
Neil Booth
a0fd9909af
* gcc.dg/cpp/defined_trad.c: New test.
...
From-SVN: r38195
2000-12-11 20:27:03 +00:00
Neil Booth
4028c3a1cf
* tradcpp.h: For tradcpp, NUL is not whitespace.
...
From-SVN: r38194
2000-12-11 19:38:15 +00:00
Alexandre Petit-Bianco
fb72e39524
install-defs.sh: Removed.
...
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
* install-defs.sh: Removed.
From-SVN: r38193
2000-12-11 10:41:29 -08:00