Neil Booth [Sun, 2 Dec 2001 00:10:14 +0000 (00:10 +0000)]
* objc-act.c: Partially reverse mistaken commit.
From-SVN: r47519
Neil Booth [Sun, 2 Dec 2001 00:04:36 +0000 (00:04 +0000)]
c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading
capital from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* c-parse.in : Similarly.
* cfgrtl.c (verify_flow_info): Similarly.
* collect2.c: Similarly.
* cppfiles.c (find_include_file): Similarly.
* cppinit.c (cpp_handle_option): Similarly.
* cpplex.c (cpp_spell_token): Similarly.
* cppmain.c (do_preprocessing): Similarly.
* gcc.c (translate_options, process_command, do_spec1,
main, pfatal_execute): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
write_test_expr, main): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genflags.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (process_template, main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* gensupport.c (is_predicable, identify_predicable_attribute,
alter_predicate_for_insn, init_md_reader_args, main): Similarly.
* ggc-page.c (alloc_anon): Similarly.
* mips-tfile.c (add_string, add_procedure, add_file, read_line,
parse_begin, parse_bend, parse_def, parse_end, parse_file,
parse_stabs_common, parse_stabs, write_varray, write_object,
read_seek, copy_object, main, error): Similarly.
* profile.c (compute_branch_probabilities): Similarly.
* reg-stack.c (check_asm_stack_operands): Similarly.
* reload.c (find_reloads): Similarly.
* reload1.c (spill_failure, failed_reload): Similarly.
* rtl-error.c (_fatal_insn_not_found): Similarly.
* toplev.c (read_integral_parameter, crash_signal,
decode_f_option, set_target_switch, parse_options_and_default_flags)
: Similarly.
* tradcif.y (parse_number, yylex): Similarly.
* tradcpp.c (main, fancy_abort): Similarly.
* tree.c (tree_check_failed): Similarly.
* varray.c (varray_check_failed): Similarly.
* xcoffout.c (xcoff_output_standard_types): Similarly.
cp:
* call.c (build_java_interface_fn_ref): Similarly.
* except.c (is_admissible_throw_operand): Similarly.
* init.c (build_java_class_ref): Similarly.
* xref.c (open_xref_file): Similarly.
objc:
* objc-act.c (get_object_ref, lookup_and_install_protocols,
build_objc_string_object, objc_declare_alias, build_ivar_chain,
finish_message_expr, build_protocol_expr, is_public,
start_class): Similarly.
testsuite:
* objc.dg/alias.m: Update.
* objc.dg/class-1.m: Update.
* objc.dg/const-str-1.m: Update.
* objc.dg/fwd-proto-1.m: Update.
* objc.dg/id-1.m: Update.
* objc.dg/super-class-1.m: Update.
From-SVN: r47518
Neil Booth [Sat, 1 Dec 2001 18:42:49 +0000 (18:42 +0000)]
c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
trailing period from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* cppmacro.c (check_trad_stringification): Similarly.
* gcc.c (do_spec_1): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* mips-tfile.c (add_file, error): Similarly.
* profile.c (init_branch_prob): Similarly.
* reload1.c (spill_failure): Similarly.
* stmt.c (parse_output_constraint): Similarly.
* varasm.c (assemble_variable): Similarly.
cp:
* class.c (finish_struct): Similarly.
* decl.c (check_tag_decl): Similarly.
* lex.c (cxx_set_yydebug): Similarly.
* typeck2.c (friendly_abort): Similarly.
java:
* expr.c (expand_byte_code): Similarly.
* jcf-parse.c (load_class, jcf_parse): Similarly.
* jcf-write.c (generate_classfile): Similarly.
* lex.c (java_lex): Similarly.
From-SVN: r47517
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)]
m68k.c (init_FPA_table): Provide static prototype.
* m68k.c (init_FPA_table): Provide static prototype.
* mips/abi64.h (mips_function_value): Move prototype to ...
* mips-protos.h (mips_function_value): ... here.
* mips.c: Include halfpic.h.
* output.h (rdata_section): Prototype.
From-SVN: r47516
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:27:11 +0000 (17:27 +0000)]
h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* m88k.c (m88k_svr3_asm_out_constructor,
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
!OBJECT_FORMAT_ELF.
* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
From-SVN: r47515
Geoffrey Keating [Sat, 1 Dec 2001 17:04:18 +0000 (17:04 +0000)]
rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate...
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
LO_SUM addresses less than word size are not legitimate,
because they lead to invalid SUBREGs.
* config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
From-SVN: r47514
Olivier Hainque [Sat, 1 Dec 2001 12:04:16 +0000 (13:04 +0100)]
unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges.
2001-12-01 Olivier Hainque <hainque@act-europe.fr>
* unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
while scanning for multiple back edges.
From-SVN: r47510
Franz Sirl [Sat, 1 Dec 2001 08:34:13 +0000 (08:34 +0000)]
ppc-asm.h (JUMP_TARGET): New macro.
2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
* config/rs6000/tramp.asm: Use it.
From-SVN: r47509
GCC Administrator [Sat, 1 Dec 2001 08:17:49 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r47507
Zack Weinberg [Sat, 1 Dec 2001 08:16:25 +0000 (08:16 +0000)]
gencheck.c, [...]: Don't define xmalloc.
* gencheck.c, gengenrtl.c: Don't define xmalloc.
* gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
xmalloc.
* f/fini.c: Use xmalloc.
From-SVN: r47506
Benjamin Kosnik [Sat, 1 Dec 2001 04:56:03 +0000 (04:56 +0000)]
exception (bad_exception::~bad_exception()): Remove declaration.
2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3150
DR/266
* libsupc++/exception (bad_exception::~bad_exception()): Remove
declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Remove.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
(bad_typeid::~bad_typeid()): Remove.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
* include/bits/std_iomanip.h: Tweak.
From-SVN: r47505
John David Anglin [Sat, 1 Dec 2001 02:19:02 +0000 (02:19 +0000)]
* pa.c (output_ascii): Cast `p' to unsigned char.
From-SVN: r47504
Graham Stott [Sat, 1 Dec 2001 02:11:25 +0000 (02:11 +0000)]
Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.
2001-12-01 Graham Stott <grahams@redhat.com>
* Makefile.in (misc.o): Add missing $(srcdir) prefix
and add optabs.h dependency.
* misc.c: Include optabs.h
(gnat_tree_code_type): Make static and const.
(gnat_tree_code_length): Likewise.
(gnat_tree_code_name): Likewise.
(update_setjmp_buf): Obtain operands mode from insn_data.
From-SVN: r47503
Daniel Berlin [Sat, 1 Dec 2001 01:59:02 +0000 (01:59 +0000)]
rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf...
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* config/rs6000/rs6000.c (altivec_expand_builtin): add
ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
*_16qi,_8hi, rename existing V4SI ones to *_4si.
(altivec_init_builtins): Ditto.
(bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
* config/rs6000/rs6000.md: Add attribute types vecsimple,
veccomplex, vecfloat, and vecperm, for altivec instructions.
Modify altivec patterns to use approriate attribute type.
Modify altivec patterns to match RTL operations where approriate
(IE no unspec where we can avoid it).
Add vector unit scheduling for ppc7450.
Rename patterns to what they are where approriate
(altivec_vaddfp->addv4sf3, etc)
* config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
* config/rs6000/sysv4.h: Add -mcpu=7450.
* testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
_builtin_altivec_ld_interal function.
From-SVN: r47502
Kaveh R. Ghazi [Sat, 1 Dec 2001 01:57:31 +0000 (01:57 +0000)]
configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday.
* configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
strchr, strrchr, isascii, gettimeofday.
* config.in, configure: Regenerate.
f:
* Make-lang.in: Delete references to proj.[co], proj-h.[co].
* proj.c: Delete file.
From-SVN: r47501
Zoltan Hidvegi [Fri, 30 Nov 2001 23:27:52 +0000 (23:27 +0000)]
* unroll.c (unroll_loop): Correct special exit cases.
From-SVN: r47499
Stephane Carrez [Fri, 30 Nov 2001 22:47:54 +0000 (22:47 +0000)]
sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only.
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
accept DFmode and DImode only.
From-SVN: r47497
Aldy Hernandez [Fri, 30 Nov 2001 22:22:24 +0000 (22:22 +0000)]
rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
(STACK_DYNAMIC_OFFSET): Same.
From-SVN: r47495
Richard Henderson [Fri, 30 Nov 2001 21:53:44 +0000 (13:53 -0800)]
* c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
From-SVN: r47494
Aldy Hernandez [Fri, 30 Nov 2001 21:21:32 +0000 (21:21 +0000)]
rs6000.h (CALL_REALLY_USED_REGISTERS): New.
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (CALL_REALLY_USED_REGISTERS): New.
(CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
the values in call_used_registers.
From-SVN: r47493
Jeffrey A Law [Fri, 30 Nov 2001 19:47:11 +0000 (19:47 +0000)]
gthr-dce.h: If _DCE_THREADS is not defined, then just include gthr-single.
* gthr-dce.h: If _DCE_THREADS is not defined, then just include
gthr-single.
From-SVN: r47490
Jason Merrill [Fri, 30 Nov 2001 14:00:25 +0000 (09:00 -0500)]
dwarf2out.c (is_cxx): New fn.
* dwarf2out.c (is_cxx): New fn.
(add_data_member_location_attribute): Check it.
* dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
From-SVN: r47483
Richard Kenner [Fri, 30 Nov 2001 13:34:12 +0000 (13:34 +0000)]
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
From-SVN: r47482
Bryce McKinlay [Fri, 30 Nov 2001 09:55:06 +0000 (09:55 +0000)]
* class.c (add_interface_do): Set BINFO_VPTR_FIELD.
From-SVN: r47480
GCC Administrator [Fri, 30 Nov 2001 08:16:49 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47479
Daniel Berlin [Fri, 30 Nov 2001 05:13:17 +0000 (05:13 +0000)]
genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed.
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
MODE_VECTOR_FLOAT as allowed.
From-SVN: r47476
Zack Weinberg [Fri, 30 Nov 2001 04:43:05 +0000 (04:43 +0000)]
Purge cruft now we have build libiberty.
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times. Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.
From-SVN: r47475
Mark Mitchell [Fri, 30 Nov 2001 03:14:56 +0000 (03:14 +0000)]
re PR c++/3048 (Lookup problem (gcc 2.95 regression))
2001-11-29 Mark Mitchell <mark@codesourcery.com>
PR c++/3048
* cp-tree.h (ovl_member): Remove.
* decl2.c (merge_functions): Handle extern "C" functions
specially.
* tree.c (ovl_member): Remove.
From-SVN: r47474
Bryce McKinlay [Fri, 30 Nov 2001 03:05:09 +0000 (03:05 +0000)]
Remove ">>>"
From-SVN: r47472
Bryce McKinlay [Fri, 30 Nov 2001 03:04:01 +0000 (03:04 +0000)]
Makefile.am (nat_headers, [...]): Depend on .class files, not libgcj.jar.
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
libgcj.jar.
(nat_files, x_nat_files): Build native files in subdirectories using
the same dependency options as the java files.
(gnu/gcj/runtime/FirstThread.h): Remove explicit rule and friend
declarations.
* configure.in: Put dependencies for .cc files in deps.mak.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
From-SVN: r47471
Jason Merrill [Fri, 30 Nov 2001 02:38:43 +0000 (21:38 -0500)]
dwarf2out.c (add_data_member_location_attribute): Do the right thing for virtual bases.
* dwarf2out.c (add_data_member_location_attribute): Do the
right thing for virtual bases.
* dbxout.c (dbxout_type): For a virtual base, print the offset
within the vtable.
From-SVN: r47469
Zoltan Hidvegi [Fri, 30 Nov 2001 02:16:31 +0000 (02:16 +0000)]
doloop.c (doloop_valid_p): Check for LTU and GTU as well.
2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
* doloop.c (doloop_valid_p): Check for LTU and GTU as well.
From-SVN: r47468
Aldy Hernandez [Fri, 30 Nov 2001 02:04:23 +0000 (02:04 +0000)]
rs6000.c (function_arg): Unnamed vector arguments go in memory.
* rs6000.c (function_arg): Unnamed vector arguments go in memory.
Remove unused attribute for named.
From-SVN: r47466
Kaveh R. Ghazi [Fri, 30 Nov 2001 01:55:24 +0000 (01:55 +0000)]
genattrtab.c (attr_rtx_1): New function containing the majority of `attr_rtx'.
* genattrtab.c (attr_rtx_1): New function containing the
majority of `attr_rtx'. Move variable declarations into the
scope where they are used. Eliminate unnecessary gotos.
(attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
VA_FIXEDARG, and VA_CLOSE.
From-SVN: r47465
Hans-Peter Nilsson [Fri, 30 Nov 2001 00:29:30 +0000 (00:29 +0000)]
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.
From-SVN: r47464
Hans-Peter Nilsson [Fri, 30 Nov 2001 00:17:49 +0000 (00:17 +0000)]
cris.c (cris_notice_update_cc): Check first destination also against overlap with cc_status.value2 and second...
* config/cris/cris.c (cris_notice_update_cc): Check first
destination also against overlap with cc_status.value2 and second
destination against overlap with cc_status.value1. For overlaps,
clear overlapped value, don't just CC_STATUS_INIT.
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
(LINK_SPEC): Remove whitespace at end of line.
From-SVN: r47463
Jakub Jelinek [Thu, 29 Nov 2001 22:40:55 +0000 (23:40 +0100)]
* c-lex.c (init_c_lex): Canonicalize "-" filename to "".
From-SVN: r47461
Jakub Jelinek [Thu, 29 Nov 2001 22:39:10 +0000 (23:39 +0100)]
gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG macros for the supported debugging types.
* gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
macros for the supported debugging types.
From-SVN: r47460
Paolo Carlini [Thu, 29 Nov 2001 22:31:02 +0000 (23:31 +0100)]
locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects.
2001-11-29 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Add bool parameter to
correctly pad internal-adjusted const char*-type objects.
* include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
* include/bits/ostream.tcc (operator<<(_CharT , char, const
_CharT*, const char*, const basic_string&): Update calls.
* src/locale-inst.tcc: Update declarations.
* testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
From-SVN: r47459
Mark Mitchell [Thu, 29 Nov 2001 22:01:58 +0000 (22:01 +0000)]
re PR c++/4842 (-Woverloaded-virtual does not work)
PR c++/4842
* class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a
FUNCTION_DECL, as input.
(mark_overriders): Remove.
(warn_hidden): Rework for the new ABI.
From-SVN: r47458
Mark Mitchell [Thu, 29 Nov 2001 21:44:57 +0000 (21:44 +0000)]
re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that shouldn't get called.)
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.
From-SVN: r47455
Craig Rodrigues [Thu, 29 Nov 2001 21:39:41 +0000 (21:39 +0000)]
re PR other/4932 (the i386 backend crashes on incorrect asm("... %c0 ..."))
2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/4932
* config/i386/i386.c (print_operand): Verify that the
argument to %c is a constant and not a conditional which
needs to be reversed.
From-SVN: r47453
Phil Edwards [Thu, 29 Nov 2001 21:02:34 +0000 (21:02 +0000)]
howto.html: Finish allocator notes (inst and 3.0).
2001-11-29 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
From-SVN: r47452
Mark Mitchell [Thu, 29 Nov 2001 20:19:41 +0000 (20:19 +0000)]
re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that shouldn't get called.)
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.
From-SVN: r47451
Benjamin Kosnik [Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)]
locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo.
2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.
From-SVN: r47449
Mark Mitchell [Thu, 29 Nov 2001 19:04:47 +0000 (19:04 +0000)]
memtemp100.C: Remove non-standard constructs.
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.
From-SVN: r47448
Geoffrey Keating [Thu, 29 Nov 2001 18:12:37 +0000 (18:12 +0000)]
emit-rtl.c (gen_lowpart_common): Fix conversion of REAL_VALUE_TYPEs to an array of target integers.
* emit-rtl.c (gen_lowpart_common): Fix conversion of
REAL_VALUE_TYPEs to an array of target integers. Fix extraction
of low part of those arrays for 32bit and 64bit hosts.
From-SVN: r47446
Richard Henderson [Thu, 29 Nov 2001 17:53:13 +0000 (09:53 -0800)]
* init.c: Remove obsolete dwarf2 frame.h section.
From-SVN: r47445
Nathan Sidwell [Thu, 29 Nov 2001 17:15:56 +0000 (17:15 +0000)]
cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
(ACCESSIBLY_UNIQUELY_DERIVED_FROM_P): Likewise.
(PUBLICLY_UNIQUELY_DERIVED_FROM_P: Likewise.
(DERIVED_FROM_P): Likewise.
(enum base_access): Renumber, add ba_quiet bit mask.
(get_binfo): Remove.
(get_base_distance): Remove.
(binfo_value): Remove.
(ACCESSIBLY_DERIVED_FROM_P): Remove.
* call.c (standard_conversion): Use lookup_base.
* class.c (strictly_overrides): Likewise.
(layout_virtual_bases): Likewise.
(warn_about_ambiguous_direct_bases): Likewise.
(is_base_of_enclosing_class): Likewise.
(add_vcall_offset_vtbl_entries_1): Likewise.
* cvt.c (build_up_reference): Adjust comment.
* init.c (build_member_call): Reformat.
* search.c (get_binfo): Remove.
(get_base_distance_recursive): Remove.
(get_base_distance): Remove.
(lookup_base_r): Tweak.
(lookup_base): Add ba_quiet control. Complete the types here.
(covariant_return_p): Use lookup_base.
* tree.c (binfo_value): Remove.
(maybe_dummy_object): Use lookup_base.
* typeck.c (build_static_cast): Use lookup_base.
(get_delta_difference): Likewise.
* typeck2.c (binfo_or_else): Use lookup_base.
(build_scoped_ref): Add back error_mark_check.
(build_m_component_ref): Use lookup_base.
From-SVN: r47444
Kaveh R. Ghazi [Thu, 29 Nov 2001 17:12:52 +0000 (17:12 +0000)]
* Makefile.in (insn-output.o): Depend on insn-codes.h.
From-SVN: r47443
Joseph Myers [Thu, 29 Nov 2001 16:50:19 +0000 (16:50 +0000)]
configure.in (target_list): Add generated-manpages.
* configure.in (target_list): Add generated-manpages.
* configure: Regenerate.
* Makefile.in (generated-manpages): Depend on
lang.generated-manpages.
* objc/Make-lang.in (objc.generated-manpages): New dummy target.
ada:
* Make-lang.in (ada.generated-manpages): New dummy target.
ch:
* Make-lang.in (CHILL.generated-manpages): New dummy target.
cp:
* Make-lang.in (c++.generated-manpages): New dummy target.
f:
* Make-lang.in (f77.generated-manpages): New target.
($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES). Allow
manpage generation to fail.
(f77.info): Don't depend on $(srcdir)/f/g77.1.
(f77.install-man): Depend on $(GENERATED_MANPAGES) rather than
directly on $(srcdir)/g77.1.
java:
* Make-lang.in (java.generated-manpages): New dummy target.
From-SVN: r47442
Nick Clifton [Thu, 29 Nov 2001 16:05:59 +0000 (16:05 +0000)]
Mark _init and _fini as Thumb functions if compiled in thumb mode.
From-SVN: r47441
GCC Administrator [Thu, 29 Nov 2001 08:16:16 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47439
Eric Christopher [Thu, 29 Nov 2001 07:42:15 +0000 (07:42 +0000)]
mips.c (override_options): Fix thinko in mips_tune for mips32/mips64.
2001-11-28 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (override_options): Fix thinko in mips_tune
for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.
From-SVN: r47438
Richard Henderson [Thu, 29 Nov 2001 07:32:40 +0000 (23:32 -0800)]
Fix comment typo.
From-SVN: r47437
John Wehle [Thu, 29 Nov 2001 05:26:31 +0000 (05:26 +0000)]
alpha.md (tablejump): Use pic_offset_table_rtx instead of gen_rtx_REG.
* alpha.md (tablejump): Use pic_offset_table_rtx
instead of gen_rtx_REG.
From-SVN: r47436
Ed Schonberg [Thu, 29 Nov 2001 05:15:53 +0000 (05:15 +0000)]
g-os_lib.adb (Add_To_Command): use explicit loop to move string into Command, an array conversion is illegal here.
* g-os_lib.adb (Add_To_Command): use explicit loop to move string
into Command, an array conversion is illegal here. Uncovered by
ACATS
B460005.
From-SVN: r47435
Benjamin Kosnik [Thu, 29 Nov 2001 00:30:01 +0000 (00:30 +0000)]
locale_facets.tcc (__pad): Correctly pad internal-adjusted hex numbers.
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Correctly pad
internal-adjusted hex numbers.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
From-SVN: r47434
Paolo Carlini [Thu, 29 Nov 2001 00:27:54 +0000 (01:27 +0100)]
locale_facets.tcc (__pad): correctly output hex numbers internally aligned.
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): correctly output hex
numbers internally aligned.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
From-SVN: r47433
Jeffrey A Law [Wed, 28 Nov 2001 22:34:07 +0000 (22:34 +0000)]
expr.c (store_expr): When copying a string constant into an array...
* expr.c (store_expr): When copying a string constant into an
array, reset the known alignment of the MEM for the section to
be cleared to BITS_PER_UNIT.
From-SVN: r47432
Jeffrey A Law [Wed, 28 Nov 2001 22:04:05 +0000 (22:04 +0000)]
* gcc.c-torture/execute/
20011128-1.c: New test.
From-SVN: r47431
Hans-Peter Nilsson [Wed, 28 Nov 2001 22:00:29 +0000 (22:00 +0000)]
* config/cris/cris.c: Remove whitespace at end of line.
From-SVN: r47430
Geert Bosch [Wed, 28 Nov 2001 21:49:44 +0000 (22:49 +0100)]
* init.c: Minor whitespace changes.
From-SVN: r47429
Douglas B Rupp [Wed, 28 Nov 2001 21:41:54 +0000 (16:41 -0500)]
config.gcc (i[34567]86-*-interix3*): New case.
* config.gcc (i[34567]86-*-interix3*): New case.
* config/x-interix3, config/interix3.h, config/i386/i386interix3.h:
New files.
From-SVN: r47428
Douglas B Rupp [Wed, 28 Nov 2001 21:38:18 +0000 (22:38 +0100)]
init.c: (__gnat_install_handler,VMS): Increase size of alternate signal stack.
* init.c: (__gnat_install_handler,VMS): Increase size of alternate
signal stack.
From-SVN: r47427
Zack Weinberg [Wed, 28 Nov 2001 19:49:00 +0000 (19:49 +0000)]
misc.c (gnat_expand_constant): Move declaration above definition of lang_hooks.
* misc.c (gnat_expand_constant): Move declaration above
definition of lang_hooks.
(LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant.
(gnat_init): lang_expand_constant no longer exists.
(internal_error_function): Remove #ifdef HAVE_VPRINTF. We
always have vprintf.
(gnat_init): Always call set_internal_error_function.
From-SVN: r47426
Paolo Carlini [Wed, 28 Nov 2001 18:58:19 +0000 (19:58 +0100)]
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
Loren J. Rittle <ljrittle@acm.org>
* include/bits/basic_string.h
(basic_string::_Rep::__default_excess, _S_excess_slop):
Unused, remove.
* include/bits/basic_string.tcc: Remove dead code.
* include/bits/c++config: Remove comment.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r47425
Richard Henderson [Wed, 28 Nov 2001 18:36:14 +0000 (10:36 -0800)]
alpha.md (sibcall_osf_1, [...]): Use symbolic_operand as the predicate.
* config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
symbolic_operand as the predicate.
From-SVN: r47424
Richard Henderson [Wed, 28 Nov 2001 18:09:26 +0000 (10:09 -0800)]
doloop.c (doloop_modify_runtime): Properly select induction variable...
* doloop.c (doloop_modify_runtime): Properly select induction
variable; skip late entry test if biv initializer created by loop.
From-SVN: r47423
Rainer Orth [Wed, 28 Nov 2001 17:34:54 +0000 (17:34 +0000)]
Missed in last commit.
From-SVN: r47422
Richard Kenner [Wed, 28 Nov 2001 16:55:59 +0000 (16:55 +0000)]
tree.h (EXPR_WFL_LINECOL): Used by Java in node other than EXPR_WITH_FILE_LOCATION...
* tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
EXPR_WITH_FILE_LOCATION, so change checks and documentation.
From-SVN: r47420
Richard Kenner [Wed, 28 Nov 2001 14:37:58 +0000 (14:37 +0000)]
* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
From-SVN: r47419
Richard Kenner [Wed, 28 Nov 2001 12:33:03 +0000 (12:33 +0000)]
tree.h: Add missing checks on some macros; make formatting more consistent.
* tree.h: Add missing checks on some macros; make formatting more
consistent.
From-SVN: r47416
Richard Kenner [Wed, 28 Nov 2001 12:21:07 +0000 (12:21 +0000)]
stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; only add to pending_sizes if find it.
* stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
level; only add to pending_sizes if find it.
From-SVN: r47415
Richard Kenner [Wed, 28 Nov 2001 12:18:37 +0000 (07:18 -0500)]
Remove blank line.
From-SVN: r47414
Richard Kenner [Wed, 28 Nov 2001 12:13:50 +0000 (12:13 +0000)]
* langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
From-SVN: r47413
Richard Kenner [Wed, 28 Nov 2001 12:10:38 +0000 (12:10 +0000)]
df.c (iterate_dataflow_sbitmap, [...]): Add casts to remove warnings.
* df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
Add casts to remove warnings.
From-SVN: r47412
Arnaud Charlet [Wed, 28 Nov 2001 12:01:20 +0000 (07:01 -0500)]
Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
(FLAGS_TO_PASS): Add STAGE_PREFIX.
(SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
to STAGE_PREFIX.
From-SVN: r47411
Richard Kenner [Wed, 28 Nov 2001 11:56:51 +0000 (06:56 -0500)]
Remove extra blank
From-SVN: r47410
Richard Kenner [Wed, 28 Nov 2001 11:55:41 +0000 (11:55 +0000)]
* Makefile.in (OBJS): Sort alphabetically.
From-SVN: r47409
Richard Kenner [Wed, 28 Nov 2001 11:52:21 +0000 (11:52 +0000)]
print-rtl.c (print_rtx): If RTX code is bad, just say so.
* print-rtl.c (print_rtx): If RTX code is bad, just say so.
Also minor cleanups.
From-SVN: r47408
Jan Hubicka [Wed, 28 Nov 2001 10:16:40 +0000 (10:16 +0000)]
Add missing hunk, due to reject I've missed in my previous commit.
From-SVN: r47407
Jan Hubicka [Wed, 28 Nov 2001 09:47:25 +0000 (10:47 +0100)]
cse.c (true_dependence_in_rtx): New function.
* cse.c (true_dependence_in_rtx): New function.
(invalidate): Use it.
* c-common.h (GOTO_FAKE_P): New macro.
* tree-inline.c (GOTO_FAKE_P): Set.
* c-tree.texi (GOTO_FAKE_P): Document.
* varasm.c (assemble_variable): Set reloc to 3 for error_mark
containing pointers.
(output_addressed_constants): Check for local/external relocations.
* elfos.h (SELECT_SECTION): Classify data section.
* tm.texi (SELECT_SECTION): Update documentation.
* cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
(flow_dfs_compute_reverse_execute): Add only unvisited blocks.
From-SVN: r47405
GCC Administrator [Wed, 28 Nov 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47403
Benjamin Kosnik [Wed, 28 Nov 2001 07:40:12 +0000 (07:40 +0000)]
2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
Jakub Jelinek <jakub@redhat.com>
* config/locale/moneypunct_members_gnu.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
for ia64, others.
* config/locale/numpunct_members_gnu.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Same.
From-SVN: r47402
Benjamin Kosnik [Wed, 28 Nov 2001 06:53:29 +0000 (06:53 +0000)]
locale_facets.tcc: Formatting tweaks.
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Formatting tweaks.
* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.
* testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
* testsuite/backward/header_deque_h.cc: Same.
From-SVN: r47401
Benjamin Kosnik [Wed, 28 Nov 2001 06:35:00 +0000 (06:35 +0000)]
locale_facets.tcc: Formatting tweaks.
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Formatting tweaks.
* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.
From-SVN: r47400
Benjamin Kosnik [Wed, 28 Nov 2001 06:29:55 +0000 (06:29 +0000)]
Numeric facets cleanup.
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.
* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.
* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.
* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.
* include/bits/locale_facets.h (_Numeric_get): Remove.
(_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.
* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.
* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.
From-SVN: r47399
Loren J. Rittle [Wed, 28 Nov 2001 05:17:59 +0000 (05:17 +0000)]
basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size blocking policy to reduce fragmentation and enhance...
2001-11-27 Loren J. Rittle <ljrittle@acm.org>
Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
Enforce allocation size blocking policy to reduce
fragmentation and enhance performance with common malloc
implementations.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r47398
Benjamin Kosnik [Wed, 28 Nov 2001 04:07:11 +0000 (04:07 +0000)]
Numeric facets cleanup.
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.
* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.
* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.
* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.
* include/bits/locale_facets.h (_Numeric_get): Remove.
(_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.
* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.
* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.
From-SVN: r47397
Kaveh R. Ghazi [Wed, 28 Nov 2001 02:39:21 +0000 (02:39 +0000)]
defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Also provide defaults when we have OBJECT_FORMAT_ROSE.
* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
OBJECT_FORMAT_ROSE.
From-SVN: r47396
Hans-Peter Nilsson [Wed, 28 Nov 2001 02:37:44 +0000 (02:37 +0000)]
cris.c: Tweak spacing for prototypes.
* config/cris/cris.c: Tweak spacing for prototypes.
(LOSE_AND_RETURN): New macro.
(cris_operand_lossage): New function.
(cris_print_index, cris_print_base): Use cris_operand_lossage
rather than fatal_insn.
(cris_print_operand, cris_print_operand_address): Use
LOSE_AND_RETURN rather than fatal_insn and internal_error.
(cris_output_addr_const): Use LOSE_AND_RETURN and
output_operand_lossage rather than fatal_insn and internal_error
for valid but unexpected rtx expressions.
* config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
for a SUBREG in src or dest, abort instead.
From-SVN: r47395
Hans-Peter Nilsson [Wed, 28 Nov 2001 02:36:03 +0000 (02:36 +0000)]
* gcc.dg/
20011127-1.c: New test.
From-SVN: r47394
Zack Weinberg [Wed, 28 Nov 2001 01:37:24 +0000 (01:37 +0000)]
top level:
2001-11-27 DJ Delorie <dj@redhat.com>
Zack Weinberg <zack@codesourcery.com>
When build != host, create libiberty for the build machine.
* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.
* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).
libiberty:
2001-11-27 Zack Weinberg <zack@codesourcery.com>
* _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
in libiberty context. Fix typo in leading comment.
* configure.in: Fix various AC_DEFINEs so autoheader works.
If any of vprintf, vsprintf, vfprintf is missing from libc,
then AC_REPLACE_FUNCS(_doprnt).
From-SVN: r47393
Bryce McKinlay [Wed, 28 Nov 2001 00:45:26 +0000 (00:45 +0000)]
passes.texi: Remove reference to c-dump.c.
* doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
doc.
From-SVN: r47392
Phil Edwards [Wed, 28 Nov 2001 00:02:04 +0000 (00:02 +0000)]
explanations.html: New section, empty for now.
2001-11-27 Phil Edwards <pme@gcc.gnu.org>
* docs/html/explanations.html: New section, empty for now.
* docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
* docs/html/23_containers/howto.html: ...to here. Break up and
rewrap threading discussion to emphasize warning. Move malloc text...
* docs/html/ext/howto.html: ...to here. New section. Describe
allocators and __USE_MALLOC effects.
* docs/html/ext/sgiexts.html: Mention their code.
From-SVN: r47391
Jakub Jelinek [Tue, 27 Nov 2001 22:53:09 +0000 (23:53 +0100)]
gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than preprocessor define.
* gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
preprocessor define. If only DBX_DEBUGGING_INFO or only
DWARF2_DEBUGGING_INFO is supported for the target, provide
appropriate definitions.
From-SVN: r47390
Neil Booth [Tue, 27 Nov 2001 22:47:42 +0000 (22:47 +0000)]
* Makefile.in: Forgotten commit.
From-SVN: r47389
Neil Booth [Tue, 27 Nov 2001 22:31:34 +0000 (22:31 +0000)]
cpphash.c (_cpp_init_hashtable): Update.
* cpphash.c (_cpp_init_hashtable): Update.
* cpphash.h (struct spec_nodes): Remove n_L.
* cpplex.c (_cpp_lex_direct): Check for prefix L separately.
* Makefile.in: Update, and add c-objc-common.o dependencies.
* c-lang.c: Remove unnecessary includes.
(c_init): Move bulk of code to c_objc_common_init, and call it.
(c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
inline_forbidden_p, c_cannot_inline_tree_fn): Move to
c-objc-common.c.
* c-objc-common.c: New. Mostly pulled from c-lang.c.
* c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
c_objc_common_init, c_missing_noreturn_ok_p): New.
* toplev.c: Update comment.
* doc/passes.texi: Update.
* objc/ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
(objc_init): Update to use c_objc_common_init.
From-SVN: r47388
Richard Henderson [Tue, 27 Nov 2001 22:09:10 +0000 (14:09 -0800)]
unroll.c (loop_iterations): Move last change ...
* unroll.c (loop_iterations): Move last change ...
* doloop.c (doloop_modify_runtime): ... here.
From-SVN: r47387