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
GCC Administrator
80617fee7e
Daily bump.
...
From-SVN: r43668
2001-07-01 07:16:41 +00:00
Zack Weinberg
b3da804c23
* ns32k.md: Remove stray backslash-newline in output template.
...
From-SVN: r43666
2001-06-30 18:07:44 +00:00
Zack Weinberg
1f3b37a3d5
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
2001-06-30 17:23:53 +00:00
Nick Clifton
07804c3b7d
Append a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
...
create a valid directory name.
From-SVN: r43664
2001-06-30 08:46:31 +00:00
GCC Administrator
bc2fa2fd2e
Daily bump.
...
From-SVN: r43663
2001-06-30 07:17:41 +00:00
Benjamin Kosnik
13f83598b3
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
2001-06-30 04:35:49 +00:00
Jeffrey A Law
8f1ae09ac2
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
2001-06-29 16:04:40 -06:00
DJ Delorie
9199d62b82
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
2001-06-29 17:15:01 -04:00
Jeffrey A Law
62d285ff3a
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
2001-06-29 14:35:53 -06:00
Jeffrey A Law
8f2f6da110
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
2001-06-29 12:26:21 -06:00
Joseph Myers
8d8e52be8a
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
2001-06-29 18:21:16 +01:00
Daniel Berlin
8440bf4367
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
2001-06-29 16:52:08 +00:00
Nathan Sidwell
5a0db1930a
* cp-tree.h (flag_dump_class_layout): Remove unneeded declaration.
...
From-SVN: r43653
2001-06-29 14:10:31 +00:00
GCC Administrator
b669108540
Daily bump.
...
From-SVN: r43652
2001-06-29 07:16:59 +00:00
Jan van Male
35d6d8c165
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
2001-06-29 00:46:11 -04:00