platform/upstream/gcc.git
22 years agoi386.md (movsi_1, [...]): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.
Richard Henderson [Thu, 23 May 2002 08:16:13 +0000 (01:16 -0700)]
i386.md (movsi_1, [...]): Use LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.

        * config/i386/i386.md (movsi_1, movdi_1_rex64): Use
        LEGITIMATE_PIC_OPERAND_P not SYMBOLIC_CONST.

From-SVN: r53778

22 years agoconfigure.in: Fix as version test for binutils 2.12.1 releases (without dates).
Jakub Jelinek [Thu, 23 May 2002 08:11:50 +0000 (10:11 +0200)]
configure.in: Fix as version test for binutils 2.12.1 releases (without dates).

* configure.in: Fix as version test for binutils 2.12.1 releases
(without dates).
* configure: Rebuilt.

From-SVN: r53775

22 years agoi386.c (get_pic_label_name): New.
Richard Henderson [Thu, 23 May 2002 07:43:13 +0000 (00:43 -0700)]
i386.c (get_pic_label_name): New.

        * config/i386/i386.c (get_pic_label_name): New.
        (load_pic_register): Remove.
        (output_set_got): New.
        (ix86_expand_prologue): Use gen_set_got; mark insn REG_MAYBE_DEAD.
        * config/i386/i386.md (UNSPEC_SET_GOT): New.
        (UNSPECV_PROLOGUE_SET_GOT, UNSPECV_PROLOGUE_GET_PC): Remove.
        (prologue_set_got, prologue_get_pc): Remove.
        (set_got, set_got_nopic, set_got_deep, set_got_nodeep): New.
        (builtin_setjmp_receiver): Use gen_set_got.
        * config/i386/i386-protos.h: Update.

From-SVN: r53773

22 years ago* gcse.c (hash_expr): Do not use alias set for hashing.
Jan Hubicka [Thu, 23 May 2002 07:29:30 +0000 (09:29 +0200)]
* gcse.c (hash_expr): Do not use alias set for hashing.

From-SVN: r53772

22 years agoDaily bump.
GCC Administrator [Thu, 23 May 2002 07:18:39 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r53771

22 years agodbxout.c (dbxout_class_name_qualifiers): New function.
Kevin Buettner [Thu, 23 May 2002 06:50:32 +0000 (06:50 +0000)]
dbxout.c (dbxout_class_name_qualifiers): New function.

        * dbxout.c (dbxout_class_name_qualifiers): New function.
        (dbxout_symbol): Output class/struct qualifiers for a .stabs entry.

From-SVN: r53766

22 years agocpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT.
Neil Booth [Thu, 23 May 2002 06:07:45 +0000 (06:07 +0000)]
cpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT.

* cpperror.c (_cpp_begin_message): No special casing
of CPP_FATAL_LIMIT.
* cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
(output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
* cpplib.c (do_include_common): Use DL_ERROR.
* cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
(DL_ICE): Renumber.
* fix-header.c (read_scan_file): Update.

From-SVN: r53765

22 years agoconst-str-2.m: Update now that we stop after a command line error.
Neil Booth [Thu, 23 May 2002 05:55:38 +0000 (05:55 +0000)]
const-str-2.m: Update now that we stop after a command line error.

testsuite:
* objc.dg/const-str-2.m: Update now that we stop after
a command line error.

From-SVN: r53764

22 years agoi386.c (ix86_expand_call): New function, extracted from md call patterns.
Richard Henderson [Thu, 23 May 2002 05:20:25 +0000 (22:20 -0700)]
i386.c (ix86_expand_call): New function, extracted from md call patterns.

        * config/i386/i386.c (ix86_expand_call): New function, extracted
        from md call patterns.  Add pic_offset_table_rtx to
        CALL_INSN_FUNCTION_USAGE when needed.
        * config/i386/i386.md (call_pop, call): Use ix86_expand_call.
        (call_value_pop, call_value, untyped_call): Likewise.
        (call_exp, call_value_exp): Remove.
        * config/i386/i386-protos.h: Update.

From-SVN: r53763

22 years ago* g++.dg/dg.exp: Fix typo in test pruneing.
Richard Henderson [Thu, 23 May 2002 05:14:20 +0000 (22:14 -0700)]
* g++.dg/dg.exp: Fix typo in test pruneing.

From-SVN: r53762

22 years agovarasm.c (default_section_type_flags): Check for VAR_DECL before using DECL_THREAD_LOCAL.
Richard Henderson [Thu, 23 May 2002 05:14:02 +0000 (22:14 -0700)]
varasm.c (default_section_type_flags): Check for VAR_DECL before using DECL_THREAD_LOCAL.

        * varasm.c (default_section_type_flags): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

        * decl.c (obscure_complex_init): Check for VAR_DECL
        before using DECL_THREAD_LOCAL.

From-SVN: r53761

22 years agoMakefile.am (all-recursive): Depend on $all_java_class_files so that they build first.
Bryce McKinlay [Thu, 23 May 2002 04:18:35 +0000 (04:18 +0000)]
Makefile.am (all-recursive): Depend on $all_java_class_files so that they build first.

* Makefile.am (all-recursive): Depend on $all_java_class_files so that
they build first.
* Makefile.in: Rebuilt.

From-SVN: r53760

22 years agore PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)
Bryce McKinlay [Thu, 23 May 2002 03:32:05 +0000 (03:32 +0000)]
re PR java/6729 (Compiler error causing break of java.lang.Character.isWhitespace)

* libjava.lang/PR6729.java: New file.
* libjava.lang/PR6729.out: New file.

From-SVN: r53759

22 years agoTest case for PR 6729.
Bryce McKinlay [Thu, 23 May 2002 03:30:13 +0000 (03:30 +0000)]
Test case for PR 6729.

From-SVN: r53758

22 years agoaix43.h (LINK_SPEC): Add PE initializer.
David Edelsohn [Thu, 23 May 2002 02:26:47 +0000 (02:26 +0000)]
aix43.h (LINK_SPEC): Add PE initializer.

        * config/rs6000/aix43.h (LINK_SPEC): Add PE initializer.
        (STARTFILE_SPEC): Delete PE crt0.o.
        * config/rs6000/aix51.h: Same.
        * config/rs6000/rs6000.c: Use TARGET_XCOFF, not OBJECT_FORMAT_COFF.
        * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Append [DS] to
        function descriptor symbol.  Use RS6000_OUTPUT_BASENAME.
        (ASM_OUTPUT_DEF_FROM_DECLS): Use RS6000_OUTPUT_BASENAME.
        * config/rs6000/xcoff.h (ASM_OUTPUT_DEF): Define.

From-SVN: r53756

22 years agomore README clarifications
Bruce Korb [Thu, 23 May 2002 01:44:15 +0000 (01:44 +0000)]
more README clarifications

From-SVN: r53755

22 years agodecl.c (check_tag_decl): Handle RID_THREAD.
Richard Henderson [Wed, 22 May 2002 23:42:57 +0000 (16:42 -0700)]
decl.c (check_tag_decl): Handle RID_THREAD.

        * decl.c (check_tag_decl): Handle RID_THREAD.
        (obscure_complex_init): Reject run-time init of tls.
        (grokvardecl, grokdeclarator): Handle RID_THREAD.
        * lex.c (reswords): Add __thread.
        (rid_to_yy): Map RID_THREAD to SCSPEC.

        * g++.dg/dg.exp: Prune the tls subdirectory.
        * g++.dg/tls/tls.exp, g++.dg/tls/trivial.C: New.
        * g++.dg/tls/diag-1.C, g++.dg/tls/diag-2.C: New.
        * g++.dg/tls/init-1.C: New.

From-SVN: r53754

22 years agovarasm.c (default_section_type_flags): Handle tls data and default sections.
Richard Henderson [Wed, 22 May 2002 23:31:48 +0000 (16:31 -0700)]
varasm.c (default_section_type_flags): Handle tls data and default sections.

        * varasm.c (default_section_type_flags): Handle tls data and
        default sections.
        (default_unique_section): Handle tls sections.

From-SVN: r53753

22 years agoconfigure.in (CROSS): Define NATIVE_CROSS.
Alan Modra [Wed, 22 May 2002 22:09:18 +0000 (22:09 +0000)]
configure.in (CROSS): Define NATIVE_CROSS.

* configure.in (CROSS): Define NATIVE_CROSS.
* configure: Regenerate.
* gcc.c (STARTFILE_PREFIX_SPEC): Define.
(startfile_prefix_spec): New var.
(static_specs): Add startfile_prefix_spec.
(do_spec_2): Split out from..
(do_spec): ..here.
(main): Process startfile_prefix_spec.
* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of
dynamic linker.
(STARTFILE_PREFIX_SPEC): Define.
(STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without
        absolute paths.

From-SVN: r53752

22 years agocpperror.c: Fix formatting.
Kazu Hirata [Wed, 22 May 2002 22:02:16 +0000 (22:02 +0000)]
cpperror.c: Fix formatting.

* cpperror.c: Fix formatting.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cppmacro.c: Likewise.
* cppmain.c: Likewise.
* cppspec.c: Likewise.

From-SVN: r53751

22 years agocombine.c (force_to_mode): Use gen_int_mode.
Jakub Jelinek [Wed, 22 May 2002 21:35:56 +0000 (23:35 +0200)]
combine.c (force_to_mode): Use gen_int_mode.

* combine.c (force_to_mode): Use gen_int_mode.
Don't clear CONST_INT bits outside of mode.

* gcc.dg/20020517-1.c: New test.

From-SVN: r53750

22 years agoinclhack.def (thread_keyword): Match __thread as last arg.
Richard Henderson [Wed, 22 May 2002 21:29:38 +0000 (14:29 -0700)]
inclhack.def (thread_keyword): Match __thread as last arg.

        * fixinc/inclhack.def (thread_keyword): Match __thread as last arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

From-SVN: r53749

22 years agore PR c/6643 (gcc fails in tree check for assignment to variable sized array)
Jakub Jelinek [Wed, 22 May 2002 21:06:16 +0000 (23:06 +0200)]
re PR c/6643 (gcc fails in tree check for assignment to variable sized array)

PR c/6643
* emit-rtl.c (widen_memory_access): Only call compare_tree_int
if DECL_SIZE_UNIT is INTEGER_CST.

From-SVN: r53748

22 years agoconfigure.in: Fix typo in the code checking for sys_errlist.
Roman Lechtchinsky [Wed, 22 May 2002 20:57:15 +0000 (20:57 +0000)]
configure.in: Fix typo in the code checking for sys_errlist.

* configure.in: Fix typo in the code checking for sys_errlist.
* configure: Regenerated.

From-SVN: r53747

22 years ago* flow.c (life_analysis): Delete broken reg_label check.
Richard Henderson [Wed, 22 May 2002 20:30:31 +0000 (13:30 -0700)]
* flow.c (life_analysis): Delete broken reg_label check.

From-SVN: r53746

22 years agoinclhack.def (thread_keyword): Allow as any prototype arg.
Richard Henderson [Wed, 22 May 2002 20:02:16 +0000 (13:02 -0700)]
inclhack.def (thread_keyword): Allow as any prototype arg.

        * fixinc/inclhack.def (thread_keyword): Allow as any prototype arg.
        * fixinc/fixincl.x, fixinc/tests/base/pthread.h: Rebuild.

From-SVN: r53745

22 years agoconfig.guess: Update to 2002-05-22 version.
Jason Thorpe [Wed, 22 May 2002 18:44:13 +0000 (18:44 +0000)]
config.guess: Update to 2002-05-22 version.

* config.guess: Update to 2002-05-22 version.
* config.sub: Likewise.

From-SVN: r53742

22 years ago* t-sh64 (LIB2FUNCS_EXTRA): Don't change.
J"orn Rennecke [Wed, 22 May 2002 17:49:45 +0000 (17:49 +0000)]
* t-sh64 (LIB2FUNCS_EXTRA): Don't change.

From-SVN: r53741

22 years ago* c-common.c (cb_register_builtins): Don't indent '#' of #define.
J"orn Rennecke [Wed, 22 May 2002 17:39:18 +0000 (17:39 +0000)]
* c-common.c (cb_register_builtins): Don't indent '#' of #define.

From-SVN: r53740

22 years agoFix a typo.
Jakub Jelinek [Wed, 22 May 2002 16:42:52 +0000 (18:42 +0200)]
Fix a typo.

From-SVN: r53739

22 years agot-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
J"orn Rennecke [Wed, 22 May 2002 16:24:44 +0000 (16:24 +0000)]
t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.

* t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c.
(embed-bb.c): New rule.
* config/sh/embed_bb.c: Delete.

From-SVN: r53737

22 years agoadd initial newline
Jason Merrill [Wed, 22 May 2002 16:00:34 +0000 (12:00 -0400)]
add initial newline

From-SVN: r53736

22 years ago* config/h8300/h8300.md (*andorqi3): New.
Kazu Hirata [Wed, 22 May 2002 11:21:31 +0000 (11:21 +0000)]
* config/h8300/h8300.md (*andorqi3): New.

From-SVN: r53732

22 years agoDaily bump.
GCC Administrator [Wed, 22 May 2002 07:19:32 +0000 (07:19 +0000)]
Daily bump.

From-SVN: r53730

22 years agore PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")
Neil Booth [Wed, 22 May 2002 05:40:22 +0000 (05:40 +0000)]
re PR preprocessor/6517 (gcc hangs on C compile with multiple "-I-")

PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.

From-SVN: r53724

22 years agoregen: Use c_fix = format instead of sed
Bruce Korb [Wed, 22 May 2002 03:04:28 +0000 (03:04 +0000)]
regen:  Use c_fix = format instead of sed

From-SVN: r53722

22 years agoUse c_fix = format instead of sed
Bruce Korb [Wed, 22 May 2002 02:59:19 +0000 (02:59 +0000)]
Use c_fix = format instead of sed

From-SVN: r53721

22 years agoadd fix check
Bruce Korb [Wed, 22 May 2002 02:55:06 +0000 (02:55 +0000)]
add fix check

From-SVN: r53720

22 years agodescribe how to fix up the results after adding/changing an inclhack.
Bruce Korb [Wed, 22 May 2002 02:38:27 +0000 (02:38 +0000)]
describe how to fix up the results after adding/changing an inclhack.

From-SVN: r53719

22 years agooptabs.c (expand_binop): For double-word integer multiplies...
Jeff Law [Wed, 22 May 2002 01:54:40 +0000 (19:54 -0600)]
optabs.c (expand_binop): For double-word integer multiplies...

       * optabs.c (expand_binop): For double-word integer multiplies,
        do not compute intermediate results into something that is
        not a register (such as a SUBREG or MEM).

From-SVN: r53718

22 years agocfgbuild.c: Fix formatting.
Kazu Hirata [Wed, 22 May 2002 01:27:34 +0000 (01:27 +0000)]
cfgbuild.c: Fix formatting.

* cfgbuild.c: Fix formatting.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgloop.c: Likewise.
* cfgrtl.c: Likewise.

From-SVN: r53717

22 years agotls.exp, [...]: New directory and files.
Richard Henderson [Wed, 22 May 2002 01:12:13 +0000 (18:12 -0700)]
tls.exp, [...]: New directory and files.

        * gcc.dg/tls/tls.exp, gcc.dg/tls/trivial.c, gcc.dg/tls/diag-1.c,
        gcc.dg/tls/diag-2.c, gcc.dg/tls/init-1.c: New directory and files.

From-SVN: r53716

22 years agoc-common.h (enum rid): Add RID_THREAD.
Richard Henderson [Wed, 22 May 2002 01:11:29 +0000 (18:11 -0700)]
c-common.h (enum rid): Add RID_THREAD.

        * c-common.h (enum rid): Add RID_THREAD.
        * c-decl.c (start_decl): Do not set DECL_COMMON for tls variables.
        (grokdeclarator): Grok __thread.
        * c-parse.in (reswords): Add __thread.
        (rid_to_yy): Add RID_THREAD.
        * cp/lex.c (rid_to_yy): Add RID_THREAD.

        * tree.h (DECL_THREAD_LOCAL): New.
        (struct tree_decl): Add thread_local_flag.
        * print-tree.c (print_node): Dump DECL_THREAD_LOCAL.
        * tree.c (staticp): TLS variables are not static.

        * target-def.h (TARGET_HAVE_TLS): New.
        * target.h (have_tls): New.
        * output.h (SECTION_TLS): New.
        * varasm.c (assemble_variable): TLS variables can't be common for now.
        (default_section_type_flags): Handle .tdata and .tbss.
        (default_elf_asm_named_section): Handle SECTION_TLS.
        (categorize_decl_for_section): Handle DECL_THREAD_LOCAL.

        * flags.h (flag_tls_default): Declare.
        * toplev.c (flag_tls_default): Define.
        (display_help): Display help for it.
        (decode_f_option): Set it.

        * doc/extend.texi (Thread-Local): New node describing language-level
        thread-local storage.
        * doc/invoke.texi (-ftls-model): Document.

        * fixinc/inclhack.def (thread_keyword): New.
        * fixinc/fixincl.x: Rebuild.

From-SVN: r53715

22 years agoMore verbose changelog entry.
Zdenek Dvorak [Wed, 22 May 2002 00:10:33 +0000 (00:10 +0000)]
More verbose changelog entry.

From-SVN: r53714

22 years agoi386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
Jeff Law [Tue, 21 May 2002 23:51:59 +0000 (17:51 -0600)]
i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.

        * i386.c (ix86_sched_reorder_ppro): Fix typo/thinko.
        (ix86_sched_reorder): Make sure to initialize scheduling
        data even when there's only one insn in the ready queue.

From-SVN: r53713

22 years agogenautomata.c (reserv_sets_hash_value): Fix a typo.
Vladimir Makarov [Tue, 21 May 2002 23:27:04 +0000 (23:27 +0000)]
genautomata.c (reserv_sets_hash_value): Fix a typo.

2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Fix a typo.

From-SVN: r53710

22 years agogenautomata.c (reserv_sets_hash_value): Define hash_value as set_el_t.
Vladimir Makarov [Tue, 21 May 2002 23:11:57 +0000 (23:11 +0000)]
genautomata.c (reserv_sets_hash_value): Define hash_value as set_el_t.

2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (reserv_sets_hash_value): Define hash_value as
set_el_t.  Transform the hash value into unsigned.
(output_cycle_reservs): Fix bug with output of repeated `nothing'.
(transform_3): Add code to process `(A,B)+(D,E)'.

From-SVN: r53709

22 years agoreload1.c (do_output_reload): Run delete_output_reload only if optimizing.
NIIBE Yutaka [Tue, 21 May 2002 22:40:53 +0000 (22:40 +0000)]
reload1.c (do_output_reload): Run delete_output_reload only if optimizing.

        * reload1.c (do_output_reload): Run delete_output_reload
        only if optimizing.

From-SVN: r53707

22 years agore PR middle-end/6600 (i960 toolchain hits abort in c_readstr)
Roger Sayle [Tue, 21 May 2002 22:38:00 +0000 (22:38 +0000)]
re PR middle-end/6600 (i960 toolchain hits abort in c_readstr)

PR middle-end/6600
* expr.c (STORE_MAX_PIECES): New macro to avoid immediate constants
larger than INTEGER_CST.  (store_by_pieces_1): Use it here...
(can_store_by_pieces): ... and here to limit the largest mode used.
Add a comment to document this function.

From-SVN: r53706

22 years ago* flow.c (life_analysis): Fix test for deleted label.
Richard Henderson [Tue, 21 May 2002 22:35:04 +0000 (15:35 -0700)]
* flow.c (life_analysis): Fix test for deleted label.

From-SVN: r53705

22 years ago* doc/tm.texi: Fix typo.
Neil Booth [Tue, 21 May 2002 22:26:18 +0000 (22:26 +0000)]
* doc/tm.texi: Fix typo.

From-SVN: r53704

22 years agoc-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.
Zack Weinberg [Tue, 21 May 2002 21:55:37 +0000 (21:55 +0000)]
c-common.c (c_common_init): Set options->unsigned_char from flag_signed_char.

* c-common.c (c_common_init): Set options->unsigned_char from
flag_signed_char.
(cb_register_builtins): Define __STRICT_ANSI__ and
__CHAR_UNSIGNED__ here...
* cppinit.c (init_builtins): Not here.
(cpp_create_reader): unsigned_char option defaults to 0, not
!DEFAULT_SIGNED_CHAR.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Lose -fsigned-char
and -funsigned-char.

* cpphash.h (struct spec_nodes): Kill n__STRICT_ANSI__.
* cpphash.c (_cpp_init_hashtable): Don't set it.
* cppmacro.c (builtin_macro) [BT_STDC]: Use the language setting
directly.  Clarify comment.

From-SVN: r53703

22 years agostl_pair.h: Tweak comment markup.
Phil Edwards [Tue, 21 May 2002 21:09:11 +0000 (21:09 +0000)]
stl_pair.h: Tweak comment markup.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_pair.h:  Tweak comment markup.

From-SVN: r53700

22 years agostdio_filebuf.h: Add header guards.
Phil Edwards [Tue, 21 May 2002 20:53:36 +0000 (20:53 +0000)]
stdio_filebuf.h: Add header guards.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/ext/stdio_filebuf.h:  Add header guards.  Doxygenate.

From-SVN: r53699

22 years agouser.cfg.in (EXCLUDE): Add 'CVS'.
Phil Edwards [Tue, 21 May 2002 20:45:00 +0000 (20:45 +0000)]
user.cfg.in (EXCLUDE): Add 'CVS'.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/user.cfg.in (EXCLUDE):  Add 'CVS'.

From-SVN: r53698

22 years agoChangelog entry for my commit.
Zdenek Dvorak [Tue, 21 May 2002 20:41:32 +0000 (20:41 +0000)]
Changelog entry for my commit.

From-SVN: r53697

22 years agostl_vector.h: Reformat to follow C++STYLE.
Phil Edwards [Tue, 21 May 2002 20:41:06 +0000 (20:41 +0000)]
stl_vector.h: Reformat to follow C++STYLE.

2002-05-21  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_vector.h:  Reformat to follow C++STYLE.
Doxygenate all public members.  Reorder to follow 14882.
(vector::push_back(void)):  Remove previously-deprecated fn.
(vector::insert(iterator), vector::_M_insert_aux(iterator)):
Deprecate for removal in 3.3.

From-SVN: r53696

22 years agobb-reorder.c (make_reorder_chain_1): Modified.
Zdenek Dvorak [Tue, 21 May 2002 20:37:43 +0000 (20:37 +0000)]
bb-reorder.c (make_reorder_chain_1): Modified.

* bb-reorder.c (make_reorder_chain_1): Modified.
* cfganal.c (can_fallthru, flow_call_edges_add,
flow_preorder_transversal_compute): Modified.
* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
find_sub_basic_blocks): Modified.
* cfgcleanup.c (try_simplify_condjump, try_optimize_cfg): Modified.
* cfglayout.c (skip_insns_after_block, fixup_reorder_chain,
fixup_fallthru_exit_predecessor, cfg_layout_redirect_edge): Modified.
* cfgrtl.c (tidy_fallthru_edges, verify_flow_info): Modified.
* combine.c (this_basic_block): Type changed to basic_block.
(combine_instructions, set_nonzero_bits_and_sign_copies, try_combine,
nonzero_bits, num_sign_bit_copies, get_last_value_validate,
get_last_value, distribute_notes, distribute_links): Modified.
* final.c (compute_alignments): Modified.
* flow.c (regno_uninitialized, regno_clobbered_at_setjmp): Modified.
* function.c (thread_prologue_and_epilogue_insns): Modified.
* gcse.c (compute_code_hoist_vbeinout): Modified.
* global.c (build_insn_chain): Modified.
* ifcvt.c (find_if_block, find_cond_trap): Modified.
* predict.c (last_basic_block_p, note_prediction_to_br_prob): Modified.
* regmove.c (regmove_optimize): Modified.
* resource.c (find_basic_block): Modified.
* sched-ebb.c (schedule_ebbs): Modified.
* ssa-dce.c (find_control_dependence, find_pdom): Modified.

From-SVN: r53695

22 years ago* cppinit.c (sanity_checks): Avoid printf mismatch warnings.
Andreas Jaeger [Tue, 21 May 2002 20:09:00 +0000 (22:09 +0200)]
* cppinit.c (sanity_checks): Avoid printf mismatch warnings.

From-SVN: r53694

22 years agoreg-stack.c (swap_rtx_condition, [...]): Use unspec names, not numbers.
Richard Henderson [Tue, 21 May 2002 19:57:39 +0000 (12:57 -0700)]
reg-stack.c (swap_rtx_condition, [...]): Use unspec names, not numbers.

        * reg-stack.c (swap_rtx_condition, subst_stack_regs_pat): Use
        unspec names, not numbers.

From-SVN: r53693

22 years ago* g++.dg/other/copy2.C: New test.
Brian R. Gaeke [Tue, 21 May 2002 17:26:50 +0000 (17:26 +0000)]
* g++.dg/other/copy2.C: New test.

From-SVN: r53692

22 years agoinit.c (build_vec_init): Test for trivial copy-assignment when copy-assigning arrays.
Alexandre Oliva [Tue, 21 May 2002 17:26:18 +0000 (17:26 +0000)]
init.c (build_vec_init): Test for trivial copy-assignment when copy-assigning arrays.

* init.c (build_vec_init): Test for trivial copy-assignment when
copy-assigning arrays.

From-SVN: r53691

22 years agosourcebuild.texi: Mention snapshot-README and snapshot-index.html as needing updating...
Joseph Myers [Tue, 21 May 2002 16:51:05 +0000 (17:51 +0100)]
sourcebuild.texi: Mention snapshot-README and snapshot-index.html as needing updating for new...

* doc/sourcebuild.texi: Mention snapshot-README and
snapshot-index.html as needing updating for new front ends.

From-SVN: r53690

22 years ago* gcc_release: Do upload files when local.
Joseph Myers [Tue, 21 May 2002 16:36:11 +0000 (17:36 +0100)]
* gcc_release: Do upload files when local.

From-SVN: r53689

22 years ago* snapshot-README, snapshot-index.html: Remove chill.
Joseph Myers [Tue, 21 May 2002 16:34:01 +0000 (17:34 +0100)]
* snapshot-README, snapshot-index.html: Remove chill.

From-SVN: r53688

22 years agortl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and...
Kaveh R. Ghazi [Tue, 21 May 2002 15:39:31 +0000 (15:39 +0000)]
rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when disabling checking, and avoid multiple evaluation of RTX.

* rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): Avoid warnings when
disabling checking, and avoid multiple evaluation of RTX.

From-SVN: r53687

22 years agobitmap.c (bitmap_find_bit): Return early if we have the correct element cached.
Richard Earnshaw [Tue, 21 May 2002 14:46:01 +0000 (14:46 +0000)]
bitmap.c (bitmap_find_bit): Return early if we have the correct element cached.

* bitmap.c (bitmap_find_bit): Return early if we have the correct
element cached.

From-SVN: r53686

22 years agoprofile.c (gen_edge_profiler): Set alias set before the memory is used.
Jan Hubicka [Tue, 21 May 2002 08:54:21 +0000 (10:54 +0200)]
profile.c (gen_edge_profiler): Set alias set before the memory is used.

* profile.c (gen_edge_profiler):  Set alias set before the memory is
used.

From-SVN: r53685

22 years agocselib.c (max_value_regs): New.
David S. Miller [Tue, 21 May 2002 07:55:22 +0000 (00:55 -0700)]
cselib.c (max_value_regs): New.

2002-05-20  David S. Miller  <davem@redhat.com>

* cselib.c (max_value_regs): New.
(cselib_lookup, cselib_invalidate_regno): Initialize it when
adding new entries to the REG_VALUES table and we are dealing with
a hard register.
(clear_table): Initialize it.
(cselib_invalidate_regno): Use it to determine which hard
registers to scan when mode is not VOIDmode.

From-SVN: r53684

22 years agoDaily bump.
GCC Administrator [Tue, 21 May 2002 07:21:41 +0000 (07:21 +0000)]
Daily bump.

From-SVN: r53683

22 years agotradcpp.c (fixup_newlines): Use old-style function header.
Duraid Madina [Tue, 21 May 2002 06:36:40 +0000 (06:36 +0000)]
tradcpp.c (fixup_newlines): Use old-style function header.

2002-05-20  Duraid Madina   <duraid@fl.net.au>

* tradcpp.c (fixup_newlines): Use old-style function header.

From-SVN: r53677

22 years ago* reload1.c (reload_cse_simplify): Fix typo in rtx code check.
Krister Walfridsson [Tue, 21 May 2002 00:18:23 +0000 (02:18 +0200)]
* reload1.c (reload_cse_simplify): Fix typo in rtx code check.

From-SVN: r53675

22 years agoBase on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
H.J. Lu [Mon, 20 May 2002 22:43:31 +0000 (22:43 +0000)]
Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

2002-05-20  H.J. Lu  (hjl@gnu.org)

Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:

* config/mips/mips.h (DFMODE_NAN): Defined.
(SFMODE_NAN): Likewise.

From-SVN: r53674

22 years agoBack out my previous patch; causes bootstrap problem for Ada (86 Linux)
Dale Johannesen [Mon, 20 May 2002 18:20:45 +0000 (18:20 +0000)]
Back out my previous patch; causes bootstrap problem for Ada (86 Linux)

From-SVN: r53671

22 years agoparams.c: Fix formatting.
Kazu Hirata [Mon, 20 May 2002 18:06:55 +0000 (18:06 +0000)]
params.c: Fix formatting.

* params.c: Fix formatting.
* params.h: Likewise.
* predict.c: Likewise.
* prefix.c: Likewise.
* print-rtl.c: Likewise.
* print-tree.c: Likewise.
* profile.c: Likewise.

From-SVN: r53670

22 years agoindex.html (5.4): Recommend against -I options for finding the ext headers.
Phil Edwards [Mon, 20 May 2002 17:55:14 +0000 (17:55 +0000)]
index.html (5.4): Recommend against -I options for finding the ext headers.

2002-05-20  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html (5.4):  Recommend against -I options for
finding the ext headers.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r53669

22 years agolinux.h (SDB_DEBUGGING_INFO): Undefine.
H.J. Lu [Mon, 20 May 2002 17:11:53 +0000 (17:11 +0000)]
linux.h (SDB_DEBUGGING_INFO): Undefine.

2002-05-20  H.J. Lu  (hjl@gnu.org)

* gcc/config/mips/linux.h (SDB_DEBUGGING_INFO): Undefine.

From-SVN: r53668

22 years agoarm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assemble...
Nick Clifton [Mon, 20 May 2002 17:07:04 +0000 (17:07 +0000)]
arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march switches straight on to the assembler, do not abbreviate them.

    * config/arm/arm-wince-pe.h (ASM_SPEC): Pass -mcpu and -march
    switches straight on to the assembler, do not abbreviate them.
    * config/arm/elf.h (ASM_SPEC): As above.
    * config/arm/semi.h (ASM_SPEC): As above.
    * config/arm/unknown-elf-oabi.h (ASM_SPEC): As above.
    * config/arm/xscale-coff.h (SUBTARGET_ASM_SPEC): Pass
    -mcpu=xscale on to the assembler by default.
    * config/arm/xscale-elf.h (SUBTARGET_ASM_SPEC): As above.

From-SVN: r53667

22 years agoMakefile.in (SHELL): Set to @SHELL@.
Kaveh R. Ghazi [Mon, 20 May 2002 17:05:51 +0000 (17:05 +0000)]
Makefile.in (SHELL): Set to @SHELL@.

* libF77/Makefile.in (SHELL): Set to @SHELL@.
* libI77/Makefile.in (SHELL): Likewise.
* libU77/Makefile.in (SHELL): Likewise.

From-SVN: r53666

22 years agocse.c (canon_hash): Reorder do_not_record test.
Richard Henderson [Mon, 20 May 2002 16:59:03 +0000 (09:59 -0700)]
cse.c (canon_hash): Reorder do_not_record test.

        * cse.c (canon_hash): Reorder do_not_record test.  Always
        allow pic_offset_table_rtx.

From-SVN: r53665

22 years agoMakefile.in (SHELL): Set to @SHELL@.
Kaveh R. Ghazi [Mon, 20 May 2002 16:35:19 +0000 (16:35 +0000)]
Makefile.in (SHELL): Set to @SHELL@.

* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).

From-SVN: r53662

22 years ago* init.c (build_default_init): Remove unused variable.
Andreas Jaeger [Mon, 20 May 2002 14:28:01 +0000 (16:28 +0200)]
* init.c (build_default_init): Remove unused variable.

From-SVN: r53660

22 years agoMakefile.in: Use @SHELL@, not /bin/sh for SHELL definition.
Toon Moene [Mon, 20 May 2002 13:51:34 +0000 (15:51 +0200)]
Makefile.in: Use @SHELL@, not /bin/sh for SHELL definition.

2002-05-20  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Use @SHELL@, not /bin/sh for SHELL
definition.

From-SVN: r53659

22 years agomemcpy-2.c (SEQUENCE_LENGTH): Define.
J"orn Rennecke [Mon, 20 May 2002 10:57:31 +0000 (10:57 +0000)]
memcpy-2.c (SEQUENCE_LENGTH): Define.

* gcc.c-torture/execute/memcpy-2.c (SEQUENCE_LENGTH): Define.
(MAX_COPY): Bump up to 10 times sizeof (long long).
(main): Use a pattern of SEQUENCE_LENGTH different characters to copy.

* gcc.c-torture/execute/memset-1.c (MAX_COPY): Bump up to 10 times
sizeof (long long).

* gcc.c-torture/execute/strcpy-1.c: New test.

From-SVN: r53658

22 years ago* g++.dg/ext/oper1.C: New test.
David Billinghurst [Mon, 20 May 2002 10:33:31 +0000 (10:33 +0000)]
* g++.dg/ext/oper1.C: New test.

From-SVN: r53657

22 years agocall.c (any_strictly_viable): New.
Alexandre Oliva [Mon, 20 May 2002 10:31:38 +0000 (10:31 +0000)]
call.c (any_strictly_viable): New.

* call.c (any_strictly_viable): New.
(build_new_op): Use it for COMPOUND_EXPR and ADDR_EXPRs.

From-SVN: r53656

22 years agooptabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
Toon Moene [Mon, 20 May 2002 08:30:03 +0000 (10:30 +0200)]
optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.

2002-05-19  Toon Moene  <toon@moene.indiv.nluug.nl>

* optabs.c (expand_cmplxdiv_wide): Use complex_part_zero_p.
(expand_binop): Ditto (3 times).

From-SVN: r53655

22 years agoMakefile.in (distclean): Remove QMTest stuff.
Mark Mitchell [Mon, 20 May 2002 07:22:30 +0000 (07:22 +0000)]
Makefile.in (distclean): Remove QMTest stuff.

* Makefile.in (distclean): Remove QMTest stuff.
(QMTEST_PATH): New variable.
(QMTESTFLAGS): Likewise.
(QMTESTRUNFLAGS): Likewise.
(QMTEST): Likewise.
(QMTEST_GPP_TESTS): Likewise.
(QMTEST_DIR): Likewise.
(QMTEST_DIR/context): New target.
(qmtest-g++): Likeise.
(qmtest-gui): Likewise.
(QMTEST_DIR/gpp-expected.qmr): Likewise.

* README.QMTEST: New file.

From-SVN: r53654

22 years agoDaily bump.
GCC Administrator [Mon, 20 May 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r53653

22 years ago* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.
Mark Mitchell [Mon, 20 May 2002 04:56:25 +0000 (04:56 +0000)]
* g++.dg/warn/Wshadow-1.C: Remove unncessary dg-error line.

From-SVN: r53648

22 years agors6000.h (FUNCTION_VALUE): Only return vectors in an altivec register if TARGET_ALTIVEC.
Aldy Hernandez [Mon, 20 May 2002 02:31:24 +0000 (02:31 +0000)]
rs6000.h (FUNCTION_VALUE): Only return vectors in an altivec register if TARGET_ALTIVEC.

2002-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (FUNCTION_VALUE): Only return vectors in
        an altivec register if TARGET_ALTIVEC.

        * config/rs600/rs6000.c (rs6000_emit_move): Change VECTOR_MODE_P
        to ALTIVEC_VECTOR_MODE.
        (rs6000_va_arg): Only vectors of type AltiVec are 16 byte aligned.
        (rs6000_va_arg): Vectors may go in registers if they are not
        altivec vectors.

From-SVN: r53645

22 years ago* protoize.c: Fix formatting.
Kazu Hirata [Mon, 20 May 2002 01:47:50 +0000 (01:47 +0000)]
* protoize.c: Fix formatting.

From-SVN: r53644

22 years agogensupport.c (init_include_reader): Merge into ...
Richard Henderson [Mon, 20 May 2002 01:17:14 +0000 (18:17 -0700)]
gensupport.c (init_include_reader): Merge into ...

        * gensupport.c (init_include_reader): Merge into ...
        (process_include): ... here.  Simplify composite path creation.
        Plug memory leaks.  Fix file/line number tracking.  Do not
        process_define_cond_exec.  Return void.
        (process_rtx): Don't check process_include return value.

From-SVN: r53643

22 years agobasic_block.h (struct basic_block_def): Added prev_bb and next_bb fields.
Zdenek Dvorak [Sun, 19 May 2002 22:25:49 +0000 (00:25 +0200)]
basic_block.h (struct basic_block_def): Added prev_bb and next_bb fields.

* basic_block.h (struct basic_block_def): Added prev_bb and next_bb
fields.
(FOR_BB_BETWEEN, FOR_ALL_BB, FOR_ALL_BB_REVERSE): New macros for
traversing basic block chain.
(create_basic_block_structure, create_basic_block): Declaration changed.
(link_block, unlink_block): Declare.
* cfg.c (entry_exit_blocks): Initialize new fields.
(link_block, unlink_block): New.
(expunge_block_nocompact): Unlink basic block.
(dump_flow_info): Print prev_bb/next_bb fields.
* cfgbuild.c (find_basic_blocks_1, find_basic_blocks): Modified.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Modified.
* cfglayout.c (fixup_reorder_chain, cfg_layout_duplicate_bb): Modified.
* cfgrtl.c (create_basic_block_structure, create_basic_block,
split_block, force_nonfallthru_and_redirect, split_edge): Modified.
(verify_flow_info): Check that list agrees with numbering.

From-SVN: r53642

22 years agoc-common.c (preprocessing_asm): New macro.
Neil Booth [Sun, 19 May 2002 21:53:53 +0000 (21:53 +0000)]
c-common.c (preprocessing_asm): New macro.

* c-common.c (preprocessing_asm): New macro.
* c-lex.h (builtin_define, builtin_assert): Use pfile.
doc:
* tm.texi: Update.
config/alpha:
* alpha.h (CPLUSPLUS_CPP_SPEC): Remove.
(CPP_SPEC): Simplify.
(TARGET_CPU_CPP_BUILTINS): Update.
* freebsd.h (TARGET_OS_CPP_BUILTINS): New.
(CPP_SPEC): Simplify.
* linux.h (CPLUSPLUS_CPP_SPEC): Remove.
(TARGET_OS_CPP_BUILTINS): Update.
* osf.h (CPP_XFLOAT_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.
(CPP_SUBTARGET_SPEC, SUBTARGET_EXTRA_SPECS): Simplify.
* osf5.h (CPP_XFLOAT_SPEC): Kill.
* vms.h (CPP_SUBTARGET_SPEC): Kill.
(TARGET_OS_CPP_BUILTINS): Update.

From-SVN: r53641

22 years agoloop-2c.x: Remove, the test should pass now.
Andreas Jaeger [Sun, 19 May 2002 20:59:48 +0000 (22:59 +0200)]
loop-2c.x: Remove, the test should pass now.

* gcc.c-torture/execute/loop-2c.x: Remove, the test should pass
now.
* gcc.c-torture/execute/loop-2d.x: Likewise.

From-SVN: r53640

22 years ago* varasm.c (default_binds_local_p): Fix typo.
Richard Henderson [Sun, 19 May 2002 20:17:50 +0000 (13:17 -0700)]
* varasm.c (default_binds_local_p): Fix typo.

From-SVN: r53639

22 years agoavr.c (machine_dependent_reorg): Sign extend the CONST_INT operand to the correct...
Marek Michalkiewicz [Sun, 19 May 2002 20:08:12 +0000 (22:08 +0200)]
avr.c (machine_dependent_reorg): Sign extend the CONST_INT operand to the correct mode after adding 1 to it.

* config/avr/avr.c (machine_dependent_reorg): Sign extend the
CONST_INT operand to the correct mode after adding 1 to it.

From-SVN: r53638

22 years agoirix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
Mark Mitchell [Sun, 19 May 2002 17:36:14 +0000 (17:36 +0000)]
irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.

* irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.
(GC_pthread_create): Fix typo.
(GC_TRY_LOCK): Likewise.
* include/private/gc_locks.h (GC_test_and_set): Only take one
one argument.
(LOCK): Adjust appropriately.
* include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if
_SIGRTMIN is unavailable.

From-SVN: r53636

22 years ago* config.gcc (powerpc-wrs-windiss*): New target.
Mark Mitchell [Sun, 19 May 2002 17:17:34 +0000 (17:17 +0000)]
* config.gcc (powerpc-wrs-windiss*): New target.

From-SVN: r53635