apbianco [Mon, 13 Aug 2001 18:06:22 +0000 (18:06 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44864
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 13 Aug 2001 18:05:43 +0000 (18:05 +0000)]
* config/rs6000/rs6000.c: Include optabs.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44863
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 13 Aug 2001 17:37:17 +0000 (17:37 +0000)]
* config/rs6000/eabi.asm: Define 64-bit versions of FPR
save/restore routines.
* ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44862
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 13 Aug 2001 17:31:44 +0000 (17:31 +0000)]
* lib/scanasm.exp (scan-assembler*): Use expr instead of concat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44861
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 13 Aug 2001 16:41:20 +0000 (16:41 +0000)]
* gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
the english is correct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44860
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 13 Aug 2001 15:56:51 +0000 (15:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44858
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 13 Aug 2001 15:33:12 +0000 (15:33 +0000)]
* config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
s390*linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44856
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 13 Aug 2001 15:14:54 +0000 (15:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44855
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 13 Aug 2001 14:34:11 +0000 (14:34 +0000)]
* analyze_brprob: Update for changes in gcc debug output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44854
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 13 Aug 2001 14:32:06 +0000 (14:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44853
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 13 Aug 2001 14:19:25 +0000 (14:19 +0000)]
* decl.c (grokdeclarator): Clarify diagnostic message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44852
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 13 Aug 2001 14:07:18 +0000 (14:07 +0000)]
XFAIL
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44851
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 13 Aug 2001 13:59:49 +0000 (13:59 +0000)]
New testcase from PR #3816
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44850
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Mon, 13 Aug 2001 12:59:38 +0000 (12:59 +0000)]
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
to '__adjust' to avoid shadowing in nested scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44849
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Mon, 13 Aug 2001 11:18:31 +0000 (11:18 +0000)]
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
register %rip.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44848
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44847
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 13 Aug 2001 08:27:08 +0000 (08:27 +0000)]
* jump.c: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44846
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 13 Aug 2001 07:47:35 +0000 (07:47 +0000)]
* config/h8300/h8300.md (zero_extendqihi2): Correct the insn
length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44845
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 13 Aug 2001 07:17:49 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44844
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 13 Aug 2001 06:35:21 +0000 (06:35 +0000)]
* loop.c (check_dbra_loop): Use condjump_label to compute
jump_label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44841
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [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 files they're in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44840
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 13 Aug 2001 04:22:58 +0000 (04:22 +0000)]
* recog.h (struct insn_operand_data): Shrink 'mode' field
to 16 bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44839
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Mon, 13 Aug 2001 02:23:00 +0000 (02:23 +0000)]
Merge from libc:
* regex.c (wcs_regex_compile): Use appropriate string
to compare with collating element.
Fix the padding for the alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44838
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 12 Aug 2001 23:40:53 +0000 (23:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44837
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 12 Aug 2001 23:34:50 +0000 (23:34 +0000)]
* doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
a tree representing a constant is passed to the macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44836
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 12 Aug 2001 21:17:43 +0000 (21:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44835
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 12 Aug 2001 20:36:22 +0000 (20:36 +0000)]
Revert Rainer Orth's Java and gcc.c patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44834
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 12 Aug 2001 17:47:39 +0000 (17:47 +0000)]
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
thinko wrt TARGET_RELOCATABLE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44832
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:30:32 +0000 (13:30 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44831
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:27:29 +0000 (13:27 +0000)]
BOGUS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44830
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:23:29 +0000 (13:23 +0000)]
ERROR
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44829
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:21:52 +0000 (13:21 +0000)]
dg-bogus
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44828
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:17:19 +0000 (13:17 +0000)]
Fix thinko
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44827
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:11:01 +0000 (13:11 +0000)]
Fix thinko in regexp
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44826
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 13:04:39 +0000 (13:04 +0000)]
Testcase from PR #3625
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44825
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 12 Aug 2001 09:49:44 +0000 (09:49 +0000)]
* fix-header.c (cb_file_change): Update prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44824
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 08:53:34 +0000 (08:53 +0000)]
testcase from PR #3406
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44823
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 08:26:01 +0000 (08:26 +0000)]
Testcase from PR #3381
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44822
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 08:15:30 +0000 (08:15 +0000)]
Testcase from PR #3351
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44821
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 08:08:42 +0000 (08:08 +0000)]
Testcase from PR #3350
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44820
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 12 Aug 2001 08:04:34 +0000 (08:04 +0000)]
Testecase from PR #3336
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44819
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 12 Aug 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44817
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Sun, 12 Aug 2001 02:06:34 +0000 (02:06 +0000)]
Oops, fix check-in date.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44816
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 12 Aug 2001 01:56:10 +0000 (01:56 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44815
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 12 Aug 2001 01:46:15 +0000 (01:46 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44814
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 11 Aug 2001 22:20:20 +0000 (22:20 +0000)]
* cppmacro.c (enter_macro_context): Push macro expansions even
if empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44813
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sat, 11 Aug 2001 21:27:05 +0000 (21:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44812
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 11 Aug 2001 21:09:37 +0000 (21:09 +0000)]
Coding style cleanup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44811
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Sat, 11 Aug 2001 20:56:12 +0000 (20:56 +0000)]
Bring s390 backend back in sync with branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44810
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Aug 2001 20:45:09 +0000 (20:45 +0000)]
* rtl.h (REG_EH_RETHROW): Remove.
* rtl.c (reg_note_name): Update.
* combine.c (distribute_notes): Don't check for it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44809
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 20:35:58 +0000 (20:35 +0000)]
New test from PR #3242
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44808
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 20:21:55 +0000 (20:21 +0000)]
New test from PR #3230
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44807
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Aug 2001 20:16:12 +0000 (20:16 +0000)]
* combine.c (distribute_notes): Place REG_SETJMP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44806
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Aug 2001 20:13:46 +0000 (20:13 +0000)]
* doc/extend.texi (Arrays and pointers implementation): Discourage
relying on sign-extension of pointers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44805
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 20:00:07 +0000 (20:00 +0000)]
New test from PR #3123
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44803
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 19:44:31 +0000 (19:44 +0000)]
New test from GNATS #3073
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44802
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 18:25:23 +0000 (18:25 +0000)]
New test from GNATS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44801
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 11 Aug 2001 15:43:20 +0000 (15:43 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44798
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 11 Aug 2001 13:04:31 +0000 (13:04 +0000)]
* Correct omitted attribution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44797
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sat, 11 Aug 2001 12:42:30 +0000 (12:42 +0000)]
* doc/install.texi (Specific, c4x): Fix cross-reference to the
main manual to work both for info and HTML versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44795
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 11 Aug 2001 12:37:19 +0000 (12:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44794
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [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 instead of
processing_template_decl.
* g++.dg/template/unify1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44793
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Sat, 11 Aug 2001 09:43:31 +0000 (09:43 +0000)]
* Makefile.in (check-c++): Add missing semicolon.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44792
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 11 Aug 2001 08:36:52 +0000 (08:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44791
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 11 Aug 2001 08:02:54 +0000 (08:02 +0000)]
* cpphash.h, cpplib.c: Correct erroneous previous checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44790
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 11 Aug 2001 07:33:39 +0000 (07:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44789
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 11 Aug 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44787
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Aug 2001 01:05:24 +0000 (01:05 +0000)]
* regmove.c (regmove_optimize): Avoid setting a register twice in
a parallel set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44785
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 11 Aug 2001 00:53:45 +0000 (00:53 +0000)]
* doc/extend.texi (Arrays and pointers implementation): Document
behavior of pointer/integer conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44784
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 10 Aug 2001 23:49:44 +0000 (23:49 +0000)]
Fix markup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44783
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Fri, 10 Aug 2001 23:45:11 +0000 (23:45 +0000)]
(lbasename): Change function declaration to return a const char pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44782
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 10 Aug 2001 22:54:59 +0000 (22:54 +0000)]
s390x needs 64-bit __LONG_MAX__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44781
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 10 Aug 2001 21:50:45 +0000 (21:50 +0000)]
* doc/extend.texi (C Implementation): New chapter.
* doc/gcc.texi (Top): Link it in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44777
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 10 Aug 2001 20:44:53 +0000 (20:44 +0000)]
bootstrap/3963
* include/Makefile.am: Use relative file path in rule to allow
colon in $(objdir).
* include/Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44776
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 10 Aug 2001 20:29:41 +0000 (20:29 +0000)]
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
dummy default argument to the non-limit implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44775
138bc75d-0d04-0410-961f-
82ee72b054a4
cagney [Fri, 10 Aug 2001 18:50:04 +0000 (18:50 +0000)]
Fix CVS merge botch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44774
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 10 Aug 2001 17:39:34 +0000 (17:39 +0000)]
* gnu/gcj/convert/natIconv.cc (done): Use HAVE_ICONV.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44772
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 10 Aug 2001 17:37:41 +0000 (17:37 +0000)]
* java/lang/natObject.cc (is_mp): Protect use of _SC_NPROCESSORS_ONLN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44771
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 10 Aug 2001 16:56:53 +0000 (16:56 +0000)]
* config/m68k/m68k.c (m68k_svr3_asm_out_constructor): Protect with
ifdef CTOR_LIST_BEGIN instead of INIT_SECTION_ASM_OP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44770
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 10 Aug 2001 16:32:39 +0000 (16:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44769
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 10 Aug 2001 16:19:22 +0000 (16:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44768
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44767
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 10 Aug 2001 15:47:22 +0000 (15:47 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44766
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 10 Aug 2001 15:25:43 +0000 (15:25 +0000)]
increase array size to force into memory
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44764
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 10 Aug 2001 14:06:14 +0000 (14:06 +0000)]
* config/h8300/h8300.h: Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44763
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 10 Aug 2001 14:01:33 +0000 (14:01 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44762
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 10 Aug 2001 13:08:16 +0000 (13:08 +0000)]
* config/mips/mips.c (mips_add_large_offset_to_sp): New function.
(mips_annotate_frame_insn): New function.
(mips_emit_frame_related_store): New function.
(save_restore_insns): Don't mark instructions that set up the base
registers as frame-related. Add REG_FRAME_RELATED_EXPR notes to
the store instructions instead.
(mips_expand_prologue): If the stack size is moved into a temporary
register, do not mark that move as frame-related. Add a
REG_FRAME_RELATED_EXPR note to the stack adjustment instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44761
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 10 Aug 2001 13:03:44 +0000 (13:03 +0000)]
* config/mips/mips.c (save_restore_insns): Don't mark the RA's
stack slot as unchanging if current_function_calls_eh_return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44760
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Fri, 10 Aug 2001 13:01:31 +0000 (13:01 +0000)]
* config/mips/mips.md (reload_outcc): Use HARD_REGNO_NREGS to
access the second half of the TFmode scratch operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44759
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 10 Aug 2001 07:52:21 +0000 (07:52 +0000)]
Restore HPUX gcj bootstrap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44758
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 10 Aug 2001 07:39:21 +0000 (07:39 +0000)]
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* po/Makefile.am (check-no): Add.
(check-yes): Same.
* po/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44756
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 10 Aug 2001 07:20:28 +0000 (07:20 +0000)]
* doc/install.texi (Specific, avr): Fix cross-reference to the
main manual to work both for info and HTML versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44755
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 10 Aug 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44753
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 10 Aug 2001 06:50:34 +0000 (06:50 +0000)]
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
function.
* aclocal.m4: Regenerate.
* configure.in: Remove duplicate AM_CONFIG_HEADER.
(AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
* configure: Regenerate.
* testsuite_hooks.h.in: Move to...
* testsuite_hooks.h: Here, include c++config.h. Use it.
* Makefile.am (SUBDIRS): Move testsuite to last directory.
* Makefile.in: Regenerate.
* po/Makefile.am (stamp-po): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44752
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 10 Aug 2001 02:14:26 +0000 (02:14 +0000)]
* stmt.c (expand_null_return_1): Remove code to generate simple returns
and "use_goto" argument.
(expand_null_return, expand_value_return): Update all callers.
* function.c (expand_function_end): Remove code to generate simple
return.
* config/vax/vax.md (epilogue): New expander for function return.
* doc/md.texi (epilogue): Remove "if defined".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44750
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 10 Aug 2001 02:08:33 +0000 (02:08 +0000)]
Fix sparcv9 typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44749
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 9 Aug 2001 23:12:38 +0000 (23:12 +0000)]
* Makefile.in: Partially revert my previous change:
put -DGENERATOR_FILE back in HOST_CFLAGS, take it out
of the hashtab.o and safe-ctype.o rules.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44748
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 9 Aug 2001 22:33:35 +0000 (22:33 +0000)]
Move constructor/destructor handling into target hooks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44747
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 9 Aug 2001 20:22:15 +0000 (20:22 +0000)]
* config/alpha/crtbegin.asm (__JCR_LIST__): New.
(__do_global_dtors_aux): Use gp-relative static data to avoid
one dynamic relocation.
(__do_frame_setup): Register Java classes.
* config/alpha/crtend.asm (__JCR_END__): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44746
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 9 Aug 2001 18:01:36 +0000 (18:01 +0000)]
* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
* config/os/generic/bits/os_defines.h: Likewise.
* config/os/gnu-linux/bits/os_defines.h: Likewise.
* config/os/hpux/bits/os_defines.h: Likewise.
* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44745
138bc75d-0d04-0410-961f-
82ee72b054a4