Zack Weinberg [Mon, 2 Jul 2001 18:35:32 +0000 (18:35 +0000)]
Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
gcc:
* Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
* doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
* doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
contrib:
* gcc_update: Remove entries for gcc.1, cpp.1, gcov.1.
From-SVN: r43698
Rainer Orth [Mon, 2 Jul 2001 18:08:42 +0000 (18:08 +0000)]
install.texi: Various spelling and markup fixes.
* doc/install.texi: Various spelling and markup fixes.
(Installing GCC): Component specific installation instructions are
gone.
Fix reference.
Warn about removing old install dir in the presence of shared libs.
(Configuration): Invoke with options target to match configure
--help.
Consistently refer to gas, gld pathnames.
Invert --enable-multilib documentation.
Remove references to old compiler versions.
From-SVN: r43697
Richard Kenner [Mon, 2 Jul 2001 16:47:57 +0000 (16:47 +0000)]
* flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
From-SVN: r43695
Rainer Orth [Mon, 2 Jul 2001 16:46:07 +0000 (16:46 +0000)]
install.texi (Specific, [...]): Split from IRIX 5 section.
* doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
section.
(Specific, mips*-sgi-irix5): Note IDO download.
Reworded MIPS C hints.
Use GNU as instead of GAS.
Markup fixes.
Removed SGI Freeware reference, IRIX 6 only.
(Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
Note N64 library requirement/workaround.
Update O32 hints.
Complete list of structure passing bug victims.
From-SVN: r43694
Jeffrey A Law [Mon, 2 Jul 2001 15:43:38 +0000 (15:43 +0000)]
+ * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
+ * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
Forgot to commit Friday.
From-SVN: r43692
Gerald Pfeifer [Mon, 2 Jul 2001 15:33:05 +0000 (17:33 +0200)]
* doc/install.texi: Remove CVS Id.
From-SVN: r43691
Andreas Jaeger [Mon, 2 Jul 2001 14:46:12 +0000 (16:46 +0200)]
ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
* ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
(find_inherently_necessary): Remove unused variable.
From-SVN: r43690
Nathan Sidwell [Mon, 2 Jul 2001 12:55:33 +0000 (12:55 +0000)]
Revert piece of previous patch about include directories
From-SVN: r43688
Nathan Sidwell [Mon, 2 Jul 2001 12:16:58 +0000 (12:16 +0000)]
c-common.h (TDI_inlined): New ast dump phase.
* c-common.h (TDI_inlined): New ast dump phase.
(dump_flag_name): New function.
* c-dump.c (dump_files): Add inlined phase.
(dump_flag_name): Define.
* doc/invoke.texi (-fdump-ast-inlined): Document.
cp:
* optimize.c (optimize_inline_calls): New function, broken out
of ...
(optimize_function): ... here. Call it. Don't inline if it is
a thunk.
(dump_function): Print name of dump flag causing this dump.
* semantics.c (expand_body): Move thunk inline check to
optimize_function.
From-SVN: r43687
Richard Kenner [Mon, 2 Jul 2001 10:27:17 +0000 (10:27 +0000)]
stor-layout.c (layout_decl): Revert change to handling of alignment in packed types.
* stor-layout.c (layout_decl): Revert change to handling of alignment
in packed types.
From-SVN: r43686
GCC Administrator [Mon, 2 Jul 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43684
Jeremy Nimmer [Mon, 2 Jul 2001 05:16:24 +0000 (05:16 +0000)]
For PR libgcj/3523:
2001-07-01 Jeremy Nimmer <jwnimmer@alum.mit.edu>
For PR libgcj/3523:
* java/io/LineNumberReader.java (reset): Pass correct arguments to
countLines.
From-SVN: r43683
Richard Kenner [Sun, 1 Jul 2001 23:23:28 +0000 (23:23 +0000)]
c-common.c (decl_attributes, [...]): Don't call layout_decl for FIELD_DECL.
* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
for FIELD_DECL.
From-SVN: r43682
Geoffrey Keating [Sun, 1 Jul 2001 23:21:11 +0000 (23:21 +0000)]
tm.texi (FUNCTION_ARG): Document that the last call is special.
* doc/tm.texi (FUNCTION_ARG): Document that the last call
is special.
From-SVN: r43681
Mark Mitchell [Sun, 1 Jul 2001 20:50:03 +0000 (20:50 +0000)]
expr.c (expand_expr, [...]): Correct check for side-effects in the value of an array element.
* expr.c (expand_expr, case ARRAY_REF): Correct check for
side-effects in the value of an array element.
From-SVN: r43680
Toon Moene [Sun, 1 Jul 2001 20:19:33 +0000 (22:19 +0200)]
fio.h: Include <sys/types.h> for off_t.
2001-07-01 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/fio.h: Include <sys/types.h> for off_t.
From-SVN: r43678
Nathan Sidwell [Sun, 1 Jul 2001 20:01:47 +0000 (20:01 +0000)]
tlink.c (recompile_files): Remove COMPILER_PATH and LIBRARY_PATH from the environment.
* tlink.c (recompile_files): Remove COMPILER_PATH and
LIBRARY_PATH from the environment.
From-SVN: r43677
Michael Chamberlain [Sun, 1 Jul 2001 18:55:46 +0000 (18:55 +0000)]
mg.exp (compiler_output): Support tcl 8.3.1.
2000-09-10 Michael Chamberlain <michael@chamberlain.net.au>
* gcc.misc-tests/mg.exp (compiler_output): Support tcl 8.3.1.
From-SVN: r43675
Zack Weinberg [Sun, 1 Jul 2001 18:48:13 +0000 (18:48 +0000)]
c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, RID_LAST_PQ.
* c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
RID_LAST_PQ. Move RID_FIRST_PQ down with the other FIRST/LAST
enumerators.
(OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.
* c-parse.in (OBJC_STRING): Kill.
(objc_string): Decompose to [objc_string] '@' STRING.
(reswords): Take the leading '@' off all the Objective C keywords.
(objc_rid_sans_at): Kill.
(init_reswords): Don't initialize it.
(yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
(_yylex): Kill reconsider label. Look ahead one token after
an '@'; if we get an identifier, check whether it's an
Objective C @-keyword. If so, return the keyword. Otherwise,
put back the token and return the '@' as a terminal.
* cpplib.c (lex_macro_node): Remove unnecessary check for
leading '@' on identifier. Clarify control flow and commentary.
From-SVN: r43674
Richard Kenner [Sun, 1 Jul 2001 16:50:11 +0000 (12:50 -0400)]
Minor comment and whitespace changes
From-SVN: r43673
Richard Kenner [Sun, 1 Jul 2001 15:52:26 +0000 (15:52 +0000)]
cse.c (new_label_ref): Variable deleted.
* cse.c (new_label_ref): Variable deleted.
(insert): Remove set of new_label_ref.
(check_for_label_ref): New function.
(cse_basic_block): Don't check new_label_ref; call check_for_label_ref.
From-SVN: r43672
Richard Kenner [Sun, 1 Jul 2001 13:34:02 +0000 (09:34 -0400)]
Trivial whitespace changes
From-SVN: r43671
Toon Moene [Sun, 1 Jul 2001 13:18:08 +0000 (15:18 +0200)]
fio.h: Use off_t when appropriate.
2001-07-01 Toon Moene <toon@moene.indiv.nluug.nl>
Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>
* libI77/fio.h: Use off_t when appropriate.
* libI77/backspace.c (f_back): Ditto.
* libI77/endfile.c (t_runc): Ditto.
* libI77/err.c (f__nowreading): Ditto.
* libI77/ftell_.c (unit_chk): Ditto.
* libI77/sue.c (global f__recloc, s_wsue): Ditto.
Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>
From-SVN: r43670
Zoltan Felleg [Sun, 1 Jul 2001 10:25:32 +0000 (12:25 +0200)]
* warn_summary: Fix typo in a comment.
From-SVN: r43669
GCC Administrator [Sun, 1 Jul 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43668
Zack Weinberg [Sat, 30 Jun 2001 18:07:44 +0000 (18:07 +0000)]
* ns32k.md: Remove stray backslash-newline in output template.
From-SVN: r43666
Zack Weinberg [Sat, 30 Jun 2001 17:23:53 +0000 (17:23 +0000)]
rtl.def (DEFINE_INSN, [...]): Change output-template slot to format 'T'.
* rtl.def (DEFINE_INSN, DEFINE_INSN_AND_SPLIT, DEFINE_PEEPHOLE):
Change output-template slot to format 'T'.
* rtl.h (XTMPL): New.
* read-rtl.c (read_escape): New function.
(read_quoted_string, read_braced_string): Use it.
(read_rtx): Set star_if_braced from the format string.
Use XTMPL where appropriate.
* genoutput.c (gen_insn, gen_peephole): Use XTMPL to get the
template string.
* rtl.c: Include errors.h for sake of rtl_check_failed* routines.
Document 'T' in rtx format strings.
* Makefile.in (rtl.o, $(HOST_PREFIX_1)rtl.o): Depend on errors.h.
* errors.c (internal_error): Add missing ": " at end of string.
* i860.md: Change triple backslashes to double backslashes at
ends of lines in output templates.
From-SVN: r43665
Nick Clifton [Sat, 30 Jun 2001 08:46:31 +0000 (08:46 +0000)]
Append a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
create a valid directory name.
From-SVN: r43664
GCC Administrator [Sat, 30 Jun 2001 07:17:41 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r43663
Benjamin Kosnik [Sat, 30 Jun 2001 04:35:49 +0000 (04:35 +0000)]
locale_facets.tcc (locale::combine): Clone _Impl.
2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
before replacing facet.
* include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
Correct decrement.
* src/localename.cc (locale::_Impl): Correct ctor initialization
lists. Initialize ref count with one. Simplify.
* src/locale.cc: Add comment.
* testsuite/22_locale/numpunct.cc (test01): Add derivation test.
* testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
* testsuite/22_locale/members.cc (test02): Fix.
From-SVN: r43661
Jeffrey A Law [Fri, 29 Jun 2001 22:04:40 +0000 (22:04 +0000)]
gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce changes.
* gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
changes. Fix documentation for SSA DCE pass.
From-SVN: r43660
DJ Delorie [Fri, 29 Jun 2001 21:15:01 +0000 (17:15 -0400)]
simplify-rtx.c (simplify_subreg): When simplifying a CONCAT...
* simplify-rtx.c (simplify_subreg): When simplifying a CONCAT, at
least get rid of the CONCAT if we can't simplify further.
From-SVN: r43659
Jeffrey A Law [Fri, 29 Jun 2001 20:35:53 +0000 (20:35 +0000)]
ssa-dce.c (ssa_eliminate_dead_code): Renamed from eliminate_date_code.
* ssa-dce.c (ssa_eliminate_dead_code): Renamed from
eliminate_date_code.
* ssa.h (ssa_eliminate_dead_code): Corresponding changes.
* timevar.def (TV_SSA_DCE): Renamed from TV_DEAD_CODE_ELIM.
* toplev.c (DFI_ssa_dce): Renamed from DFI_dce.
(dump_file_info): Similar changes.
(flag_ssa_dce): Similarly
(f_options): Similar changes.
(rest_of_compilation): Corresponding changes.
* doc/invoke.texi: Update as option is now -fssa-dce instead
of -fdce. Update dump file name.
From-SVN: r43658
Jeffrey A Law [Fri, 29 Jun 2001 18:26:21 +0000 (18:26 +0000)]
ssa-dce.c (note_inherently_necessary_set): New function.
* ssa-dce.c (note_inherently_necessary_set): New function.
(find_inherently_necessary): Use it. Do not consider
NOTEs, CODE_LABELs or BARRIERS are necessary. Improve
handling of asms and unspecs.
(delete_insn_bb): Only delete INSNs, CALL_INSNs or JUMP_INSNs.
From-SVN: r43656
Joseph Myers [Fri, 29 Jun 2001 17:21:16 +0000 (18:21 +0100)]
target.h (struct gcc_target): Add comp_type_attributes and set_default_type_attributes.
* target.h (struct gcc_target): Add comp_type_attributes and
set_default_type_attributes.
* target-def.h (TARGET_COMP_TYPE_ATTRIBUTES,
TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Define.
(TARGET_INITIALIZER): Update.
* doc/tm.texi (COMP_TYPE_ATTRIBUTES, TARGET_COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
Update documentation of old target macros to describe new target
hooks.
* tree.c (make_node): Use target.set_default_type_attributes.
(default_comp_type_attributes,
default_set_default_type_attributes): New functions.
* tree.h (default_comp_type_attributes,
default_set_default_type_attributes): Declare.
* c-typeck.c (COMP_TYPE_ATTRIBUTES): Don't define.
(comptypes): Use target.comp_type_attributes.
* config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h
(arc_comp_type_attributes, arc_set_default_type_attributes,
COMP_TYPE_ATTRIBUTES, SET_DEFAULT_TYPE_ATTRIBUTES): Remove
functions and macros with default behaviour.
* config/m32r/m32r-protos.h, config/m32r/m32r.c,
config/m32r/m32r.h (m32r_comp_type_attributes,
m32r_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h (m68hc11_comp_type_attributes,
m68hc11_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/ns32k/ns32k-protos.h, config/ns32k/ns32k.c,
config/ns32k/ns32k.h (ns32k_comp_type_attributes,
COMP_TYPE_ATTRIBUTES): Likewise.
* config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/rs6000.h (rs6000_comp_type_attributes,
rs6000_set_default_type_attributes, COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/d30v/d30v.h (COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Remove commented out macro
definitions.
* config/i386/i386.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/ns32k/ns32k.h (SET_DEFAULT_TYPE_ATTRIBUTES): Likewise.
* config/arm/arm.c (arm_comp_type_attributes,
arm_set_default_type_attributes): Make static.
(TARGET_COMP_TYPE_ATTRIBUTES, TARGET_SET_DEFAULT_TYPE_ATTRIBUTES):
Define.
* config/arm/arm.h (COMP_TYPE_ATTRIBUTES,
SET_DEFAULT_TYPE_ATTRIBUTES): Don't define.
* config/arm/arm-protos.h (arm_comp_type_attributes,
arm_set_default_type_attributes): Don't declare.
* config/i386/i386.c (ix86_comp_type_attributes): Make static.
(TARGET_COMP_TYPE_ATTRIBUTES): Define.
* config/i386/i386.h (COMP_TYPE_ATTRIBUTES): Don't define.
* config/i386/i386-protos.h (ix86_comp_type_attributes): Don't
declare.
cp:
* typeck.c (COMP_TYPE_ATTRIBUTES): Don't define.
(comptypes): Use target.comp_type_attributes.
From-SVN: r43655
Daniel Berlin [Fri, 29 Jun 2001 16:52:08 +0000 (16:52 +0000)]
dwarf2.h: Add dwarf 2.1 tags/attributes/etc to the enums.
2001-06-28 Daniel Berlin <dan@cgsoftware.com>
* dwarf2.h: Add dwarf 2.1 tags/attributes/etc to the enums.
From-SVN: r43654
Nathan Sidwell [Fri, 29 Jun 2001 14:10:31 +0000 (14:10 +0000)]
* cp-tree.h (flag_dump_class_layout): Remove unneeded declaration.
From-SVN: r43653
GCC Administrator [Fri, 29 Jun 2001 07:16:59 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43652
Jan van Male [Fri, 29 Jun 2001 04:46:11 +0000 (00:46 -0400)]
Also, fix formatting problem in previous ChangeLog commit.
2001-06-28 Jan van Male <jan.vanmale@fenk.wau.nl>
* predict.c (dump_prediction): Eliminate fprintf warning.
From-SVN: r43650
Diego Novillo [Fri, 29 Jun 2001 03:30:17 +0000 (03:30 +0000)]
flow.c (dump_bb): Remove unused third argument to call to fprintf when...
2001-06-28 Diego Novillo <dnovillo@redhat.com>
* flow.c (dump_bb): Remove unused third argument to call
to fprintf when displaying the basic block header.
From-SVN: r43649
Jeff Law [Thu, 28 Jun 2001 22:11:19 +0000 (16:11 -0600)]
Makefile.in (OBJS): Add df.o
* Makefile.in (OBJS): Add df.o
(df.o): Add dependencies.
* basic-block.h (flow_depth_first_order_compute): Declare.
* flow.c (flow_depth_first_order_compute): No longer declare.
Make external.
* df.c, df.h: New files.
* po/POTFILES.in: Update for new files.
From-SVN: r43647
Zack Weinberg [Thu, 28 Jun 2001 21:50:09 +0000 (21:50 +0000)]
i386.md: Global update to use new string syntax where it will improve readability.
* config/i386/i386.md: Global update to use new string syntax
where it will improve readability. Warning fixes:
(*truncdfsf2_2): Abort if which_alternative is not 0 or 1.
(*adddi_1_rex64, *adddi_2_rex64, *adddi_3_rex64,
*adddi_4_rex64, *adddi_5_rex64): Cast 1 to unsigned int.
* read-rtl.c: Syntactic sugar for C embedded in strings in
machine descriptions.
(read_string): Break inner loop into separate function. Takes
an int. Dispatch to read_quoted_string or read_braced_string
as appropriate. Automatically insert a leading star on braced
strings if STAR_IF_BRACED is true.
(read_quoted_string, read_braced_string): New functions.
* doc/rtl.texi, doc/md.texi: Document new syntax. Update
examples to match.
* rtl.c: Split RTL reader (read_rtx, read_skip_spaces,
traverse_md_constants, fatal_with_file_and_line,
fatal_expected_char, read_name, read_string, def_hash,
def_name_eq_p, read_constants, and related data) to its own
file. Weed out now-unnecessary #includes.
* read-rtl.c: New file.
* Makefile.in (HOST_RTL): Add read-rtl.o.
(read-rtl.o): New rule.
(rtl.o, $(HOST_PREFIX_1)rtl.o): Update dependencies.
* doc/gcc.texi (Passes): Talk briefly about the support
library used by genfoo.
* doc/rtl.texi (Reading RTL): read_rtx is not available in the
compiler itself.
From-SVN: r43646
Stan Shebs [Thu, 28 Jun 2001 19:55:53 +0000 (19:55 +0000)]
darwin.h (REGISTER_TARGET_PRAGMAS): Define.
* config/darwin.h (REGISTER_TARGET_PRAGMAS): Define.
* config/darwin-c.c: New file.
* config/darwin-protos.h: Declare new functions.
* config/rs6000/t-darwin (darwin-c.o): New rule.
* config.gcc (powerpc-*-darwin*): Define c_target_objs and
cxx_target_objs.
* doc/extend.texi (Pragmas): New section.
* gcc.dg/pragma-darwin.c: New test.
From-SVN: r43645
Tom Tromey [Thu, 28 Jun 2001 19:42:24 +0000 (19:42 +0000)]
re PR java/3441 (fastjar zlib)
* configure: Rebuilt.
* configure.in: Accept --with-system-zlib. Fixes PR java/3441.
From-SVN: r43644
Jeffrey A Law [Thu, 28 Jun 2001 18:24:55 +0000 (18:24 +0000)]
ssa-dce.c (eliminate_dead_code): Properly handle control dependencies implied by PHI nodes.
* ssa-dce.c (eliminate_dead_code): Properly handle control
dependencies implied by PHI nodes.
From-SVN: r43643
Jan Hubicka [Thu, 28 Jun 2001 18:14:05 +0000 (20:14 +0200)]
flow.c (try_merge_block): Rename to try_optimize_cfg; do basic simplifications on the CFG.
* flow.c (try_merge_block): Rename to try_optimize_cfg;
do basic simplifications on the CFG.
(is_forwarder_block_p, can_fallthru, try_redirect_by_replacing_jump,
try_simplify_condjump): New.
(redirect_edge_and_branch): Try replace jump insn.
(flow_delete_insn): Handle deleting of ADDR_VEC insns.
* basic-block.h (FALLTHRU_EDGE, BRANCH_EDGE): New macros.
From-SVN: r43642
Jeffrey A Law [Thu, 28 Jun 2001 17:18:36 +0000 (17:18 +0000)]
ssa-dce.c (eliminate_dead_code): Remove fake edges from the CFG after dead code elimination is complete.
* ssa-dce.c (eliminate_dead_code): Remove fake edges from the
CFG after dead code elimination is complete.
From-SVN: r43641
Rainer Orth [Thu, 28 Jun 2001 12:57:55 +0000 (12:57 +0000)]
gthr-posix.h [LIBOBJC]: Add weak definitions of sched_get_priority_max, sched_get_priority_min.
* gthr-posix.h [LIBOBJC]: Add weak definitions of
sched_get_priority_max, sched_get_priority_min.
testsuite:
* lib/objc.exp (objc_target_compile): Don't need -lposix4 on any
Solaris 2.[678] system.
From-SVN: r43640
Gabriel Dos Reis [Thu, 28 Jun 2001 12:26:38 +0000 (12:26 +0000)]
diagnostic.c (default_print_error_function): Tweak.
* diagnostic.c (default_print_error_function): Tweak.
(report_error_function): Likewise.
* toplev.h (default_print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
* tree.h (print_error_function): Move to...
* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
ch/
* lang.c: #include diagnostic.h
(chill_print_error_function): Add a dummy `diagnostic_context *'.
* Makefile.in (lang.o): Depend on diagnostic.h
cp/
* error.c (lang_print_error_function): Add a `diagnostic_context *'
parameter. Tweak.
f/
* Make-lang.in (f/com.o): Depend on diagnostic.h
* com.c: #include diagnostic.h
(lang_print_error_function): Take a 'diagnostic_context *'.
java/
* lang.c: #include diagnostic.h
(lang_print_error): Add a `diagnostic_context *' parameter.
(java_dummy_print): Likewise.
* Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h
From-SVN: r43638
Richard Kenner [Thu, 28 Jun 2001 10:16:03 +0000 (10:16 +0000)]
expr.c (expand_assignment): When have varying-length object, make MEM a BLKmode.
* expr.c (expand_assignment): When have varying-length object,
make MEM a BLKmode.
(expand_expr, case ADDR_EXPR): Use SAVE_EXPR_RTL after putting
SAVE_EXPR stack in case we had a SUBREG.
From-SVN: r43637
Jan Hubicka [Thu, 28 Jun 2001 08:44:16 +0000 (10:44 +0200)]
i386.md (cmp?i): Simplify; refuse immediate operand in alternative 0
* i386.md (cmp?i): Simplify; refuse immediate operand
in alternative 0
* i386.c (cmpsi_operand): Refuse constants.
* i386.md (movsi_insv_1, movsi_insv_1_rex64): Allow immediate operand.
* flow.c (block_label, redirect_edge_and_branch): Split out from ....
(split_edge) .... here;
From-SVN: r43635
GCC Administrator [Thu, 28 Jun 2001 07:16:17 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43630
Neil Booth [Thu, 28 Jun 2001 06:27:27 +0000 (06:27 +0000)]
i386.c (ix86_valid_type_attribute_p): Give external linkage, move declaration to...
* i386/i386.c (ix86_valid_type_attribute_p): Give external
linkage, move declaration to...
* i386/i386-protos.h: ...here.
From-SVN: r43629
H.J. Lu [Thu, 28 Jun 2001 04:38:51 +0000 (04:38 +0000)]
Add CFLAGS_FOR_BUILD for canadian cross build.
From-SVN: r43628
Jim Wilson [Thu, 28 Jun 2001 03:52:28 +0000 (03:52 +0000)]
Fix ia64-linux bootstrap failure.
* emit-rtl.c (gen_highpart): Call validize_mem.
From-SVN: r43627
Bruce Korb [Thu, 28 Jun 2001 03:13:49 +0000 (03:13 +0000)]
inline pow fix/PTHREAD_*_INITIALIZER for Solaris/UW7 Byteorder.h search problem
From-SVN: r43623
Stan Shebs [Thu, 28 Jun 2001 01:34:25 +0000 (01:34 +0000)]
objc-act.c (handle_impent): Rewrite to be more portable and to use ASM_DECLARE_CLASS_REFERENCE.
* objc/objc-act.c (handle_impent): Rewrite to be more portable
and to use ASM_DECLARE_CLASS_REFERENCE.
* config/darwin.h (ASM_DECLARE_CLASS_REFERENCE): Rename from
undocumented DECLARE_CLASS_REFERENCE, add file argument.
* doc/tm.texi (ASM_DECLARE_CLASS_REFERENCE): Document.
From-SVN: r43622
Jeffrey A Law [Thu, 28 Jun 2001 00:14:23 +0000 (00:14 +0000)]
simplify-rtx.c (simplify_rtx): Canonicalize commutative expressions by putting complex operands first and...
* simplify-rtx.c (simplify_rtx): Canonicalize commutative expressions
by putting complex operands first and constants second.
From-SVN: r43621
Tom Tromey [Wed, 27 Jun 2001 21:56:08 +0000 (21:56 +0000)]
IOConverter.java: Manually maintained alias now lowercase.
* gnu/gcj/convert/IOConverter.java: Manually maintained alias now
lowercase.
From-SVN: r43620
Alexandre Petit-Bianco [Wed, 27 Jun 2001 20:38:20 +0000 (13:38 -0700)]
class.c (set_super_info): Call `set_class_decl_access_flags.'
2001-06-27 Alexandre Petit-Bianco <apbianco@redhat.com>
* class.c (set_super_info): Call `set_class_decl_access_flags.'
(set_class_decl_access_flags): New function.
* java-tree.h (set_class_decl_access_flags): New prototype.
* jcf-parse.c (handle_innerclass_attribute): Read and set access flags.
(parse_class_file): New local `decl_max_locals.' Take wide types
into account to compute DECL_MAX_LOCALS.
* parse.y (type_import_on_demand_declaration:): Ignore duplicate
imports on demand.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01718.html )
From-SVN: r43618
Neil Booth [Wed, 27 Jun 2001 19:33:17 +0000 (19:33 +0000)]
* tm.texi: Remove merge conflicts.
From-SVN: r43617
Gabriel Dos Reis [Wed, 27 Jun 2001 18:03:03 +0000 (18:03 +0000)]
diagnostic.h: Add documentation.
2001-06-27 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h: Add documentation. Make macros polymorphic.
* diagnostic.c (ideal_line_wrap_cutoff): Remove
definition. Replace with diagnostic_line_cutoff.
(prefixing_policy): Remove. Replace with diagnostic_prefixing_rule.
From-SVN: r43616
Neil Booth [Wed, 27 Jun 2001 17:40:01 +0000 (17:40 +0000)]
system.h (TARGET_ESC): Move to ...
* system.h (TARGET_ESC): Move to ...
* defaults.h (TARGET_ESC): ... here.
* target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler.
* tree.c (default_valid_attribute_p): New.
(valid_machine_attribute): Handlers can not be NULL.
* tree.h (default_valid_attribute_p): New.
* doc/tm.texi: Document TARGET_ESC.
* cp/decl2.c (import_export_class): Update.
From-SVN: r43615
Phil Edwards [Wed, 27 Jun 2001 17:09:53 +0000 (17:09 +0000)]
algo.h: Add "GPL plus runtime exception" comment block, this time for real.
2001-06-27 Phil Edwards <pme@sources.redhat.com>
* include/backward/algo.h: Add "GPL plus runtime exception" comment
block, this time for real.
* include/backward/algobase.h: Likewise.
* include/backward/alloc.h: Likewise.
* include/backward/bvector.h: Likewise.
* include/backward/defalloc.h: Likewise.
* include/backward/deque.h: Likewise.
* include/backward/function.h: Likewise.
* include/backward/hash_map.h: Likewise.
* include/backward/hash_set.h: Likewise.
* include/backward/hashtable.h: Likewise.
* include/backward/heap.h: Likewise.
* include/backward/iterator.h: Likewise.
* include/backward/list.h: Likewise.
* include/backward/map.h: Likewise.
* include/backward/multimap.h: Likewise.
* include/backward/multiset.h: Likewise.
* include/backward/pair.h: Likewise.
* include/backward/rope.h: Likewise.
* include/backward/set.h: Likewise.
* include/backward/slist.h: Likewise.
* include/backward/stack.h: Likewise.
* include/backward/strstream: Likewise.
* include/backward/tempbuf.h: Likewise.
* include/backward/tree.h: Likewise.
* include/backward/vector.h: Likewise.
* include/bits/pthread_allocimpl.h: Likewise.
* include/bits/std_algorithm.h: Likewise.
* include/bits/std_bitset.h: Likewise.
* include/bits/std_deque.h: Likewise.
* include/bits/std_functional.h: Likewise.
* include/bits/std_iterator.h: Likewise.
* include/bits/std_list.h: Likewise.
* include/bits/std_map.h: Likewise.
* include/bits/std_memory.h: Likewise.
* include/bits/std_numeric.h: Likewise.
* include/bits/std_queue.h: Likewise.
* include/bits/std_set.h: Likewise.
* include/bits/std_stack.h: Likewise.
* include/bits/std_utility.h: Likewise.
* include/bits/std_vector.h: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_alloc.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_construct.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_pthread_alloc.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_raw_storage_iter.h: Likewise.
* include/bits/stl_relops.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_threads.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/type_traits.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist: Likewise.
* include/ext/stl_hash_fun.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* src/bitset.cc: Likewise.
* src/strstream.cc: Likewise.
From-SVN: r43613
Joseph Myers [Wed, 27 Jun 2001 15:04:16 +0000 (16:04 +0100)]
c-tree.texi, [...]: Replace . at end of sentences preceded by a capital letter with @..
* doc/c-tree.texi, doc/contrib.texi, doc/cpp.texi,
doc/cppinternals.texi, doc/extend.texi, doc/gcc.texi,
doc/gcov.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Replace
. at end of sentences preceded by a capital letter with @..
From-SVN: r43611
Daniel Berlin [Wed, 27 Jun 2001 14:35:24 +0000 (14:35 +0000)]
invoke.texi: Add description of max-gcse-passes param.
2001-06-26 Daniel Berlin <dan@cgsoftware.com>
* doc/invoke.texi: Add description of max-gcse-passes param.
* gcse.c (gcse_main): Use MAX_GCSE_PASSES instead of MAX_PASSES.
(MAX_PASSES): Remove now unneeded macro.
* params.h (MAX_GCSE_PASSES): New macro, to get parameter value of
max-gcse-passes param.
* params.def (PARAM_MAX_GCSE_PASSES): New parameter, controlling
maximum number of GCSE passes to run. Defaults to 1 (which is what
MAX_PASSES in gcse.c used to be).
From-SVN: r43610
GCC Administrator [Wed, 27 Jun 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43606
Neil Booth [Wed, 27 Jun 2001 06:55:29 +0000 (06:55 +0000)]
system.h (TARGET_ESC): Move to ...
* system.h (TARGET_ESC): Move to ...
* defaults.h (TARGET_ESC): ... here.
* target-def.h (TARGET_VALID_DECL_ATTRIBUTE,
TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler.
* tree.c (default_valid_attribute_p): New.
(valid_machine_attribute): Handlers can not be NULL.
* tree.h (default_valid_attribute_p): New.
* doc/tm.texi: Document TARGET_ESC.
* cp/decl2.c (import_export_class): Update.
From-SVN: r43605
Bruce Korb [Wed, 27 Jun 2001 03:49:50 +0000 (03:49 +0000)]
no preprocessing inside string literal
From-SVN: r43604
Jim Wilson [Wed, 27 Jun 2001 01:09:03 +0000 (01:09 +0000)]
Add missing documentation.
* doc/tm.texi (MAX_LONG_DOUBLE_TYPE_SIZE, INTEL_EXTENDED_IEEE_FORMAT):
Document.
From-SVN: r43603
Benjamin Kosnik [Wed, 27 Jun 2001 01:07:29 +0000 (01:07 +0000)]
streambuf.tcc (__copy_streambufs): Don't set eofbit.
2001-06-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
<vakatov@ncbi.nlm.nih.gov>
libstdc++/3272
* include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
* testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
* testsuite/27_io/istream_extractor_other.cc: Fix.
From-SVN: r43602
Joseph Myers [Wed, 27 Jun 2001 00:04:39 +0000 (01:04 +0100)]
cpp.texi, [...]: Use @: where necessary when a full stop does not end a sentence.
* doc/cpp.texi, doc/cppinternals.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/tm.texi: Use @: where necessary when a full stop does not end
a sentence.
From-SVN: r43600
Zoltan Hidvegi [Tue, 26 Jun 2001 23:35:19 +0000 (23:35 +0000)]
acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
* acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43599
Joseph Myers [Tue, 26 Jun 2001 23:23:32 +0000 (00:23 +0100)]
gcc.texi, [...]: Remove trailing whitespace.
* doc/gcc.texi, doc/install.texi, doc/invoke.texi: Remove trailing
whitespace.
From-SVN: r43597
Benjamin Kosnik [Tue, 26 Jun 2001 23:12:45 +0000 (23:12 +0000)]
stream_iterator.h (istream_iterator): Add copy ctor.
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
(ostream_iterator): Same.
* include/bits/stl_iterator.h (front_insert_iterator::operator=):
Change argument to const_reference.
(back_insert_iterator): Same.
From-SVN: r43596
Joseph Myers [Tue, 26 Jun 2001 22:47:11 +0000 (23:47 +0100)]
c-tree.texi, [...]: Use two spaces after ends of sentences.
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, doc/gcc.texi,
doc/install.texi, doc/invoke.texi, doc/objc.texi, doc/rtl.texi,
doc/tm.texi: Use two spaces after ends of sentences.
From-SVN: r43594
Richard Henderson [Tue, 26 Jun 2001 22:21:26 +0000 (15:21 -0700)]
alpha_mach_dep.s: Mark call-saved FP registers.
* alpha_mach_dep.s: Mark call-saved FP registers.
* include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
* configure.in (alpha*): Re-enable alpha_mach_dep.s
* configure: Rebuild.
From-SVN: r43593
Benjamin Kosnik [Tue, 26 Jun 2001 21:22:57 +0000 (21:22 +0000)]
sbuf_iter.h: Change to..
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/sbuf_iter.h: Change to..
* include/bits/streambuf_iterator.h: This.
* include/bits/stl_iterator.h: Take out of here...
* include/bits/stream_iterator.h: Add.
* src/Makefile.am (base_headers): Add streambuf_iterator,
stream_iterator.h
* src/Makefile.in: Regenerate.
* include/bits/std_string.h: Adjust includes.
* include/bits/basic_ios.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/std_iosfwd.h: Same.
* include/bits/std_iterator.h: Add istream, ostream includes.
* include/bits/stl_iterator.h: Tweak.
* testsuite/24_iterators/ostream_iterator.cc: Add test.
* testsuite/24_iterators/istream_iterator.cc: Same.
* testsuite/23_containers/multiset.cc: Add iterator include.
From-SVN: r43592
Phil Edwards [Tue, 26 Jun 2001 20:52:23 +0000 (20:52 +0000)]
acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
2001-06-26 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43591
Daniel Berlin [Tue, 26 Jun 2001 19:24:09 +0000 (19:24 +0000)]
toplev.c (display_help): Fix param thinko.
2001-06-26 Daniel Berlin <dan@cgsoftware.com>
* toplev.c (display_help): Fix param thinko.
* Makefile.in: Fix params.h dependencies.
From-SVN: r43589
Gabriel Dos Reis [Tue, 26 Jun 2001 19:18:37 +0000 (19:18 +0000)]
toplev.c (decode_f_option): Adjust setting.
* toplev.c (decode_f_option): Adjust setting.
(toplev_main): Call diagnostic_initialize. Remove call to
reshape_diagnostic_buffer._
* diagnostic.h (struct output_buffer): Add new field format_decoder.
(diagnostic_format_decoder): New macro.
(diagnostic_prefixing_rule): Likewise.
(diagnostic_line_cutoff): Likewise.
(set_message_prefixing_rule): Remove.
* diagnostic.c (lang_printer): Remove.
(diagnostic_message_length_per_line): Likewise.
(current_prefixing_rule): Likewise.
(initialize_diagnostics): Rename to...
(diagnostic_initialize): ...this. Tweak.
(default_initialize_buffer): Remove.
(reshape_diagnostic_buffer): Likewise.
(init_output_buffer): Adjust prefixing rule setting.
(output_format): Use format_decoder from the output_buffer.
* c-lang.c (c_init): Adjust tree formatter setting.
cp/
* error.c (init_error): Adjust settings.
From-SVN: r43588
Rainer Orth [Tue, 26 Jun 2001 18:27:01 +0000 (18:27 +0000)]
* config/i386/sol2.h (CPP_SPEC): Pass -P for .S files.
From-SVN: r43587
Neil Booth [Tue, 26 Jun 2001 18:09:27 +0000 (18:09 +0000)]
Makefile.in (TARGET_H, [...]): New.
* Makefile.in (TARGET_H, TARGET_DEF_H): New.
(c-decl.o, tree.o, c-typeck.o, $(out_object_file)): Update.
* c-decl.c (duplicate_decls): Use function pointer.
* c-typeck.c (common_type): Similarly.
* tree.c (valid_machine_attribute): Similarly.
(merge_machine_type_attributes): Rename merge_type_attributes.
(merge_machine_decl_attributes): Rename merge_decl_attributes.
(merge_dllimport_decl_attributes): New function.
* tree.h (merge_machine_type_attributes): Rename merge_type_attributes.
(merge_machine_decl_attributes): Rename merge_decl_attributes.
(merge_dllimport_decl_attributes): New prototype.
* target.h: New.
* target-def.h: New.
doc: (Joseph Myers)
* doc/gcc.texi, doc/tm.texi: Update documentation.
cp: Make-lang.in: Update dependencies.
* spew.c: Include target.h.
(duplicate_decls): Call target function.
* decl2.c: include target.h
(import_export_class): Use existence of target function pointer.
* typeck.c: Include target.h.
(qualify_type_recursive): Rename variable. Call target function.
(type_after_usual_arithmetic_conversions): Similarly.
(common_type): Similarly.
config: * 1750a/1750a.c, a29k/29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
avr/avr.c, c4x/c4x.c, clipper/clipper.c, convex/convex.c,
d30v/d30v.c, dsp16xx/dsp16xx.c, elxsi/elxsi.c, fr30/fr30.c,
i370/i370.c, i386/i386.c, i860/i860.c, i960/i960.c, ia64/ia64.c,
m32r/m32r.c, m68hc11/m68hc11.c, m68k/m68k.c, m88k/m88k.c,
mips/mips.c, mn10200/mn10200.c, mn10300/mn10300.c, ns32k/ns32k.c,
pa/pa.c, pdp11/pdp11.c, pj/pj.c, romp/romp.c, rs6000/rs6000.c,
sh/sh.c, sparc/sparc.c, v850/v850.c, vax/vax.c, we32k/we32k.c)
: Include target.h and target-def.h. Define target.
* arc/arc-protos.h (arc_valid_machine_decl_attribute): Remove.
* arc/arc.c (arc_valid_machine_decl_attribute): Rename
arc_valid_decl_attribute, make static.
* arc/arc.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* arm/arm-protos.h (arm_valid_machine_decl_attribute,
arm_valid_type_attribute_p, arm_pe_valid_machine_decl_attribute,
arm_pe_merge_machine_decl_attributes): Remove.
* arm/arm.c (arm_valid_machine_decl_attribute_p): Rename
arm_valid_decl_attribute_p, make static.
(arm_pe_valid_decl_attribute_p): Move from pe.c.
* arm/pe.c (arm_pe_valid_machine_decl_attribute_p): Move to arm.c.
(arm_pe_merge_machine_decl_attributes): Move to tree.c.
* arm/arm.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): New.
(VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* avr/avr-protos.h (valid_machine_type_attribute,
valid_machine_decl_attribute): Remove.
* avr/avr.c (valid_machine_type_attribute,
valid_machine_decl_attribute): Rename and make static.
* avr/avr.h (VALID_MACHINE_TYPE_ATTRIBUTE,
VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* c4x/c4x-protos.h (c4x_valid_type_attribute_p): Remove.
* c4x/c4x.c (c4x_valid_type_attribute_p): Make static.
* c4x/c4x.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* d30v/d30v.h: Remove obsolete comments.
* h8300/h8300-protos.h (h8300_valid_machine_decl_attribute): Remove.
* h8300/h8300.c (h8300_valid_machine_decl_attribute): Rename, make
static.
* h8300/h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* i386/cygwin.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
(i386_pe_merge_decl_attributes, MERGE_MACHINE_DECL_ATTRIBUTES,
i386_pe_valid_type_attributes_p): Remove.
* i386/i386-protos.h (ix86_valid_decl_attribute_p,
ix86_valid_type_attribute_p): Remove.
* i386/i386.c (ix86_valid_decl_attribute_p): Remove.
(ix86_valid_type_attribute_p): Make static.
* i386/i386.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* i386/winnt.c (i386_pe_merge_decl_attributes): Move to tree.c.
* ia64/ia64-protos.h (ia64_valid_type_attribute): Remove.
* ia64/ia64.c (ia64_valid_type_attribute): Make static.
* ia64/ia64.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* m32r/m32r-protos.h (m32r_valid_machine_decl_attribute): Remove.
* m32r/m32r.c (m32r_valid_decl_attribute): Make static.
* m32r/m32r.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* m68hc11/m68hc11-protos.h (m68hc11_valid_decl_attribute_p,
m68hc11_valid_type_attribute_p): Remove.
* m68hc11/m68hc11.c (m68hc11_valid_decl_attribute_p): Remove.
(m68hc11_valid_type_attribute_p): Make static.
* m68hc11/m68hc11.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* mcore/mcore-protos.h (mcore_valid_machine_decl_attribute,
mcore_merge_machine_decl_attribute): Remove.
* mcore/mcore.c (mcore_valid_machine_decl_attribute): Rename,
make static.
(mcore_merge_machine_decl_attributes): Move to tree.c.
* mcore/mcore.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
(TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
* ns32k/ns32k-protos.h (ns32k_valid_decl_attribute_p,
ns32k_valid_type_attribute_p): Remove.
* ns32k/ns32k.c (ns32k_valid_decl_attribute_p): Remove.
(ns32k_valid_type_attribute_p): Make static.
* ns32k/ns32k.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* rs6000/rs6000-protos.h (rs6000_valid_decl_attribute_p,
rs6000_valid_type_attribute_p): Remove.
* rs6000/rs6000.c (rs6000_valid_decl_attribute_p): Remove.
(rs6000_valid_type_attribute_p): Make static.
* rs6000/rs6000.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* sh/sh-protos.h (sh_valid_machine_decl_attribute): Remove.
* sh/sh.c (sh_valid_machine_decl_attribute): Rename, make static.
* sh/sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
* v850/v850-protos.h (v850_valid_machine_decl_attribute): Remove.
* v850/v850.c (v850_valid_machine_decl_attribute): Rename, make static.
* v850/v850.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
From-SVN: r43585
Vladimir Makarov [Tue, 26 Jun 2001 16:56:06 +0000 (16:56 +0000)]
glimits.h (USHRT_MAX): Use unsigned suffix if int can not hold it.
2001-06-26 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
* glimits.h (USHRT_MAX): Use unsigned suffix if int can not hold
it.
From-SVN: r43584
Felix Natter [Tue, 26 Jun 2001 16:10:04 +0000 (16:10 +0000)]
porting-howto.html: Fixed some errors.
2001-06-26 Felix Natter <f.natter@ndh.net>
* docs/html/17_intro/porting-howto.html: Fixed some errors.
From-SVN: r43582
Gabriel Dos Reis [Tue, 26 Jun 2001 14:06:07 +0000 (14:06 +0000)]
diagnostic.h (struct diagnostic_context): Add new field.
* diagnostic.h (struct diagnostic_context): Add new field.
(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
declaratons.
(global_dc): Declare.
* diagnostic.c (global_diagnostic_context): New variable.
(global_output_buffer): Remove.
(global_dc): Define.
(lang_diagnostic_starter, lang_diagnostic_finalizer): Remove
definitions.
(initialize_diagnostics): Adjust initialization.
(set_diagnostic_context): Adjust setting.
cp/
* error.c (init_error): Adjust settings.
From-SVN: r43581
Rainer Orth [Tue, 26 Jun 2001 12:12:32 +0000 (12:12 +0000)]
iris5.h (UNALIGNED_INT_ASM_OP, [...]): Define.
* config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
UNALIGNED_SHORT_ASM_OP): Define.
* config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
UNALIGNED_SHORT_ASM_OP): Undef.
From-SVN: r43579
Rainer Orth [Tue, 26 Jun 2001 12:04:29 +0000 (12:04 +0000)]
* src/alpha/osf.S (ffi_closure_osf): Use .rdata for ECOFF.
From-SVN: r43578
Jan Hubicka [Tue, 26 Jun 2001 10:47:33 +0000 (12:47 +0200)]
i386.md (float_truncate splitter, [...]): Add reload_completted; fix operand predicate.
* i386.md (float_truncate splitter, and to mov splitters): Add
reload_completted; fix operand predicate.
* haifa-sched.c (sched_init): Do not split insns.
* toplev.c (rest_of_compilation): Call split_all_insns before
sched1 pass; simplify condition of post-reload splitter;
call split_all_insn before sched2 pass.
From-SVN: r43575
Benjamin Kosnik [Tue, 26 Jun 2001 09:41:53 +0000 (09:41 +0000)]
stl_iterator.h (istream_iterator::operator->): Fix return values.
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_iterator.h (istream_iterator::operator->): Fix
return values.
(istream_iterator::operator*): Same.
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
Alexandre Petit-Bianco <apbianco@redhat.com>
* testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
is on 41st, not 14th.
Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r43574
Gabriel Dos Reis [Tue, 26 Jun 2001 07:53:50 +0000 (07:53 +0000)]
diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
* diagnostic.h (diagnostic_prefixing_rule_t): New enum type.
(set_message_prefixing_rule): Adjust prototype.
* diagnostic.c (current_prefixing_rule): Adjust type.
From-SVN: r43573
GCC Administrator [Tue, 26 Jun 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43571
Benjamin Kosnik [Tue, 26 Jun 2001 07:01:09 +0000 (07:01 +0000)]
std_iterator.h: Include sbuf_iter.h via std_ios.h.
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
* include/bits/stl_iterator.h (istream_iterator): Inherit from
iterator.
(ostream_iterator): Same.
* testsuite/24_iterators/istream_iterator.cc: New file.
* testsuite/24_iterators/ostream_iterator.cc: New file.
* include/bits/sbuf_iter.h: Remove self typedef.
* testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
* testsuite/24_iterators/istreambuf_iterator.cc: Add test.
* include/bits/stl_iterator.h (reverse_iterator): Remove
extraneous typedefs. Add typename.
(__normal_iterator): Remove typedefs referring to self. Add typename.
(reverse_bidiretional_iterator): Remove, not longer required.
From-SVN: r43570
Neil Booth [Tue, 26 Jun 2001 06:36:44 +0000 (06:36 +0000)]
defaults.h: Default escape sequences to ASCII.
* defaults.h: Default escape sequences to ASCII.
* config/i370/i370.h: Adjust for ASCII default.
* config/1750a/1750a.h: Remove escape sequence definitions.
* config/a29k/a29k.h: Similarly.
* config/alpha/alpha.h: Similarly.
* config/arc/arc.h: Similarly.
* config/arm/arm.h: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.h: Similarly.
* config/clipper/clipper.h: Similarly.
* config/convex/convex.h: Similarly.
* config/d30v/d30v.h: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/elxsi/elxsi.h: Similarly.
* config/fr30/fr30.h: Similarly.
* config/h8300/h8300.h: Similarly.
* config/i386/i386.h: Similarly.
* config/i860/i860.h: Similarly.
* config/i960/i960.h: Similarly.
* config/ia64/ia64.h: Similarly.
* config/m32r/m32r.h: Similarly.
* config/m68hc11/m68hc11.h: Similarly.
* config/m68k/m68k.h: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.h: Similarly.
* config/mn10200/mn10200.h: Similarly.
* config/mn10300/mn10300.h: Similarly.
* config/ns32k/ns32k.h: Similarly.
* config/pa/pa.h: Similarly.
* config/pdp11/pdp11.h: Similarly.
* config/pj/pj.h: Similarly.
* config/romp/romp.h: Similarly.
* config/rs6000/rs6000.h: Similarly.
* config/sh/sh.h: Similarly.
* config/sparc/sparc.h: Similarly.
* config/v850/v850.h: Similarly.
* config/vax/vax.h: Similarly.
* config/we32k/we32k.h: Similarly.
* doc/tm.texi: Update documentation.
From-SVN: r43569
Gabriel Dos Reis [Tue, 26 Jun 2001 06:36:33 +0000 (06:36 +0000)]
stl_iterator.h (__normal_iterator<>): Qualify dependent names with `typename'.
* include/bits/stl_iterator.h (__normal_iterator<>): Qualify
dependent names with `typename'. Bring in various required
iterator_traits members. Can't imagine why that used to work.
From-SVN: r43568
Gabriel Dos Reis [Tue, 26 Jun 2001 05:42:06 +0000 (05:42 +0000)]
diagnostic.c (digit_buffer): Remove as global.
* diagnostic.c (digit_buffer): Remove as global. Move to...
* diagnostic.h (struct output_buffer): ... here.
* diagnostic.c (output_formatted_integer): Adjust use of digit_buffer.
From-SVN: r43567
Tom Tromey [Tue, 26 Jun 2001 04:36:47 +0000 (04:36 +0000)]
encodings.pl: Generate lower-case names.
* scripts/encodings.pl: Generate lower-case names. Updated URL
for `character-sets' file.
* gnu/gcj/convert/IOConverter.java (canonicalize): Convert name to
lower case.
Rebuilt list of aliases.
From-SVN: r43566
Steve Ellcey [Tue, 26 Jun 2001 03:50:48 +0000 (03:50 +0000)]
Add ia64-hpux 128-bit long double support.
From-SVN: r43565
Tom Tromey [Tue, 26 Jun 2001 03:27:57 +0000 (03:27 +0000)]
natFileDescriptorPosix.cc (open): Change error message formatting.
* java/io/natFileDescriptorPosix.cc (open): Change error message
formatting. From David Brownell.
From-SVN: r43564
Jim Wilson [Tue, 26 Jun 2001 02:11:06 +0000 (02:11 +0000)]
Make parallel builds work.
* config/i960/t-960bare (i960-c.o): Add missing header dependencies.
* config/i960/t-vxworks960: Likewise.
From-SVN: r43563