OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * gcc.dg/20040910-1.c: Correct dg-error regexp.
zack [Sat, 11 Sep 2004 21:17:23 +0000 (21:17 +0000)]
* gcc.dg/20040910-1.c: Correct dg-error regexp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87373 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.c (tree_code_size): New function, bulk of code from tree_size.
zack [Sat, 11 Sep 2004 21:14:39 +0000 (21:14 +0000)]
* tree.c (tree_code_size): New function, bulk of code from tree_size.
(tree_size, make_node): Use it.
* tree-ssa-pre.c (init_pre): Use it.
* tree.h: Prototype it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87371 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-11 Andrew Pinski <apinski@apple.com>
pinskia [Sat, 11 Sep 2004 20:48:55 +0000 (20:48 +0000)]
2004-09-11  Andrew Pinski  <apinski@apple.com>

        * Make-lang.in (java/ggc-none.c): Change dependency
        for ggc.h into $(GGC_H).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87370 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-cfg.c (set_bb_for_stmt): Use PHI_BB.
rakdver [Sat, 11 Sep 2004 20:42:06 +0000 (20:42 +0000)]
* tree-cfg.c (set_bb_for_stmt): Use PHI_BB.
* tree-dfa.c (compute_immediate_uses, add_immediate_use,
redirect_immediate_use): Use PHI_DF.
* tree-flow-inline.h (stmt_ann): Abort on phi nodes.
(bb_for_stmt): Use PHI_BB.
(get_immediate_uses): Use PHI_DF.
* tree-ssa-dse.c (max_stmt_uid): New variable.
(get_stmt_uid): New function.
(dse_optimize_stmt, dse_record_phis, tree_ssa_dse): Do not use phi
node annotations.
* tree-ssa-loop-im.c (LIM_DATA): Do not use phi statement annotations.
(max_uid): Renamed to max_stmt_uid.
(get_stmt_uid): New function.
(maybe_queue_var, single_reachable_address, determine_lsm): Do not use
phi node annotations.
* tree-ssa.c (replace_immediate_uses): Do not use phi node annotations.
* tree.h (PHI_BB, PHI_DF): New accessor functions.
(struct tree_phi_node): Add bb and df fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87369 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/17416
rth [Sat, 11 Sep 2004 20:07:11 +0000 (20:07 +0000)]
    PR middle-end/17416
        * cfgexpand.c (expand_used_vars_for_block): Fix off-by-one bug
        in conflict loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87366 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * i386.h (MODE_NEEDED): Calls need UNINITIALIZED mode; add comment.
hubicka [Sat, 11 Sep 2004 19:54:21 +0000 (19:54 +0000)]
* i386.h (MODE_NEEDED): Calls need UNINITIALIZED mode; add comment.
(EMIT_MODE_SET): UNINITIALIZED mode needs no set.
* i386.md (i387_cw): Add 'uninitialized' mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87365 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * profile.c (BB_TO_GCOV_INDEX): move more to the front.
hubicka [Sat, 11 Sep 2004 19:50:21 +0000 (19:50 +0000)]
* profile.c (BB_TO_GCOV_INDEX): move more to the front.
(output_location): Break out from ....
(branch_prob): ... here; handle gcov output on trees.
* toplev.c (process_options): No longer be sorry about coverage for
trees.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87364 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/17412
steven [Sat, 11 Sep 2004 19:48:58 +0000 (19:48 +0000)]
PR c++/17412
* fold-const.c (fold): Do not try to fold the operand of a
CLEANUP_POINT_EXPR if that operand does itself not have any
operands.
testsuite/
* g++.dg/parse/break-in-for.C: New test.

PR middle-end/17417
* langhooks.c (lhd_decl_printable_name): Make sure that this
function is called with is a decl node that has an identifier.
* tree-pretty-print.c (dump_function_name): New function to
wrap PRINT_FUNCTION_NAME and dump_decl_name.
(print_call_name): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87363 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR libgcj/14751
membar [Sat, 11 Sep 2004 19:13:51 +0000 (19:13 +0000)]
PR libgcj/14751
* win32-threads.cc (_Jv_ThreadInitData): Zero out thread
handle in newly-allocated _Jv_Thread_t.
(_Jv_ThreadDestroyData): Close thread handle.
(_Jv_ThreadStart): Remove obsolete comment.
Store handle of newly-created thread in _Jv_Thread_t.
* include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
before including <windows.h>
#define _Jv_HaveCondDestroy

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87362 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/lang/natThread.cc (finalize_native): Destroy
membar [Sat, 11 Sep 2004 19:10:44 +0000 (19:10 +0000)]
* java/lang/natThread.cc (finalize_native): Destroy
join conditional variable and mutex if these destroy
operations are supported.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87361 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (java/win32-host.o): Add dependency on
membar [Sat, 11 Sep 2004 19:08:05 +0000 (19:08 +0000)]
* Make-lang.in (java/win32-host.o): Add dependency on
coretypes.h.
* win32-host.c: Add includes for coretypes.h, jcf.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87360 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (GCJH_OBJS): Change dependency from
membar [Sat, 11 Sep 2004 19:05:32 +0000 (19:05 +0000)]
* Make-lang.in (GCJH_OBJS): Change dependency from
ggc-none.o to java/ggc-none.o
(JCFDUMP_OBJS): Likewise.
(java/ggc-none.o): New target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87359 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE,
membar [Sat, 11 Sep 2004 19:03:23 +0000 (19:03 +0000)]
* ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE,
"config.h" if not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87358 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-alias.c (collect_points_to_info_r): Handle
jakub [Sat, 11 Sep 2004 18:57:06 +0000 (18:57 +0000)]
* tree-ssa-alias.c (collect_points_to_info_r): Handle
pointing to PTR + OFFSET as PTR, not as pointing to PTR or pointing
to OFFSET.

* gcc.dg/tree-ssa/20040911-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87357 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots.
gerald [Sat, 11 Sep 2004 18:53:55 +0000 (18:53 +0000)]
* crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87356 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr.
rth [Sat, 11 Sep 2004 17:48:22 +0000 (17:48 +0000)]
    * expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr.
        (expand_expr_addr_expr): New function.  Take ADDR_EXPR instead of the
        operand of the ADDR_EXPR.
        (expand_expr_real_1): Update to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87355 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd PR target/17277 to ChangeLog entry.
dje [Sat, 11 Sep 2004 17:11:02 +0000 (17:11 +0000)]
Add PR target/17277 to ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87354 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to
dje [Sat, 11 Sep 2004 17:06:16 +0000 (17:06 +0000)]
    * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to
        choose 64-bit version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87352 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/17396
rth [Sat, 11 Sep 2004 17:02:58 +0000 (17:02 +0000)]
    PR c/17396
        * c-typeck.c (build_unary_op): Add legacy offsetof hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87351 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.c-torture/execute/991118-1.x: Delete, PR 16437 is fixed.
aj [Sat, 11 Sep 2004 11:10:46 +0000 (11:10 +0000)]
* gcc.c-torture/execute/991118-1.x: Delete, PR 16437 is fixed.
* gcc.c-torture/execute/bf64-1.x: Remove XFAIL on x86-64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87350 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/cfg.texi, doc/hostconfig.texi, doc/install.texi,
kazu [Sat, 11 Sep 2004 08:34:26 +0000 (08:34 +0000)]
* doc/cfg.texi, doc/hostconfig.texi, doc/install.texi,
doc/invoke.texi, doc/md.texi, doc/tm.texi, doc/tree-ssa.texi:
Insert @: after i.e. or e.g.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87346 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.target/frv: New directory of FR-V-specific tests.
rsandifo [Sat, 11 Sep 2004 06:45:44 +0000 (06:45 +0000)]
* gcc.target/frv: New directory of FR-V-specific tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87345 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-pretty-print.c (dump_decl_name): Print unnamed decls as
geoffk [Sat, 11 Sep 2004 05:03:14 +0000 (05:03 +0000)]
* tree-pretty-print.c (dump_decl_name): Print unnamed decls as
D.xxx rather than <Dxxx>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87344 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.ac (AC_MSG_CHECKING(what linker to use)):
nemet [Sat, 11 Sep 2004 04:26:36 +0000 (04:26 +0000)]
* configure.ac (AC_MSG_CHECKING(what linker to use)):
in_tree_ld_is_elf should be true for LynxOS.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87343 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in (all.cross): Add srcextra.
nemet [Sat, 11 Sep 2004 04:22:14 +0000 (04:22 +0000)]
* Makefile.in (all.cross): Add srcextra.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87342 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix typos.
wilson [Sat, 11 Sep 2004 03:52:22 +0000 (03:52 +0000)]
Fix typos.
* Makefile.in (LIBGCC_DEPS): Delete duplicate stmp-int-hdrs reference.
(stmp-fixproto): Change stmp-int-headers to stmp-int-hdrs in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87341 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix excess errors problem for invalid vector testcase.
wilson [Sat, 11 Sep 2004 03:29:07 +0000 (03:29 +0000)]
Fix excess errors problem for invalid vector testcase.
* convert.c (convert_to_vector): Replace recursive call with
error_mark_node.
* gcc.dg/convert-vec-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87340 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/17024
sayle [Sat, 11 Sep 2004 03:21:22 +0000 (03:21 +0000)]
PR middle-end/17024
* fold-const.c (fold_cond_expr_with_comparison): Handle unordered
floating point comparison operators.  Change aborts to gcc_asserts.

* gcc.dg/pr17024-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87339 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (output_asm_insn): Correct problem with -fverbose-asm.
geoffk [Sat, 11 Sep 2004 01:54:14 +0000 (01:54 +0000)]
* final.c (output_asm_insn): Correct problem with -fverbose-asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87338 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd CONST1_RTX (vector mode) support.
wilson [Sat, 11 Sep 2004 01:49:40 +0000 (01:49 +0000)]
Add CONST1_RTX (vector mode) support.
* emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0.
Add integer argument named constant.  Use const_tiny_rtx instead of
CONST0_RTX.
(gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX
and CONST1_RTX.
(init_emit_once): Fix users of gen_const_vector.  Set CONST1_RTX for
vector types.
* expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead
of gen_rtx_raw_CONST_VECTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87337 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
geoffk [Sat, 11 Sep 2004 00:25:00 +0000 (00:25 +0000)]
* gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless
temporary variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87335 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 11 Sep 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87333 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Eric Christopher <echristo@redhat.com>
echristo [Sat, 11 Sep 2004 00:00:31 +0000 (00:00 +0000)]
2004-09-10  Eric Christopher  <echristo@redhat.com>

PR c/16046
* c-parse.in (attribute): Add NULL_TREE for error case
for error recovery.

2004-09-10  Eric Christopher  <echristo@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87330 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
zack [Fri, 10 Sep 2004 23:56:31 +0000 (23:56 +0000)]
* c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
(extract_interface_info): Delete prototype.
* c-decl.c (extract_interface_info): Delete stub.
* c-lex.c (get_fileinfo): Initialize file_info_tree here, if
it's not already been done ...
(init_c_lex): ... not here.
(fe_file_change): Don't call extract_interface_info.
cp:
* cp-tree.h (interface_only, interface_unknown): Delete declarations;
comment explaining them moved to c-common.h.
* lex.c (interface_only, interface_unknown, extract_interface_info):
Delete definitions.
(cxx_finish): Don't reset interface_unknown.
(handle_pragma_interface): Don't set interface_only and
interface_unknown; just the like-named fields in finfo.
(handle_pragma_implementation): Adjust comment.
* decl2.c (cp_finish_file): Don't reset interface_only and
interface_unknown.
* method.c (synthesize_method): Don't reset interface_unknown or
call extract_interface_info.
* pt.c (pop_tinst_level): Don't call extract_interface_info.
* decl.c (start_cleanup_fn): Don't save or restore interface_only
and interface_unknown.
(make_rtl_for_nonlocal_decl): Call get_fileinfo on input_filename
and use the result instead of the interface_only/interface_unknown
globals.
(start_preparsed_function): Likewise.
* lex.c (cxx_make_type): Likewise.
* semantics.c (begin_class_definition): Likewise.
(expand_body): Don't call extract_interface_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87329 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-tree.h (struct c_declspecs): Remove typedef_decl. Add
jsm28 [Fri, 10 Sep 2004 23:10:05 +0000 (23:10 +0000)]
* c-tree.h (struct c_declspecs): Remove typedef_decl.  Add
typedef_p and typedef_signed_p.
* c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl.
(grokdeclarator): Don't use typedef_decl for warn_deprecated_use.
Check typedef_p and typedef_signed_p, not typedef_decl.
(grokfield): Check typedef_p, not typedef_decl.
(build_null_declspecs): Initialize typedef_p and typedef_signed_p,
not typedef_decl.
(declspecs_add_type): Set typedef_p and typedef_signed_p, not
typedef_decl.

testsuite:
* gcc.dg/bitfld-9.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87326 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/tm.texi, doc/tree-ssa.texi: Fix typos.
kazu [Fri, 10 Sep 2004 22:16:40 +0000 (22:16 +0000)]
* doc/tm.texi, doc/tree-ssa.texi: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87324 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago[gcc/cp/ChangeLog]
zlaski [Fri, 10 Sep 2004 22:11:48 +0000 (22:11 +0000)]
[gcc/cp/ChangeLog]
2004-09-10  Ziemowit Laski  <zlaski@apple.com>

        * decl.c (objc_mark_locals_volatile): Make description of
        routine more descriptive; only mark VAR_DECLs at each
        binding level.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87323 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/17386
rth [Fri, 10 Sep 2004 21:42:00 +0000 (21:42 +0000)]
    PR c++/17386
        * call.c (build_vfield_ref): Move...
        * class.c (build_vfield_ref): ... here.  Convert datum to the
        primary base containing the vptr.
        (make_new_vtable): Simplify build_primary_vtable arguments.
        (finish_struct_1): Do not duplicate TYPE_VFIELD.
        * typeck.c (build_class_member_access_expr): Don't warn for
        null object access to base fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87322 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago[gcc/cp/ChangeLog]
zlaski [Fri, 10 Sep 2004 20:47:34 +0000 (20:47 +0000)]
[gcc/cp/ChangeLog]
2004-09-10  Ziemowit Laski  <zlaski@apple.com>

        * decl.c (objc_get_current_scope, objc_mark_locals_volatile):
        New functions, to be called from ObjC++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87321 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dbxout.c (dbxout_block): Update for
geoffk [Fri, 10 Sep 2004 19:03:13 +0000 (19:03 +0000)]
* dbxout.c (dbxout_block): Update for
current_function_func_begin_label a string.
* dwarf2out.c (dwarf2out_begin_prologue): Likewise.
* except.c (dw2_output_call_site_table): Likewise.
* toplev.c (current_function_func_begin_label): Likewise.
* tree.h (current_function_func_begin_label): Likewise.
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87317 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (output_asm_insn): Use strtoul instead of atoi, save a
geoffk [Fri, 10 Sep 2004 19:01:04 +0000 (19:01 +0000)]
* final.c (output_asm_insn): Use strtoul instead of atoi, save a
loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87316 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/darwin.c: Include target.h.
geoffk [Fri, 10 Sep 2004 18:57:43 +0000 (18:57 +0000)]
* config/darwin.c: Include target.h.
(struct machopic_indirection): Make ptr_name a string.
(machopic_indirection_hash): Update for ptr_name a string.
(machopic_indirection_eq): Likewise.
(machopic_indirection_name): Likewise.
(machopic_output_indirection): Likewise.
(machopic_validate_stub_or_non_lazy_ptr): Update for ptr_name a
string.  Don't expect stub names to be in the identifier hash table.
Do call strip_name_encoding before looking up entry in ID hash table.
* config/t-darwin (darwin.o): Add target.h to dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87315 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead
geoffk [Fri, 10 Sep 2004 18:56:10 +0000 (18:56 +0000)]
* gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead
of fprintf for register names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87314 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * output.h (unlikely_section_label): Delete declaration.
geoffk [Fri, 10 Sep 2004 18:54:31 +0000 (18:54 +0000)]
* output.h (unlikely_section_label): Delete declaration.
(unlikely_text_section_name): Likewise.
* varasm.c (unlikely_section_label_printed): Make static.
(unlikely_section_label): Likewise.
(unlikely_text_section_name): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87313 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * rtl.def (REG): Add comment to describe third field.
geoffk [Fri, 10 Sep 2004 18:52:41 +0000 (18:52 +0000)]
* rtl.def (REG): Add comment to describe third field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87312 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFIx whitespace typo.
dj [Fri, 10 Sep 2004 17:49:49 +0000 (17:49 +0000)]
FIx whitespace typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87310 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Andrew Pinski <apinski@apple.com>
pinskia [Fri, 10 Sep 2004 17:26:54 +0000 (17:26 +0000)]
2004-09-10  Andrew Pinski  <apinski@apple.com>

        * config/darwin.c (machopic_mcount_stub_name): Call
        machopic_indirection_name instead of making the string
        ourselves.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87309 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Revert
dnovillo [Fri, 10 Sep 2004 16:52:45 +0000 (16:52 +0000)]
Revert

2004-09-08  Jie Zhang  <zhangjie@magima.com.cn>

    * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type
    memory tag is call clobbered, so are its aliases.
    (group_aliases): When two memory tags being grouped, if one is
    call clobbered, so are the other and its aliases.
    (add_may_alias): Remove call-clobbering stuff.
    (replace_may_alias): Likewise.
    (merge_pointed_to_info): Merge pt_global_mem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87306 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
kazu [Fri, 10 Sep 2004 15:09:39 +0000 (15:09 +0000)]
* bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c,
passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c,
tree-scalar-evolution.c, tree-ssa-copyrename.c,
tree-ssa-live.c, tree-ssa-live.h: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87302 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/frv/frv.md (UNSPEC_MASACCS, UNSPEC_MDASACCS): New constants.
rsandifo [Fri, 10 Sep 2004 14:14:30 +0000 (14:14 +0000)]
* config/frv/frv.md (UNSPEC_MASACCS, UNSPEC_MDASACCS): New constants.
(maddaccs, msubaccs, *maddacc): Turn operand 0 into a single ACC/ACCG
pair.  Remove match_dup from inputs.  Remove masaccs handling.
(mdaddaccs, mdsubaccs, *mdaddacc): Likewise a dual ACC/ACCG pair.
(masaccs, mdasaccs): Turn into define_insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87299 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * inclhack.def (lynx_void_int): Remove.
nemet [Fri, 10 Sep 2004 13:56:50 +0000 (13:56 +0000)]
* inclhack.def (lynx_void_int): Remove.
(lynxos_fcntl_proto): Remove.
(lynxos_no_warning_in_sys_time_h): New fix.
(lynxos_missing_putenv): New fix.
* fixincl.x: Regenerate.
* tests/base/fcntl.h: Remove.
* tests/base/sys/time.h: Update from test area.
* tests/base/curses.h: Likewise.
* tests/base/stdlib.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87298 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-tailcall.c (process_assignment): Only do accumulator transforms
rsandifo [Fri, 10 Sep 2004 12:00:33 +0000 (12:00 +0000)]
* tree-tailcall.c (process_assignment): Only do accumulator transforms
for floating-point types if flag_unsafe_math_optimizations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87297 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * MAINTAINERS: Add self as c++ and type-safe vector maintainer.
nathan [Fri, 10 Sep 2004 11:58:00 +0000 (11:58 +0000)]
* MAINTAINERS: Add self as c++ and type-safe vector maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87296 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/darwin.c, config/alpha/alpha.h, config/arm/arm.c,
kazu [Fri, 10 Sep 2004 11:55:21 +0000 (11:55 +0000)]
* config/darwin.c, config/alpha/alpha.h, config/arm/arm.c,
config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h,
config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md,
config/h8300/h8300.md, config/i386/gmm_malloc.h,
config/ia64/ia64.md, config/ip2k/libgcc.S,
config/mips/mips-ps-3d.md, config/mips/mips.c,
config/rs6000/rs6000.c, config/s390/s390.c,
config/sh/symbian.c: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87295 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Andreas Krebbel <krebbel1@de.ibm.com>
uweigand [Fri, 10 Sep 2004 11:35:23 +0000 (11:35 +0000)]
2004-09-10  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (s390_emit_prologue): Added missing
"{}" brackets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87294 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/extend.texi, doc/invoke.texi, doc/passes.texi: Fix
kazu [Fri, 10 Sep 2004 11:26:25 +0000 (11:26 +0000)]
* doc/extend.texi, doc/invoke.texi, doc/passes.texi: Fix
typos.  Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87293 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * class.c, cp-tree.h, decl.c, decl2.c, mangle.c,
kazu [Fri, 10 Sep 2004 11:12:15 +0000 (11:12 +0000)]
* class.c, cp-tree.h, decl.c, decl2.c, mangle.c,
name-lookup.h, parser.c, search.c, semantics.c, typeck2.c: Fix
comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87292 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Dalibor Topic <robilad@kaffe.org>
mkoch [Fri, 10 Sep 2004 11:06:38 +0000 (11:06 +0000)]
2004-09-10  Dalibor Topic <robilad@kaffe.org>

* gnu/java/net/protocol/file/Connection.java (permission): New field.
(DEFAULT_PERMISSION): New constant.
(Connection): Create a FilePermission with permission to read file.

2004-09-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java
(getLastModified): Moved around.
(getPermission): Return stored permission.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87291 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRevert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org>
nathan [Fri, 10 Sep 2004 11:02:26 +0000 (11:02 +0000)]
Revert 2004-09-09  Giovanni Bajo  <giovannibajo@gcc.gnu.org>

* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
and gcc_unreachable instead of abort.
* lambda.h (lambda_vector_min_nz): Likewise.
* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
lhd_gimplify_expr): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
Likewise.
* loop-doloop.c (doloop_modify): Likewise.
* loop-invariant.c (record_use): Likewise.
* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
canon_condition, simplify_using_condition,
simplify_using_initial_values, shorten_into_mode,
canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
peel_loop_simple, unroll_loop_stupid): Likewise.
* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
unswitch_loop): Likewise.
* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
move_movables, replace_call_address, find_and_verify_loops,
rtx_equal_for_prefetch_p, record_giv, general_induction_var,
simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
loop_giv_dump): Likewise.
* loop.h (INSN_LUID): Likewise.
* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
sms_schedule, check_nodes_order): Likewise.
* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
Likewise.
* opts.c (common_handle_option): Likewise.
* params.c (set_param_value): Likewise.
* passes.c (open_dump_file, rest_of_handle_final): Likewise.
* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
reg_set_between_after_reload_p, reg_used_between_after_reload_p,
get_avail_load_store_reg, eliminate_partially_redundant_load):
Likewise.
* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
Likewise.
* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
propagate_freq, expensive_function_p): Likewise.
* pretty-print.c (pp_base_format_text)
* profile.c (instrument_edges, instrument_values,
compute_branch_probabilities, branch_prob, union_groups,
end_branch_prob, tree_register_profile_hooks): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87290 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * toplev.c (warn_deprecated_use): Correct logic for saying "type"
jsm28 [Fri, 10 Sep 2004 10:54:25 +0000 (10:54 +0000)]
* toplev.c (warn_deprecated_use): Correct logic for saying "type"
in diagnostic.  Don't dereference NULL TYPE_NAME.

testsuite:
* gcc.dg/deprecated-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87289 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-common.c, c-pch.c, defaults.h, lambda-code.c, passes.c,
kazu [Fri, 10 Sep 2004 10:44:48 +0000 (10:44 +0000)]
* c-common.c, c-pch.c, defaults.h, lambda-code.c, passes.c,
tree-data-ref.c, tree-flow.h, tree-ssa-operands.c,
tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h,
value-prof.c: Fix comment typos.  Follow spelling conventions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87288 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 10 Sep 2004 09:36:28 +0000 (09:36 +0000)]
2004-09-10  Michael Koch  <konqueror@gmx.de>

* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87287 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * unroll.c (unroll_loop, calculate_giv_inc, initial_reg_note_copy,
nathan [Fri, 10 Sep 2004 09:28:39 +0000 (09:28 +0000)]
* unroll.c (unroll_loop, calculate_giv_inc, initial_reg_note_copy,
final_reg_note_copy, copy_loop_body, fold_rtx_mult_add,
final_giv_value, loop_iterations): Replace abort with gcc_assert and
gcc_unreachable.
* value-prof.c (rtl_find_values_to_profile,
rtl_register_value_prof_hooks, tree_find_values_to_profile,
tree_value_profile_transformations, tree_register_value_prof_hooks):
Likewise.
* varasm.c (named_section_flags, named_section, make_decl_rtl,
asm_emit_uninitialised, assemble_external, assemble_integer,
decode_addr_const, const_hash_1, compare_constant, copy_constant,
force_const_mem, output_constant_pool_2, output_constant_pool_1,
output_constant, output_constructor, supports_one_only,
make_decl_one_only, decl_tls_model, default_no_named_section,
default_elf_select_section_1, default_unique_section_1): Likewise.
* varray.c (varray_copy): Likewise.
* var-tracking.c (stack_adjust_offset_pre_post, variable_htab_free,
variable_union, dataflow_set_different_2, count_uses,
variable_was_changed, set_frame_base_location, set_variable_part,
emit_note_insn_var_location, vt_emit_notes,
vt_add_function_parameters): Likewise.
* vec.c (vec_gc_o_reserve): Likewise.
* vmsdbgout.c (addr_const_to_string): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87286 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
nathan [Fri, 10 Sep 2004 09:22:28 +0000 (09:22 +0000)]
* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
and gcc_unreachable instead of abort.
* lambda.h (lambda_vector_min_nz): Likewise.
* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
lhd_gimplify_expr): Likewise.
* lcm.c (optimize_mode_switching): Likewise.
* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
Likewise.
* loop-doloop.c (doloop_modify): Likewise.
* loop-invariant.c (record_use): Likewise.
* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
canon_condition, simplify_using_condition,
simplify_using_initial_values, shorten_into_mode,
canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
peel_loop_simple, unroll_loop_stupid): Likewise.
* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
unswitch_loop): Likewise.
* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
move_movables, replace_call_address, find_and_verify_loops,
rtx_equal_for_prefetch_p, record_giv, general_induction_var,
simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
loop_giv_dump): Likewise.
* loop.h (INSN_LUID): Likewise.
* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
sms_schedule, check_nodes_order): Likewise.
* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
Likewise.
* opts.c (common_handle_option): Likewise.
* params.c (set_param_value): Likewise.
* passes.c (open_dump_file, rest_of_handle_final): Likewise.
* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
reg_set_between_after_reload_p, reg_used_between_after_reload_p,
get_avail_load_store_reg, eliminate_partially_redundant_load):
Likewise.
* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
Likewise.
* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
propagate_freq, expensive_function_p): Likewise.
* pretty-print.c (pp_base_format_text)
* profile.c (instrument_edges, instrument_values,
compute_branch_probabilities, branch_prob, union_groups,
end_branch_prob, tree_register_profile_hooks): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87285 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-dce.c (remove_dead_stmt): Update profile.
hubicka [Fri, 10 Sep 2004 08:58:47 +0000 (08:58 +0000)]
* tree-ssa-dce.c (remove_dead_stmt): Update profile.
* tree-split_edge.c (tree_split_edge): Likewise.
(thread_jumps): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87284 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cgraphunit.c, predict.c, tree-ssa-loop-ivopts.c: Fix comment
kazu [Fri, 10 Sep 2004 08:56:36 +0000 (08:56 +0000)]
* cgraphunit.c, predict.c, tree-ssa-loop-ivopts.c: Fix comment
typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87283 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 10 Sep 2004 08:22:59 +0000 (08:22 +0000)]
2004-09-10  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Reverted accidently commited stuff.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87282 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 10 Sep 2004 08:20:37 +0000 (08:20 +0000)]
2004-09-10  Paolo Bonzini  <bonzini@gnu.org>

* cgraph.h (cgraph_dump_file): Do not declare.
* cgraphunit.c (cgraph_dump_file): Declare as static.
(init_cgraph): New.
* toplev.c (cgraph_dump_file): Do not declare.
(compile_file): Call init_cgraph.
* tree-dump.c (dump_files): Add IPA dump file, remove
XML dump of call graph.
(get_dump_file_name): Support IPA dump file naming scheme.
* tree.h (enum tree_dump_index): Add IPA dump file, remove
XML dump of call graph.
* doc/invoke.texi (Debugging Options): Document the new options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87281 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/extend.texi: Document the FR-V built-in functions.
rsandifo [Fri, 10 Sep 2004 07:54:15 +0000 (07:54 +0000)]
* doc/extend.texi: Document the FR-V built-in functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87280 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 10 Sep 2004 07:20:09 +0000 (07:20 +0000)]
2004-09-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java
(lineSeparator): Made non-final.
(static): Removed.
(connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
instead of StringBufferInputStream.

2004-09-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Connection.java
(connect): Handle file is a directory case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87279 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 10 Sep 2004 07:05:21 +0000 (07:05 +0000)]
2004-09-10  Michael Koch  <konqueror@gmx.de>

* Makefile.am
(xlib_includes): Removed.
(AM_CPPFLAGS): Renamed from INCLUDES.
(lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87278 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago[gcc/cp/ChangeLog]
zlaski [Fri, 10 Sep 2004 06:40:15 +0000 (06:40 +0000)]
[gcc/cp/ChangeLog]
2004-09-09  Ziemowit Laski  <zlaski@apple.com>

        * typeck.c (build_c_cast): Preserve the cast if casting
        to and from an Objective-C type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87277 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoLibbanshee is gone.
wilson [Fri, 10 Sep 2004 04:30:57 +0000 (04:30 +0000)]
Libbanshee is gone.
* doc/sourcebuild.texi: Delete libbanshee reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87275 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-10 Kelley Cook <kcook@gcc.gnu.org>
kcook [Fri, 10 Sep 2004 03:58:50 +0000 (03:58 +0000)]
2004-09-10  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in (s-gtype): Add $(build_exeext) to gengtype command.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87274 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix ICE on invalid input, and eliminate confusing error message.
wilson [Fri, 10 Sep 2004 03:51:40 +0000 (03:51 +0000)]
Fix ICE on invalid input, and eliminate confusing error message.
* c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE
before calling vector_types_convertible_p.
(digest_init): Check that inside_init has VECTOR_TYPE before calling
vector_types_convertible_p.  Don't give another error if
convert_for_assignment returns error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87273 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/17055
sayle [Fri, 10 Sep 2004 02:39:18 +0000 (02:39 +0000)]
PR middle-end/17055
* fold-const.c (build_zero_vector): New function to construct a
vector (either floating point or integer) of zeros.
(fold_convert): Internally, enable conversions of integer zero
to arbitrary vector types, using the new build_zero_vector.

* gcc.dg/pr17055-1.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87272 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (ix86_expand_ashlsi3_const): New function to
sayle [Fri, 10 Sep 2004 02:32:19 +0000 (02:32 +0000)]
* config/i386/i386.c (ix86_expand_ashlsi3_const): New function to
expand a left shift by an immediate constant as either an ashl or
a sequence of additions.
(ix86_split_ashldi): Use new ix86_expand_ashlsi3_const function
instead of calling gen_ashlsi3 with a constant directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87271 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.c (ix86_split_long_move): When optimizing for
sayle [Fri, 10 Sep 2004 02:29:57 +0000 (02:29 +0000)]
* config/i386/i386.c (ix86_split_long_move): When optimizing for
size, and the low and high parts of a DImode constant are equal,
copy one register to another instead of loading the same immediate
value twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87270 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/17367
rth [Fri, 10 Sep 2004 00:50:24 +0000 (00:50 +0000)]
    PR middle-end/17367
        * function.c (assign_parm_setup_block): Only put PARALLELs into
        a register if use_register_for_decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87268 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 10 Sep 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87266 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-09 Eric Christopher <echristo@redhat.com>
echristo [Thu, 9 Sep 2004 23:57:19 +0000 (23:57 +0000)]
2004-09-09  Eric Christopher  <echristo@redhat.com>

* ra-colorize.c (reset_lists): Move variable declaration inside
ENABLE_CHECKING to avoid unused variable warnings when
not --enable-checking.
(check_colors): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87262 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/include/gcc-common.texi (version-GCC): Likewise.
mrs [Thu, 9 Sep 2004 23:40:40 +0000 (23:40 +0000)]
    * doc/include/gcc-common.texi (version-GCC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87261 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* version.c (version_string): Bump to 4.0.0.
mrs [Thu, 9 Sep 2004 23:28:09 +0000 (23:28 +0000)]
* version.c (version_string): Bump to 4.0.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87260 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago[gcc/cp/ChangeLog]
zlaski [Thu, 9 Sep 2004 22:53:51 +0000 (22:53 +0000)]
[gcc/cp/ChangeLog]
2004-09-09  Ziemowit Laski  <zlaski@apple.com>

        * Make-lang.in (cp/typeck.o): Depend on c-common.h.
        * typeck.c: Include c-common.h.
        (comptypes): For RECORD_TYPEs, call objc_comptypes() and
        return the result if nonnegative.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87259 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/extend.texi (nothrow attribute): The attribute is not
jakub [Thu, 9 Sep 2004 22:43:53 +0000 (22:43 +0000)]
* doc/extend.texi (nothrow attribute): The attribute is not
implemented in 3.2 and earlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87258 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genrecog.c (compute_predicate_codes): Use op0_codes
sje [Thu, 9 Sep 2004 22:29:56 +0000 (22:29 +0000)]
* genrecog.c (compute_predicate_codes): Use op0_codes
instead of codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87257 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET
uweigand [Thu, 9 Sep 2004 21:58:57 +0000 (21:58 +0000)]
* ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET
implementation changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87256 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * combine.c (try_combine): When swapping i2 and i3, newi2pat may be
uweigand [Thu, 9 Sep 2004 21:57:50 +0000 (21:57 +0000)]
* combine.c (try_combine): When swapping i2 and i3, newi2pat may be
a PARALLEL instead of a SET due to added clobbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87255 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * reload.c (find_reloads_address): Pass correct operand to
uweigand [Thu, 9 Sep 2004 21:56:13 +0000 (21:56 +0000)]
* reload.c (find_reloads_address): Pass correct operand to
maybe_memory_address_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87254 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoToplevel:
dberlin [Thu, 9 Sep 2004 20:53:41 +0000 (20:53 +0000)]
Toplevel:

2004-09-09  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.def: Remove libbanshee.
* Makefile.tpl: Ditto.
* configure.in: Ditto.
* Makefile.in: Regen.
* configure: Ditto.

gcc/

2004-09-09  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in: Remove libbanshee, tree-alias-*.
Remove tree-alias-common.h dependencies.
* common.opt: Remove -ftree-points-to.
* configure.ac: Remove libbanshee.
* flags.h: Remove pta_type, flag_tree_points_to.
* gengtype.c (open_base_files): Remove tree-alias-type.h.
* opts.c (OPT_ftree_points_to): Remove.
* toplev.c: Remove tree-alias-common.h, flag_tree_points_to.
* tree-dfa.c: Remove tree-alias-common.h
* tree-into-ssa.c: Ditto.
* tree-outof-ssa.c: Ditto.
* tree-ssa-copyrename.c: Ditto.
* tree-ssa-live.c: Ditto.
* tree-optimize.c: Ditto.
* tree-ssa.c: Ditto.
Remove pass_build_pta, pass_del_pta.
* tree-pass.h: Ditto.
* tree-ssa-alias.c: Remove tree-alias-common.h.
(struct alias_stats_d): Remove pta_queries, pta_resolved.
(pass_may_alias): Remove PROP_pta requirement.
(may_alias_p): Remove pta_queries, pta_resolved, use of andersens.
(get_tmt_for): Ditto.
(dump_alias_stats): Ditto.
* doc/passes.texi: Remove blurb about points-to analysis.
* fortran/Make-lang.in: Remove tree-alias-*.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87253 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * genattrtab.c (write_insn_cases): New function, split out from
rsandifo [Thu, 9 Sep 2004 20:39:28 +0000 (20:39 +0000)]
* genattrtab.c (write_insn_cases): New function, split out from
write_attr_case.  Correctly handle define_peepholes when printing
the instruction name.
(write_attr_case, write_const_num_delay_slots): Use write_insn_cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87252 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/17377
hp [Thu, 9 Sep 2004 20:36:31 +0000 (20:36 +0000)]
PR target/17377
* config/cris/cris-protos.h (cris_return_address_on_stack): Declare.
* config/cris/cris.c (cris_return_address_on_stack): New function.
* config/cris/cris.md ("return"): For location of return address,
also check cris_return_address_on_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87251 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/17377
hp [Thu, 9 Sep 2004 20:31:11 +0000 (20:31 +0000)]
PR target/17377
* gcc.c-torture/execute/pr17377.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87250 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-09 Michael Koch <konqueror@gmx.de>
andreast [Thu, 9 Sep 2004 19:44:07 +0000 (19:44 +0000)]
2004-09-09  Michael Koch  <konqueror@gmx.de>

* java/security/ProtectionDomain.java,
* java/util/PropertyPermissionCollection.java:
Fixed javadocs all over.

2004-09-09  Sven de Marothy  <sven@physto.se>

Patch from David Gilbert <david.gilbert@object-refinery.com>
* java/lang/Comparable.java: Fixed documentation errors.
* java/util/Arrays.java: Likewise.

2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>

* java/net/Inet4Address.java
(Inet4Address): Added comment to serialization UID.
* java/text/Format.java
(Format): Added comment to serialization UID.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87248 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-09 Matt Austern <austern@apple.com>
zack [Thu, 9 Sep 2004 19:16:56 +0000 (19:16 +0000)]
2004-09-09  Matt Austern  <austern@apple.com>
    Zack Weinberg  <zack@codesourcery.com>

* include/cpplib.h (TTYPE_TABLE): Remove CPP_ and SPELL_
prefixes throughout.  Add entry for PRAGMA.  Remove
unnecessary "= 0" from EQ.
(enum cpp_ttype): Adjust OP and TK definitions to restore
prefixes, via token-paste.
(CPP_LAST_EQ, CPP_FIRST_DIGRAPH, CPP_LAST_PUNCTUATOR, CPP_LAST_CPP_OP):
Change from #defines to additional cpp_ttype enumerators.
(struct cpp_options): Add defer_pragmas.
(cpp_handle_deferred_pragma): Prototype new interface.

* internal.h (struct cpp_reader): Add directive_result.
* directives.c (struct pragma_entry): Add is_internal field;
give boolean fields type bool.
(start_directive): Initialize pfile->directive_result.type.
(_cpp_do__Pragma): Likewise.
(run_directive): Do not crash if pfile->buffer->prev is NULL.
(insert_pragma_entry): Add 'internal' argument; set new->is_internal
from it.
(register_pragma): New static function, bulk of former
cpp_register_pragma here; add 'internal' argument, pass along
to insert_pragma_entry.
(cpp_register_pragma): Now a wrapper around register_pragma which
always passes false for 'internal' argument.
(_cpp_init_internal_pragmas): Call register_pragma directly, passing
true for 'internal'.
(do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
an internal pragma, save text till the end of the line as a CPP_PRAGMA
token instead of executing the pragma.
(cpp_handle_deferred_pragma): New interface.
* lex.c (token_spellings): Adjust OP and TK definitions to
match changes to cpplib.h.
(_cpp_lex_token): Check for a directive-result token and
return it if present.
(cpp_token_val_index): Handle CPP_PRAGMA.
* macro.c (cpp_builtin_macro_text): Correct comment.
(builtin_macro): Handle directive-result tokens from _cpp_do__Pragma.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87247 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in
dnovillo [Thu, 9 Sep 2004 17:47:44 +0000 (17:47 +0000)]
* tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in
calling phi_ssa_name_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87246 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/17322
rth [Thu, 9 Sep 2004 17:36:42 +0000 (17:36 +0000)]
    PR c/17322
        * c-typeck.c (valid_compound_expr_initializer): Use only
        initializer_constant_valid_p, and not TREE_CONSTANT.
        (digest_init): Likewise.
        (output_init_element): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87245 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ra-build.c (copy_insn_p, remember_move, defuse_overlap_p_1,
nathan [Thu, 9 Sep 2004 17:19:16 +0000 (17:19 +0000)]
* ra-build.c (copy_insn_p, remember_move, defuse_overlap_p_1,
live_out_1, prune_hardregs_for_mode, init_one_web_common,
reinit_one_web, add_subweb, add_subweb_2, init_web_parts,
record_conflict, compare_and_free_webs, init_webs_defs_uses,
parts_to_webs_1, parts_to_webs, reset_conflicts,
check_conflict_numbers, remember_web_was_spilled, handle_asm_insn,
ra_build_free): Use gcc_assert and gcc_unreachable instead of abort.
* ra-colorize.c (push_list, put_web, reset_lists, put_web_at_end,
put_move, remove_move, combine, select_spill, colorize_one_web,
try_recolor_web, insert_coalesced_conflicts, check_colors,
break_precolored_alias, restore_conflicts_from_coalesce,
sort_and_combine_web_pairs, check_uncoalesced_moves): Likewise.
* ra-rewrite.c (spill_coalescing, slots_overlap_p, emit_loads,
reloads_to_loads, rewrite_program2, emit_colors): Likewise.
* ra.c (first_hard_reg, create_insn_info, find_subweb, init_ra,
check_df): Likewise.
* real.c (do_add, do_multiply, do_divide, do_compare, do_fix_trunc,
real_arithmetic, real_compare, real_exponent, real_ldexp,
real_identical, real_to_integer, real_to_integer2, real_to_decimal,
real_to_hexadecimal, real_from_integer, ten_to_ptwo, ten_to_mptwo,
real_digit, real_nan, real_maxval, round_for_format, real_convert,
real_to_target, real_from_target, real_hash, encode_ieee_single,
encode_ieee_double, encode_ieee_extended, encode_ieee_quad,
encode_vax_f, encode_vax_d, encode_vax_g, encode_i370_single,
encode_i370_double, encode_c4x_single, encode_c4x_extended): Likewise.
* recog.c (validate_change, validate_replace_rtx_1, asm_operand_ok,
extract_insn, peep2_next_insn, peep2_reg_dead_p,
peep2_find_free_register, peephole2_optimize, store_data_bypass_p,
if_test_bypass_p): Likewise.
* reg-stack.c (record_label_references, get_asm_operand_n_inputs,
stack_result, remove_regno_note, get_hard_regnum, emit_pop_insn,
emit_swap_insn, swap_to_top, move_for_stack_reg,
subst_stack_regs_pat, subst_asm_stack_regs, change_stack,
compensate_edge, convert_regs_1): Likewise.
* regclass.c (init_reg_sets, init_reg_sets_1,
memory_move_secondary_cost): Likewise.
* regrename.c (note_sets, clear_dead_regs, scan_rtx_reg, scan_rtx):
Likewise.
* reload.c (push_secondary_reload, find_valid_class, push_reload,
operands_match_p, decompose, immune_p, find_reloads,
find_reloads_toplev, find_reloads_address_1, subst_reloads,
copy_replacements, refers_to_regno_for_reload_p,
reg_overlap_mentioned_for_reload_p): Likewise.
* reload1.c (compute_use_by_pseudos, replace_pseudos_in, reload,
count_pseudo, find_reg, eliminate_regs, eliminate_regs_in_insn,
verify_initial_elim_offsets, finish_spills, clear_reload_reg_in_use,
reload_reg_free_p, reload_reg_reaches_end_p, reloads_conflict,
choose_reload_regs, merge_assigned_reloads, emit_input_reload_insns,
do_output_reload, fixup_abnormal_edges): Likewise.
* reorg.c (stop_search_p, emit_delay_sequence, get_jump_flags,
fill_slots_from_thread, relax_delay_slots): Likewise.
* resource.c (mark_referenced_resources, mark_set_resources):
Likewise.
* rtl.c (copy_rtx, rtx_equal_p): Likewise.
* rtlanal.c (insn_dependent_p, reg_overlap_mentioned_p,
dead_or_set_p, find_reg_fusage, remove_note, replace_rtx,
subreg_lsb_1, subreg_regno_offset, subreg_offset_representable_p,
find_first_parameter_load, can_hoist_insn_p, hoist_update_store,
hoist_insn_after, hoist_insn_to_edge, nonzero_bits1): Likewise.
* rtlhooks.c (gen_lowpart_general): Likewise.
* sbitmap.c (sbitmap_difference): Likewise.
* sched-deps.c (add_dependence, sched_analyze_1, sched_analyze_2,
sched_analyze, add_forward_dependence): Likewise.
* sched-ebb.c (fix_basic_block_boundaries, schedule_ebb): Likewise.
* sched-rgn.c (debug_regions, compute_trg_info, schedule_region,
schedule_insns): Likewise.
* sched-vis.c (print_pattern): Likewise.
* sdbout.c (sdbout_symbol, sdbout_toplevel_data): Likewise.
* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
simplify_const_relational_operation, simplify_ternary_operation,
simplify_immed_subreg, simplify_subreg, simplify_gen_subreg):
Likewise.
* sreal.c (copy, sreal_sub, sreal_div): Likewise.
* stmt.c (force_label_rtx, expand_goto, expand_asm_operands,
resolve_operand_name_1, expand_return, expand_decl,
expand_anon_union_decl, emit_case_bit_tests, expand_case): Likewise.
* stor-layout.c (put_pending_size, smallest_mode_for_size,
int_mode_for_mode, layout_decl, finish_builtin_struct, layout_type,
set_sizetype, get_mode_bounds): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87244 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default.
zack [Thu, 9 Sep 2004 17:11:18 +0000 (17:11 +0000)]
* defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default.
* config/arm/pecoff.h, config/i386/beos-elf.h
* config/i386/cygming.h, config/i386/i386-interix.h:
Define MULTIPLE_SYMBOL_SPACES to 1, not nothing.  Remove
comment cloned from manual.
* doc/tm.texi: Update description of MULTIPLE_SYMBOL_SPACES.
cp:
* decl2.c (import_export_class)
* lex.c (handle_pragma_interface):
Test MULTIPLE_SYMBOL_SPACES with if, not #ifdef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87243 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-09-09 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 9 Sep 2004 16:33:25 +0000 (16:33 +0000)]
2004-09-09  Frank Ch. Eigler  <fche@redhat.com>

* builtins.c (build_va_arg_indirect_ref): New function.
(std_gimplify_va_arg_expr): Call it instead of mudflap check and
build_fold_indirect_ref.
* config/i386/i386.c (ix86_gimplify_va_arg): Ditto.
* config/ia64/ia64.c (ia64_gimplify_va_arg): Ditto.
* tree.h: Declare new function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87242 138bc75d-0d04-0410-961f-82ee72b054a4