Tom Tromey
8b55628e81
re PR bootstrap/3281 (Installation failure (mkinstalldirs))
...
Fix for PR bootstrap/3281:
* configure, Makefile.in: Rebuilt.
* configure.in: Set mkinstalldirs, for in-tree build.
From-SVN: r43736
2001-07-03 22:29:32 +00:00
Stan Shebs
70fb545378
darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove case for flag_no_mach_text_sections.
...
* darwin.h (SECTION_FUNCTION): Remove WAS_TEXT argument, remove
case for flag_no_mach_text_sections.
(EXTRA_SECTION_FUNCTIONS): Remove arg from uses of SECTION_FUNCTION.
* darwin.c (flag_no_mach_text_sections): Remove.
* darwin-protos.h (darwin_init_pragma): Remove decl.
From-SVN: r43734
2001-07-03 20:38:37 +00:00
Richard Kenner
b72f00afa4
explow.c (plus_constant_wide, case PLUS): Call find_constant_term and avoid checking for constant as first operand.
...
* explow.c (plus_constant_wide, case PLUS): Call find_constant_term
and avoid checking for constant as first operand.
* recog.c (find_constant_term_loc): No longer static.
(adj_offettable_operand): Delete.
* rtl.h (adj_offsettable_operand): Delete declaration.
(find_constant_term): Add declaration.
* caller-save.c: Replace calls to adj_offsettable_operand with calls
to adjust_address.
* config/arm/arm.c, config/c4x/c4x.c: Likewise.
* config/clipper/clipper.md, config/h8300/h8300.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/i860/i860.c, config/i960/i960.c: Likewise.
* config/i960/i960.md, config/m68hc11/m68hc11.c: Likewise.
* config/m68k/m68k.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.md, config/mcore/mcore.c: Likewise.
* config/mips/mips.c, config/mips/mips.md: Likewise.
* config/mn10200/mn10200.c, config/mn10300/mn10300.c: Likewise.
* config/ns32k/ns32k.c, config/ns32k/ns32k.md: Likewise.
* config/pa/pa.c, config/pdp11/pdp11.c: Likewise.
* config/pdp11/pdp11.md, config/sh/sh.c, config/v850/v850.c: Likewise.
* config/vax/vax.md, config/ns32k/ns32k.c: Likewise.
* config/ns32k/ns32k.md: Likewise.
From-SVN: r43733
2001-07-03 15:44:20 -04:00
Zack Weinberg
3b32434036
rtl.c (copy_rtx): Handle 'T' format letter.
...
* rtl.c (copy_rtx): Handle 'T' format letter.
* gensupport.c (collect_insn_data): Likewise.
* print-rtl.c (print_rtx): Print 'T' slots like 's'.
From-SVN: r43732
2001-07-03 19:23:35 +00:00
Nick Clifton
bf4eebe0c1
Specifiy range for <N> in -B option.
...
Use 'dir' not 'foo' as example directory name.
From-SVN: r43731
2001-07-03 14:03:14 +00:00
Rainer Orth
c19113468c
sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
...
* config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
Fixes PRs bootstrap/3067, bootstrap/3249, bootstrap/3275.
From-SVN: r43729
2001-07-03 12:35:01 +00:00
Joseph Myers
f89dec5721
* doc/cppinternals.texi: Improve formatting and logical markup.
...
From-SVN: r43726
2001-07-03 09:49:10 +01:00
GCC Administrator
ff9c9107d8
Daily bump.
...
From-SVN: r43723
2001-07-03 07:16:12 +00:00
Andreas Jaeger
5b7c704627
Makefile.in (insn-recog.o): Add dependency on reload.h.
...
* Makefile.in (insn-recog.o): Add dependency on reload.h.
* genrecog.c (write_header): Include reload.h for prototypes in
insn-recog.c.
From-SVN: r43722
2001-07-03 08:22:01 +02:00
Neil Booth
f5f4be4280
cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.
...
config:
* i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
* i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
i386_pe_valid_type_attribute_p): Add.
* i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
* i386/winnt.c (i386_valid_decl_attribute_p): Return directly.
From-SVN: r43721
2001-07-03 05:56:32 +00:00
Richard Kenner
ed8908e739
explow.c (plus_constant_wide, [...]): New case.
...
* explow.c (plus_constant_wide, case LO_SUM): New case.
(plus_constant_for_output_wide): Delete.
* rtl.h (plus_constant_for_output): Delete.
* alias.c (canon_rtx, init_alias_analysis): Call plus_constant
instead of plus_constant_for_output.
* recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
* config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
* config/sparc/sparc.md: Likewise.
Convert some change_address calls to adjust_address.
From-SVN: r43720
2001-07-02 21:58:35 -04:00
Joseph Myers
aee96fe99b
extend.texi, [...]: Improve formatting.
...
gcc:
* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
documentation of -std and -Wwrite-strings.
contrib:
* texi2pod.pl: Handle @r inside @item.
From-SVN: r43718
2001-07-03 01:46:05 +01:00
Loren J. Rittle
1ce847cf95
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).
...
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
expansion (thanks to Alexandre Oliva).
* aclocal.m4: Regenerate.
* configure: Regenerate.
Also, re-add last comment since Benjamin accidentally trashed it with
his last check-in.
From-SVN: r43715
2001-07-02 23:30:01 +00:00
Geoffrey Keating
8bf4dfc24f
cse.c (canon_hash): Don't register registers in very small register classes...
...
* cse.c (canon_hash): Don't register registers in very small
register classes, as extending their lifetime might cause
reload to fail.
From-SVN: r43714
2001-07-02 23:24:02 +00:00
Benjamin Kosnik
213c2316b6
locale.cc (locale::locale(const char*)): Make sure global locales are initialized.
...
2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc (locale::locale(const char*)): Make sure global
locales are initialized.
* include/bits/locale_facets.tcc (locale::combine): Refcout should
be zero, not one as it's return-by-value.
* testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
named locales here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
for it here.
(test02): Add test.
* libsupc++/eh_alloc.cc: Use climits, not limits.h.
From-SVN: r43713
2001-07-02 23:08:28 +00:00
Loren J. Rittle
30b3a033af
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
...
libstdc++/3284
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43711
2001-07-02 22:24:57 +00:00
Loren J. Rittle
3a5e0e62b0
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-.
...
libstdc++/3243
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
staged/installed area to support -I-. Document.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43709
2001-07-02 21:30:30 +00:00
Jan Hubicka
f8d1529b85
flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
...
* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
* flow.c (forwarder_block_p): Fix for fallthru blocks.
(try_redirect_by_replacing_jump): Update properly the count
and frequency information.
From-SVN: r43708
2001-07-02 21:16:50 +00:00
Loren J. Rittle
861d4e70e8
ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.
...
libstdc++/2211
* src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
__out_bufsize. Add __in_bufsize, document it and use it.
From-SVN: r43707
2001-07-02 20:50:40 +00:00
Jeff Law
528aeb4896
Rotate ChangeLog.
...
From-SVN: r43706
2001-07-02 14:23:53 -06:00
Jeffrey A Law
0826f1d89f
toplev.c (dump_file_index): Move SSA dumps just after first jump dump.
...
* toplev.c (dump_file_index): Move SSA dumps just after first
jump dump.
(dump_file): Corresponding changes.
(rest_of_compilation): Move SSA path to just after the first
jump pass.
* doc/gcc.texi (Passes): Update due to movement of SSA path.
* doc/invoke.texi: Update dump file #s as they were completely
out of date with reality.
From-SVN: r43704
2001-07-02 14:21:15 -06:00
Geoffrey Keating
918a61248d
[multiple changes]
...
2001-07-02 Geoffrey Keating <geoffk@redhat.com>
* doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.
* expr.c (emit_move_insn_1): Deal with non-default
STACK_PUSH_CODE.
* expr.c (emit_single_push_insn): Fix warning.
2001-07-02 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
* expr.c (emit_move_insn_1): Avoid modifying
cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.
From-SVN: r43703
2001-07-02 20:02:54 +00:00
Richard Kenner
f4ef873c31
emit-rtl.c (adjust_address): New function.
...
* emit-rtl.c (adjust_address): New function.
* expr.h (adjust_address): Add declaration.
* builtins.c: Replace some calls to change_address with calls to it
or to validize_mem.
* caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
* function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
* config/arm/arm.c, config/convex/convex.c: Likewise.
* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
* config/i386/i386.c, config/i386/i386.md: Likewise.
* config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
* config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
* config/m88k/m88k.c, config/mips/mips.md: Likewise.
* config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
* config/sh/sh.c, config/sparc/sparc.md: Likewise.
From-SVN: r43702
2001-07-02 15:47:44 -04:00
Stephen M. Webb
494fff4cea
stl_construct.h (construct): Remove.
...
2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/stl_construct.h (construct): Remove.
(destroy): Remove.
(__destroy): Replaced by use of iterator_traits.
* include/bits/stl_deque.h: replaced HP iterator functions with
iterator_traits.
(construct): changed to _Construct.
(destroy): changed to _Destroy.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_vector.h: Same.
* include/backward/iterator.h (construct): moved definition to here.
(destroy): Same.
From-SVN: r43701
2001-07-02 19:47:09 +00:00
Jim Wilson
becbcf96da
Fix HPUX libgcc_s.so linking problem.
...
* config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
* config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
* config/ia64/lib1funcs.asm: Change macro names to match t-ia64.
From-SVN: r43700
2001-07-02 12:36:58 -07:00
Zack Weinberg
a01eb545c4
cppinit.c (lang_defaults): New table.
...
* cppinit.c (lang_defaults): New table.
(set_lang): Just read from lang_defaults into the live options
structure.
From-SVN: r43699
2001-07-02 18:55:35 +00:00
Zack Weinberg
51817b107a
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
2001-07-02 18:35:32 +00:00
Rainer Orth
eea81d3e5d
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
2001-07-02 18:08:42 +00:00
Richard Kenner
faf041ed6b
* flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
...
From-SVN: r43695
2001-07-02 12:47:57 -04:00
Rainer Orth
213ba34531
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
2001-07-02 16:46:07 +00:00
Jeffrey A Law
df0afdbe34
+ * 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
2001-07-02 09:43:38 -06:00
Gerald Pfeifer
b9063b3da1
* doc/install.texi: Remove CVS Id.
...
From-SVN: r43691
2001-07-02 15:33:05 +00:00
Andreas Jaeger
766890e16d
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
2001-07-02 16:46:12 +02:00
Nathan Sidwell
dfb5868dcf
Revert piece of previous patch about include directories
...
From-SVN: r43688
2001-07-02 12:55:33 +00:00
Nathan Sidwell
6be777481e
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
2001-07-02 12:16:58 +00:00
Richard Kenner
3aa12a583f
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
2001-07-02 06:27:17 -04:00
GCC Administrator
071d36e295
Daily bump.
...
From-SVN: r43684
2001-07-02 07:16:12 +00:00
Jeremy Nimmer
e2a6abb6d5
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
2001-07-02 05:16:24 +00:00
Richard Kenner
21266f819a
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
2001-07-01 19:23:28 -04:00
Geoffrey Keating
1cc5e43240
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
2001-07-01 23:21:11 +00:00
Mark Mitchell
c54b0a5e4b
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
2001-07-01 20:50:03 +00:00
Toon Moene
074919faea
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
2001-07-01 20:19:33 +00:00
Nathan Sidwell
3746c4a2d6
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
2001-07-01 20:01:47 +00:00
Michael Chamberlain
809353e149
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
2001-07-01 18:55:46 +00:00
Zack Weinberg
b8363a243d
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
2001-07-01 18:48:13 +00:00
Richard Kenner
128e8aa952
Minor comment and whitespace changes
...
From-SVN: r43673
2001-07-01 12:50:11 -04:00
Richard Kenner
be8ac49a3e
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
2001-07-01 11:52:26 -04:00
Richard Kenner
b987f23731
Trivial whitespace changes
...
From-SVN: r43671
2001-07-01 09:34:02 -04:00
Toon Moene
cf382a9154
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
2001-07-01 13:18:08 +00:00
Zoltan Felleg
e514984118
* warn_summary: Fix typo in a comment.
...
From-SVN: r43669
2001-07-01 10:25:32 +00:00