Peter Schmid [Tue, 14 Aug 2001 06:50:58 +0000 (06:50 +0000)]
stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL
2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
_GBLICPP_HAVE_LOGL with HAVE_LOGL
From-SVN: r44884
Benjamin Kosnik [Tue, 14 Aug 2001 01:24:30 +0000 (01:24 +0000)]
configure.in (libtool_VERSION): Add.
2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Add.
(VERSION): Change to
(release_VERSION): This.
* configure: Regenerate.
* src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
libtool_VERSION.
* src/Makefile.in: Regenerate.
* intl/Makefile.am: Remove.
* intl/Makefile.in: Remove.
* intl: Remove.
* Makefile.am (SUBDIRS): Remove intl.
* po/Makefile.am (DISTFILES): Add string_literals.cc
(MSGFMT): Add.
* po/string_literals.cc: Add.
* po/POTFILES.in: Fix path.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
* aclocal.m4: Regenerate.
* configure.in: Remove AC_OUTPUT of intl/Makefile.
* include/backward/backward_warning.h: Clarify message.
* testsuite_flags.in (--cxxflags): Use same debug flags for
library and testsuite.
* include/Makefile.am (c_compatibility): Remove.
* include/Makefile.in: Regenerate.
From-SVN: r44880
Ulrich Weigand [Tue, 14 Aug 2001 00:53:23 +0000 (00:53 +0000)]
Remove s390x __LONG_MAX__ special case from glimits.h;
define __LONG_MAX__ in CPP_PREDEFINES instead.
From-SVN: r44879
Andrew Cagney [Tue, 14 Aug 2001 00:31:41 +0000 (00:31 +0000)]
floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix name.
* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
name.
From-SVN: r44878
Mark Mitchell [Mon, 13 Aug 2001 22:26:11 +0000 (22:26 +0000)]
configure.in (LIMITS_INC_SRCDIR): New variable.
* configure.in (LIMITS_INC_SRCDIR): New variable.
* configure.target (LIMITSH): New variable.
* porting.texi: Discuss numeric limits.
* config/cpu/generic/bits/limits.h: New file.
* config/cpu/i386/bits/limits.h: New file.
* include/Makefile.am: Install bits/limits.h.
* include/bits/c++config: Include bits/limits.h.
From-SVN: r44877
Richard Henderson [Mon, 13 Aug 2001 22:05:16 +0000 (15:05 -0700)]
unknown-elf.h (CTOR_LIST_BEGIN, [...]): Remove.
* config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
(DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
* config/arm/conix-elf.h: Likewise.
From-SVN: r44874
Geoffrey Keating [Mon, 13 Aug 2001 21:43:42 +0000 (21:43 +0000)]
svr4.h (LINK_SPEC): Don't do -Wl, here, it is done in gcc.c.
* config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
in gcc.c.
* config/rs6000/sysv4.h (LINK_SPEC): Likewise.
From-SVN: r44873
Geoffrey Keating [Mon, 13 Aug 2001 21:42:10 +0000 (21:42 +0000)]
gcse.c (hash_scan_set): Expressions that are set as part of jump instructions are not available.
* gcse.c (hash_scan_set): Expressions that are set as part of
jump instructions are not available.
From-SVN: r44872
Tom Tromey [Mon, 13 Aug 2001 21:38:07 +0000 (21:38 +0000)]
SampleModel.java (getPixel): Set correct array element.
* java/awt/image/SampleModel.java (getPixel): Set correct array
element. From Chris Meyer.
From-SVN: r44871
Ulrich Weigand [Mon, 13 Aug 2001 21:25:39 +0000 (21:25 +0000)]
Fixed HOST_WIDE_INT type mismatch.
From-SVN: r44870
Richard Henderson [Mon, 13 Aug 2001 21:14:01 +0000 (14:14 -0700)]
xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
* config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
* defaults.h (EH_FRAME_SECTION_NAME): Respect it.
* doc/tm.texi (Exception Region Output): Document it.
From-SVN: r44869
Mark Mitchell [Mon, 13 Aug 2001 21:07:22 +0000 (21:07 +0000)]
call.c (build_over_call): Mark COMPOUND_EXPRs generated for empty class assignment as having side-effects...
* call.c (build_over_call): Mark COMPOUND_EXPRs generated for
empty class assignment as having side-effects to avoid
spurious warnings.
From-SVN: r44868
H.J. Lu [Mon, 13 Aug 2001 20:43:13 +0000 (20:43 +0000)]
libstdc++-v3-dg.exp (libstdc++-v3-copy-files): New.
2001-08-13 H.J. Lu (hjl@gnu.org)
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
New. Copy files.
(libstdc++-v3-init ): Use it.
From-SVN: r44866
Geoffrey Keating [Mon, 13 Aug 2001 19:17:05 +0000 (19:17 +0000)]
sysv4.h (PREFERRED_DEBUGGING_TYPE): Use DWARF2 instead of stabs by default.
* config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
DWARF2 instead of stabs by default.
From-SVN: r44865
Alexandre Petit-Bianco [Mon, 13 Aug 2001 18:06:22 +0000 (11:06 -0700)]
Matrix4f.java: New file.
2001-08-12 Alexandre Petit-Bianco <apbianco@redhat.com>
* libjava.lang/Matrix4f.java: New file.
* libjava.lang/Matrix4f.out: New file.
(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00737.html)
From-SVN: r44864
David Edelsohn [Mon, 13 Aug 2001 18:05:43 +0000 (18:05 +0000)]
* config/rs6000/rs6000.c: Include optabs.h.
From-SVN: r44863
David Edelsohn [Mon, 13 Aug 2001 17:37:17 +0000 (17:37 +0000)]
eabi.asm: Define 64-bit versions of FPR save/restore routines.
* config/rs6000/eabi.asm: Define 64-bit versions of FPR
save/restore routines.
* ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
From-SVN: r44862
Jason Merrill [Mon, 13 Aug 2001 17:31:44 +0000 (13:31 -0400)]
* lib/scanasm.exp (scan-assembler*): Use expr instead of concat.
From-SVN: r44861
Andreas Jaeger [Mon, 13 Aug 2001 16:41:20 +0000 (18:41 +0200)]
gcc.c (init_spec): Revert last patch by Theodore Papadopoulo, the english is correct.
* gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
the english is correct.
From-SVN: r44860
Zack Weinberg [Mon, 13 Aug 2001 15:56:51 +0000 (15:56 +0000)]
expr.h: Split out optab- and libfunc-related code to...
* expr.h: Split out optab- and libfunc-related code to...
* optabs.h, libfuncs.h: ... these new headers.
* Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
(OPTABS_H): New.
(various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
dependencies.
* mkconfig.sh: Don't include insn-codes.h from config.h.
* reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
enum insn_code is available. Move reload_in_optab and
reload_out_optab array declarations to optabs.h.
* regmove.c (gen_add3_insn): Move to optabs.c, export from
there, prototype in expr.h.
* gencodes.c: Cleanup: zap global variables, don't use
printf where puts will do, don't bother defining MAX_INSN_CODE
which nothing uses, let CODE_FOR_nothing get its value implicitly.
* genemit.c, genopinit.c: Include optabs.h in generated file.
* genoutput.c: Include insn-codes.h in generated file.
* builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
Include optabs.h.
* builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
config/m88k/m88k.c, config/sparc/sparc.c:
Include libfuncs.h.
* reload.c: Include expr.h and optabs.h before reload.h.
* config/alpha/alpha.c: Include tree.h before reload.h.
* config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
and reload.h in that order.
* config/sparc/sparc.c: Include debug.h.
* recog.c: Include insn-codes.h.
cp:
* Make-lang.in (cp/except.o): Add libfuncs.h to dependencies.
* except.c: Include libfuncs.h.
java:
* Make-lang.in (java/decl.o): Update dependencies.
* decl.c: Include libfuncs.h, don't include toplev.h.
From-SVN: r44858
Andreas Jaeger [Mon, 13 Aug 2001 15:33:12 +0000 (17:33 +0200)]
config.gcc: Use t-slibgcc-elf to build shared libgcc_s on s390*linux.
* config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
s390*linux.
From-SVN: r44856
Theodore Papadopoulo [Mon, 13 Aug 2001 15:14:54 +0000 (17:14 +0200)]
dwarf2out.c (output_cfa_loc): Fix typo in comment.
* dwarf2out.c (output_cfa_loc): Fix typo in comment.
* gcc.c (init_spec): Fix typo in comment.
* varasm.c (data_section): Fix typo in comment.
From-SVN: r44855
Jan Hubicka [Mon, 13 Aug 2001 14:34:11 +0000 (16:34 +0200)]
* analyze_brprob: Update for changes in gcc debug output.
From-SVN: r44854
Jan Hubicka [Mon, 13 Aug 2001 14:32:06 +0000 (16:32 +0200)]
predict.c (dump_prediction): New argument "USED".
* predict.c (dump_prediction): New argument "USED".
(combine_predictions_for_insn): Determine the used heuristics,
output the case no heuristic applied.
* predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.
From-SVN: r44853
Gabriel Dos Reis [Mon, 13 Aug 2001 14:19:25 +0000 (14:19 +0000)]
* decl.c (grokdeclarator): Clarify diagnostic message.
From-SVN: r44852
Gabriel Dos Reis [Mon, 13 Aug 2001 14:07:18 +0000 (14:07 +0000)]
XFAIL
From-SVN: r44851
Gabriel Dos Reis [Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)]
New testcase from PR #3816
From-SVN: r44850
Gabriel Dos Reis [Mon, 13 Aug 2001 12:59:38 +0000 (12:59 +0000)]
ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope.
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
to '__adjust' to avoid shadowing in nested scope.
From-SVN: r44849
Andreas Jaeger [Mon, 13 Aug 2001 11:18:31 +0000 (13:18 +0200)]
unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize register %rip.
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
register %rip.
From-SVN: r44848
Kriang Lerdsuwanakij [Mon, 13 Aug 2001 10:03:45 +0000 (10:03 +0000)]
decl2.c (do_nonmember_using_decl): Replace using directive with using declaration in the error message.
* decl2.c (do_nonmember_using_decl): Replace using directive
with using declaration in the error message.
From-SVN: r44847
Kazu Hirata [Mon, 13 Aug 2001 08:27:08 +0000 (08:27 +0000)]
* jump.c: Fix formatting.
From-SVN: r44846
Kazu Hirata [Mon, 13 Aug 2001 07:47:35 +0000 (07:47 +0000)]
h8300.md (zero_extendqihi2): Correct the insn length.
* config/h8300/h8300.md (zero_extendqihi2): Correct the insn
length.
From-SVN: r44845
GCC Administrator [Mon, 13 Aug 2001 07:17:49 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r44844
Geoffrey Keating [Mon, 13 Aug 2001 06:35:21 +0000 (06:35 +0000)]
loop.c (check_dbra_loop): Use condjump_label to compute jump_label.
* loop.c (check_dbra_loop): Use condjump_label to compute
jump_label.
From-SVN: r44841
Geoffrey Keating [Mon, 13 Aug 2001 06:34:58 +0000 (06:34 +0000)]
rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around to better document the...
* rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
to better document the files they're in.
From-SVN: r44840
Zack Weinberg [Mon, 13 Aug 2001 04:22:58 +0000 (04:22 +0000)]
recog.h (struct insn_operand_data): Shrink 'mode' field to 16 bits.
* recog.h (struct insn_operand_data): Shrink 'mode' field
to 16 bits.
From-SVN: r44839
Isamu Hasegawa [Mon, 13 Aug 2001 02:23:00 +0000 (02:23 +0000)]
backport: regex.c (wcs_regex_compile): Use appropriate string to compare with collating element.
Merge from libc:
* regex.c (wcs_regex_compile): Use appropriate string
to compare with collating element.
Fix the padding for the alignment.
From-SVN: r44838
Kazu Hirata [Sun, 12 Aug 2001 23:40:53 +0000 (23:40 +0000)]
gcc.c: Fix comment formatting.
* gcc.c: Fix comment formatting.
* gccspec.c: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* genemit.c: Likewise.
* gengenrtl.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-page.c: Likewise.
* global.c: Likewise.
* graph.c: Likewise.
* ifcvt.c: Likewise.
* integrate.c: Likewise.
* lcm.c: Likewise.
* libgcc2.c: Likewise.
* loop.c: Likewise.
* mbchar.c: Likewise.
* optabs.c: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* profile.c: Likewise.
* protoize.c: Likewise.
* real.c: Likewise.
* recog.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* resource.c: Likewise.
* rtlanal.c: Likewise.
* rtl.c: Likewise.
From-SVN: r44837
Kazu Hirata [Sun, 12 Aug 2001 23:34:50 +0000 (23:34 +0000)]
tm.texi (ENCODE_SECTION_INFO): Add documentation on how a tree representing a constant is passed to the macro.
* doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
a tree representing a constant is passed to the macro.
From-SVN: r44836
Richard Henderson [Sun, 12 Aug 2001 21:17:43 +0000 (14:17 -0700)]
rs6000.c (rs6000_elf_asm_out_constructor): New.
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
(rs6000_elf_asm_out_destructor): New. * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
(DTORS_SECTION_ASM_OP): Remove. (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
(ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.
From-SVN: r44835
David Edelsohn [Sun, 12 Aug 2001 20:36:22 +0000 (20:36 +0000)]
Revert Rainer Orth's Java and gcc.c patch.
From-SVN: r44834
Richard Henderson [Sun, 12 Aug 2001 17:47:39 +0000 (10:47 -0700)]
rs6000.c (rs6000_elf_section_type_flags): Fix thinko wrt TARGET_RELOCATABLE.
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
thinko wrt TARGET_RELOCATABLE.
From-SVN: r44832
Gabriel Dos Reis [Sun, 12 Aug 2001 13:30:32 +0000 (13:30 +0000)]
*** empty log message ***
From-SVN: r44831
Gabriel Dos Reis [Sun, 12 Aug 2001 13:27:29 +0000 (13:27 +0000)]
BOGUS
From-SVN: r44830
Gabriel Dos Reis [Sun, 12 Aug 2001 13:23:29 +0000 (13:23 +0000)]
ERROR
From-SVN: r44829
Gabriel Dos Reis [Sun, 12 Aug 2001 13:21:52 +0000 (13:21 +0000)]
dg-bogus
From-SVN: r44828
Gabriel Dos Reis [Sun, 12 Aug 2001 13:17:19 +0000 (13:17 +0000)]
Fix thinko
From-SVN: r44827
Gabriel Dos Reis [Sun, 12 Aug 2001 13:11:01 +0000 (13:11 +0000)]
Fix thinko in regexp
From-SVN: r44826
Gabriel Dos Reis [Sun, 12 Aug 2001 13:04:39 +0000 (13:04 +0000)]
Testcase from PR #3625
From-SVN: r44825
Neil Booth [Sun, 12 Aug 2001 09:49:44 +0000 (09:49 +0000)]
* fix-header.c (cb_file_change): Update prototype.
From-SVN: r44824
Gabriel Dos Reis [Sun, 12 Aug 2001 08:53:34 +0000 (08:53 +0000)]
testcase from PR #3406
From-SVN: r44823
Gabriel Dos Reis [Sun, 12 Aug 2001 08:26:01 +0000 (08:26 +0000)]
Testcase from PR #3381
From-SVN: r44822
Gabriel Dos Reis [Sun, 12 Aug 2001 08:15:30 +0000 (08:15 +0000)]
Testcase from PR #3351
From-SVN: r44821
Gabriel Dos Reis [Sun, 12 Aug 2001 08:08:42 +0000 (08:08 +0000)]
Testcase from PR #3350
From-SVN: r44820
Gabriel Dos Reis [Sun, 12 Aug 2001 08:04:34 +0000 (08:04 +0000)]
Testecase from PR #3336
From-SVN: r44819
GCC Administrator [Sun, 12 Aug 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44817
Andrew Cagney [Sun, 12 Aug 2001 02:06:34 +0000 (02:06 +0000)]
Oops, fix check-in date.
From-SVN: r44816
Zack Weinberg [Sun, 12 Aug 2001 01:56:10 +0000 (01:56 +0000)]
toplev.c (set_float_handler): Make static.
* toplev.c (set_float_handler): Make static.
* toplev.h: Don't prototype set_float_handler.
* simplify-rtx.c: Don't include setjmp.h.
(simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
New functions.
(simplify_unary_operation, simplify_binary_operation): Use them,
via do_float_handler.
* fold-const.c: Don't include setjmp.h.
(exact_real_inverse_1): New function.
(exact_real_inverse): Use it, via do_float_handler.
* varasm.c: Don't include setjmp.h.
(assemble_real_1): New function.
(assemble_real): Use it, via do_float_handler.
Call internal_error if we get a trap here.
* c-parse.in, cse.c, cselib.c, ch/lex.c, config/i386/i386.c,
config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
* java/lex.h: Don't include setjmp.h. Don't define
SET_FLOAT_HANDLER or prototype set_float_handler.
From-SVN: r44815
Zack Weinberg [Sun, 12 Aug 2001 01:46:15 +0000 (01:46 +0000)]
defaults.h: Define PREFERRED_STACK_BOUNDARY to STACK_BOUNDARY if not already defined.
* defaults.h: Define PREFERRED_STACK_BOUNDARY to
STACK_BOUNDARY if not already defined.
* calls.c, function.c, reload1.c, explow.c: Don't default
PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on
PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.
* explow.c (allocate_dynamic_stack_space): Change unsafe #if
to run-time test.
* doc/tm.texi: Document that STACK_BOUNDARY is required;
clarify difference between it and PREFERRED_STACK_BOUNDARY.
From-SVN: r44814
Neil Booth [Sat, 11 Aug 2001 22:20:20 +0000 (22:20 +0000)]
cppmacro.c (enter_macro_context): Push macro expansions even if empty.
* cppmacro.c (enter_macro_context): Push macro expansions even
if empty.
From-SVN: r44813
Franz Sirl [Sat, 11 Aug 2001 21:27:05 +0000 (21:27 +0000)]
rs6000.c: Include integrate.h to silence warning.
2001-08-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/rs6000.c: Include integrate.h to silence warning.
(rs6000_elf_section_type_flags): Actually return a value.
From-SVN: r44812
Ulrich Weigand [Sat, 11 Aug 2001 21:09:37 +0000 (21:09 +0000)]
Coding style cleanup.
From-SVN: r44811
Ulrich Weigand [Sat, 11 Aug 2001 20:56:12 +0000 (20:56 +0000)]
Bring s390 backend back in sync with branch.
From-SVN: r44810
Richard Henderson [Sat, 11 Aug 2001 20:45:09 +0000 (13:45 -0700)]
rtl.h (REG_EH_RETHROW): Remove.
* rtl.h (REG_EH_RETHROW): Remove.
* rtl.c (reg_note_name): Update.
* combine.c (distribute_notes): Don't check for it.
From-SVN: r44809
Gabriel Dos Reis [Sat, 11 Aug 2001 20:35:58 +0000 (20:35 +0000)]
New test from PR #3242
From-SVN: r44808
Gabriel Dos Reis [Sat, 11 Aug 2001 20:21:55 +0000 (20:21 +0000)]
New test from PR #3230
From-SVN: r44807
Richard Henderson [Sat, 11 Aug 2001 20:16:12 +0000 (13:16 -0700)]
* combine.c (distribute_notes): Place REG_SETJMP.
From-SVN: r44806
Richard Henderson [Sat, 11 Aug 2001 20:13:46 +0000 (13:13 -0700)]
extend.texi (Arrays and pointers implementation): Discourage relying on sign-extension of pointers.
* doc/extend.texi (Arrays and pointers implementation): Discourage
relying on sign-extension of pointers.
From-SVN: r44805
Gabriel Dos Reis [Sat, 11 Aug 2001 20:00:07 +0000 (20:00 +0000)]
New test from PR #3123
From-SVN: r44803
Gabriel Dos Reis [Sat, 11 Aug 2001 19:44:31 +0000 (19:44 +0000)]
New test from GNATS #3073
From-SVN: r44802
Gabriel Dos Reis [Sat, 11 Aug 2001 18:25:23 +0000 (18:25 +0000)]
New test from GNATS.
From-SVN: r44801
H.J. Lu [Sat, 11 Aug 2001 15:43:20 +0000 (15:43 +0000)]
linux.h (EXTRA_SECTIONS): Remove in_ctors and in_dtors.
2001-08-11 H.J. Lu <hjl@gnu.org>
* config/mips/linux.h (EXTRA_SECTIONS): Remove in_ctors and
in_dtors.
(EXTRA_SECTION_FUNCTIONS): Remove DTORS_SECTION_ASM_OP and
RDATA_SECTION_ASM_OP.
From-SVN: r44798
Neil Booth [Sat, 11 Aug 2001 13:04:31 +0000 (13:04 +0000)]
* Correct omitted attribution.
From-SVN: r44797
Gerald Pfeifer [Sat, 11 Aug 2001 12:42:30 +0000 (14:42 +0200)]
install.texi (Specific, c4x): Fix cross-reference to the main manual to work both for info and HTML versions.
* doc/install.texi (Specific, c4x): Fix cross-reference to the
main manual to work both for info and HTML versions.
From-SVN: r44795
Neil Booth [Sat, 11 Aug 2001 12:37:19 +0000 (12:37 +0000)]
cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
* cpphash.c (_cpp_destroy_hashtable): Use ht_destroy.
* cpphash.h (CPP_IN_SYSTEM_HEADER): Fix.
(struct cpp_pool): New member first.
* cppinit.c (append_include_chain): Plug memory leaks.
* cpplib.c (cpp_register_pragma, cpp_register_pragma_space):
Allocate pragma structures from the (aligned) macro pool to
avoid leaking memory.
* cpplex.c (_cpp_init_pool, _cpp_free_pool): Use pool->first
so we don't leak memory.
* hashtable.c (ht_destroy): New.
* hashtable.h (ht_destroy): New.
From-SVN: r44794
Kriang Lerdsuwanakij [Sat, 11 Aug 2001 12:21:17 +0000 (12:21 +0000)]
pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the criterion to avoid rebuilding expression tree...
* pt.c (maybe_fold_nontype_arg): Use TREE_TYPE of ARG as the
criterion to avoid rebuilding expression tree instead of
processing_template_decl.
* g++.dg/template/unify1.C: New test.
From-SVN: r44793
Graham Stott [Sat, 11 Aug 2001 09:43:31 +0000 (09:43 +0000)]
* Makefile.in (check-c++): Add missing semicolon.
From-SVN: r44792
Gabriel Dos Reis [Sat, 11 Aug 2001 08:36:52 +0000 (08:36 +0000)]
std_limits.h (__glibcpp_char_is_signed): Use __CHAR_UNSIGNED__.
* include/bits/std_limits.h(__glibcpp_char_is_signed): Use
__CHAR_UNSIGNED__.
* config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
Likewise.
* config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
Remove.
From-SVN: r44791
Neil Booth [Sat, 11 Aug 2001 08:02:54 +0000 (08:02 +0000)]
cpphash.h, cpplib.c: Correct erroneous previous checkin.
* cpphash.h, cpplib.c: Correct erroneous previous checkin.
Co-Authored-By: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
From-SVN: r44790
Neil Booth [Sat, 11 Aug 2001 07:33:39 +0000 (07:33 +0000)]
c-lex.c (map): Make const.
* c-lex.c (map): Make const.
(cb_file_change): Update for callback passing a line map.
Don't assume we have a previous map. Remove sanity check
about popping too many files.
* cpperror.c (print_location): Make map const.
* cppfiles.c (stack_include_file): Update; line maps now hold sysp.
(cpp_make_system_header): Similarly.
(search_from): Similarly.
(_cpp_execute_include): Don't remember where we came from.
* cpphash.h (struct cpp_buffer): Remove return_to_line, sysp.
(struct cpp_reader): Make map const.
(CPP_IN_SYSTEM_HEADER, _cpp_do_file_change): Update.
* cpplib.c (do_line): Update; line maps now hold sysp.
(cpp_push_buffer): Similarly.
(_cpp_do_file_change): Similarly; callback with map instead.
(cpp_get_line_maps): Constify return value.
(_cpp_pop_buffer): Update.
* cpplib.h (struct cpp_file_change): Remove.
(struct cpp_callbacks): Update.
(cpp_get_line_maps): Constify return value.
* cppmacro.c (_cpp_create_definition): Update.
* cppmain.c (struct printer): Constify map.
(maybe_print_line): Similarly.
(print_line): Similarly. Deduce flags 1 and 2 here.
(cb_file_change): Update.
* line-map.c (free_line_maps): Warn regardless.
(add_line_map): Return pointer to const. When passed NULL to_file
with LC_LEAVE, use the obvious values for the return point so the
caller doesn't have to figure them out.
(lookup_line): Return pointer to const.
(print_containing_files): Take pointer to const.
* line-map.h (struct line_map): New members reason, sysp.
(add_line_map): Return pointer to const.
(lookup_line): Similarly.
(print_containing_files): Take pointer to const.
From-SVN: r44789
GCC Administrator [Sat, 11 Aug 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r44787
Roman Zippel [Sat, 11 Aug 2001 01:05:24 +0000 (01:05 +0000)]
regmove.c (regmove_optimize): Avoid setting a register twice in a parallel set.
* regmove.c (regmove_optimize): Avoid setting a register twice in
a parallel set.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r44785
Richard Henderson [Sat, 11 Aug 2001 00:53:45 +0000 (17:53 -0700)]
extend.texi (Arrays and pointers implementation): Document behavior of pointer/integer conversion.
* doc/extend.texi (Arrays and pointers implementation): Document
behavior of pointer/integer conversion.
From-SVN: r44784
Richard Henderson [Fri, 10 Aug 2001 23:49:44 +0000 (16:49 -0700)]
Fix markup.
From-SVN: r44783
Andrew Cagney [Fri, 10 Aug 2001 23:45:11 +0000 (23:45 +0000)]
(lbasename): Change function declaration to return a const char pointer.
From-SVN: r44782
Ulrich Weigand [Fri, 10 Aug 2001 22:54:59 +0000 (22:54 +0000)]
s390x needs 64-bit __LONG_MAX__.
From-SVN: r44781
Richard Henderson [Fri, 10 Aug 2001 21:50:45 +0000 (14:50 -0700)]
extend.texi (C Implementation): New chapter.
* doc/extend.texi (C Implementation): New chapter.
* doc/gcc.texi (Top): Link it in.
From-SVN: r44777
Loren J. Rittle [Fri, 10 Aug 2001 20:44:53 +0000 (20:44 +0000)]
Makefile.am: Use relative file path in rule to allow colon in $(objdir).
bootstrap/3963
* include/Makefile.am: Use relative file path in rule to allow
colon in $(objdir).
* include/Makefile.in: Rebuilt.
From-SVN: r44776
Loren J. Rittle [Fri, 10 Aug 2001 20:29:41 +0000 (20:29 +0000)]
testsuite_hooks.h (__set_testsuite_memlimit): Add dummy default argument to the non-limit implementation.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
dummy default argument to the non-limit implementation.
From-SVN: r44775
Andrew Cagney [Fri, 10 Aug 2001 18:50:04 +0000 (18:50 +0000)]
Fix CVS merge botch.
From-SVN: r44774
Loren J. Rittle [Fri, 10 Aug 2001 17:39:34 +0000 (17:39 +0000)]
* gnu/gcj/convert/natIconv.cc (done): Use HAVE_ICONV.
From-SVN: r44772
Loren J. Rittle [Fri, 10 Aug 2001 17:37:41 +0000 (17:37 +0000)]
* java/lang/natObject.cc (is_mp): Protect use of _SC_NPROCESSORS_ONLN.
From-SVN: r44771
Richard Henderson [Fri, 10 Aug 2001 16:56:53 +0000 (09:56 -0700)]
m68k.c (m68k_svr3_asm_out_constructor): Protect with ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
* config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
From-SVN: r44770
Andrew Haley [Fri, 10 Aug 2001 16:32:39 +0000 (16:32 +0000)]
linux.h (CPP_DEFAULT_CPU_SPEC): New.
2001-07-26 Andrew Haley <aph@redhat.com>
Joern Rennecke <amylaar@redhat.com>
* config/sh/linux.h (CPP_DEFAULT_CPU_SPEC): New.
(SUBTARGET_CPP_ENDIAN_SPEC): New.
(SUBTARGET_CPP_SPEC): New.
(CPP_SPEC): Remove.
* config/sh/sh.h (SUBTARGET_CPP_ENDIAN_SPEC): New.
(SUBTARGET_CPP_PTR_SPEC): New.
(CPP_DEFAULT_CPU_SPEC): New.
(EXTRA_SPECS): Add SUBTARGET_CPP_ENDIAN_SPEC,
SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
(CPP_SPEC): Break out parts into SUBTARGET_CPP_ENDIAN_SPEC,
SUBTARGET_CPP_PTR_SPEC, and CPP_DEFAULT_CPU_SPEC.
(SUBTARGET_CPP_SPEC): Define as an empty string.
From-SVN: r44769
Zack Weinberg [Fri, 10 Aug 2001 16:19:22 +0000 (16:19 +0000)]
calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY if not already defined.
* calls.c, function.c: Always define PREFERRED_STACK_BOUNDARY
if not already defined. Remove all #ifdefs on STACK_BOUNDARY;
this macro is now required.
* cselib.c (cselib_process_insn), flow.c (propagate_block),
loop.c (find_and_verify_loops), reload.c (reload): Check
for rtx code of CALL_INSN, not CALL, when deciding if we
need to check for REG_SETJMP note.
* gcse.c (compute_hash_table, compute_store_table): Update
the #ifdef NON_SAVING_SETJMP code to the new REG_SETJMP
logic.
* config/avr/avr.c: Fix typo.
* config/convex/convex.c (expand_movstr): Use adjust_address.
* config/dsp16xx/dsp16xx.c: Define dsp16xx_compare_gen
variable.
* config/dsp16xx/dsp16xx.md: Correct calls to replace_equiv_address.
* config/elxsi/elxsi.c: Include tree.h, expr.h, regs.h, and flags.h.
Fix typo.
* config/elxsi/elxsi.h: Don't define Rmode (typo for Pmode?)
Do define STACK_BOUNDARY.
* config/i370/i370.c: Include expr.h.
* config/i860/sysv3.h, config/i860/sysv4.h, config/m32r/m32r.h,
config/pa/som.h, config/v850/v850.h: Take in_ctors and
in_dtors out of EXTRA_SECTIONS; take CTORS_SECTION_FUNCTION
and DTORS_SECTION_FUNCTION out of EXTRA_SECTION_FUNCTIONS.
* config/m88k/m88k.c: Include c-tree.h after expr.h.
* config/pdp11/pdp11.c: Include expr.h and toplev.h.
* config/romp/romp.c: Include expr.h after tree.h.
Include toplev.h.
(output_fpop): Use xmalloc, not oballoc.
* config/we32k/we32k.c: Include expr.h.
From-SVN: r44768
Gunter Winkler [Fri, 10 Aug 2001 15:51:00 +0000 (15:51 +0000)]
2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
* include/bits/std_complex.h (complex<long double>::operator*=,
complex<long double>::operator/=): Fix thinko.
From-SVN: r44767
Gabriel Dos Reis [Fri, 10 Aug 2001 15:47:22 +0000 (15:47 +0000)]
std_limits.h: New file.
2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* include/bits/std_limits.h: New file.
* include/Makefile.am (bits_headers): Add std_limits.h
(all-local): std_limits.h is no longer built.
(${target_builddir}/std_limits.h): Remove.
* include/Makefile.in: Regenerate.
* src/limits.cc: New file.
* src/Makefile.am (sources): Add limits.cc in replacement of
limitsMEMBERS.cc.
* src/Makefile.in: Regenerate.
From-SVN: r44766
Jason Merrill [Fri, 10 Aug 2001 15:25:43 +0000 (11:25 -0400)]
increase array size to force into memory
From-SVN: r44764
Kazu Hirata [Fri, 10 Aug 2001 14:06:14 +0000 (14:06 +0000)]
* config/h8300/h8300.h: Fix formatting.
From-SVN: r44763
Jason Merrill [Fri, 10 Aug 2001 14:01:33 +0000 (10:01 -0400)]
c-common.h (RETURN_NULLIFIED_P): Lose.
* c-common.h (RETURN_NULLIFIED_P): Lose.
* c-semantics.c (genrtl_return_stmt): Don't check it.
Support named return value optimization for inlines, too.
* decl.c (finish_function): Nullify returns here.
* semantics.c (genrtl_start_function): Not here.
(cp_expand_stmt): Don't mess with CLEANUP_STMTs.
(nullify_returns_r): No longer static. Just clear RETURN_EXPR.
Also nullify the CLEANUP_STMT for the nrv.
* cp-tree.h: Declare it.
* optimize.c (declare_return_variable): Replace the nrv with the
return variable.
* typeck.c (check_return_expr): Be more flexible on alignment check.
Ignore cv-quals when checking for a matching type.
From-SVN: r44762