Kriang Lerdsuwanakij
edac124d95
pt.c (check_explicit_specialization): Propagate default function arguments to explicit specializations.
...
* pt.c (check_explicit_specialization): Propagate default
function arguments to explicit specializations.
* g++.old-deja/g++.pt/spec33.C: New test.
From-SVN: r38266
2000-12-15 01:11:38 +00:00
Benjamin Kosnik
07467d31de
Makefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.
...
2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* src/Makefile.am (myinstallheaders): Install backwards headers in
prefix, not prefix/backward.
* src/Makefile.in: Regenerate.
From-SVN: r38265
2000-12-15 00:55:02 +00:00
Jim Wilson
1d79fd2c8a
Fix ia64-linux glibc miscompilation reported by H.J. Lu.
...
* alias.c (get_alias_set): Call record_component_aliases for
COMPLEX_TYPE.
(record_component_aliases): Handle COMPLEX_TYPE.
From-SVN: r38264
2000-12-14 16:04:28 -08:00
Benjamin Kosnik
21c2ca6c2f
acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f, expf.
...
2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
touching copysignf, atan2f, expf.
(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2
From-SVN: r38263
2000-12-14 23:42:27 +00:00
Benjamin Kosnik
2e7e7828d8
configure.in (CXX): Exit out if mknumeric_limits fails.
...
2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* configure.in (CXX): Exit out if mknumeric_limits fails.
* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
path. Consistency with tests_flags.in.
From-SVN: r38262
2000-12-14 22:53:59 +00:00
Ovidiu Predescu
2e82aa0fd9
Added.
...
From-SVN: r38261
2000-12-14 22:02:18 +00:00
Kaveh R. Ghazi
c097fab647
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
2000-12-14 20:09:41 +00:00
Kaveh R. Ghazi
e7103ad298
* fixinc/gnu-regex.c: Disable NLS.
...
From-SVN: r38259
2000-12-14 19:58:39 +00:00
Jason Merrill
2be678ffb7
comment
...
From-SVN: r38258
2000-12-14 14:31:49 -05:00
Jason Merrill
7dfa399da1
typo
...
From-SVN: r38257
2000-12-14 14:30:43 -05:00
Benjamin Kosnik
3d182b4c2a
*.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
2000-12-14 19:06:57 +00:00
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