Alexandre Oliva
aa17a5f382
acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
...
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.
From-SVN: r37283
2000-11-07 02:00:22 +00:00
J"orn Rennecke
f34c06e547
reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL with (clobber (match_scratch...)).
...
* reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
with (clobber (match_scratch...)).
From-SVN: r37281
2000-11-06 20:09:04 +00:00
Christopher Faylor
f559f30b4b
* config.sub: Add support for Sun Chorus
...
From-SVN: r37280
2000-11-06 19:20:24 +00:00
Neil Booth
2b892489e1
c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status.
...
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with
error status.
From-SVN: r37279
2000-11-06 19:10:05 +00:00
Neil Booth
ea33bfc554
tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer.
...
* tradcpp.c (special_symbol): Assign an null string rather
than writing to an unallocated buffer.
From-SVN: r37278
2000-11-06 18:58:28 +00:00
Neil Booth
56051c0abd
cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case.
...
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
CPP_MACRO_ARG case.
From-SVN: r37277
2000-11-06 18:47:21 +00:00
Neil Booth
6c53ebffc5
c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appropriate.
...
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
tok.val.arg_no as appropriate.
* cppexp.c (lex): Similarly.
* cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
* cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
cpp_macro_definition): Similarly.
* cpplib.h (struct cpp_token): Replace aux with c and arg_no.
From-SVN: r37276
2000-11-06 18:43:32 +00:00
Jakub Jelinek
d1877a9b13
crash24.C: New test.
...
* g++.old-deja/g++.other/crash24.C: New test.
* g++.old-deja/g++.other/crash25.C: New test.
* g++.old-deja/g++.other/crash26.C: New test.
* g++.old-deja/g++.other/crash27.C: New test.
* g++.old-deja/g++.other/crash28.C: New test.
* g++.old-deja/g++.other/crash29.C: New test.
* g++.old-deja/g++.other/crash30.C: New test.
* g++.old-deja/g++.other/crash31.C: New test.
* g++.old-deja/g++.other/crash32.C: New test.
* g++.old-deja/g++.other/crash33.C: New test.
* g++.old-deja/g++.other/crash34.C: New test.
* g++.old-deja/g++.other/crash35.C: New test.
From-SVN: r37275
2000-11-06 13:29:02 +01:00
Jakub Jelinek
8b1c5fd025
sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
...
* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
operands[1] is constant, calculate the sum and generate movdi.
(addsi3): Similarly. Use SImode in call to arith_4096_operand.
(subsi3): Use SImode in call to arith_4096_operand.
* gcc.c-torture/execute/20001031-1.c: New test.
From-SVN: r37274
2000-11-06 11:42:20 +01:00
Jakub Jelinek
a0115140d0
sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to adjust %o1, not %o0 if the return type is large structure.
...
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
adjust %o1, not %o0 if the return type is large structure.
From-SVN: r37273
2000-11-06 11:36:33 +01:00
Jakub Jelinek
9ea2bda9ab
sparc.md (smulsi3_highpart_v8plus, [...]): Fix output formatting.
...
* config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
From-SVN: r37272
2000-11-06 11:34:49 +01:00
Jeff Law
a5a1588c12
Daily bump.
...
From-SVN: r37271
2000-11-06 01:45:07 -07:00
Denis Chertykov
1cf7847fed
expmed.c (expand_divmod): For signed divide by 2, prefer a branch and fewer shifts if branches are very cheap.
...
* expmed.c (expand_divmod): For signed divide by 2, prefer
a branch and fewer shifts if branches are very cheap.
From-SVN: r37270
2000-11-06 11:39:54 +03:00
Tom Tromey
099a51500c
lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
...
* lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
* lex.c (IS_ZERO): New define.
(java_perform_atof): Error on floating point underflow.
From-SVN: r37269
2000-11-06 05:35:53 +00:00
Tom Tromey
f83c165658
libjava.exp (libjava_arguments): Set --tag on libtool invocation.
...
* lib/libjava.exp (libjava_arguments): Set --tag on libtool
invocation.
From-SVN: r37268
2000-11-06 00:22:01 +00:00
Tom Tromey
cbf53a1d5e
lex.c (java_parse_escape_sequence): Only read two octal characters if the first one is greater than 3.
...
* lex.c (java_parse_escape_sequence): Only read two octal
characters if the first one is greater than 3. Don't allow
"octal" numbers to include the digits 8 or 9.
From-SVN: r37267
2000-11-05 22:59:56 +00:00
Toon Moene
35f93a1e2d
root.texi, [...]: Remove non-historical references to egcs/EGCS.
...
2000-11-05 Toon Moene <toon@moene.indiv.nluug.nl>
* root.texi, news.texi, g77install.texi, g77.texi, bugs.texi:
Remove non-historical references to egcs/EGCS.
From-SVN: r37266
2000-11-05 13:20:46 +00:00
Joseph Myers
436a88a6d4
Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL.
...
* Makefile.in: Remove all targets related to building
distributions and diffs, or INSTALL.
* INSTALL, install1.texi: Remove.
* configure.in: Remove mention of distdir.
* configure: Regenerate.
* objc/Make-lang.in: Remove mention of distdir.
ch:
* Make-lang.in (CHILL.distdir): Remove.
cp:
* Make-lang.in (c++.distdir): Remove.
f:
* Make-lang.in: Remove f77.distdir and f/INSTALL.
* INSTALL, install0.texi: Remove.
java:
* Make-lang.in (java.distdir): Remove.
From-SVN: r37265
2000-11-05 10:35:33 +00:00
Jeff Law
28d31a703f
Daily bump.
...
From-SVN: r37264
2000-11-05 01:45:08 -07:00
Mark Mitchell
bb4127f8c9
acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
...
* acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37263
2000-11-05 02:38:53 +00:00
Mark Mitchell
f73bbdca85
use of `test'.
...
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37262
2000-11-04 23:00:26 +00:00
Mark Mitchell
bfd2cff7a6
misc13.C: Put strlen' in
std' namespace.
...
* g++.old-deja/g++.brendan/misc13.C: Put `strlen' in `std'
namespace.
From-SVN: r37260
2000-11-04 20:29:16 +00:00
Mark Mitchell
247a2b0ab5
weak.C: Fix uses of iostreams to be standards-conformant.
...
* g++.old-deja/g++.law/weak.C: Fix uses of iostreams to be
standards-conformant.
From-SVN: r37259
2000-11-04 20:13:44 +00:00
Mark Mitchell
bb77c16cdc
* g++.old-deja/g++.mike/net5.C: Put abort' in
std' namespace.
...
From-SVN: r37258
2000-11-04 20:08:18 +00:00
Mark Mitchell
ffb2827932
p755.C: Tweak handling of exit.
...
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
* g++.old-deja/g++.mike/p755a.C: Likewise.
* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
library makes no calls to `operator new' during initialization.
From-SVN: r37257
2000-11-04 20:00:52 +00:00
Mark Mitchell
8d48367bef
Use <vector> rather than <vector.h>.
...
From-SVN: r37256
2000-11-04 19:37:37 +00:00
Tom Tromey
4e2c8d44e8
re PR other/567 ("make dvi" fails)
...
* Make-lang.in (java.dvi): New target.
Partial fix for PR other/567.
From-SVN: r37255
2000-11-04 19:12:46 +00:00
Mark Mitchell
7a4e509111
decl2.c (do_nonmember_using_decl): Allow `extern "C"' declarations from different namespaces to be combined.
...
* decl2.c (do_nonmember_using_decl): Allow `extern "C"'
declarations from different namespaces to be combined.
From-SVN: r37254
2000-11-04 18:47:16 +00:00
Neil Booth
9cf11a478d
* cpp.texi: Update for _Pragma.
...
From-SVN: r37253
2000-11-04 14:09:28 +00:00
Joseph Myers
f148ca886c
* gcc.texi (Contributing): Update URL for projects web page.
...
From-SVN: r37252
2000-11-04 12:42:25 +00:00
Neil Booth
e8ecb16d5e
* gcc.dg/cpp/include2.c: New tests.
...
From-SVN: r37251
2000-11-04 11:14:54 +00:00
Neil Booth
16eb278877
cpplex.c (parse_string): Don't allow multiline strings in #include family directives.
...
* cpplex.c (parse_string): Don't allow multiline strings in
#include family directives.
From-SVN: r37250
2000-11-04 11:13:22 +00:00
Neil Booth
9232b7d9c6
cpplib.c (do_line): Only warn pedantically if not reading preprocessed input.
...
* cpplib.c (do_line): Only warn pedantically if not reading
preprocessed input.
From-SVN: r37249
2000-11-04 10:34:34 +00:00
Jeff Law
532abb52f4
Daily bump.
...
From-SVN: r37248
2000-11-04 01:45:08 -07:00
Hans-Peter Nilsson
d50d20ecc8
hashtab.c (htab_expand): Change to return int.
...
* hashtab.c (htab_expand): Change to return int. Use calloc or
xcalloc depending on htab->return_allocation_failure. Return zero
if calloc fails.
(htab_create): Update comment to cover memory allocation.
(htab_try_create): New.
(htab_find_slot_with_hash): Return NULL if htab_expand fails.
Update comment to cover this.
From-SVN: r37247
2000-11-04 07:42:53 +00:00
Hans-Peter Nilsson
5dd0f480ae
hashtab.h (struct htab): Add member return_allocation_failure.
...
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype. Mention which functions may
return NULL when this is used.
From-SVN: r37246
2000-11-04 07:35:33 +00:00
Alexandre Oliva
de9aefe0ea
acinclude.m4 (CXX): Prevent it from being cached.
...
* acinclude.m4 (CXX): Prevent it from being cached.
* aclocal.m4, configure, */Makefile.in: Rebuilt.
From-SVN: r37245
2000-11-04 07:07:38 +00:00
Tom Tromey
b7436b7288
lang-options.h: Mention -Wout-of-date.
...
* lang-options.h: Mention -Wout-of-date.
* jcf-dump.c (flag_newer): New global.
* gjavah.c (flag_newer): New global.
* jcf-io.c (find_class): Only warn when flag_newer set.
* lang.c (flag_newer): New global.
(struct string_option): New declaration.
(lang_W_options): New global.
(process_option_with_no): New function.
(lang_decode_option): Use it.
From-SVN: r37244
2000-11-04 04:57:33 +00:00
Tom Tromey
0160fbe150
class.c (cxx_keyword_p): Accept keywords with trailing `$'s.
...
* class.c (cxx_keyword_p): Accept keywords with trailing `$'s.
* gjavah.c (cxx_keyword_subst): Handle any number of trailing
`$'.
From-SVN: r37243
2000-11-04 04:56:25 +00:00
Alexandre Oliva
f132f529e0
calls.c (emit_call_1): Use n_popped instead of RETURN_POPS_ARGS().
...
* calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
RETURN_POPS_ARGS().
From-SVN: r37242
2000-11-04 04:02:25 +00:00
Phil Edwards
626d8f0a2c
[multiple changes]
...
2000-11-03 David Edelsohn <dje@watson.ibm.com>
* acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
flag based on multilib definition of $CXX.
* mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
based on multilib definition of $CXX.
* config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
2000-11-03 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Cleanups.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* docs/install.html: Removal of EGCS.
* docs/23_containers/wrappers_h.txt: Likewise.
* docs/faq/index.html: Likewise.
* docs/faq/index.txt: Regenerated.
* docs/thanks.html: More people.
From-SVN: r37241
2000-11-04 03:00:12 +00:00
Phil Edwards
872865cf04
Dummy checking of footer.html to force web update.
...
From-SVN: r37240
2000-11-04 02:40:32 +00:00
Alexandre Petit-Bianco
7ccd2fc96f
Make-lang.in (LIBGCJ_ZIP_FILE): Define with `$(prefix)'.
...
2000-10-29 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (LIBGCJ_ZIP_FILE): Define with `$(prefix)'.
Fixes gcj/365.
(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg00130.html )
From-SVN: r37239
2000-11-03 15:38:36 -08:00
David Edelsohn
50149aa9f9
std_cwchar.h: Undefine macro that conflicts with function name defined in this file.
...
* include/c/bits/std_cwchar.h: Undefine macro that conflicts
with function name defined in this file.
From-SVN: r37238
2000-11-03 18:01:19 -05:00
Zack Weinberg
0e9295cf74
builtins.c (expand_builtin_strlen): Remove unused mode argument.
...
* builtins.c (expand_builtin_strlen): Remove unused mode
argument.
* gcc.c (process_command): Remove unused variable.
* fold-const.c: Include expr.h.
* recog.c: Include reload.h.
* Makefile.in (recog.o, fold-const.o): Update deps.
cp:
* decl.c: Include tm_p.h.
From-SVN: r37237
2000-11-03 22:24:21 +00:00
Geoff Keating
f2682362a5
In gcc/:
...
* fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
In gcc/ch/:
* Make-lang.in: Remove 'CYGNUS LOCAL' markers.
* Makefile.in: Likewise.
* configure: Likewise.
From-SVN: r37236
2000-11-03 20:59:02 +00:00
Mark Mitchell
25f80eae6a
iris6.h (SUBTARGET_CC1_SPEC): Remove -static handling.
...
* config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
handling.
(STARTFILE_SPEC): Likewise.
(LINK_SPEC): Likewise.
From-SVN: r37235
2000-11-03 20:43:43 +00:00
Mark Mitchell
334c4aae75
g++.exp (g++_set_ld_library_path): New function.
...
* lib/g++.exp (g++_set_ld_library_path): New function.
Use it to set LD_LIBRARYN32_PATH and LD_LIBRARY64_PATH.
From-SVN: r37234
2000-11-03 20:33:47 +00:00
Tom Tromey
747800ee8a
lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
...
* lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
(JAVA_ID_CHAR_P): Also try java_ignorable_control_p.
* lex.c (java_read_unicode): Removed `term_context' argument.
Recognize any number of `u' in `\u'.
(java_read_unicode_collapsing_terminators): New function.
(java_get_unicode): Use it.
(java_lineterminator): Removed.
(yylex): Produce error if character literal is newline or single
quote. Return if eof found in middle of `//' comment. EOF in
`//' comment is only an error if pedantic.
(java_ignorable_control_p): New function.
(java_parse_end_comment): Return if eof found in middle of
comment.
Include flags.h.
* jv-scan.c (pedantic): New global.
From-SVN: r37232
2000-11-03 20:27:07 +00:00
Hans-Peter Nilsson
35e9340fc9
(htab_create, htab_expand): Correct formatting of comment before
...
function.
From-SVN: r37231
2000-11-03 20:26:51 +00:00