Joseph Myers [Sat, 25 Nov 2000 19:36:53 +0000 (19:36 +0000)]
acinclude.m4: Change C9X references to refer to C99.
* acinclude.m4: Change C9X references to refer to C99.
* aclocal.m4, configure: Regenerate.
* config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
testsuite/22_locale/codecvt_wchar_t_char.cc,
include/bits/stl_config.h, include/c/bits/std_cwchar.h,
libmath/mathconf.h: Change C9X references to refer to C99.
From-SVN: r37743
Neil Booth [Sat, 25 Nov 2000 19:28:44 +0000 (19:28 +0000)]
c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.h: Similarly.
* c-decl.c: Similarly.
* c-lang.c: Similarly.
* c-lex.c: Similarly.
* c-parse.in: Similarly.
* c-pragma.c: Similarly.
* c-pragma.h: Similarly.
* gcc.c: Similarly.
* toplev.c: Similarly.
* cp/cp-tree.h: Similarly.
* cp/decl2.c: Similarly.
* cp/lang-specs.h: Similarly.
* cp/lex.c: Similarly.
* cp/lex.h: Similarly.
* cp/spew.c: Similarly.
* java/lang-options.h: Similarly.
* objc/lang-specs.h: Similarly.
* objc/objc-act.c: Similarly.
* configure.in: Remove configure option.
* config.in: Regenerate.
* configure: Regenerate.
From-SVN: r37742
Richard Henderson [Sat, 25 Nov 2000 18:54:33 +0000 (10:54 -0800)]
haifa-sched.c (sched_analyze_1, [...]): Revert 2000-11-22 change.
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
Revert 2000-11-22 change.
From-SVN: r37741
Bernd Schmidt [Sat, 25 Nov 2000 18:04:51 +0000 (18:04 +0000)]
Allow combinations involving the flag register
From-SVN: r37740
Philipp Thomas [Sat, 25 Nov 2000 17:50:02 +0000 (17:50 +0000)]
configure.in (ALL_LINGUAS): Remove en_GB and add sv.
gcc:
2000-11-25 Philipp Thomas <pthomas@suse.de>
* configure.in (ALL_LINGUAS): Remove en_GB and add sv.
* configure: Rebuilt.
po:
2000-11-25 Philipp Thomas <pthomas@suse.de>
* sv.po: New swedish translation file.
* en_GB.po: Removed.
From-SVN: r37739
Jakub Jelinek [Sat, 25 Nov 2000 17:38:58 +0000 (18:38 +0100)]
sparc.md (muldi3_v8plus): Remove H constraint.
* config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
Handle CONST_INT as second argument.
* config/sparc/sparc.c (set_extends): Remove first argument.
Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
MOV.
(sparc_check_64): Abort if first argument is not REG.
If it is DImode REG, look at the lower register of the register
pair.
* config/sparc/sparc.c (load_pic_register, restore_regs,
output_return, sparc_v8plus_shift, sparc_function_profiler,
sparc_function_block_profiler, sparc_block_profiler): Fix output
formatting.
* gcc.dg/ultrasp3.c: New test.
From-SVN: r37738
Neil Booth [Sat, 25 Nov 2000 15:39:37 +0000 (15:39 +0000)]
* gcc.dg/cpp/include2.c: Make test locale independent.
From-SVN: r37737
Benjamin Kosnik [Sat, 25 Nov 2000 09:11:15 +0000 (09:11 +0000)]
Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros.
2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
Richard Earnshaw <rearnsha@arm.com>
* src/Makefile.am (INCLUDES): Remove unconditional use of
_GNU_SOURCE and _ISOC99_SOURCE macros.
* src/Makefile.in: Regenerate.
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r37736
Jeff Law [Sat, 25 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37735
Alexandre Oliva [Sat, 25 Nov 2000 06:35:09 +0000 (06:35 +0000)]
sh.h (TARGET_NONE): New.
* config/sh/sh.h (TARGET_NONE): New.
(TARGET_SWITCHES): For all variant-selecting switch, use
TARGET_NONE to reset all other variant-selecting switch. Added
empty strings to avoid warnings.
(TARGET_DEFAULT): Set to SH1_BIT.
From-SVN: r37734
Alexandre Oliva [Sat, 25 Nov 2000 06:24:05 +0000 (06:24 +0000)]
Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h.
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
insn-codes.h.
From-SVN: r37733
Alexandre Oliva [Sat, 25 Nov 2000 04:57:39 +0000 (04:57 +0000)]
sh.md (sibcalli, [...]): New insns.
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
(sibcall_pcrel): New insn_and_split.
(sibcall, sibcall_value, sibcall_epilogue): New expands.
From-SVN: r37732
Alexandre Oliva [Sat, 25 Nov 2000 04:42:27 +0000 (04:42 +0000)]
sh.md (GOTaddr2picreg, [...]): Don't set current_function_uses_pic_offset_table.
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
symPLT_label2reg, call, call_value): Don't set
current_function_uses_pic_offset_table.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
takes it into account.
(FINALIZE_PIC): Delete, useless.
(LEGITIMATE_CONSTANT_P): Delete, unused.
* config/sh/sh.c (sh_expand_prologue): Don't use
current_function_uses_pic_offset_table. Don't special-case
PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
PIC is enabled.
(sh_expand_epilogue, initial_elimination_offset): Don't
special case PIC_OFFSET_TABLE_REGNUM.
From-SVN: r37731
Alexandre Oliva [Sat, 25 Nov 2000 04:32:45 +0000 (04:32 +0000)]
sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh.md (UNSPEC_CALLER): New constant.
(calli_pcrel, call_valuei_pcrel): Use PIC_REG.
(call_pcrel, call_value_pcrel): New insn_and_splits.
(call, call_value): Use them.
(call_site): New expand.
(sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
Output call_site label.
(PREDICATE_CODES): Added symbol_ref_operand.
* config/sh/sh.c (symbol_ref_operand): Define.
* emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
to CALL_INSNs in the split sequence.
From-SVN: r37730
Alexandre Oliva [Sat, 25 Nov 2000 04:27:59 +0000 (04:27 +0000)]
* gcc.c-torture/compile/
20001123-2.c: New.
From-SVN: r37729
Kriang Lerdsuwanakij [Sat, 25 Nov 2000 02:40:00 +0000 (02:40 +0000)]
* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.
From-SVN: r37728
Nick Clifton [Sat, 25 Nov 2000 00:43:32 +0000 (00:43 +0000)]
Use target specific, language specific object files feature to allow build
v850 pragma support into gcc and gxx.
From-SVN: r37727
Nick Clifton [Sat, 25 Nov 2000 00:33:04 +0000 (00:33 +0000)]
Add support for target specific, language specific object files.
From-SVN: r37726
Nick Clifton [Sat, 25 Nov 2000 00:28:09 +0000 (00:28 +0000)]
Add xscale-elf and xscale-coff targets.
Add xscale-elf and xscale-coff targets. (Only supported in binutils at the
moment).
From-SVN: r37725
Richard Kenner [Fri, 24 Nov 2000 23:57:31 +0000 (23:57 +0000)]
* gcc.c (process_command): Use F_OK, not R_OK.
From-SVN: r37724
Benjamin Kosnik [Fri, 24 Nov 2000 23:48:45 +0000 (23:48 +0000)]
codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards.
2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
_GLIBCPP_USE_WCHAR_T guards.
* configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
is, so that checks for existence of generated files actually work.
* configure: Regenerate.
From-SVN: r37723
Arno J. Klaassen [Fri, 24 Nov 2000 23:45:08 +0000 (00:45 +0100)]
* flow.c (print_rtl_and_abort): Remove ANSIism.
From-SVN: r37722
Alexandre Oliva [Fri, 24 Nov 2000 22:06:31 +0000 (22:06 +0000)]
sh.h (GENERAL_REGISTER_P, [...]): New macros.
* config/sh/sh.h (GENERAL_REGISTER_P,
GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
all over.
(SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
* config/sh/sh.c: Use new macros.
* config/sh/sh.md: Likewise.
From-SVN: r37721
Alexandre Oliva [Fri, 24 Nov 2000 21:54:19 +0000 (21:54 +0000)]
sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode.
* config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
instead of just MACH_REG in DImode. Always refer to FPSCR_REG
in PSImode.
From-SVN: r37720
Anthony Green [Fri, 24 Nov 2000 21:38:16 +0000 (21:38 +0000)]
libjava.exp (bytecompile_file): Change default from javac to gcj -C.
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com>
* lib/libjava.exp (bytecompile_file): Change default from javac to
gcj -C.
(libjava_arguments): Fix classpath.
* libjava.compile/PR129_B.no-link: New file.
From-SVN: r37719
Tom Tromey [Fri, 24 Nov 2000 21:02:36 +0000 (21:02 +0000)]
prims.cc (_Jv_NewObjectArray): Use palcement new to create array.
* prims.cc (_Jv_NewObjectArray): Use palcement new to create
array.
(_Jv_NewPrimArray): Likewise.
Include <new>.
* gcj/array.h (__JArray): `length' field now const. Added
constructor.
(class JArray): Added constructor.
From-SVN: r37718
Tom Tromey [Fri, 24 Nov 2000 20:54:56 +0000 (20:54 +0000)]
* libjava.compile/PR375.java: New file. For PR gcj/375.
From-SVN: r37717
Tom Tromey [Fri, 24 Nov 2000 20:54:44 +0000 (20:54 +0000)]
* libjava.compile/PR374.java: New file. For PR gcj/374.
From-SVN: r37716
Denis Chertykov [Fri, 24 Nov 2000 20:02:40 +0000 (20:02 +0000)]
avr.c (out_tsthi,out_tstsi): Test simplification bug fixed.
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
fixed.
(machine_dependent_reorg): Wrong optimization based on
NOTICE_UPDATE_CC removed.
From-SVN: r37715
J"orn Rennecke [Fri, 24 Nov 2000 19:51:09 +0000 (19:51 +0000)]
jump.c (delete_computation): Re-instate deletion of feeding insn.
* jump.c (delete_computation): Re-instate deletion of feeding insn.
(delete_insn): Look for REG_LABEL notes.
(redirect_tablejump): Delete feeding insns.
From-SVN: r37714
Bernd Schmidt [Fri, 24 Nov 2000 17:51:51 +0000 (17:51 +0000)]
Make operand numbers contiguous in four patterns.
From-SVN: r37713
Bernd Schmidt [Fri, 24 Nov 2000 17:45:04 +0000 (17:45 +0000)]
Fix crash in fold_range_test
From-SVN: r37712
Bernd Schmidt [Fri, 24 Nov 2000 17:40:09 +0000 (17:40 +0000)]
Fix code that substitutes reloadreg into SET_DEST of previous insn.
From-SVN: r37711
Bernd Schmidt [Fri, 24 Nov 2000 17:36:47 +0000 (17:36 +0000)]
Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.
From-SVN: r37710
Bernd Schmidt [Fri, 24 Nov 2000 17:11:10 +0000 (17:11 +0000)]
New testcase
From-SVN: r37709
Anthony Green [Fri, 24 Nov 2000 15:29:39 +0000 (15:29 +0000)]
jcf-parse.c (init_jcf_parse): Register current_file_list root.
* jcf-parse.c (init_jcf_parse): Register current_file_list root.
Move current_file_list out of yyparse and make it static.
* expr.c: Declare quick_stack and tree_list_free_list as static
(init_expr_processing): Register quick_stack and
tree_list_free_list roots.
From-SVN: r37708
Bernd Schmidt [Fri, 24 Nov 2000 14:22:01 +0000 (14:22 +0000)]
Fix bug in previous change.
From-SVN: r37707
Bernd Schmidt [Fri, 24 Nov 2000 11:49:46 +0000 (11:49 +0000)]
Overhaul sequence point warnings (again)
From-SVN: r37706
Richard Sandiford [Fri, 24 Nov 2000 11:36:27 +0000 (11:36 +0000)]
Avoid a bit of copy propagation when there's a REG_EQUIV note
From-SVN: r37705
Bernd Schmidt [Fri, 24 Nov 2000 11:28:51 +0000 (11:28 +0000)]
Avoid hard register combinations
From-SVN: r37704
Nathan Sidwell [Fri, 24 Nov 2000 10:30:46 +0000 (10:30 +0000)]
c-parse.in (unary_expr): Move VA_ARG from here ...
* c-parse.in (unary_expr): Move VA_ARG from here ...
(primary): ... to here.
cp:
* parse.y (unary_expr): Move VA_ARG from here ...
(primary): ... to here.
testsuite:
* g++.old-deja/g++.other/vaarg4.C: New test.
* gcc.c-torture/compile/
20001123-1.c: New test.
From-SVN: r37703
Nathan Sidwell [Fri, 24 Nov 2000 09:56:27 +0000 (09:56 +0000)]
semantics.c (finish_id_expr): If type is error_mark, return error_mark.
cp:
* semantics.c (finish_id_expr): If type is error_mark, return
error_mark.
testsuite:
* g++.other/crash24.C: Adjust and remove XFAIL.
* g++.other/crash37.C: New test.
From-SVN: r37702
Jeff Law [Fri, 24 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37701
Graham Stott [Thu, 23 Nov 2000 20:15:36 +0000 (20:15 +0000)]
expr.c (store_constructor): If a field is non addressable and the target is a MEM use MEM_ALIAS_SET...
* expr.c (store_constructor): If a field is non addressable and
the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
From-SVN: r37700
Bernd Schmidt [Thu, 23 Nov 2000 18:19:18 +0000 (18:19 +0000)]
Try to dump some information before aborting.
From-SVN: r37699
Nathan Sidwell [Thu, 23 Nov 2000 15:19:36 +0000 (15:19 +0000)]
pt.c (lookup_template_class): Simplify loop exit constructs.
cp:
* pt.c (lookup_template_class): Simplify loop exit constructs.
Cope when there is no partial instantiation of a template
template member.
testsuite:
* g++.old-deja/g++.pt/instantiate9.C: New test.
From-SVN: r37698
Alexandre Oliva [Thu, 23 Nov 2000 13:24:28 +0000 (13:24 +0000)]
Use UNSPEC_MOVA in newly-introduced mova_const
From-SVN: r37697
Alexandre Oliva [Thu, 23 Nov 2000 13:23:04 +0000 (13:23 +0000)]
emit-rtl.c (gen_lowpart_common): Use word 0 if register mode is narrower than requested mode.
* emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
is narrower than requested mode.
(gen_highpart): Abort if register mode is narrower than
requested mode.
From-SVN: r37696
Hans-Peter Nilsson [Thu, 23 Nov 2000 11:30:46 +0000 (11:30 +0000)]
os_defines.h: Include <features.h>.
* config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
If not glibc 2.1 or higher, include <gnu/types.h> and define
__off64_t as __loff_t and #define __THROW as empty.
* libio/libio.h [__P]: Move __THROW and __PMT into their own
ifndef:s.
From-SVN: r37695
Graham Stott [Thu, 23 Nov 2000 11:04:45 +0000 (11:04 +0000)]
cse.c (cse_insn): Initialise all regcost variables.
* cse.c (cse_insn): Initialise all regcost variables.
Fix a typo add missing '='.
Only compare costs if there is a replacement insn.
From-SVN: r37694
Jeff Law [Thu, 23 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37693
Benjamin Kosnik [Thu, 23 Nov 2000 06:46:31 +0000 (06:46 +0000)]
Make deprecated strstream header consistent with new and new.h.
2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.
* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.
From-SVN: r37692
Alexandre Oliva [Thu, 23 Nov 2000 06:37:23 +0000 (06:37 +0000)]
final.c (output_addr_const): Simplify.
* final.c (output_addr_const) [LABEL_REF]: Simplify.
[MINUS]: Enclose non-CONST_INTs in parentheses.
[default]: Try OUTPUT_ADDR_CONST_EXTRA.
* tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
* varasm.c (decode_rtx_const) [CONST]: If it's not something
PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
instead of abort()ing.
* sh.c (output_pic_addr_const): Removed. Fixed all callers.
* sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
formerly handled in output_pic_addr_const.
* sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
operands of MINUS in CONSTs so that decode_rtx_const() will
accept them.
From-SVN: r37691
Alexandre Oliva [Thu, 23 Nov 2000 06:20:16 +0000 (06:20 +0000)]
sh.md (mova_const): New pattern.
* config/sh/sh.md (mova_const): New pattern.
(GOTaddr2picreg): Use it.
* config/sh/sh.c (broken_move): Match it.
(mova_p): Don't match it.
(machine_dependent_reorg): Adjust it.
From-SVN: r37690
Alexandre Petit-Bianco [Thu, 23 Nov 2000 06:04:16 +0000 (06:04 +0000)]
parse.y (build_outer_field_access): New local `decl_ctx', use it.
2000-11-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_outer_field_access): New local `decl_ctx', use
it. Check for field's context and current class immediate outer
context inheritance.
(outer_field_access_p): Consider fields inherited from the last
enclosing context.
(build_access_to_thisn): Stop at the last enclosing context if
necessary.
Fixes gcj/367.
(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html)
From-SVN: r37689
David Edelsohn [Thu, 23 Nov 2000 05:51:07 +0000 (05:51 +0000)]
* porting.texi: Expand libtool information.
From-SVN: r37688
Mark Wielaard [Thu, 23 Nov 2000 05:45:47 +0000 (05:45 +0000)]
name-finder.cc (lookup): Check for a NULL _Jv_argv before attempting lookup.
2000-11-23 Mark Wielaard <mark@klomp.org>
* name-finder.cc (lookup): Check for a NULL _Jv_argv before
attempting lookup.
From-SVN: r37687
Alexandre Oliva [Thu, 23 Nov 2000 05:40:27 +0000 (05:40 +0000)]
Formatting and coment changes
From-SVN: r37686
Bryce McKinlay [Thu, 23 Nov 2000 05:18:41 +0000 (05:18 +0000)]
Vector.java: Improve exception messages.
2000-11-23 Bryce McKinlay <bryce@albatross.co.nz>
* java/util/Vector.java: Improve exception messages.
(Vector): Check initialCapacity for IllegalArgumentException.
(tromToSize): Don't check for elementCount == elementData.length
case.
(toArray): Don't try to set null marker if target array is the same
length as the vector.
From-SVN: r37685
Gabriel Dos Reis [Thu, 23 Nov 2000 04:53:40 +0000 (04:53 +0000)]
ios_base.h (ios_base::failure::~failure, [...]): Move defintion to ...
* include/bits/ios_base.h (ios_base::failure::~failure,
ios_base::failure::what): Move defintion to ...
* src/ios.cc (ios_base::failure::~failure): ... here.
src/ios.cc (ios::failure::what): Likewise.
From-SVN: r37684
Alexandre Oliva [Thu, 23 Nov 2000 04:22:48 +0000 (04:22 +0000)]
sh.h (FIRST_GENERAL_REG, [...]): New.
* config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
Moved most register-number #defines...
* config/sh/sh.md (define_constants): ... here. Use macros to
refer to registers and unspecs.
* config/sh/sh.c: Likewise.
From-SVN: r37683
Benjamin Kosnik [Thu, 23 Nov 2000 03:25:47 +0000 (03:25 +0000)]
Make deprecated strstream header consistent with new and new.h.
2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.
* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.
From-SVN: r37682
Richard Henderson [Thu, 23 Nov 2000 03:03:33 +0000 (19:03 -0800)]
ctype_inline.h (is): Fix order of expressions.
2000-11-22 Richard Henderson <rth@redhat.com>
* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
From-SVN: r37681
J"orn Rennecke [Thu, 23 Nov 2000 02:22:03 +0000 (02:22 +0000)]
gcc toplevel:
* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(splay-tree.o, hash.o): Likewise.
GCONFIG_H: New.
(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(hashtab.o): Likewise.
(gcov.o): Depend on $(CONFIG_H).
* configure.in: #include insn-codes.h in tm.h.
f:
* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).
java:
* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).
cp:
* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).
From-SVN: r37680
H.J. Lu [Wed, 22 Nov 2000 23:57:50 +0000 (23:57 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.
From-SVN: r37679
Mark Mitchell [Wed, 22 Nov 2000 23:53:03 +0000 (23:53 +0000)]
mangle.c (mangle_conv_op_name_for_type): Don't use `__op' prefix.
* mangle.c (mangle_conv_op_name_for_type): Don't use `__op'
prefix.
From-SVN: r37678
Nick Clifton [Wed, 22 Nov 2000 23:30:37 +0000 (23:30 +0000)]
Fix typo
From-SVN: r37677
Mark Mitchell [Wed, 22 Nov 2000 23:24:43 +0000 (23:24 +0000)]
decl4.C: Tweak so that it fails with the new ABI, too.
* g++.old-deja/g++.other/decl4.C: Tweak so that it fails with the
new ABI, too.
From-SVN: r37676
Phil Edwards [Wed, 22 Nov 2000 23:23:53 +0000 (23:23 +0000)]
porting.texi: Minor tweaks to vocabulary.
2000-11-22 Phil Edwards <pme@sources.redhat.com>
* porting.texi: Minor tweaks to vocabulary.
From-SVN: r37675
Mark Mitchell [Wed, 22 Nov 2000 23:10:04 +0000 (23:10 +0000)]
p6610a.C: This test no longer fails.
* g++.old-deja/g++.mike/p6610a.C: This test no longer fails.
* g++.old-deja/g++.robertl/eb55.C: Likewise.
From-SVN: r37674
Mark Mitchell [Wed, 22 Nov 2000 22:43:49 +0000 (22:43 +0000)]
pt.c (do_decl_instantiate): Explicitly clone constructors and destructors that haven't already been cloned.
* pt.c (do_decl_instantiate): Explicitly clone constructors and
destructors that haven't already been cloned.
From-SVN: r37673
Nick Clifton [Wed, 22 Nov 2000 20:51:18 +0000 (20:51 +0000)]
Make 'newstr' a const char * to avoid a compile time warning.
From-SVN: r37672
Nick Clifton [Wed, 22 Nov 2000 20:46:40 +0000 (20:46 +0000)]
Define symbolic names for the link register, last integer register and the fake CC register.
Define symbolic names for the link register, last integer register and the
fake CC register. Update patterns to use these symbolic names.
From-SVN: r37671
Neil Booth [Wed, 22 Nov 2000 20:37:44 +0000 (20:37 +0000)]
* gcc.gd/cpp/Wtrigraphs.c: New test.
From-SVN: r37670
Neil Booth [Wed, 22 Nov 2000 20:36:10 +0000 (20:36 +0000)]
cpplex.c (trigraph_ok): Ensure we don't warn twice.
* cpplex.c (trigraph_ok): Ensure we don't warn twice.
* cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
From-SVN: r37669
Richard Henderson [Wed, 22 Nov 2000 19:22:58 +0000 (11:22 -0800)]
haifa-sched.c (sched_analyze_1): Don't special-case calls for clobbering registers.
* haifa-sched.c (sched_analyze_1): Don't special-case calls
for clobbering registers.
(sched_analyze_2): Likewise.
(sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
From-SVN: r37668
Neil Booth [Wed, 22 Nov 2000 19:17:14 +0000 (19:17 +0000)]
gcc.c (validate_switches): Validate multiple switches named in '|' (or) expressions in specs.
* gcc.c (validate_switches): Validate multiple switches named
in '|' (or) expressions in specs.
(handle_braces): If more than 1 alternative in a '|' spec
matches, call do_spec1 just once.
From-SVN: r37667
Mark Mitchell [Wed, 22 Nov 2000 19:05:42 +0000 (19:05 +0000)]
Compensate for V3 changes
From-SVN: r37666
Joern Rennecke [Wed, 22 Nov 2000 18:50:41 +0000 (18:50 +0000)]
Add blank lines between function comment and function return type.
From-SVN: r37665
Joern Rennecke [Wed, 22 Nov 2000 18:49:02 +0000 (18:49 +0000)]
Comment typo fix.
From-SVN: r37664
Loren J. Rittle [Wed, 22 Nov 2000 18:31:25 +0000 (18:31 +0000)]
ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* ltcf-cxx.sh: Support creation of C++ shared libraries on
recent versions of FreeBSD (release 3 or later).
* ltconfig: On FreeBSD, -lc must not be provided when building
a shared library or else the standard -pthread gcc option is
rendered worthless to later users of the built library.
From-SVN: r37663
Loren J. Rittle [Wed, 22 Nov 2000 18:16:29 +0000 (18:16 +0000)]
eb39.C: Don't include libio.h.
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* g++.old-deja/g++.robertl/eb39.C: Don't include libio.h.
From-SVN: r37662
Michael Meissner [Wed, 22 Nov 2000 18:07:05 +0000 (18:07 +0000)]
Paper over problem with -frename-registers; Provide help for options
From-SVN: r37661
Loren J. Rittle [Wed, 22 Nov 2000 18:06:53 +0000 (18:06 +0000)]
strstream.h: Reinstate the `using' statements.
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* include/backward/strstream.h: Reinstate the `using'
statements.
From-SVN: r37660
Loren J. Rittle [Wed, 22 Nov 2000 17:55:06 +0000 (17:55 +0000)]
Makefile.am (base_headers): Add missing backwards headers.
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* src/Makefile.am (base_headers): Add missing backwards headers.
* src/Makefile.in: Regenerate.
From-SVN: r37659
Scott Snyder [Wed, 22 Nov 2000 17:41:48 +0000 (17:41 +0000)]
c_io_stdio.cc (seekoff): Fix return value.
2000-11-21 scott snyder <snyder@fnal.gov>
* config/c_io_stdio.cc (seekoff): Fix return value.
(seekpos): Likewise.
(sys_seek): Likewise.
From-SVN: r37658
Jakub Jelinek [Wed, 22 Nov 2000 16:37:24 +0000 (17:37 +0100)]
* gcc.c-torture/execute/ieee/
20001122-1.c: New test.
From-SVN: r37657
David Billinghurst [Wed, 22 Nov 2000 14:31:56 +0000 (14:31 +0000)]
* Make-lang.in: Add $(build_exeext) to f/fini target
From-SVN: r37656
Fred Fish [Wed, 22 Nov 2000 14:27:56 +0000 (14:27 +0000)]
configure.in (enable_libstdcxx_v3): Fix typo, libstd++ -> libstdc++.
2000-11-16 Fred Fish <fnf@be.com>
* configure.in (enable_libstdcxx_v3): Fix typo,
libstd++ -> libstdc++.
From-SVN: r37655
Jeffrey A Law [Wed, 22 Nov 2000 13:40:53 +0000 (13:40 +0000)]
pa.c (hppa_encode_label): Account for addition of encoding character when...
* pa.c (hppa_encode_label): Account for addition of encoding
character when allocating persistent space for the new label
name.
From-SVN: r37654
Gerald Pfeifer [Wed, 22 Nov 2000 13:11:44 +0000 (14:11 +0100)]
* gcc_update: Update a comment as we now require bison for CVS users.
From-SVN: r37653
Bryce McKinlay [Wed, 22 Nov 2000 11:59:59 +0000 (11:59 +0000)]
Makefile.in: Rebuilt.
2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added Collections.java.
* java/util/List.java: Merged from classpath.
* java/util/Vector.java: Ditto.
* java/util/Collections.java: From classpath.
* java/util/ArrayList.java (addAll(Collection)): Call
addAll(int,Collection) instead of duplicating code.
(indexOf): Clean up int initialization.
(clear): Set cleared array entries to null, to allow garbage
collection.
* java/util/List.java: Minor formatting fixes.
* java/util/SimpleTimeZone.java: ditto.
From-SVN: r37652
Jeff Law [Wed, 22 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37651
Zack Weinberg [Wed, 22 Nov 2000 08:32:26 +0000 (08:32 +0000)]
Makefile.in, [...]: Expunge remaining traces of facility for running MD files through C preprocessor.
gcc:
* Makefile.in, config.gcc, configure.in: Expunge remaining
traces of facility for running MD files through C preprocessor.
libiberty:
* aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
argument form of AC_DEFINE in dummy definitions block. Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block. Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
From-SVN: r37650
Joseph Myers [Wed, 22 Nov 2000 08:29:32 +0000 (08:29 +0000)]
gcov.texi: Add magic comments for texi2pod.pl.
gcc:
* gcov.texi: Add magic comments for texi2pod.pl.
* Makefile.in: Add rules to generate and install gcov.1.
* gcov.1: New (generated) file.
contrib:
* gcc_update: Add gcov.1 to the list of generated files.
From-SVN: r37649
Scott Snyder [Wed, 22 Nov 2000 06:37:34 +0000 (06:37 +0000)]
c_io_stdio.cc (seekoff): Fix return value.
2000-11-21 scott snyder <snyder@fnal.gov>
* config/c_io_stdio.cc (seekoff): Fix return value.
(seekpos): Likewise.
(sys_seek): Likewise.
From-SVN: r37648
Loren J. Rittle [Wed, 22 Nov 2000 06:37:14 +0000 (06:37 +0000)]
mkcheck.in (explanation): Retain output of all failing compiles.
2000-11-21 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in (explanation): Retain output of all failing
compiles. Don't add gratuitous space to the log file.
From-SVN: r37647
Bryce McKinlay [Wed, 22 Nov 2000 05:47:26 +0000 (05:47 +0000)]
jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the scratch buffer.
2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>
* jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the
scratch buffer.
From-SVN: r37646
Alexandre Petit-Bianco [Wed, 22 Nov 2000 05:25:15 +0000 (05:25 +0000)]
[multiple changes]
2000-10-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (outer_field_access_p): Inherited fields aren't
consider outer fields.
(maybe_build_thisn_access_method): Use
PURE_INNER_CLASS_TYPE_P instead of INNER_CLASS_TYPE_P.
(resolve_expression_name): Trigger an error if a static field
is being accessed as an outer field.
2000-10-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Check inherited type in
scope.
(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01217.html)
From-SVN: r37645
Richard Henderson [Wed, 22 Nov 2000 03:19:34 +0000 (19:19 -0800)]
regrename.c (scan_rtx_reg): Terminate the chain rather than abort on mark_read with NO_REGS.
* regrename.c (scan_rtx_reg): Terminate the chain rather than
abort on mark_read with NO_REGS.
From-SVN: r37644