gcc.git
19 years agortti.c (get_tinfo_decl): Avoid caching tinfo_descs when it might change.
Nathan Sidwell [Thu, 16 Jun 2005 08:21:00 +0000 (08:21 +0000)]
rtti.c (get_tinfo_decl): Avoid caching tinfo_descs when it might change.

cp:
* rtti.c (get_tinfo_decl): Avoid caching tinfo_descs when it might
change.
(create_pseudo_type_info): First parameter is an int.
testsuite:
* g++.dg/rtti/crash2.C: New.

From-SVN: r101011

19 years agoconfigure.ac (USING_ECOS_PLATFORM): Remove and merge into...
Kelley Cook [Thu, 16 Jun 2005 01:02:24 +0000 (01:02 +0000)]
configure.ac (USING_ECOS_PLATFORM): Remove and merge into...

2005-06-15  Kelley Cook  <kcook@gcc.gnu.org>

* configure.ac (USING_ECOS_PLATFORM): Remove and merge into...
(USING_POSIX_PLATFORM): ... here.
* Makefile.am: Delete USING_ECOS_PLATFORM.
* configure, Makefile.in, include/Makefile.in, testsuite/Makefile.in,
external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in, gcj/Makefile.in: Regenerate.

From-SVN: r101005

19 years agoDaily bump.
GCC Administrator [Thu, 16 Jun 2005 00:16:19 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r101002.2

19 years agoMakefile.in (cfg.o): Add new dependencies.
Jan Hubicka [Wed, 15 Jun 2005 23:05:23 +0000 (01:05 +0200)]
Makefile.in (cfg.o): Add new dependencies.

* Makefile.in (cfg.o): Add new dependencies.
* basic-block.h (reorder_block_def): Kill
original/copy/duplicated/copy_number fields.
(BB_DUPLICATED): New flag.
(initialize_original_copy_tables, free_original_copy_tables,
set_bb_original, get_bb_original, set_bb_copy, get_bb_copy): New.
* cfg.c: Include hashtab.h and alloc-pool.h
(bb_original, bb_copy, original_copy_bb_pool): New static vars.
(htab_bb_copy_original_entry): New struct.
(bb_copy_original_hash, bb_copy_original_eq): New static functions.
(initialize_original_copy_tables, free_original_copy_tables,
set_bb_original, get_bb_original, set_bb_copy, get_bb_copy): New
global functions.
* cfghooks.c (duplicate_block): Update original/copy handling.
* cfglayout.c (fixup_reorder_chain): Likewise.
(cfg_layout_initialize): Initialize orignal_copy tables.
(cfg_layout_finalize): FInalize original_copy tables.
(can_copy_bbs_p): Use BB_DUPLICATED flag.
(copy_bbs): Likewise.
* cfgloopmanip.c (update-single_exits_after_duplication): Likewise.
(duplicate_loop_to_header_edge): Likewise; update handling of
copy_number.
(loop_version): Likewise.
* dominance.c (get_dominated_by_region): Use BB_DUPLICATED_FLAG.
* except.c (expand_resx_expr): Check that reg->resume is not set.
* loop-unroll.c (unroll_loop_constant_iterations,
unroll_loop_runtime_iterations, apply_opt_in_copies): Update
copy/original handling.
* loop-unwitch.c (unswitch_loop): Likewise.
* tree-cfg.c (create_bb): Do not initialize RBI.
(disband_implicit_edges): Do not kill RBI.
(add_phi_args_after_copy_bb): Use new original/copy mapping.
(add_phi_args_after_copy): Use BB_DUPLICATED flag.
(tree_duplicate_sese_region): Update original/copy handling.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
* tree-ssa-loop-manip.c (copy_phi_node_args): Likewise.
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Likewise.

From-SVN: r101000

19 years agore PR libgcj/17536 (wrong ClassLoader for int[])
Tom Tromey [Wed, 15 Jun 2005 22:36:01 +0000 (22:36 +0000)]
re PR libgcj/17536 (wrong ClassLoader for int[])

PR libgcj/17536:
* testsuite/libjava.lang/pr17536.java: New file.
* testsuite/libjava.lang/pr17536.out: New file.

From-SVN: r100999

19 years agoparse.y (function_invocation): Reverse parameter list.
James A. Morrison [Wed, 15 Jun 2005 21:39:36 +0000 (21:39 +0000)]
parse.y (function_invocation): Reverse parameter list.

2005-06-15  James A. Morrison  <phython@gcc.gnu.org>

        * parse.y (function_invocation): Reverse parameter list.
        * treetree.c (tree_code_get_expression): Don't reverse parameter list.

From-SVN: r100998

19 years agoos_dep.c: Add FreeBSD/PowerPC bits.
Andreas Tobler [Wed, 15 Jun 2005 21:25:54 +0000 (23:25 +0200)]
os_dep.c: Add FreeBSD/PowerPC bits.

2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>

* os_dep.c: Add FreeBSD/PowerPC bits.
(GC_SysVGetDataStart): Likewise.
* include/private/gcconfig.h: Likewise.

From-SVN: r100997

19 years agore PR tree-optimization/21923 (Ada compiler fails to build on gcc 4.1)
Andrew Pinski [Wed, 15 Jun 2005 20:13:11 +0000 (20:13 +0000)]
re PR tree-optimization/21923 (Ada compiler fails to build on gcc 4.1)

2005-06-15  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/21923
        * tree-ssa.c (tree_ssa_useless_type_conversion_1): Conversions between
        integer types whos ranges are different are not useless.

From-SVN: r100996

19 years agore PR libgcj/21074 (Trivial bug in the method getHeaderFieldKey() in the file java...
Goffredo Baroncelli [Wed, 15 Jun 2005 20:08:27 +0000 (22:08 +0200)]
re PR libgcj/21074 (Trivial bug in the method  getHeaderFieldKey() in the file java/net/protocol/http/HTTPURLConnection.java)

2005-06-15  Goffredo Baroncelli  <kreijack@inwind.it>

PR libgcj/21074:
* gnu/java/net/protocol/http/HTTPURLConnection.java
(getHeaderFieldKey): Check index.

From-SVN: r100994

19 years agore PR tree-optimization/22024 (ACATS ICE cxa5a07 cxa5a08 cxg2016 SEGV in get_rank...
Andrew Pinski [Wed, 15 Jun 2005 20:02:35 +0000 (20:02 +0000)]
re PR tree-optimization/22024 (ACATS ICE cxa5a07 cxa5a08 cxg2016 SEGV in get_rank tree-ssa-reassoc.c:292)

2005-06-15  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/22024
        * tree-ssa-reassoc.c (init_reassoc): Also give chain decl a distint
        rank.

From-SVN: r100993

19 years agore PR libgcj/21906 (hang when invoking abstract method)
Tom Tromey [Wed, 15 Jun 2005 19:11:43 +0000 (19:11 +0000)]
re PR libgcj/21906 (hang when invoking abstract method)

gcc/java/:
PR libgcj/21906:
* class.c (make_method_value): Use soft_abstractmethod_node for
abstract method.
* java-tree.h (soft_abstractmethod_node): New define.
(JTI_SOFT_ABSTRACTMETHOD_NODE): New enum constant.
* decl.c (java_init_decl_processing): Initialize
soft_abstractmethod_node.
libjava/:
PR libgcj/21906:
* defineclass.cc (handleMethodsEnd): Set ncode for abstract
methods.
* include/jvm.h (_Jv_ThrowAbstractMethodError): Declare.
* link.cc (_Jv_ThrowAbstractMethodError): Renamed.  No longer
static.
(append_partial_itable): Use it.
(set_vtable_entries): Likewise.

From-SVN: r100992

19 years agoSystemClassLoader.java (init): Clear last_was_sep in loop.
Tom Tromey [Wed, 15 Jun 2005 19:05:43 +0000 (19:05 +0000)]
SystemClassLoader.java (init): Clear last_was_sep in loop.

* gnu/gcj/runtime/SystemClassLoader.java (init): Clear
last_was_sep in loop.

From-SVN: r100991

19 years agohashtable: Trivial formatting fixes.
Paolo Carlini [Wed, 15 Jun 2005 17:48:00 +0000 (17:48 +0000)]
hashtable: Trivial formatting fixes.

2005-06-15  Paolo Carlini  <pcarlini@suse.de>

* include/tr1/hashtable: Trivial formatting fixes.
* include/tr1/unordered_map: Likewise.
* include/tr1/unordered_set: Likewise.

From-SVN: r100988

19 years agotree-ssa-structalias.c (dump_solution_for_var): Reformat output.
Diego Novillo [Wed, 15 Jun 2005 17:37:45 +0000 (17:37 +0000)]
tree-ssa-structalias.c (dump_solution_for_var): Reformat output.

* tree-ssa-structalias.c (dump_solution_for_var): Reformat
output.
(dump_sa_points_to_info): Make extern.
(debug_sa_points_to_info): New.
* tree-ssa-structalias.h (TREE_SSA_STRUCTALIAS_H): Rename from
TREE_ALIAS_COMMON.
(dump_sa_points_to_info): Declare.
(debug_sa_points_to_info): Declare.

From-SVN: r100987

19 years agoFix for uncaching bug reported by Herman ten Brugge.
Frank Ch. Eigler [Wed, 15 Jun 2005 16:15:40 +0000 (16:15 +0000)]
Fix for uncaching bug reported by Herman ten Brugge.

2005-06-15  Frank Ch. Eigler  <fche@redhat.com>

Fix for uncaching bug reported by Herman ten Brugge.
* mf-runtime.c (__mf_uncache_object): Search whole cache.
* testsuite/libmudflap.c/fail40-frag.c: New test.

From-SVN: r100985

19 years agoc-tree.h (default_function_array_conversion): Declare.
Joseph Myers [Wed, 15 Jun 2005 15:55:47 +0000 (16:55 +0100)]
c-tree.h (default_function_array_conversion): Declare.

* c-tree.h (default_function_array_conversion): Declare.
* c-typeck.c (default_function_array_conversion): Export.  Correct
comment.
(default_conversion): Do not call
default_function_array_conversion.  Do not allow FUNCTION_TYPE.
(build_function_call): Call default_function_array_conversion on
the function.
(convert_arguments): Do not call it on the function arguments.
(build_unary_op): Do not allow ARRAY_TYPE or FUNCTION_TYPE for
TRUTH_NOT_EXPR.  Call default_function_array_conversion for taking
address of ARRAY_REF.
(build_compound_expr): Do not call
default_function_array_conversion.
(build_c_cast): Do not call default_function_array_conversion.
(convert_for_assignment): Do not call default_conversion.
(digest_init): Call default_function_array_conversion to convert
string constants and compound literals to pointers, but not
otherwise.
(output_init_element): Likewise.
(build_asm_expr): Do not call default_function_array_conversion.
(c_process_expr_stmt): Likewise.
(c_objc_common_truthvalue_conversion): Likewise.  Do not allow
FUNCTION_TYPE.
* c-parser.c (c_parser_expression_conv): New.
(c_parser_asm_operands, c_parser_expr_list): Add convert_p
argument.  All callers changed.  Call
default_function_array_conversion if convert_p.
(c_parser_initializer, c_parser_initval): Call
default_function_array_conversion except for string constants and
compound literals.
(c_parser_initelt): Call default_function_array_conversion for
ObjC expression received.
(c_parser_statement_after_labels): Call c_parser_expression_conv
for return and expression statements.
(c_parser_paren_condition, c_parser_for_statement,
c_parser_conditional_expression): Call c_parser_expression_conv.
(c_parser_expr_no_commas, c_parser_conditional_expression,
c_parser_binary_expression, c_parser_cast_expression,
c_parser_unary_expression): Call
default_function_array_conversion.

objc:
* objc-act.c (my_build_string_pointer): New.
(objc_get_class_reference, get_super_receiver): Call
my_build_string_pointer instead of my_build_string when building
function arguments.

testsuite:
* gcc.dg/noncompile/20040203-3.c: Update expected message.

From-SVN: r100984

19 years agotree-vrp.c (vrp_int_const_binop): Do not handle MAX_EXPR when the result overflows.
Diego Novillo [Wed, 15 Jun 2005 15:19:51 +0000 (15:19 +0000)]
tree-vrp.c (vrp_int_const_binop): Do not handle MAX_EXPR when the result overflows.

* tree-vrp.c (vrp_int_const_binop): Do not handle MAX_EXPR
when the result overflows.

From-SVN: r100983

19 years agomips.c (mips_rtx_cost_data): Add cost for 4kc, 4kp, 24k and 24kx.
David Ung [Wed, 15 Jun 2005 13:21:54 +0000 (13:21 +0000)]
mips.c (mips_rtx_cost_data): Add cost for 4kc, 4kp, 24k and 24kx.

* config/mips/mips.c (mips_rtx_cost_data): Add cost for 4kc, 4kp,
24k and 24kx.

From-SVN: r100982

19 years ago* doc/invoke.texi (-mips16): Fix typo.
Richard Sandiford [Wed, 15 Jun 2005 12:53:41 +0000 (12:53 +0000)]
* doc/invoke.texi (-mips16): Fix typo.

From-SVN: r100981

19 years agomips16e-extends.c: New test for testing the generation of MIPS16e zeb/zeh, seb/seh...
David Ung [Wed, 15 Jun 2005 12:40:26 +0000 (12:40 +0000)]
mips16e-extends.c: New test for testing the generation of MIPS16e zeb/zeh, seb/seh instructions.

* gcc.target/mips/mips16e-extends.c: New test for testing the
generation of MIPS16e zeb/zeh, seb/seh instructions.

From-SVN: r100980

19 years agomips.h (GENERATE_MIPS16E): New definition.
David Ung [Wed, 15 Jun 2005 12:17:08 +0000 (12:17 +0000)]
mips.h (GENERATE_MIPS16E): New definition.

* config/mips/mips.h (GENERATE_MIPS16E): New definition.
* config/mips/mips.md (zero_extend<SHORT:mode><GPR:mode>2):
Changed expand condition to exclude generating of "and" if
GENERATE_MIPS16E is true.
(*zero_extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for
matching mips16e zeb/zeh.
(*extend<SHORT:mode><GPR:mode>2_mips16e): New pattern for matching
mips16e seb/seh.
(*extend<SHORT:mode><GPR:mode>2): Disable this pattern for
GENERATE_MIPS16E.
* doc/invoke.texi (MIPS Options): Add comment to -mips16
indicating MIPS16e ASE is used if targetting for MIPS32 or MIPS64.

From-SVN: r100979

19 years agore PR tree-optimization/22018 (VRP miscompiles multiply)
Diego Novillo [Wed, 15 Jun 2005 11:33:13 +0000 (11:33 +0000)]
re PR tree-optimization/22018 (VRP miscompiles multiply)

PR 22018
* tree-vrp.c (vrp_int_const_binop): New.
(extract_range_from_binary_expr): Call it.
Unify handling division and multiplication.

testsuite/ChangeLog:

PR 22018
* gcc.dg/tree-ssa/vrp13.c: Add multiplication tests.
* gcc.dg/tree-ssa/pr22018.c: New test.

From-SVN: r100978

19 years agotypeck.c (build_binary_op): Same.
Aldy Hernandez [Wed, 15 Jun 2005 10:35:19 +0000 (10:35 +0000)]
typeck.c (build_binary_op): Same.

* typeck.c (build_binary_op): Same.
* testsuite/g++.dg/conversion/simd3.C: New.

From-SVN: r100977

19 years agoc-common.h (same_scalar_type_ignoring_signedness): Protoize.
Aldy Hernandez [Wed, 15 Jun 2005 10:33:51 +0000 (10:33 +0000)]
c-common.h (same_scalar_type_ignoring_signedness): Protoize.

* c-common.h (same_scalar_type_ignoring_signedness): Protoize.

* c-common.c (same_scalar_type_ignoring_signedness): New.

* c-typeck.c (build_binary_op): Check compatability of vector
types.  Move error report after switch.
Do not clobber code[01] on *_DIV_EXPR case.

* testsuite/gcc.dg/simd-1.c: Update error messages.
* testsuite/gcc.dg/simd-1b.c: Re-enable tests.  Update error
messages.
* testsuite/gcc.dg/simd-2.c: Update error messages.
* testsuite/gcc.dg/simd-4.c: New.

From-SVN: r100976

19 years agoMakefile.in (local-alloc.o): Depend on $(GGC_H) and reload.h.
Bernd Schmidt [Wed, 15 Jun 2005 09:35:15 +0000 (09:35 +0000)]
Makefile.in (local-alloc.o): Depend on $(GGC_H) and reload.h.

* Makefile.in (local-alloc.o): Depend on $(GGC_H) and reload.h.
* local-alloc.c: Include "ggc.h" and "reload.h".
(struct equivalence): New member is_arg_equivalence.
(local_alloc): Always call update_equiv_regs.
(update_equiv_regs): Allocate reg_equiv_init; set reg_equiv_init_size.
Detect equivalences made by stores to memory in a second pass.
Return early if not optimizing.
Initialize reg_equiv_init for all equivalences; treat equivalences for
REG_EQUIV notes existing before this pass specially.
(no_equiv): Don't clear reg_equiv_init or remove notes if the
is_arg_equivalence field is set.
* reload.h (reg_equiv_init, reg_equiv_init_size): Declare.
* reload1.c (reg_equiv_init): No longer static.
(reg_equiv_init_size): New variable.
(reload): Don't allocate reg_equiv_init; don't free it when done but
clear it.
Restructure equivalence set up code not to set reg_equiv_init, but to
clear it when we can't use an equivalence.
Undo change disabling equivalences for MEM_READONLY_P memrefs.
Dump equivalencing insns to dump_file.

From-SVN: r100975

19 years agore PR libfortran/21950 (All gfortran execution tests fail on Tru64 UNIX V4.0F: scalbn...
François-Xavier Coudert [Wed, 15 Jun 2005 08:40:35 +0000 (08:40 +0000)]
re PR libfortran/21950 (All gfortran execution tests fail on Tru64 UNIX V4.0F: scalbn unresolved)

PR libfortran/21950
* intrinsics/c99_functions.c (scalbn): Provide fallback
implementation for scalbn.
* c99_protos.h: Prototype for scalbn.
* configure.ac: Add check for scalbn.
* configure: Regenerate.
* config.h.in: Regenerate.

From-SVN: r100974

19 years agore PR c++/20678 (Make process stopped)
Nathan Sidwell [Wed, 15 Jun 2005 08:23:01 +0000 (08:23 +0000)]
re PR c++/20678 (Make process stopped)

cp:
PR c++/20678
* error.c (dump_expr) <COMPONENT_REF case>: Check DECL_NAME is not
null.
testsuite:
PR c++/20678
* g++.dg/other/crash-4.C: New.

From-SVN: r100972

19 years agoMake-lang.in: Reformat some long lines.
Nathan Sidwell [Wed, 15 Jun 2005 08:18:01 +0000 (08:18 +0000)]
Make-lang.in: Reformat some long lines.

* Make-lang.in: Reformat some long lines.
(gt-cp-rtti.h): New target.
(cp/rtti.o): Add dependency.
* config-lang.in (gtfiles): Add cp/rtti.c.
* cp-tree.h (CPTI_TI_DESC_TYPE, CPTI_BLTN_DESC_TYPE,
CPTI_PTR_DESC_TYPE, CPTI_ARY_DESC_TYPE, CPTI_FUNC_DESC_TYPE,
CPTI_ENUM_DESC_TYPE, CPTI_CLASS_DESC_TYPE,
CPTI_SI_CLASS_DESC_TYPE, CPTI_VMI_CLASS_DESC_TYPE,
CPTI_PTM_DESC_TYPE, CPTI_BASE_DESC_TYPE): Remove.
(ti_desc_type_node, bltn_desc_type_node, ptr_desc_type_node,
ary_desc_type_node, func_desc_type_node, enum_desc_type_node,
class_desc_type_node, si_class_desc_type_node,
vmi_class_desc_type_node, ptm_desc_type_node,
base_desc_type_node): Remove.
* decl.c: Adjust documentation of global trees.
* rtti.c (TINFO_PSEUDO_TYPE, TINFO_VTABLE_DECL,
TINFO_REAL_NAME): Remove.
(struct tinfo_s): New.
(enum tinfo_kind): New.
(tinfo_descs): New.
(get_tinfo_decl): Adjust use of tinfo descriptor.
(tinfo_base_init, generic_initializer, ptr_initializer,
ptm_initializer, class_initializer): Likewise.
(get_pseudo_ti_init): Take descriptor index. Adjust.
(create_pseudo_type_info): Likewise.
(get_pseudo_ti_desc): Return descriptor index. Adjust.
(create_tinfo_types): Adjust use of create_pseudo_type_info.
(emit_tinfo_decl): Adjust use of tinfo descriptor.

From-SVN: r100971

19 years agoJdwpIdFactory.java: New file.
Keith Seitz [Wed, 15 Jun 2005 03:10:31 +0000 (03:10 +0000)]
JdwpIdFactory.java: New file.

        * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.
        * gnu/classpath/jdwp/processor/PacketProcessor.java: New file.

From-SVN: r100970

19 years agoArrayId.java: New file.
Keith Seitz [Wed, 15 Jun 2005 03:07:49 +0000 (03:07 +0000)]
ArrayId.java: New file.

        * gnu/classpath/jdwp/id/ArrayId.java: New file.
        * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
        * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
        * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/JdwpId.java: New file.
        * gnu/classpath/jdwp/id/ObjectId.java: New file.
        * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/StringId.java: New file.
        * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
        * gnu/classpath/jdwp/id/ThreadId.java: New file.

From-SVN: r100969

19 years agoCanonicalize whitespace.
Mike Stump [Wed, 15 Jun 2005 00:41:35 +0000 (00:41 +0000)]
Canonicalize whitespace.

From-SVN: r100965

19 years agoDaily bump.
GCC Administrator [Wed, 15 Jun 2005 00:16:14 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100963.2

19 years agore PR libffi/21943 (O32 libffi.so fails to link on IRIX 6)
Rainer Orth [Wed, 15 Jun 2005 00:10:05 +0000 (00:10 +0000)]
re PR libffi/21943 (O32 libffi.so fails to link on IRIX 6)

PR libgcj/21943
* src/mips/n32.S: Enforce PIC code.
* src/mips/o32.S: Likewise.

From-SVN: r100961

19 years agore PR target/15266 (libgfortran doesn't compile on IRIX 5.3)
Rainer Orth [Tue, 14 Jun 2005 23:59:48 +0000 (23:59 +0000)]
re PR target/15266 (libgfortran doesn't compile on IRIX 5.3)

PR libfortran/15266
* inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
Use double quotes in select so \t matches tabs.
Add IRIX testcase.
* fixincl.x: Regenerate.
* tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.

From-SVN: r100960

19 years agoconfigure.ac: Treat i*86-*-solaris2.10 and up as X86_64.
Rainer Orth [Tue, 14 Jun 2005 23:37:05 +0000 (23:37 +0000)]
configure.ac: Treat i*86-*-solaris2.10 and up as X86_64.

* configure.ac: Treat i*86-*-solaris2.10 and up as X86_64.
* configure: Regenerate.

From-SVN: r100959

19 years ago* configure.host: Handle Solaris 10/x86.
Rainer Orth [Tue, 14 Jun 2005 23:33:08 +0000 (23:33 +0000)]
* configure.host: Handle Solaris 10/x86.

From-SVN: r100958

19 years ago* fr.po, sv.po: Update.
Joseph Myers [Tue, 14 Jun 2005 23:15:03 +0000 (00:15 +0100)]
* fr.po, sv.po: Update.

From-SVN: r100957

19 years agomips.c (machine_function): Add varargs_size field.
Richard Sandiford [Tue, 14 Jun 2005 22:29:03 +0000 (22:29 +0000)]
mips.c (machine_function): Add varargs_size field.

* config/mips/mips.c (machine_function): Add varargs_size field.
(mips_setup_incoming_varargs): Store the amount of extra stack space
there rather than in *pretend_size.  When saving registers, always
expect virtual_incoming_args_rtx to point to the start of the
pretend arguments.
(mips_va_start): Remove alignment hack.  Handle all
!EABI_FLOAT_VARARGS_P cases in the same way.
(compute_frame_size): Handle varargs_size.  Remove the redundant
!TARGET_OLDABI condition in the handling of pretend_args_size.
(mips_initial_elimination_offset): Remove the now-redundant check
of TARGET_NEWABI.

From-SVN: r100956

19 years agotree-vrp.c (local_fold): Remove.
Jeff Law [Tue, 14 Jun 2005 21:26:33 +0000 (15:26 -0600)]
tree-vrp.c (local_fold): Remove.

        * tree-vrp.c (local_fold): Remove.
        (simplify_using_ranges): Use fold_convert, not local_fold.  Tweak
        DIV/MOD case slightly for readability.

From-SVN: r100955

19 years agoeoshift0.c: Removed prototype for eoshift0.
Thomas Koenig [Tue, 14 Jun 2005 20:45:21 +0000 (20:45 +0000)]
eoshift0.c: Removed prototype for eoshift0.

2005-06-14  Thomas Koenig  <Thomas.Koenig@online.de>

        * intrinsics/eoshift0.c:  Removed prototype for eoshift0.
        * intrinsics/eoshift2.c:  Removed prototype for eoshift2.

From-SVN: r100954

19 years agore PR libgcj/19877 (sometimes reconfiguring leads to incorrect config.h)
Tom Tromey [Tue, 14 Jun 2005 20:05:59 +0000 (20:05 +0000)]
re PR libgcj/19877 (sometimes reconfiguring leads to incorrect config.h)

config/:
PR libgcj/19877:
* no-executables.m4: Call real AC_FUNC_MMAP when cache variable
is set but not 'no'.
libstdc++-v3/:
PR libgcj/19877:
* configure, aclocal.m4: Rebuilt.
* Makefile.in, include/Makefile.in, libmath/Makefile.in,
libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
testsuite/Makefile.in: Likewise.
libjava/:
PR libgcj/19877:
* configure, aclocal.m4, Makefile.in: Rebuilt.
libgfortran/:
PR libgcj/19877:
* configure, aclocal.m4, Makefile.in: Rebuilt.
zlib/:
PR libgcj/19877:
* configure, aclocal.m4, Makefile.in: Rebuilt.

From-SVN: r100953

19 years agoRemove extra white spacing at end of lines.
Mike Stump [Tue, 14 Jun 2005 20:01:59 +0000 (20:01 +0000)]
Remove extra white spacing at end of lines.

From-SVN: r100952

19 years agore PR libmudflap/21724 (libmudflap/Makefile.am, refusing to install mf-runtime.h...
Alfred M. Szmidt [Tue, 14 Jun 2005 19:18:16 +0000 (19:18 +0000)]
re PR libmudflap/21724 (libmudflap/Makefile.am, refusing to install mf-runtime.h in includedir)

2005-05-23  Alfred M. Szmidt  <ams@gnu.org>

PR libmudflap/21724
* Makefile.am (AM_MAKEFLAGS): Pass includedir.
* Makefile.in: Amend.

From-SVN: r100951

19 years agore PR libmudflap/21023 (mudflap reports errors for external array variable with no...
Frank Ch. Eigler [Tue, 14 Jun 2005 19:12:24 +0000 (19:12 +0000)]
re PR libmudflap/21023 (mudflap reports errors for external array variable with no size specified)

2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR mudflap/21023
* tree-mudflap.c (mudflap_finish_file): Exclude non-public
rather than static objects (!) from libmudflap registration.

* testsuite/libmudflap.c/externs.exp, externs-{1,2}.c: New test files.
* testsuite/libmudflap.c/cfrags.exp: Bypass new sources.

From-SVN: r100950

19 years agoClass.java (getClasses): New method.
Tom Tromey [Tue, 14 Jun 2005 18:51:54 +0000 (18:51 +0000)]
Class.java (getClasses): New method.

* java/lang/Class.java (getClasses): New method.
(internalGetClasses): Likewise.
(getClassLoader): Updated documentation.
(getDeclaredClasses): New overload; old overload no longer
native.
(_getConstructors): Removed.
(resourcePath): Updated.
* java/lang/natClass.cc (getClasses): Removed.
* java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
Updated.
(_getConstructors): Removed.

From-SVN: r100948

19 years agoRemove vect-ifcvt-1.c
Devang Patel [Tue, 14 Jun 2005 18:47:36 +0000 (11:47 -0700)]
Remove vect-ifcvt-1.c

From-SVN: r100947

19 years agore PR testsuite/21094 (libmudflap C++ tests run even when C++ not configured)
Frank Ch. Eigler [Tue, 14 Jun 2005 18:37:20 +0000 (18:37 +0000)]
re PR testsuite/21094 (libmudflap C++ tests run even when C++ not configured)

2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR libmudflap/21094
* testsuite/libmudflap.c++/*.exp: Assert build tree g++.

From-SVN: r100946

19 years agore PR libmudflap/22064 (libmudflap contains possible alias violations)
Frank Ch. Eigler [Tue, 14 Jun 2005 18:36:50 +0000 (18:36 +0000)]
re PR libmudflap/22064 (libmudflap contains possible alias violations)

2005-06-14  Frank Ch. Eigler  <fche@redhat.com>

PR mudflap/22064
* mf-impl.h (mudflap_mode, violation_mode): Make these ordinary
unsigned vars with #defines instead of enums.

From-SVN: r100945

19 years agore PR c++/21929 (ICE on invalid template parameter)
Nathan Sidwell [Tue, 14 Jun 2005 16:04:30 +0000 (16:04 +0000)]
re PR c++/21929 (ICE on invalid template parameter)

PR c++/21929
* g++.dg/parse/crash11.C: Update

From-SVN: r100939

19 years agoRemoved, no longer compatible with latest Ada 2005 issues.
Arnaud Charlet [Tue, 14 Jun 2005 15:07:26 +0000 (17:07 +0200)]
Removed, no longer compatible with latest Ada 2005 issues.

From-SVN: r100938

19 years agoopt-functions.awk (global_state_p, [...]): New.
Richard Sandiford [Tue, 14 Jun 2005 14:37:49 +0000 (14:37 +0000)]
opt-functions.awk (global_state_p, [...]): New.

* opt-functions.awk (global_state_p, needs_state_p, static_var): New.
(var_ref): Take the option's flags as a second parameter.  Check
static_var.
* optc-gen.awk: Declare local state variables.  Pass flags to var_ref.

From-SVN: r100937

19 years ago* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.
Roger Sayle [Tue, 14 Jun 2005 13:31:26 +0000 (13:31 +0000)]
* decl.c (grokdeclarator): Only check TREE_OVERFLOW on INTEGER_CST.

From-SVN: r100936

19 years agore PR target/20301 (Assembler labels have a leading "-")
Eric Botcazou [Tue, 14 Jun 2005 13:07:42 +0000 (15:07 +0200)]
re PR target/20301 (Assembler labels have a leading "-")

PR target/20301
* config/sparc/sol2.h (ASM_GENERATE_INTERNAL_LABEL): Emit
unsigned index numbers.

From-SVN: r100933

19 years agoRevert hunk accidentally commited.
Eric Botcazou [Tue, 14 Jun 2005 13:04:03 +0000 (13:04 +0000)]
Revert hunk accidentally commited.

From-SVN: r100932

19 years agoIndex: ChangeLog
Geoffrey Keating [Tue, 14 Jun 2005 09:03:46 +0000 (09:03 +0000)]
Index: ChangeLog
2005-06-13  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in (install-man): Doesn't really depend on installdirs.
(various rules for installing manpages): Do depend on installdirs.

Index: cp/ChangeLog
2005-06-13  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (c++.install-man): Doesn't really depend on installdirs.
(rule for installing g++.1 manpage): Does depend on installdirs.

Index: fortran/ChangeLog
2005-06-13  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (fortran.install-man): Doesn't depend on installdirs.
(rule for installing f95.1 manpage): Does depend on installdirs.

Index: java/ChangeLog
2005-06-13  Geoffrey Keating  <geoffk@apple.com>

* Make-lang.in (rule for installing gcj.1): Depends on installdirs.

From-SVN: r100928

19 years agounwind-dw2-fde-darwin.c (examine_objects): Fix aliasing in read_encoded_value_with_ba...
Nathan Sidwell [Tue, 14 Jun 2005 08:25:18 +0000 (08:25 +0000)]
unwind-dw2-fde-darwin.c (examine_objects): Fix aliasing in read_encoded_value_with_base call.

* unwind-dw2-fde-darwin.c (examine_objects): Fix aliasing in
read_encoded_value_with_base call.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise.
* unwind-dw2.c (extract_cie_info): Fix aliasing in
read_encoded_value call.
(execute_cfa_program, uw_frame_state_for): Likewise.

From-SVN: r100927

19 years agore PR rtl-optimization/22053 (ACATS ICE cxg2002 cxg2008 cxg2019 cxg2020 cxg2021 compe...
Roger Sayle [Tue, 14 Jun 2005 05:57:26 +0000 (05:57 +0000)]
re PR rtl-optimization/22053 (ACATS ICE cxg2002 cxg2008 cxg2019 cxg2020 cxg2021 compensate_edge, at reg-stack.c:2671)

PR rtl-optimization/22053
* reg-stack.c (compensate_edge): Correct mistake in the assertion
checking of EDGE_ABNORMAL_CALL edges; complex return values can
result in the top two stack slots, st(0) and st(1), being live.

From-SVN: r100926

19 years agoArrayId.java: New file.
Keith Seitz [Tue, 14 Jun 2005 00:28:08 +0000 (00:28 +0000)]
ArrayId.java: New file.

        * gnu/classpath/jdwp/id/ArrayId.java: New file.
        * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/ClassLoaderId.java: New file.
        * gnu/classpath/jdwp/id/ClassObjectId.java: New file.
        * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/JdwpId.java: New file.
        * gnu/classpath/jdwp/id/ObjectId.java: New file.
        * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file.
        * gnu/classpath/jdwp/id/StringId.java: New file.
        * gnu/classpath/jdwp/id/ThreadGroupId.java: New file.
        * gnu/classpath/jdwp/id/ThreadId.java: New file.

From-SVN: r100913

19 years agoDaily bump.
GCC Administrator [Tue, 14 Jun 2005 00:16:17 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100911.2

19 years agotree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV, MOD...
Jeff Law [Mon, 13 Jun 2005 23:24:47 +0000 (17:24 -0600)]
tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer simplify DIV, MOD or ABS expressions using VRP information.

        * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): No longer
        simplify DIV, MOD or ABS expressions using VRP information.
        Remove WALK_DATA parameter.  Prototype and all callers updated.
        (eliminate_redundant_computations): Remove WALK_DATA parameter.
        Prototype and all callers updated.
        (optimize_stmt): WALK_DATA parameter is now unused.

        * tree-vrp.c (local_fold): New function.  Like fold, but
        strips useless type conversions in the result.
        (simplify_using_ranges): New function, largely cribbed from
        tree-ssa-dom.c::simplify_rhs_and_lookup_avail_expr.
        (vrp_finalize): Call simplify_using_ranges.

        * gcc.dg/tree-ssa/20030807-10.c: VRP is now expected to
        perform the desired transformations.
        * gcc.dg/tree-ssa/20030806-6.c: Similarly.
        * gcc.dg/tree-ssa/20040514-2.c: Similarly.

From-SVN: r100909

19 years agore PR fortran/21594 ([4.0 only] FAIL: gfortran.dg/eoshift.f90 -O0 execution test)
Thomas Koenig [Mon, 13 Jun 2005 22:37:39 +0000 (22:37 +0000)]
re PR fortran/21594 ([4.0 only] FAIL: gfortran.dg/eoshift.f90  -O0  execution test)

2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21594
        * intrinsics/eoshift0.c:  Add prototype for eoshift0.
        * intrinsics/eoshift2.c:  Add prototype for eoshift2.

From-SVN: r100907

19 years agox86-64.h (ASM_SPEC): Explicitly pass --64 to the assembler in 64-bit mode.
Mark Mitchell [Mon, 13 Jun 2005 22:32:18 +0000 (22:32 +0000)]
x86-64.h (ASM_SPEC): Explicitly pass --64 to the assembler in 64-bit mode.

* config/i386/x86-64.h (ASM_SPEC): Explicitly pass --64 to the
assembler in 64-bit mode.

From-SVN: r100905

19 years agore PR libgcj/22036 (libjava/jni.cc compilation fix in cvs 2005-06-12)
Jim Huang [Mon, 13 Jun 2005 20:23:11 +0000 (20:23 +0000)]
re PR libgcj/22036 (libjava/jni.cc compilation fix in cvs 2005-06-12)

2005-06-13  Jim Huang  <jserv@kaffe.org>

PR libgcj/22036:
* jni.cc (_Jv_JNI_NewObjectV): Use chars() method.
(_Jv_JNI_NewObject): Likewise.

From-SVN: r100897

19 years agoexpr.c (int highest_label_pc_this_method, [...]): New globals.
Per Bothner [Mon, 13 Jun 2005 19:30:47 +0000 (12:30 -0700)]
expr.c (int highest_label_pc_this_method, [...]): New globals.

* expr.c (int highest_label_pc_this_method,
start_label_pc_this_method): New globals.
(lookup_label): Add start_label_pc_this_method to pc for label, and
update highest_label_pc_this_method.  This prevents conflicts between
labels from different methods.
* java-tree.h: Declare new globals.
* jcf-parse.c (parse_class_file): If needed bump
start_label_pc_this_method and reset highest_label_pc_this_method.

From-SVN: r100896

19 years agore PR java/21844 (miscompilation of LinkedHashMap)
Tom Tromey [Mon, 13 Jun 2005 19:21:56 +0000 (19:21 +0000)]
re PR java/21844 (miscompilation of LinkedHashMap)

PR java/21844:
* testsuite/libjava.lang/pr21844.java: New file.
* testsuite/libjava.lang/pr21844.out: New file.

From-SVN: r100894

19 years agore PR java/21844 (miscompilation of LinkedHashMap)
Tom Tromey [Mon, 13 Jun 2005 19:20:22 +0000 (19:20 +0000)]
re PR java/21844 (miscompilation of LinkedHashMap)

PR java/21844:
* parse.y (nested_field_access_p): Handle case where outer field
is inherited by enclosing class.

From-SVN: r100893

19 years ago* MAINTAINERS: Update my email address.
Richard Sandiford [Mon, 13 Jun 2005 19:06:49 +0000 (19:06 +0000)]
* MAINTAINERS: Update my email address.

From-SVN: r100891

19 years agore PR fortran/22038 (Forall with mask broken)
Tobias Schlüter [Mon, 13 Jun 2005 18:23:46 +0000 (20:23 +0200)]
re PR fortran/22038 (Forall with mask broken)

fortran/
2005-06-13  Jakub Jelinek  <jakub@redhat.com>

PR fortran/22038
* trans-stmt.c (gfc_trans_forall_loop): Only increment maskindex
in the innermost loop.

testsuite/
2005-06-13  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

PR fortran/22038
* gfortran.dg/forall_1.f90: Un-XFAIL.

From-SVN: r100887

19 years agore PR c++/20789 (ICE with incomplete type in template)
Nathan Sidwell [Mon, 13 Jun 2005 15:58:10 +0000 (15:58 +0000)]
re PR c++/20789 (ICE with incomplete type in template)

cp:
PR c++/20789
* decl.c (cp_finish_decl): Clear runtime runtime initialization if
in-class decl's initializer is bad.

PR c++/21929
* parser.c (struct cp_parser): Document that scope could be
error_mark.
(cp_parser_diagnose_invalid_type_name): Cope with error_mark for
scope.
(cp_parser_nested_name_specifier): Return NULL_TREE on error.
(cp_parser_postfix_expression): Deal with null or error_mark
scope.
(cp_parser_elaborated_type_specifier): Adjust
cp_parser_nested_name_specifier call.

* parser (cp_parser_skip_to_end_of_block_or_statement): Cleanup.
testsuite:
PR c++/21929
* g++.dg/parse/crash26.C: New.

PR c++/20789
* g++.dg/init/member1.C: New.

From-SVN: r100880

19 years agoRevert scc_operand patch.
David Edelsohn [Mon, 13 Jun 2005 15:49:51 +0000 (15:49 +0000)]
Revert scc_operand patch.

* config/rs6000/predicates.md (scc_operand): Delete.
* config/rs6000/rs6000.md (scc_operand): Change to scc_eq_operand.

From-SVN: r100879

19 years agotrans-expr.c (gfc_conv_function_call): Return int instead of void.
Jakub Jelinek [Mon, 13 Jun 2005 15:24:54 +0000 (17:24 +0200)]
trans-expr.c (gfc_conv_function_call): Return int instead of void.

* trans-expr.c (gfc_conv_function_call): Return int instead of
void.  Use a local variable for has_alternate_specifier and
return it.  Avoid modification of function type's return value
in place, since it may be shared.
* trans.h (has_alternate_specifier): Remove.
(gfc_conv_function_call): Change return type.
* trans-stmt.c (has_alternate_specifier): Remove.
(gfc_trans_call): Add a local has_alternate_specifier variable,
set it from gfc_conv_function_call return value.

* gfortran.dg/altreturn_1.f90: New test.

From-SVN: r100878

19 years agore PR middle-end/21985 (miscompiled or wrong code snippet?)
Zdenek Dvorak [Mon, 13 Jun 2005 14:59:40 +0000 (16:59 +0200)]
re PR middle-end/21985 (miscompiled or wrong code snippet?)

PR middle-end/21985
* fold-const.c (split_address_to_core_and_offset): Always return
the address of the base object.

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

From-SVN: r100877

19 years agotreetree.c (tree_code_get_expression): Call build_function_call_expr to build functio...
Rafael Ávila de Espíndola [Mon, 13 Jun 2005 12:45:53 +0000 (12:45 +0000)]
treetree.c (tree_code_get_expression): Call build_function_call_expr to build function calls.

 2005-06-12  Rafael ?vila de Esp?ndola   <rafael.espindola@gmail.com>

         * treetree.c (tree_code_get_expression): Call build_function_call_expr
to build function calls.

From-SVN: r100876

19 years ago* doc/invoke.texi (Blackfin Options): Document -mlong-calls.
Bernd Schmidt [Mon, 13 Jun 2005 09:40:55 +0000 (09:40 +0000)]
* doc/invoke.texi (Blackfin Options): Document -mlong-calls.

From-SVN: r100875

19 years agotop level:
Zack Weinberg [Mon, 13 Jun 2005 08:26:05 +0000 (08:26 +0000)]
top level:

* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.
config:
* depstand.m4, lead-dot.m4: New files.
libcpp:
* configure.ac: Invoke ZW_CREATE_DEPDIR and
ZW_PROG_COMPILER_DEPENDENCIES.
* aclocal.m4, configure: Regenerate.
* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
New variables.
(distclean): Clean up $(DEPDIR) and its contents.
(.c.o): Use $(COMPILE).
Include $(DEPDIR)/*.Po for most object->header dependencies.

From-SVN: r100874

19 years agotrans-array.c (gfc_conv_descriptor_data_get): Rename from gfc_conv_descriptor_data.
Richard Henderson [Mon, 13 Jun 2005 06:18:15 +0000 (23:18 -0700)]
trans-array.c (gfc_conv_descriptor_data_get): Rename from gfc_conv_descriptor_data.

        * trans-array.c (gfc_conv_descriptor_data_get): Rename from
        gfc_conv_descriptor_data.  Cast the result to the DATAPTR type.
        (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): New.
        (gfc_trans_allocate_array_storage): Use them.
        (gfc_array_allocate, gfc_array_deallocate): Likewise.
        (gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise.
        (gfc_trans_deferred_array): Likewise.
        * trans-expr.c (gfc_conv_function_call): Likewise.
        (gfc_trans_subcomponent_assign): Likewise.
        (gfc_trans_pointer_assignment): Likewise.
        * trans-intrinsic.c (gfc_conv_allocated): Likewise.
        * trans-types.c (gfc_array_descriptor_base): New.
        (gfc_get_element_type): Use GFC_TYPE_ARRAY_DATAPTR_TYPE.
        (gfc_get_array_descriptor_base): Break out from ...
        (gfc_get_array_type_bounds): ... here.  Create type variants.
        * trans-array.h (gfc_conv_descriptor_data_get): Declare.
        (gfc_conv_descriptor_data_set, gfc_conv_descriptor_data_addr): Declare.

From-SVN: r100872

19 years agoNew test.
Richard Henderson [Mon, 13 Jun 2005 06:13:39 +0000 (23:13 -0700)]
New test.

From-SVN: r100871

19 years agore PR tree-optimization/21994 (complex throwing functions cause ICE)
Richard Henderson [Mon, 13 Jun 2005 06:10:49 +0000 (23:10 -0700)]
re PR tree-optimization/21994 (complex throwing functions cause ICE)

        PR tree-opt/21994
        * tree-complex.c (update_complex_components_on_edge): New.
        (update_parameter_components): Use it.
        (update_phi_components): Likewise.
        (expand_complex_move): Likewise for is_ctrl_altering_stmt.

From-SVN: r100870

19 years agore PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)
James A. Morrison [Mon, 13 Jun 2005 00:18:41 +0000 (00:18 +0000)]
re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)

2005-06-12  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/14796
        * fold-const (fold_binary): Transform (X << C) >> C into X & (-1>>C)
        for unsigned types.

From-SVN: r100869

19 years agoDaily bump.
GCC Administrator [Mon, 13 Jun 2005 00:16:44 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100867.2

19 years agore PR c++/21930 (pretty printer confusion)
Roger Sayle [Sun, 12 Jun 2005 23:46:46 +0000 (23:46 +0000)]
re PR c++/21930 (pretty printer confusion)

PR c++/21930
* error.c (dump_expr): UNARY_PLUS_EXPR need not handle void types.
Treat CONVERT_EXPR identically to NOP_EXPR.

* g++.dg/other/error10.C: New test case.

From-SVN: r100865

19 years agoPR libfortran/PR21797
Steven G. Kargl [Sun, 12 Jun 2005 21:00:57 +0000 (21:00 +0000)]
PR libfortran/PR21797

2005-06-12  Steven G. Kargl <kargls@comcast.net>
    Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/PR21797
* m4/cexp.m4 (csqrt`'q):  Add type qualifyer to
sqrt and fabs.
* generated/exp_c4.c:  Regenerated.

Co-Authored-By: Thomas Koenig <Thomas.Koenig@online.de>
From-SVN: r100864

19 years agore PR libfortran/21333 ([4.0 only] in_pack / in_unpack alignment issues)
Thomas Koenig [Sun, 12 Jun 2005 20:27:59 +0000 (20:27 +0000)]
re PR libfortran/21333 ([4.0 only] in_pack / in_unpack alignment issues)

2005-06-12  Thomas Koenig  <Thomas.Koenig@online.de>

PR libfortran/21333
* Changelog: Really update.

From-SVN: r100862

19 years agore PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read...
Francois-Xavier Coudert [Sun, 12 Jun 2005 19:59:17 +0000 (21:59 +0200)]
re PR libfortran/19155 ([4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR))

PR libfortran/19155
* io/read.c (read_f): Take care of spaces after initial sign.
* gfortran.dg/pr19155.f: Add test.

From-SVN: r100861

19 years ago* class.c (inherits_from_p): Do load_class if needed.
Per Bothner [Sun, 12 Jun 2005 19:54:59 +0000 (12:54 -0700)]
* class.c (inherits_from_p): Do load_class if needed.

From-SVN: r100860

19 years ago* gfortran.dg/forall_1.f90: XFAILed.
Tobias Schlüter [Sun, 12 Jun 2005 15:42:14 +0000 (17:42 +0200)]
* gfortran.dg/forall_1.f90: XFAILed.

From-SVN: r100859

19 years agoCorrect previously checked-in testcase.
Tobias Schlüter [Sun, 12 Jun 2005 15:35:20 +0000 (17:35 +0200)]
Correct previously checked-in testcase.

From-SVN: r100858

19 years agotrans-expr.c (gfc_conv_variable): POINTER results don't need f2c calling conventions.
Tobias Schlüter [Sun, 12 Jun 2005 15:21:12 +0000 (17:21 +0200)]
trans-expr.c (gfc_conv_variable): POINTER results don't need f2c calling conventions.

fortran/
* trans-expr.c (gfc_conv_variable): POINTER results don't need f2c
calling conventions.  Look at sym instead of sym->result.
* trans-types.c (gfc_sym_type): Remove workaround for frontend bug.
Remove condition which is always false with workaround removed.
(gfc_return_by_reference): Always look at sym, never at sym->result.
testsuite/
* gfortran.dg/f2c_7.f90: New test.

From-SVN: r100857

19 years agocgraphunit.c, [...]: Fix comment typos.
Kazu Hirata [Sun, 12 Jun 2005 14:03:01 +0000 (14:03 +0000)]
cgraphunit.c, [...]: Fix comment typos.

* cgraphunit.c, tree-ssa-loop-ivopts.c,
tree-ssa-structalias.c, tree-vectorizer.c, tree-vectorizer.h,
config/sparc/sparc.c: Fix comment typos.

From-SVN: r100856

19 years ago* arm/ieee754-df.s (aeabi_dcmpeq, aeabi_dcmplt, aeabi_dcmple)
Richard Earnshaw [Sun, 12 Jun 2005 08:32:50 +0000 (08:32 +0000)]
* arm/ieee754-df.s (aeabi_dcmpeq, aeabi_dcmplt, aeabi_dcmple)
(aeabi_dcmpge, aeabi_dcmpgt): Maintain 8-byte stack alignment.
* arm/ieee754-sf.s (aeabi_l2f, aeabi_fcmpeq, aeabi_fcmplt)
(aeabi_fcmple, aeabi_fcmpge, aeabi_fcmpgt): Likewise.

From-SVN: r100854

19 years agore PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)
James A. Morrison [Sun, 12 Jun 2005 08:03:23 +0000 (08:03 +0000)]
re PR tree-optimization/14796 ([tree-ssa] combine two shifts into one)

2005-06-12  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/14796
        * fold-const.c (fold_binary): Transform (A >> C) << C into
        one BIT_AND_EXPR.
        <shift>: Transform (A OP c1) OP c2 into A OP (c1 + c2).

From-SVN: r100853

19 years agopredicates.md (reg_or_arith_cint_operand): Delete.
Geoffrey Keating [Sun, 12 Jun 2005 03:43:12 +0000 (03:43 +0000)]
predicates.md (reg_or_arith_cint_operand): Delete.

* config/rs6000/predicates.md (reg_or_arith_cint_operand): Delete.
(reg_or_add_cint_operand): Rename from reg_or_add_cint64_operand.
Handle SImode.
(reg_or_sub_cint_operand): Likewise.
(mask_operand): Handle DImode.
(mask64_operand): Delete.
(and64_operand): Delete.
* config/rs6000/rs6000.c (num_insns_constant): Use mask_operand
instead of mask64_operand.
(print_operand): Likewise.
(rs6000_rtx_costs): Use mask_operand and reg_or_add_cint_operand and
reg_or_sub_cint_operand instead of *64_* variants.
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Use mask_operand
instead of mask64_operand.
* config/rs6000/rs6000.md: Use mask_operand and and_operand instead
of *64_* variants.
(FP): New.
(add_op2): Delete.
(add<mode>3): Use reg_or_add_cint_operand.
(sub_op2): Delete.
(sub<mode>3): Use reg_or_sub_cint_operand.
(udiv<mode>3, div<mode>3, div<mode>3_no_mq, mod<mode>3,
mov<mode>_internal2, mov<mode>, cmp<mode>, cmp<mode>,
cmp<mode>_internal1, indirect_jump<mode>, ctr<mode>,
ctr<mode>_internal1, ctr<mode>_internal2, ctr<mode>_internal5,
ctr<mode>_internal6, save_fpregs_<mode>, return_internal_<mode>,
return_and_restore_fpregs_<mode>, eh_set_lr_<mode>,
various unnamed patterns): New.
(udivsi3, divsi3, divsi3_no_mq, modsi3, movsi_internal2, movsi,
cmpsi, cmpsi_internal1, indirect_jumpsi, ctrsi, ctrsi_internal1,
ctrsi_internal2, ctrsi_internal5, ctrsi_internal6, save_fpregs_si,
return_internal_si, return_and_restore_fpregs_si, eh_set_lr_si,
udivdi3, divdi3, divdi3_no_mq, moddi3, movdi_internal2, movdi,
cmpdi, cmpdi_internal1, indirect_jumpdi, ctrdi, ctrdi_internal1,
ctrdi_internal2, ctrdi_internal5, ctrdi_internal6, save_fpregs_di,
return_internal_di, return_and_restore_fpregs_di, eh_set_lr_di,
movhi, movqi, cmpsf, cmpdf, cmptf, various unnamed patterns):
Delete.

From-SVN: r100852

19 years agoFix PR tree-optimization/22005 Fix PR tree-optimization/22025
Daniel Berlin [Sun, 12 Jun 2005 03:19:26 +0000 (03:19 +0000)]
Fix PR tree-optimization/22005 Fix PR tree-optimization/22025

2005-06-11  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/22005
Fix PR tree-optimization/22025

* tree-ssa-structalias.c (struct variable_info): Add has_union
member.
(create_variable_info_for):  Mark variables containing unions.
Don't sort the field stack if notokay is true.
(find_what_p_points_to): Convert variables containing unions back
to their SFT's if necessary.

From-SVN: r100851

19 years agoDaily bump.
GCC Administrator [Sun, 12 Jun 2005 00:16:13 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r100849.2

19 years agore PR fortran/17792 ([4.0 only] deallocate does not return stat)
Steven G. Kargl [Sat, 11 Jun 2005 22:33:11 +0000 (22:33 +0000)]
re PR fortran/17792 ([4.0 only] deallocate does not return stat)

PR fortran/17792
PR fortran/21375
* gfortran.dg/deallocate_statO.f90:  New test.

From-SVN: r100847

19 years agortl.h (to_rtx_code): Remove.
Gabriel Dos Reis [Sat, 11 Jun 2005 22:30:16 +0000 (22:30 +0000)]
rtl.h (to_rtx_code): Remove.

        * rtl.h (to_rtx_code): Remove.
        * machmode.h (to_machine_mode): Likewise.
        * read-rtl.c (apply_mode_macro): Replace to_machine_mode with
        explicit cast.
        (apply_mode_maps): Likewise.
        (read_rtx_1): Likewise.
        (apply_code_macro): Replace to to_rtx_code with explicit cast.
        (check_code_macro): Likewise.
        (read_rtx_1): Likewise.

From-SVN: r100846

19 years agore PR fortran/17792 ([4.0 only] deallocate does not return stat)
Steven G. Kargl [Sat, 11 Jun 2005 22:29:17 +0000 (22:29 +0000)]
re PR fortran/17792 ([4.0 only] deallocate does not return stat)

PR fortran/17792
PR fortran/21375
* trans-array.c (gfc_array_deallocate): pstat is new argument
  (gfc_array_allocate): update gfc_array_deallocate() call.
  (gfc_trans_deferred_array): ditto.
* trans-array.h: update gfc_array_deallocate() prototype.
* trans-decl.c (gfc_build_builtin_function_decls): update declaration
* trans-stmt.c (gfc_trans_deallocate): Implement STAT= feature.

From-SVN: r100845

19 years agoc-typeck.c (convert_for_assignment): Avoid cheking OPT_Wc___compat, as it is always...
Gabriel Dos Reis [Sat, 11 Jun 2005 19:47:01 +0000 (19:47 +0000)]
c-typeck.c (convert_for_assignment): Avoid cheking OPT_Wc___compat, as it is always true.

        * c-typeck.c (convert_for_assignment): Avoid cheking
        OPT_Wc___compat, as it is always true.

From-SVN: r100843

19 years ago[multiple changes]
Thomas Koenig [Sat, 11 Jun 2005 19:39:13 +0000 (19:39 +0000)]
[multiple changes]

2005-06-11  Thomas Koenig  <Thomas.Koenig@onlinde.de>

PR libfortran/21333
* Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c
and in_unpack_c8.c.
* Makefile.in: Regenerate.
* libgfortran.h:  Declare internal_pack_c4, internal_pack_c8,
internal_unpack_c4 and internal_unpack_c8.
* m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind
in function name.
Use sizeof (rtype_name) as size for memory allocation.
* m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind
in function name.
Use sizeof (rtype_name) for calculation of sizes for memcpy.
* runtime/in_pack_generic.c:  For real, integer and logical
call internal_pack_4 if size==4 and internal_pack_8 if
size==8.
For complex, call internal_pack_c4 if size==8 and
internal_pack_c8 if size==16.
* runtime/in_unpack_generic.c: For real, integer and logical
        call internal_unpack_4 if size==4 and internal_unpack_8 if
        size==8.
        For complex, call internal_unpack_c4 if size==8 and
        internal_unpack_c8 if size==16.
* generated/in_pack_i4.c:  Regenerated.
* generated/in_pack_i8.c:  Regenerated.
* generated/in_unpack_i4.c:  Regenerated.
* generated/in_unpack_i8.c:  Regenerated.
* generated/in_pack_c4.c:  New file.
* generated/in_pack_c8.c:  New file.
* generated/in_unpack_c4.c:  New file.
* generated/in_unpack_c8.c:  New file.

2005-05-11  Thomas Koenig  <Thomas.Koenig@online.de>

* gfortran.fortran-torture/execute/in-pack.f90:  New test.

From-SVN: r100842

19 years ago* config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.
David Edelsohn [Sat, 11 Jun 2005 19:07:05 +0000 (19:07 +0000)]
* config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.

From-SVN: r100841