OSDN Git Service

15 years ago * reorg.c (mostly_true_jump): Clean up code depending on
steven [Fri, 16 Dec 2005 15:38:19 +0000 (15:38 +0000)]
* reorg.c (mostly_true_jump): Clean up code depending on
LABEL_OUTSIDE_LOOP_P and loop notes.  Remove code doing
poor man's branch prediction, instead rely on REG_BR_PROB
notes to be available.

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

15 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 14:01:06 +0000 (14:01 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

        * ChangeLog: Fix missing file names.

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

15 years ago PR rtl-optimization/24899
jakub [Fri, 16 Dec 2005 12:12:41 +0000 (12:12 +0000)]
PR rtl-optimization/24899
* loop.c (strength_reduce): Don't reduce giv that is not always
computable and where add_val or mult_val can trap.

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

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

15 years ago * doc/invoke.texi (-fdump-tree-*): Remove note about C/C++ only.
jakub [Fri, 16 Dec 2005 12:07:01 +0000 (12:07 +0000)]
* doc/invoke.texi (-fdump-tree-*): Remove note about C/C++ only.

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

15 years ago * config/mt/mt.h (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Correct
nathan [Fri, 16 Dec 2005 11:57:29 +0000 (11:57 +0000)]
* config/mt/mt.h (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Correct
names of ms1-16-002 files.

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

15 years ago * configure.in: Replace ms1 with mt.
nathan [Fri, 16 Dec 2005 11:52:02 +0000 (11:52 +0000)]
* configure.in: Replace ms1 with mt.
* configure: Rebuilt.

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

15 years agoCheckin missing parts of my 2005-12-12 patch
nathan [Fri, 16 Dec 2005 11:43:46 +0000 (11:43 +0000)]
Checkin missing parts of my 2005-12-12 patch

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

15 years ago PR driver/20425
amodra [Fri, 16 Dec 2005 09:46:22 +0000 (09:46 +0000)]
PR driver/20425
* gcc.c (for_each_path): New function.
(add_to_obstack, file_at_path): New functions.
(struct file_at_path_info, struct add_to_obstack_info): New.
(build_search_list): Rewrite using for_each_path.  Constify struct
path_prefix pointer.  Add do_multi param.  Adjust all callers.
(find_a_file): Similarly, but just change existing param to bool.
(putenv_from_prefixes): Add do_multi param, make "paths" const.
(do_spec_path): Delete.
(struct spec_path_info): New.
(spec_path): New function.
(do_spec_1): Use for_each_path for %D and %I.
(find_file): Adjust for find_a_file changes.
(main): Search multilibs for specs.  Print multilib lib path for
-print-search-dirs.  Likewise add multilibs to LIBRARY_PATH_ENV.
(read_specs): Search multilibs for %include and %include_noerr.
(is_directory): Remove second string param.  Change last param
to a bool.  Don't use concat.  Remove SMALL_ARG_MAX test, always
check path is a dir.  Update all callers.
* doc/hostconfig.texi (SMALL_ARG_MAX): Remove mention.
* system.h (SMALL_ARG_MAX): Poison.
* config.gcc: Don't define SMALL_ARG_MAX.
* config.host: Likewise.
* config.build: Likewise.

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

15 years ago2005-12-16 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 16 Dec 2005 09:24:19 +0000 (09:24 +0000)]
2005-12-16  Paolo Bonzini  <bonzini@gnu.org>

* combine.c (combine_simplify_rtx <case NOT, NEG, TRUNCATE,
simplify_logical): Move simplifications that do not require
additional infrastructure...
* simplify-rtx.c (simplify_unary_operation_1,
simplify_binary_operation_1): ... here.

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

15 years ago2005-12-16 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 16 Dec 2005 09:16:12 +0000 (09:16 +0000)]
2005-12-16  Richard Guenther  <rguenther@suse.de>

(gfc_conv_descriptor_data_addr): Use build_fold_addr_expr where
(gfc_trans_allocate_array_storage): Likewise.
(gfc_trans_array_constructor_value): Likewise.
(gfc_conv_array_data): Likewise.
(gfc_conv_expr_descriptor): Likewise.
(gfc_conv_array_parameter): Likewise.
(gfc_conv_variable): Likewise.
(gfc_conv_function_val): Likewise.
(gfc_conv_function_call): Likewise.
(gfc_conv_expr_reference): Likewise.
(gfc_conv_intrinsic_ctime): Likewise.
(gfc_conv_intrinsic_fdate): Likewise.
(gfc_conv_intrinsic_ttynam): Likewise.
(gfc_conv_intrinsic_si_kind): Likewise.
(gfc_conv_intrinsic_trim): Likewise.
(set_parameter_ref): Likewise.
(gfc_convert_array_to_string): Likewise.
(gfc_trans_open): Likewise.
(gfc_trans_close): Likewise.
(build_filepos): Likewise.
(gfc_trans_inquire): Likewise.
(nml_get_addr_expr): Likewise.
(transfer_namelist_element): Likewise.
(build_dt): Likewise.
(gfc_trans_dt_end): Likewise.
(transfer_array_component): Likewise.
(transfer_expr): Likewise.
(transfer_array_desc): Likewise.
(gfc_trans_transfer): Likewise.
(gfc_trans_allocate): Likewise.
(gfc_trans_deallocate): Likewise.

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

15 years ago2005-12-16 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Fri, 16 Dec 2005 09:09:37 +0000 (09:09 +0000)]
2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

PR 24823
* flow.c (mark_used_dest_regs): New function.
(mark_used_regs): Call mark_used_dest_regs.

2005-12-16  Andreas Krebbel  <krebbel1@de.ibm.com>

PR 24823
* gfortran.dg/pr24823.f: New test.

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

15 years ago * tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
law [Fri, 16 Dec 2005 07:03:12 +0000 (07:03 +0000)]
* tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
represent a use and definition of the same SSA_NAME.

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

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

15 years ago2005-12-16 Jon Grimm <jgrimm2@us.ibm.com>
bje [Fri, 16 Dec 2005 06:38:26 +0000 (06:38 +0000)]
2005-12-16  Jon Grimm  <jgrimm2@us.ibm.com>
    Janis Johnson  <janis187@us.ibm.com>
    Ben Elliston  <bje@au.ibm.com>

* target.h (struct gcc_target): Add decimal_float_supported_p.
* targhooks.c (default_scalar_mode_supported_p): Handle
* builtins.def: Add new builtins for 32, 64 and 128 bit variants
of inf, nan, finite, isinf and isnan.
* builtin-types.def (BT_DFLOAT32, BT_DFLOAT64, BT_DFLOAT128,
* c-decl.c (declspecs_add_type): Verify combos on type qualifiers.
Pedwarn if decimal floating point types are used.  Error if
decimal floating point is not supported by the target.
(finish_declspecs): Return type from DFP typespec_word.
* c-typeck.c (c_common_type): Choose the decimal floating point
type with the greater precision when determining a common type.
(convert_arguments): Warn if there is a mismatch between argument
and prototype for decimal float types.  Warn of conversions with
binary float types and of precision narrowing due to prototype.
* c-parser.c (reswords): Add _Decimal32, _Decimal64, _Decimal128.
(c_token_starts_typename): Handle RID_DFLOAT32/64/128.
(c_token_starts_declspecs): Likewise.
(c_parser_attributes): Likewise.
* c-common.h (enum rid): Add new enumeration values RID_DFLOAT32,
(T_D32, TEX_D32, T_D64, TEX_D64, T_D128, TEX_D128): New macros.
* c-common.c (c_common_type_for_mode): Handle decimal float modes.
(shorten_compare): Convert DFP/BFP operands to a common type.
(c_common_modes_and_builtins): Register built-in decimal float
types if the target supports them.
(handle_mode_addtribute): Handle MODE_DECIMAL_FLOAT.
* builtins.c (fold_builtin_1): Handle 32, 64 and 128 bit cases of
inf, nan, finite, isinf and isnan builtins.
* c-cppbuiltin.c (builtin_define_decimal_float_constants): New.
(builtin_define_float_constants): Assert non-decimal radix.
(c_cpp_builtins): Register built-in __DEC_EVAL_METHOD__ define.
Call builtin_define_decimal_float_constants for each type.
* c-lex.c (interpret_float): Decode decimal float types from CPP_N
flags.  Use real_from_string3, which can handle binary or decimal
* c-tree.h (enum c_typespec_keyword): Add cts_dfloat32,
cts_dfloat64, cts_dfloat128.
* tree.c (build_common_tree_nodes_2): Add decimal float types.
* tree.h (enum tree_index): Add new enumeration values
(dfloat32_type_node): New macro.
(dfloat64_type_node, dfloat128_type_node): Likewise.
(dfloat32_ptr_type_node, dfloat64_ptr_type_node): Likewise.
(dfloat128_ptr_type_node): Likewise.
* c-pretty-print.c (pp_c_floating_constant): Append 32, 64 and 128
bit decimal floating point types with "df", "dd" and "dl".
* c-format.h (enum format_lengths): Add new enumeration values
* c-format.c (printf_length_specs, scanf_length_specs): Add
entries for H, D, DD.
(print_char_table, scan_char_table): Use new entries.
(asm_fprintf_char_table, gcc_diag_char_table,
gcc_cdiag_char_table, gcc_cxxdiag_char_table): Adjust for longer
length arrays.
* defaults.h (DECIMAL32_TYPE_SIZE): Define.
(DECIMAL64_TYPE_SIZE): Likewise.
(DECIMAL128_TYPE_SIZE): Likewise.
* doc/extend.texi (Decimal Float): New node.
(Constructing Calls): Document decimal float built-ins.
* doc/tm.texi: Document TARGET_DECIMAL_FLOAT_SUPPORTED_P hook.
* Makefile.in (USER_H): Add $(srcdir)/ginclude/decfloat.h.
* ginclude/decfloat.h: New file.

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

15 years ago * reload.c (find_reloads): Fix comment typo.
amodra [Fri, 16 Dec 2005 06:14:17 +0000 (06:14 +0000)]
* reload.c (find_reloads): Fix comment typo.
* recog.h (recog_memoized): Correct comment.

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

15 years ago * basic-block.h, config/i386/winnt.c, config/pa/pa.c,
kazu [Fri, 16 Dec 2005 06:09:31 +0000 (06:09 +0000)]
* basic-block.h, config/i386/winnt.c, config/pa/pa.c,
config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def,
reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c,
tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos.
* doc/invoke.texi, doc/tm.texi: Fix typos.

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

15 years ago * parser.c, pt.c: Fix comment typos.
kazu [Fri, 16 Dec 2005 05:55:45 +0000 (05:55 +0000)]
* parser.c, pt.c: Fix comment typos.

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

15 years ago * dependency.c, resolve.c, trans-array.c: Fix comment typos.
kazu [Fri, 16 Dec 2005 05:49:45 +0000 (05:49 +0000)]
* dependency.c, resolve.c, trans-array.c: Fix comment typos.
* gfortran.texi: Fix typos.

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

15 years ago2005-12-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Fri, 16 Dec 2005 05:01:38 +0000 (05:01 +0000)]
2005-12-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (base_types):
        Change C++ style comments to C style comments.
        Remove aligned types from the array.
        Keep Enums disabled.
        (complex_types): Remove aligned types from the array.
        Comment out "_Complex long double".
        (attrib_types): Remove.
        (complex_attrib_types): Remove.
        (attrib_array_types): Remove.
        (complex_attrib_array_types): Remove.
        (aligned_bitfld_types): Remove.
        (n_aligned_bitfld_types): Remove.
        (singles): Remove support for adding attributes.
        (choose_type): Remove support for attributed types.
        (generate_fields): Remove support for attributed bit-fields.
        Remove support for adding attributes.
        (generate_random_tests): Remove support for adding attributes.
        (features): Add back "[0] :0" and "complex vector [0]".
        (main): Remove support for attributed bit-fields.
        Uncomment the calling of generate_random_tests for the rests of
        the tests.

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

15 years ago * real.c (decimal_quad_format): Correct values for emin, emax.
bje [Fri, 16 Dec 2005 02:11:48 +0000 (02:11 +0000)]
* real.c (decimal_quad_format): Correct values for emin, emax.

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

15 years ago* config/m32c/predicates.md (m32c_psi_scale): New.
dj [Fri, 16 Dec 2005 01:31:39 +0000 (01:31 +0000)]
* config/m32c/predicates.md (m32c_psi_scale): New.
* config/m32c/m32c.c (m32c_expand_neg_mulpsi3): New.
* config/m32c/muldiv.md (mulpsi3): Support negative constants.

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

15 years agoDaily bump.
gccadmin [Fri, 16 Dec 2005 00:17:46 +0000 (00:17 +0000)]
Daily bump.

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

15 years agogcc/java:
tromey [Fri, 16 Dec 2005 00:00:43 +0000 (00:00 +0000)]
PR java/25429
* parse.y (resolve_expression_name): Don't generate accessor
methods for constant fields.
* testsuite/libjava.compile/rh175833.java: New file.
* testsuite/libjava.compile/pr25429.java: New file.

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

15 years ago PR rtl-optimization/25224
hubicka [Thu, 15 Dec 2005 23:52:16 +0000 (23:52 +0000)]
PR rtl-optimization/25224
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy

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

15 years agoCommit part of Zdenek's larger loop-invariant.c patch.
steven [Thu, 15 Dec 2005 23:30:46 +0000 (23:30 +0000)]
Commit part of Zdenek's larger loop-invariant.c patch.

* loop-invariant.c (df): New global variable.
(find_defs, check_dependencies, find_invariant_insn, record_uses,
find_invariants_bb, find_invariants_body, find_invariants,
find_invariants_to_move, move_invariants, free_inv_motion_data,
move_single_loop_invariants, move_loop_invariants): Do not pass df in

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

15 years ago * varasm.c (default_unique_section_1): Use special section
jakub [Thu, 15 Dec 2005 22:33:15 +0000 (22:33 +0000)]
* varasm.c (default_unique_section_1): Use special section
names for SECCAT_DATA_REL{,_RO}{,_LOCAL}.

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

15 years ago * nl.po: Update.
jsm28 [Thu, 15 Dec 2005 22:31:39 +0000 (22:31 +0000)]
* nl.po: Update.

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

15 years ago * doc/invoke.texi (Warning Options): Document -Walways-true being
bje [Thu, 15 Dec 2005 22:31:20 +0000 (22:31 +0000)]
* doc/invoke.texi (Warning Options): Document -Walways-true being
enabled by -Wall.

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

15 years ago PR other/25028
jsm28 [Thu, 15 Dec 2005 21:50:10 +0000 (21:50 +0000)]
PR other/25028
* libgcc2.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Define.
* libgcc2.c (__floatdixf, __floatundixf, __floatditf,
__floatunditf): Use #error if type sizes don't match requirements
of implementation.
(__floatdisf, __floatdidf): Unify.  Possibly use XFmode or TFmode
as wider floating-point type.  Use #error if type sizes don't
match requirements of implementation.  Avoid overflow in computing
Wtype_MAXp1_F * Wtype_MAXp1_F.  When special casing conversion,
shift one more bit.  Cast 1 to DWtype or UDWtype for shifting.
(__floatundisf, __floatundidf): Likewise.
* config/ia64/hpux.h (XF_SIZE, TF_SIZE): Define.
* config/ia64/ia64.c (ia64_init_libfuncs): Use
_U_Qfcnvfxt_quad_to_quad and _U_Qfcnvxf_quad_to_quad for
TFmode-TImode conversions.
* doc/tm.texi (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Document.

* gcc.dg/torture/fp-int-convert-timode.c: Only XFAIL for LP64 IA64

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

15 years ago * freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
rodrigc [Thu, 15 Dec 2005 21:32:43 +0000 (21:32 +0000)]
    * freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
        Use builtin_define_with_int_value() instead of
        adding a new check for every new major FreeBSD version.

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

15 years ago2005-12-15 Bryce McKinlay <mckinlay@redhat.com>
bryce [Thu, 15 Dec 2005 20:04:48 +0000 (20:04 +0000)]
2005-12-15  Bryce McKinlay  <mckinlay@redhat.com>

        * MAINTAINERS: Update my email address.

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

15 years ago2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Thu, 15 Dec 2005 16:49:21 +0000 (16:49 +0000)]
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/t-darwin (darwin-c.o): Depend on $(TREE_H) instead of tree.h.

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

15 years ago2005-12-15 David Ayers <d.ayers@inode.at>
ayers [Thu, 15 Dec 2005 16:46:17 +0000 (16:46 +0000)]
2005-12-15  David Ayers  <d.ayers@inode.at>

PR libobjc/14382
* README (+load,+initialize): Fix documentation to reflect
intended and implemented semantics for +load and +initialize.

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

15 years ago * config/arm/predicates.md (call_memory_operand): New.
rsandifo [Thu, 15 Dec 2005 16:42:10 +0000 (16:42 +0000)]
* config/arm/predicates.md (call_memory_operand): New.
* config/arm/arm.md (*call_mem, *call_value_mem): Use it.

* gcc.dg/20051215-1.c: New file.

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

15 years ago2005-12-15 Andrew Haley <aph@redhat.com>
aph [Thu, 15 Dec 2005 16:17:50 +0000 (16:17 +0000)]
2005-12-15  Andrew Haley  <aph@redhat.com>

        * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard
        against prev_cache_entry == NULL when moving a cache entry to the
        head of the list.

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

15 years ago * config/mt/mt.c (mt_override_options): Require lower case
nathan [Thu, 15 Dec 2005 16:14:26 +0000 (16:14 +0000)]
* config/mt/mt.c (mt_override_options): Require lower case
architectures.  Revert accidental default to ms2.
ENDFILE_SPEC): Require lower case architectures.  Revert default
to ms2.

* doc/invoke.texi (MT Options): Rename and update.
* doc/md.texi (MorphoTech family): Rename and update.

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

15 years ago2005-12-15 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 15 Dec 2005 14:34:27 +0000 (14:34 +0000)]
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all, do-[+make_target+], do-check, install,
install-host-nogcc): Don't invoke $(stage) at the end.
* Makefile.in: Regenerate.

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

15 years ago * stor-layout.c (layout_type): Don't complain about a too small
hainque [Thu, 15 Dec 2005 13:09:41 +0000 (13:09 +0000)]
* stor-layout.c (layout_type): Don't complain about a too small
an array element type size compared to its alignment when the
size overflows.

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

15 years ago PR target/24969
hubicka [Thu, 15 Dec 2005 12:49:10 +0000 (12:49 +0000)]
PR target/24969
* i386.c (classify_argument): Properly adjust offset of bitfield for

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

15 years ago * final.c (final_scan_insn): Flip in_cold_section_p when changing
rsandifo [Thu, 15 Dec 2005 12:40:33 +0000 (12:40 +0000)]
* final.c (final_scan_insn): Flip in_cold_section_p when changing
between the hot and cold sections.  Use current_function_section
to get the new section.
* dwarf2out.c (output_line_info): Use in_cold_section_p to
determine whether we are assembling hot or cold code.
(secname_for_decl, dwarf2out_var_location): Likewise.
(dwarf2out_init, dwarf2out_finish): Use switch_to_section.
* varasm.c (last_text_section): Delete.
(in_cold_section_p): New variable.
(hot_function_section): New function.
(current_function_section): Pass in_cold_section_p as the
reloc argument to select_section.  Use it to decide between
unlikely_function_section and hot_function_section.
(assemble_start_function): Use switch_to_section.  Set
in_cold_section_p instead of last_text_section.
(assemble_end_function): Use switch_to_section.
(switch_to_section): Don't set last_text_section.
* config/darwin/darwin.c (machopic_select_section): Trust the reloc
argument to make the right choice between hot and cold sections.

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

15 years ago2005-12-15 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 15 Dec 2005 11:31:59 +0000 (11:31 +0000)]
2005-12-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_vector.h (vector<>::_M_get_Tp_allocator): Change
to return by ref and add non const version.
* include/bits/stl_deque.h (deque<>::_M_get_Tp_allocator): Likewise.

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

15 years ago Second part of MS1->MT renaming
nathan [Thu, 15 Dec 2005 11:23:19 +0000 (11:23 +0000)]
Second part of MS1->MT renaming
* config/mt/mt.md (doloop_end): Call mt_add_loop.
(movqi, movhi): Call mt_set_memflags.
(*movdf_internal): Call mt_split_words.
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call
(cmpsi): Store to mt_compare_op[01].
(beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge,
bungt, bunle, bunlt): Call mt_emit_cbranch.
(prologue): Call mt_expand_prologue.
(epilogu): Call mt_expend_epilogue.
(eh_return): Call mt_expand_eh_return.
(eh_epilogue): Call me_emit_eh_epilogue.
(conditional_trap): Store to mt_compare_op[01].
* config/mt/crti.asm: Adjust comment.
* config/mt/crtn.asm: Adjust comment.
* config/mt/mt.c (MT_INT_ARG_FIRST): Renamed.
(mt_compare_op0, mt_compare_op1): Renamed.
(current_frame_info, zero_frame_info): Adjust type.
(mt_ucmpsi3_libcall): Renamed.
(mt_flag_delayed_branch): Renamed.
(mt_struct_value_rtx, mt_return_addr_rtx): Renamed.
(mt_nops_required, mt_nop_reasons): Renamed.
(mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn,
mt_debug_stack, mt_print_operand_simple_address,
mt_print_operand_address, mt_print_operand): Renamed, adjusted.
(mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg,
mt_function_arg_advance, mt_arg_partial_bytes,
mt_pass_by_reference, mt_function_arg_boundary,
mt_reg_ok_for_base_p, mt_legitimate_simple_address_p,
mt_legitimate_address_p): Renamed, adjusted.
(mt_cpu): Renamed.
(mt_init_machine_status, mt_override_options, mt_builtin_saveregs,
mt_va_start, mt_compute_frame_size, mt_emit_save_restore,
mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p,
mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue,
mt_expand_eh_return, mt_emit_eh_prologue,
mt_handl_interrupt_attribute): Renamed, adjusted.
(mt_attribute_table): Renamed, adjusted.
(mt_initial_elimination_offset, mt_generate_compare,
mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags,
mt_secondary_reload_class, mt_function_value, mt_split_words,
mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length,
mt_scan_loop, mt_reorg_loops): Renamed, adjusted.
(mt_labels): Renamed.
(mt_add_branches, mt_check_delay_slot, mt_reorg_hazard,
mt_machine_reorg): Renamed, adjusted.
(mt_attribute_table: Renamed.
* config/mt/mt.opt (march): Set mt_cpu_string.
* config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed.
(TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003,
TARGET_MS2): Adjust.
(MT_MIN_INT): Renamed.
(struct mt_frame_info): Renamed.
(current_frame_info): Adjust type.
(MT_NUM_ARG_REGS): Renamed.
(mt_compare_op0, mt_compare_op1): Renamed.
* config/mt/mt-protos.h: Rename prototypes.

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

15 years ago2005-12-15 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 15 Dec 2005 10:34:44 +0000 (10:34 +0000)]
2005-12-15  Richard Guenther  <rguenther@suse.de>

* tree-flow.h (okay_component_ref_for_subvars): Remove.
(get_ref_base_and_extent): Declare.
* tree-dfa.c (okay_component_ref_for_subvars): Remove.
(get_ref_base_and_extent): New function.
* tree-ssa-alias.c (find_used_portions): Use it.
* tree-ssa-structalias.c (get_constraint_for_component_ref):
* tree-ssa-operands.c (get_expr_operands): Likewise.

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

15 years ago2005-12-15 Paolo Carlini <pcarlini@suse.de>
paolo [Thu, 15 Dec 2005 10:11:03 +0000 (10:11 +0000)]
2005-12-15  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/25421
* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
for null argument.
* testsuite/22_locale/facet/25421.cc: New.

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

15 years ago2005-12-15 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 15 Dec 2005 08:51:16 +0000 (08:51 +0000)]
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

        * combine.c: Remove force_to_mode's fourth parameter.
        (force_to_mode): Do not handle REG.
        (canon_reg_for_combine): New.
        (make_field_assignment): Use it where the removed argument was non-NULL.

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

15 years ago * testsuite/lib/libjava.exp: Revert 2005-12-01.
amodra [Thu, 15 Dec 2005 07:37:32 +0000 (07:37 +0000)]
* testsuite/lib/libjava.exp: Revert 2005-12-01.
* testsuite/libjava.lang/Array_3.xfail: Delete.

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

15 years ago PR target/25406
amodra [Thu, 15 Dec 2005 07:22:10 +0000 (07:22 +0000)]
PR target/25406
* config/rs6000/rs6000.c (rs6000_special_round_type_align): Handle
error_mark_node.  Make alignment params unsigned.
* config/rs6000/rs6000-protos.h
(rs6000_special_round_type_align): Update prototype.
(rs6000_machopic_legitimize_pic_address): Remove arg names.

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

15 years ago * g++.dg/rtti/repo1.C: Call cleanup-repo-files.
ghazi [Thu, 15 Dec 2005 01:50:15 +0000 (01:50 +0000)]
* g++.dg/rtti/repo1.C: Call cleanup-repo-files.
* gcc.dg/20050330-2.c: Call cleanup-coverage-files.

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

15 years agofortran/
eedelman [Thu, 15 Dec 2005 00:47:13 +0000 (00:47 +0000)]
2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18197
        * resolve.c (resolve_formal_arglist): Remove code to set
        the type of a function symbol from it's result symbol.

2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/18197
        * gfortran.dg/dummy_functions_1.f90: New.

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

15 years agoDaily bump.
gccadmin [Thu, 15 Dec 2005 00:18:45 +0000 (00:18 +0000)]
Daily bump.

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

15 years ago PR rtl-optimization/25310
uweigand [Wed, 14 Dec 2005 23:34:51 +0000 (23:34 +0000)]
PR rtl-optimization/25310
* reload1.c (eliminate_regs_in_insn): Handle lowpart SUBREGs
of the eliminable register when substituting into a PLUS.

PR rtl-optimization/25310
* gcc.c-torture/compile/pr25310.c: New test.

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

15 years ago2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Wed, 14 Dec 2005 20:32:43 +0000 (20:32 +0000)]
2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>

        * Make-lang.in (objcp/objcp-decl.o): Add depends on $(EXPR_H).

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

15 years ago PR debug/25023
jakub [Wed, 14 Dec 2005 20:30:46 +0000 (20:30 +0000)]
PR debug/25023
* config/i386/i386.c (ix86_force_to_memory): Always use
SImode push for HImode in -m32.
(ix86_free_from_memory): Likewise.

* gcc.dg/pr25023.c: New test.

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

15 years ago2005-12-14 Andrew Haley <aph@redhat.com>
aph [Wed, 14 Dec 2005 20:26:30 +0000 (20:26 +0000)]
2005-12-14  Andrew Haley  <aph@redhat.com>

        * gnu/java/rmi/rmic/CompilerProcess.java: Use a new thread to
        handle stdout from the child process.

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

15 years ago PR classpath/25389:
tromey [Wed, 14 Dec 2005 18:36:55 +0000 (18:36 +0000)]
PR classpath/25389:
* java/io/File.java (File): Throw IllegalArgumentException if URI is

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

15 years ago * g++.old-deja/g++.brendan/redecl1.C,
ghazi [Wed, 14 Dec 2005 18:19:39 +0000 (18:19 +0000)]
* g++.old-deja/g++.brendan/redecl1.C,
g++.old-deja/g++.eh/inline1.C, g++.old-deja/g++.ns/crash2.C,
g++.old-deja/g++.ns/template7.C, g++.old-deja/g++.oliva/ns3.C,
g++.old-deja/g++.other/lookup5.C, g++.old-deja/g++.pt/crash65.C,
g++.old-deja/g++.pt/decl2.C, g++.old-deja/g++.pt/explicit76.C,
g++.old-deja/g++.pt/memtemp85.C, g++.old-deja/g++.pt/memtemp86.C,
g++.old-deja/g++.pt/memtemp87.C, g++.old-deja/g++.pt/memtemp88.C,
g++.old-deja/g++.pt/memtemp91.C, g++.old-deja/g++.pt/spec14.C,
g++.old-deja/g++.pt/static10.C, treelang/compile/exit.tree:
Remove xfail.

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

15 years ago2005-12-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 14 Dec 2005 17:56:46 +0000 (17:56 +0000)]
2005-12-14  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Flip the top-level bootstrap switch.
* configure: Regenerate.

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

15 years ago * gcc/config/arm/arm.md: Provide a big-endian version of the
rsandifo [Wed, 14 Dec 2005 17:55:16 +0000 (17:55 +0000)]
* gcc/config/arm/arm.md: Provide a big-endian version of the
(zero_extend:SI (subreg:QI ...)) splitter.

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

15 years ago * gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
ghazi [Wed, 14 Dec 2005 17:30:34 +0000 (17:30 +0000)]
* gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
* gcc.target/i386/20020523-1.c: Ditto.
* gcc.target/i386/tailcall-1.c: Ditto.
* gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC.
* gcc.target/i386/ssetype-5.c: Ditto.

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

15 years ago * struct-equiv.c (note_local_live): Handle hard regs with different
amylaar [Wed, 14 Dec 2005 16:36:29 +0000 (16:36 +0000)]
* struct-equiv.c (note_local_live): Handle hard regs with different

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

15 years ago * tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer
law [Wed, 14 Dec 2005 16:15:53 +0000 (16:15 +0000)]
* tree-ssa-ccp.c (fold_stmt_r): DATA argument is now a pointer
to a structure containing state rather than a pointer to bool.
(case ARRAY_REF): New code to handle folding some array references.
(case ADDR_EXPR): Note when we are processing expressions found
within an ADDRE_EXPR.
(fold_stmt, fold_stmt_inplace): Pass in a structure to fold_stmt_r
for state variables rather than just a pointer to a boolean.
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
handling of constant string references.

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

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

15 years ago2005-12-14 Adrian Straetling <straetling@de.ibm.com>
uweigand [Wed, 14 Dec 2005 16:11:14 +0000 (16:11 +0000)]
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md ("*tstdi_extimm", "*tstsi_extimm"): Merge.
("*tstdi_cconly_extimm", "*tstsi_cconly_extimm"): Merge.
("*tstdi_cconly2", "*tstsi_cconly2"): Merge.
Move other tst* patterns to retain partial order.

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

15 years ago2005-12-14 Adrian Straetling <straetling@de.ibm.com>
uweigand [Wed, 14 Dec 2005 16:10:10 +0000 (16:10 +0000)]
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md ("d0", "1"): New mode attributes.
("<shift>di3", "<shift>si3"): Merge.
("*<shift>di3_and", "*<shift>si3_and"): Merge.
("ashrdi3", "ashrsi3"): Merge.
("*ashrdi3_cc", "*ashrsi3_cc"): Merge.
("*ashrdi3_cc_and", "*ashrsi3_cc_and"): Merge.
("*ashrdi3_cconly", "*ashrsi3_cconly"): Merge.
("*ashrdi3_cconly_and", "*ashrsi3_cconly_and"): Merge.
("*ashrdi3", "*ashrsi3"): Merge.
("*ashrdi3_and", "*ashrsi3_and"): Merge.

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

15 years ago2005-12-14 Adrian Straetling <straetling@de.ibm.com>
uweigand [Wed, 14 Dec 2005 16:08:57 +0000 (16:08 +0000)]
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md ("extend<mode>di2", "extend<mode>si2"): Merge.
("*extendqidi2_extimm", "*extendqisi2_extimm"): Merge.
("*extendqidi2", "*extendqisi2") Merge.
("*extendqidi2_short_displ", "*extendqisi2_short_displ"): Merge.
("zero_extendhidi2", "zero_extendqidi2"): Merge.
("*zero_extend<mode>di2_extimm", "*zero_extend<mode>si2_extimm"): Merge.
Move some patterns to retain partial ordering.

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

15 years ago2005-12-14 Adrian Straetling <straetling@de.ibm.com>
uweigand [Wed, 14 Dec 2005 16:05:01 +0000 (16:05 +0000)]
2005-12-14  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.md ("atype", "length"): Rewrite.
("*insv<mode>_reg_imm", "*insv<mode>_reg_extimm"): Add mode.

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

15 years ago * Makefile.tpl: Throughout the file, use : $(MAKE) along with
drow [Wed, 14 Dec 2005 15:30:44 +0000 (15:30 +0000)]
* Makefile.tpl: Throughout the file, use : $(MAKE) along with
$(stage) and $(unstage).
(EXTRA_TARGET_FLAGS): Correct double-quoting.
(all): Remove stray semicolon.
(local-distclean): Don't handle multilib.tmp and multilib.out.
(install.all): Set $s for consistency.
(configure-[+prefix+][+module+]): Instead of [+deps+], handle
check_multilibs setting.  Always make the install directory.
(configure-stage[+id+]-[+prefix+][+module+]): Likewise.
Correct @if/@endif.
(all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif.
($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove.
(stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR).
(multilib.out): Remove.
* Makefile.in: Regenerated.

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

15 years ago * tree-ssa-operands.c (build_ssa_operands): Update leading comment.
spop [Wed, 14 Dec 2005 14:20:55 +0000 (14:20 +0000)]
* tree-ssa-operands.c (build_ssa_operands): Update leading comment.

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

15 years ago * struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
amylaar [Wed, 14 Dec 2005 14:18:36 +0000 (14:18 +0000)]
* struct-equiv.c (rtx_equiv_p): Allow arbitrary RVALUE values for
PARALLELs with a mode.

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

15 years ago * cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of
spop [Wed, 14 Dec 2005 14:17:35 +0000 (14:17 +0000)]
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Adjust the type of
cond_expr parameter.

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

15 years ago * loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.
spop [Wed, 14 Dec 2005 14:15:01 +0000 (14:15 +0000)]
    * loop-unswitch.c (unswitch_loop): Free zero_bitmap before returning.

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

15 years ago2005-12-14 J"orn Rennecke <joern.rennecke@st.com>
amylaar [Wed, 14 Dec 2005 13:41:22 +0000 (13:41 +0000)]
2005-12-14  J"orn Rennecke <joern.rennecke@st.com>

PR bootstrap/25397:

* struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing
of STACK_REGS bits.

* struct-euiv.c (rtx_equiv_p): Remove SUBREG case.

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

15 years ago PR target/25254
jakub [Wed, 14 Dec 2005 11:00:50 +0000 (11:00 +0000)]
PR target/25254
PR target/24188
* config/i386/i386.c (x86_64_elf_select_section): If DECL is not
DECL_P, call get_section rather than get_named_section.  Supply
section flags to it.

* gcc.target/i386/pr25254.c: New test.
* gfortran.dg/PR24188.f: New test.

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

15 years ago2005-12-14 David Billinghurst (David.Billinghurst@riotinto.com)
billingd [Wed, 14 Dec 2005 03:28:17 +0000 (03:28 +0000)]
2005-12-14  David Billinghurst  (David.Billinghurst@riotinto.com)

* lib/fortran-torture.exp:  Catch remaining uses of
remote_file build delete.

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

15 years ago * g++.old-deja/g++.oliva/stkalign.C: Remove xfail.
ghazi [Wed, 14 Dec 2005 01:50:57 +0000 (01:50 +0000)]
* g++.old-deja/g++.oliva/stkalign.C: Remove xfail.

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

15 years agoDaily bump.
gccadmin [Wed, 14 Dec 2005 00:17:32 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago * c-common.c (c_common_truthvalue_conversion): Generalise warning
bje [Tue, 13 Dec 2005 23:33:26 +0000 (23:33 +0000)]
* c-common.c (c_common_truthvalue_conversion): Generalise warning
for addresses converted to booleans; not just function addresses.
* c-typeck.c (build_binary_op): Warn for address comparisons which
can never be NULL (eg. func == NULL or &var == NULL).
* common.opt (Walways-true): New option.
* c-opts.c (c_common_handle_option): Set it with -Wall.
* doc/invoke.texi: Document it.
* gcc.dg/warn-addr-cmp.c: New test.

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

15 years ago2005-12-13 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 13 Dec 2005 22:49:56 +0000 (22:49 +0000)]
2005-12-13  Paul Brook  <paul@codesourcery.com>

* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
__floatunsidf, __floatunsisf, __floatunsixf): New functions.

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

15 years ago * config/mt/t-mt (crti.o, crtn.o): Add multilib options.
nathan [Tue, 13 Dec 2005 17:08:34 +0000 (17:08 +0000)]
* config/mt/t-mt (crti.o, crtn.o): Add multilib options.

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

15 years ago PR rtl-optimization/20070 / part1
amylaar [Tue, 13 Dec 2005 13:04:18 +0000 (13:04 +0000)]
PR rtl-optimization/20070 / part1
* flow.c (update_life_info): If PROP_POST_REGSTACK is set, call
count_or_remove_death_notes with kill == -1.
(mark_set_1): Don't add REG_DEAD / REG_UNUSED notes for stack
registers if PROP_POST_REGSTACK is set.
(mark_used_reg): Likewise.
(count_or_remove_death_notes): If kill is -1, don't remove REG_DEAD /
REG_UNUSED notes for stack regs.
* cfgcleanup.c (condjump_equiv_p): Change parameters and processing
to match rtx_equiv_p machinery.  Change caller.
(outgoing_edges_match): Likewise.
(try_crossjump_to_edge): Use struct_equiv_block_eq
instead of flow_find_cross_jump.
(struct struct_equiv_checkpoint, struct equiv_info): Likewise.
(insns_match_p): Update prototype.
(flow_find_cross_jump): Remove prototype.
(struct_equiv_block_eq, struct_equiv_init): Declare.
(rtx_equiv_p, condjump_equiv_p): Likewise.
* struct-equiv.c: Include reload.h.
(assign_reg_reg_set, struct_equiv_make_checkpoint): New functions.
(struct_equiv_improve_checkpoint): Likewise.
(struct_equiv_restore_checkpoint, rtx_equiv_p): Likewise.
(set_dest_equiv_p, set_dest_addr_equiv_p, struct_equiv_init): Likewise.
(struct_equiv_merge, find_dying_input): Likewise.
(resolve_input_conflict, note_local_live): Likewise.
(death_notes_match_p): Change parameters and processing
to match rtx_equiv_p machinery.  Change caller.
(insns_match_p): Likewise.
(flow_find_cross_jump): Replace with:

Back out this change:
2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>
          * recog.c (verify_changes): Make it static.
          * recog.h: Remove the corresponding prototype.

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

15 years ago * rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point
amylaar [Tue, 13 Dec 2005 12:49:56 +0000 (12:49 +0000)]
* rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point

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

15 years ago * config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
nathan [Tue, 13 Dec 2005 09:54:15 +0000 (09:54 +0000)]
* config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
(MULTILIB_DIRNAMES): Add ms2.  Prefix ms1 dirs with 'ms1'.
* config/mt/mt.c (ms1_final_prescan): Use TARGET_MS2,
TARGET_MS1_64_001 appropriately.
(ms1_machine_reorg): Use TARGET_MS2.

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

15 years ago2005-12-13 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 13 Dec 2005 09:54:03 +0000 (09:54 +0000)]
2005-12-13  Richard Guenther  <rguenther@suse.de>

* trans-expr.c (gfc_conv_substring): Use fold_build2 and

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

15 years ago2005-12-13 Andrew Haley <aph@redhat.com>
aph [Tue, 13 Dec 2005 09:41:45 +0000 (09:41 +0000)]
2005-12-13  Andrew Haley  <aph@redhat.com>

        PR java/25366
        PR java/25368
        * class.c (maybe_layout_super_class): Update current_class before
        calling do_resolve_class.

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

15 years ago PR libfortran/24991
jakub [Tue, 13 Dec 2005 08:31:41 +0000 (08:31 +0000)]
PR libfortran/24991
* acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
(LIBGFOR_GTHREAD_WEAK): ... this.  Define SUPPORTS_WEAK rather
than HAVE_PRAGMA_WEAK.  Define GTHREAD_USE_WEAK to 0 on hosts
that shouldn't use weak in gthr.h.
* configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
* config.h.in: Regenerated.
* configure: Regenerated.
* io/io.h (SUPPORTS_WEAK): Don't define here.

* intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
* intrinsics/fget.c (fgetc, fputs): Likewise.
* intrinsics/tty.c (ttynam): Likewise.

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

15 years agoUpdate.
jakub [Tue, 13 Dec 2005 08:14:41 +0000 (08:14 +0000)]

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

15 years ago PR debug/25023
jakub [Tue, 13 Dec 2005 08:08:46 +0000 (08:08 +0000)]
PR debug/25023
PR target/25293
* expr.c (emit_move_resolve_push): Handle PRE_MODIFY
and POST_MODIFY with CONST_INT adjustment equal to PUSH_ROUNDING.
Fix POST_INC/POST_DEC handling if PUSH_ROUNDING is not identity.
* config/i386/i386.md (pushhi2, pushqi2): Use pushl instead of pushw.
Set mode to SI, adjust constraints.
(pushhi2_rex64, pushqi2_rex64): Set mode to DI.
* config/i386/i386.h (PUSH_ROUNDING): Round up to 4 instead of 2 for
32-bit code.

* gcc.target/i386/pr25293.c: New test.

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

15 years ago2005-12-13 Petr Machata <machata@post.cz>
jakub [Tue, 13 Dec 2005 08:01:53 +0000 (08:01 +0000)]
2005-12-13  Petr Machata  <machata@post.cz>

PR c++/24907
* parser.c (cp_parser_simple_declaration): Require comma at the
beginning of processing second and later declarators, instead of
allowing the comma at the end of each iteration.

* g++.dg/parse/comma2.C: New test.

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

15 years ago * g++.dg/compat/struct-layout-1.exp: Do not link with libiberty.
jakub [Tue, 13 Dec 2005 07:59:01 +0000 (07:59 +0000)]
* g++.dg/compat/struct-layout-1.exp: Do not link with libiberty.
* g++.dg/compat/struct-layout-1_generate.c (config.h): Do not include.
(limits.h): Include unconditionally.
(stdlib.h): Likewise.
(hashtab.h): Do not include.
(getopt.h): Likewise.
(stddef.h): Include.
(hashval_t): Define.
(struct entry): Add "next" field.
(HASH_SIZE): New macro.
(hash_table): New variable.
(switchfiles): Do not use xmalloc.
(mix): New macro.
(iterative_hash): New function.
(hasht): Remove.
(e_exists): New function.
(e_insert): Likewise.
(output): Use, instead of libiberty hashtable functions.
(main): Do not use getopt.  Do not call htab_create.

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

15 years ago PR c++/25331
jakub [Tue, 13 Dec 2005 07:56:10 +0000 (07:56 +0000)]
PR c++/25331
* gcc.dg/compat/struct-layout-1_generate.c (subfield): Don't
put atal* and atpaal* attributes on array elements.
(generate_fields): Revert 2005-10-07 and 2005-10-11 changes.
* g++.dg/compat/struct-layout-1_generate.c (subfield): Don't
put atal* and atpaal* attributes on array elements.
(generate_fields): Don't prevent atal* attribute on ETYPE_ARRAY.

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

15 years agogcc/fortran/
rsandifo [Tue, 13 Dec 2005 05:23:12 +0000 (05:23 +0000)]
* Make-lang.in (fortran/trans-resolve.o): Depend on
* gfortran.h (gfc_expr): Add an "inline_noncopying_intrinsic" flag.
* dependency.h (gfc_get_noncopying_intrinsic_argument): Declare.
(gfc_check_fncall_dependency): Change prototype.
* dependency.c (gfc_get_noncopying_intrinsic_argument): New function.
(gfc_check_argument_var_dependency): New function, split from
(gfc_check_argument_dependency): New function.
(gfc_check_fncall_dependency): Replace the expression parameter with
separate symbol and argument list parameters.  Generalize the function
to handle dependencies for any type of expression, not just variables.
Accept a further argument giving the intent of the expression being
tested.  Ignore intent(in) arguments if that expression is also
* resolve.c: Include dependency.h.
(find_noncopying_intrinsics): New function.
(resolve_function, resolve_call): Call it on success.
* trans-array.h (gfc_conv_array_transpose): Declare.
(gfc_check_fncall_dependency): Remove prototype.
* trans-array.c (gfc_conv_array_transpose): New function.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Don't use the
libcall handling if the expression is to be evaluated inline.
Add a case for handling inline transpose()s.
* trans-expr.c (gfc_trans_arrayfunc_assign): Adjust for the new
interface provided by gfc_check_fncall_dependency.

* m4/matmul.m4: Use a different order in the special case of a
transposed first argument.
* generated/matmul_c4.c, generated/matmul_c8.c, generated/matmul_c10.c,
* generated/matmul_c16.c, generated/matmul_i4.c, generated/matmul_i8.c,
* generated/matmul_i10.c, generated/matmul_r4.c, generated/matmul_r8.c
* generated/matmul_r10.c, generated/matmul_r16.c: Regenerated.

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

15 years ago2005-12-13 Carlos O'Donell <carlos@codesourcery.com>
carlos [Tue, 13 Dec 2005 05:12:32 +0000 (05:12 +0000)]
2005-12-13  Carlos O'Donell <carlos@codesourcery.com>


* c-cppbuiltin.c (builtin_define_float_constants): Add
fp_cast parameter, pass to builtin_define_with_hex_fp_value.
(builtin_define_with_hex_fp_value): Use fp_cast when building macro.
(c_cpp_builtins): If flag_single_precision_constant then set fp_cast
to "((double)%sL)" otherwise "%s".


* gcc.dg/single-precision-constant.c: New test.


* include/std/std_limits.h (struct numeric_limits):

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

15 years ago * gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/20020103-1.c,
amodra [Tue, 13 Dec 2005 05:05:29 +0000 (05:05 +0000)]
* gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/20020103-1.c,
gcc.dg/20040625-1.c, gcc.dg/asm-b.c, gcc.dg/iftrap-1.c,
gcc.dg/iftrap-2.c, gcc.dg/simd-3.c, gcc.dg/switch-1.c,
gcc.dg/tree-ssa/bool-1.c, gcc.dg/tree-ssa/bool-2.c,
gcc.dg/tree-ssa/bool-4.c, gcc.dg/tree-ssa/bool-5.c,
gcc.dg/tree-ssa/bool-6.c, gcc.dg/tree-ssa/bool-8.c,
gcc.dg/tree-ssa/bool-9.c, gcc.target/powerpc/980827-1.c,
gcc.target/powerpc/20040622-1.c, gcc.target/powerpc/20050603-3.c,
gcc.target/powerpc/20050830-1.c, gcc.target/powerpc/altivec-6.c,
gcc.target/powerpc/altivec-14.c, gcc.target/powerpc/altivec-22.c,
gcc.target/powerpc/doloop-1.c, gcc.target/powerpc/ppc-and-1.c,
gcc.target/powerpc/ppc-bitfield1.c, gcc.target/powerpc/ppc-compare-1.c,
gcc.target/powerpc/ppc-mov-1.c, gcc.target/powerpc/ppc-sdata-1.c,
gcc.target/powerpc/ppc64-abi-1.c, gcc.target/powerpc/ppc64-abi-2.c,
gcc.target/powerpc/ppc64-abi-3.c, gcc.target/powerpc/ppc64-toc.c,
gcc.target/powerpc/pr18096-1.c, gcc.target/powerpc/rs6000-ldouble-1.c,
gcc.target/powerpc/rs6000-power2-2.c: Don't use powerpc-*-* or
powerpc64-*-* in target selection strings.  Instead use powerpc*-*-*
and ilp32 or lp64 as appropriate.  Merge dg-require-effective-target
option into target selector.
* gcc.dg/20020919-1.c: Compile for powerpc*-*-*.  Handle powerpc64.
* gcc.misc-tests/linkage.exp: Set native_cflags for powerpc*-*-linux*.

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

15 years ago * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
pbrook [Tue, 13 Dec 2005 01:35:43 +0000 (01:35 +0000)]
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for

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

15 years ago * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
pbrook [Tue, 13 Dec 2005 01:35:10 +0000 (01:35 +0000)]
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for

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

15 years ago2005-12-12 Carlos O'Donell <carlos@codesourcery.com>
carlos [Tue, 13 Dec 2005 01:08:45 +0000 (01:08 +0000)]
2005-12-12  Carlos O'Donell <carlos@codesourcery.com>

* MAINTAINERS (Write After Approval): Add myself.

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

15 years agoDaily bump.
gccadmin [Tue, 13 Dec 2005 00:17:27 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 12 Dec 2005 23:58:16 +0000 (23:58 +0000)]
2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25348
        * objc-act.c (encode_array): Handle arrays to zero sized types.
2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/25348
        * objc.dg/encode-9.m: New test.

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

15 years ago2005-12-11 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
gdr [Mon, 12 Dec 2005 23:12:14 +0000 (23:12 +0000)]
2005-12-11 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>

        * tree-flow.h: Allow compilation with a C++ compiler.
        (struct edge_prediction): Prefix all field names  with "ep_".
        * predict.c (tree_predicted_by_p): Likewise for struct
        (tree_predict_edge, combine_predictions_for_bb): Likewise.
        (remove_predictions_associated_with_edge): Likewise.

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

15 years ago PR testsuite/20772
ghazi [Mon, 12 Dec 2005 22:28:02 +0000 (22:28 +0000)]
PR testsuite/20772
* g++.old-deja/g++.eh/tmpl2.C: Remove xfail.
* gcc.dg/asm-b.c: Fix typo.
* gcc.dg/torture/pr20314-2.c: Test on i?86 lp64.
* gcc.dg/tree-ssa/stdarg-2.c, gcc.dg/tree-ssa/stdarg-3.c,
gcc.dg/tree-ssa/stdarg-4.c, gcc.dg/tree-ssa/stdarg-5.c: Test on
i?86 lp64 and x86_64 ilp32.
* gcc.target/i386/amd64-abi-1.c, gcc.target/i386/pr23943.c: Test
on i?86 lp64.
* gfortran.dg/g77/20010216-1.f: Test on x86_64 ilp32.

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

15 years ago PR fortran/25078
kargl [Mon, 12 Dec 2005 20:13:37 +0000 (20:13 +0000)]
    PR fortran/25078
        * match.c (gfc_match_equivalence):  Count number of objects.

        gfortran.dg/equiv_5.f90:  New test.

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

15 years ago * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
law [Mon, 12 Dec 2005 19:59:16 +0000 (19:59 +0000)]
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Remove
reassociation code.
* passes.c (init_optimization_passes): Run reassociation again
after loop optimizations.

* tree-ssa-dom.c (thread_across_edge): Canonicalize condition
if necessary.
(optimize_stmt): Ditto.
(canonicalize_comparison): New function.
* tree-ssa-operands.c (swap_tree_operands): Make external.
(get_expr_operands): Stop auto-canonicalization.
* tree-ssa-reassoc.c: Rewrite.
* tree-flow.h (swap_tree_operands): Prototype.
* Makefile.in (tree-ssa-reassoc.o): Update dependencies.

* gcc.dg/tree-ssa/ssa-pre-2.c: Update due to reassociation changes.
* gcc.dg/tree-ssa/reassoc-1.c: Likewise.
* gcc.dg/tree-ssa/reassoc-2.c: Likewise.
* gcc.dg/tree-ssa/reassoc-3.c: Likewise.
* gcc.dg/tree-ssa/reassoc-4.c: Likewise.
* gcc.dg/tree-ssa/reassoc-5.c: New.
* gcc.dg/tree-ssa/reassoc-6.c: New.
* gcc.dg/tree-ssa/reassoc-7.c: New.
* gcc.dg/tree-ssa/reassoc-8.c: New.
* gcc.dg/tree-ssa/reassoc-9.c: New.
* gcc.dg/tree-ssa/reassoc-10.c: New.
* gcc.dg/tree-ssa/reassoc-11.c: New.

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