OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoconfig:
bonzini [Wed, 9 Sep 2009 19:42:21 +0000 (19:42 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

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

11 years ago PR rtl-optimization/39779
uros [Wed, 9 Sep 2009 19:25:31 +0000 (19:25 +0000)]
PR rtl-optimization/39779
* expr.c (convert_modes): Return when mode == oldmode after
CONST_INTs are processed.

testsuite/ChangeLog:

PR rtl-optimization/39779
* gcc.dg/pr39979.c: New test.

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

11 years ago2009-09-09 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 9 Sep 2009 19:05:55 +0000 (19:05 +0000)]
2009-09-09  Kai Tietz  <kai.tietz@onevision.com>

PR/41315
* config/i386.c (ix86_can_use_return_insn_p): Check for
padding0, too.
(ix86_expand_prologue): Take frame.padding0 into logic of
to_allocate checks.
(ix86_expand_epilogue): Likewise.

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

11 years ago * config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
jakub [Wed, 9 Sep 2009 18:39:52 +0000 (18:39 +0000)]
* config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
New variables.
(SHLIB_LINK, SHLIB_INSTALL): Use them.
* config/t-slibgcc-libgcc: New file.
* config.gcc (powerpc*-*-linux*, powerpc*-*-gnu*): Use it.

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

11 years ago2009-09-09 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 9 Sep 2009 16:51:14 +0000 (16:51 +0000)]
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.
Eliminate now pointless comments.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

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

11 years ago2009-09-09 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 9 Sep 2009 16:50:15 +0000 (16:50 +0000)]
2009-09-09  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/41089
* tree-sra.c (find_var_candidates): Do not consider va_lists in
early SRA.

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

11 years ago* gimple.h (CASE_GIMPLE_OMP): New.
rth [Wed, 9 Sep 2009 16:47:06 +0000 (16:47 +0000)]
* gimple.h (CASE_GIMPLE_OMP): New.
        (is_gimple_omp): Use it.
        * tree-cfg.c (is_ctrl_altering_stmt): Likewise.
        (verify_gimple_debug): Likewise.

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

11 years ago * MAINTAINERS (Reviewers): Add self as driver reviewer.
jsm28 [Wed, 9 Sep 2009 16:42:18 +0000 (16:42 +0000)]
* MAINTAINERS (Reviewers): Add self as driver reviewer.

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

11 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 15:04:27 +0000 (15:04 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41101
* tree-ssa-pre.c (maximal_set): Remove.
(compute_antic_aux): Treat the maximal set as implicitly all ones.
Defer all blocks we didn't visit at least one successor.
(add_to_exp_gen): Do not add to the maximal set.
(make_values_for_phi): Likewise.
(compute_avail): Likewise.
(init_pre): Do not allocate the maximal set.
(execute_pre): Do not dump it.

* gcc.c-torture/compile/pr41101.c: New testcase.

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

11 years ago2009-09-09 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 9 Sep 2009 14:44:23 +0000 (14:44 +0000)]
2009-09-09  Martin Jambor  <mjambor@suse.cz>

* tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is
an SSA_NAME rather than a is_gimple_variable.

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

11 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 14:35:51 +0000 (14:35 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/41317
* tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Remove
code dealing with plain pointer bases.
(maybe_fold_offset_to_reference): Likewise.
(maybe_fold_stmt_addition): Adjust.

* gcc.c-torture/execute/pr41317.c: New testcase.
* gcc.dg/tree-ssa/forwprop-11.c: XFAIL.
* gcc.dg/tree-ssa/forwprop-12.c: Likewise.

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

11 years ago2009-09-09 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 9 Sep 2009 09:30:26 +0000 (09:30 +0000)]
2009-09-09  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data_in_type): Do not free the type variant
chains.
(free_lang_data): Merge char_type_node with its properly signed
variant.
(pass_ipa_free): Collect after freeing language specific data.

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

11 years ago * ChangeLog: Fix last entry.
fxcoudert [Wed, 9 Sep 2009 09:15:16 +0000 (09:15 +0000)]
    * ChangeLog: Fix last entry.

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

11 years ago PR bootstrap/41180
fxcoudert [Wed, 9 Sep 2009 08:14:36 +0000 (08:14 +0000)]
PR bootstrap/41180
* gcc/cp/Make-lang.in: Remove redundant code from linkage
for darwin10.

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

11 years ago PR middle-end/41268
matz [Wed, 9 Sep 2009 00:43:36 +0000 (00:43 +0000)]
PR middle-end/41268
* cfgexpand.c (expand_gimple_stmt_1): Use an int for storing
SUBREG_PROMOTED_UNSIGNED_P, instead of a bool.
* rtl.h (struct rtx, SUBREG_PROMOTED_UNSIGNED_P): Update comments
to reflect reality.

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

11 years ago* config/mep/mep.c (conversions[]): Add "ml" pattern.
dj [Wed, 9 Sep 2009 00:17:52 +0000 (00:17 +0000)]
* config/mep/mep.c (conversions[]): Add "ml" pattern.

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

11 years agoDaily bump.
gccadmin [Wed, 9 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoUse -fno-merge-debug-string for some dwarf tests
dodji [Tue, 8 Sep 2009 22:36:41 +0000 (22:36 +0000)]
Use -fno-merge-debug-string for some dwarf tests

Use -fno-merge-debug-string to comply with Darwin
* g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string
and adjust.
* g++.dg/debug/dwarf2/template-func-params-6.C: Likewise.
* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
* g++.dg/debug/dwarf2/template-params-6.C: Likewise.
* g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to
take darwin specifics in account.

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

11 years ago * gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
jsm28 [Tue, 8 Sep 2009 22:31:13 +0000 (22:31 +0000)]
* gcc.dg/profile-dir-1.c, gcc.dg/profile-dir-2.c,
gcc.dg/profile-dir-3.c: Disable for remote-host testing.

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

11 years ago/cp
paolo [Tue, 8 Sep 2009 22:00:42 +0000 (22:00 +0000)]
/cp
2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39923
* decl.c (build_init_list_var_init): Check return value of
perform_implicit_conversion.

/testsuite
2009-09-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39923
* g++.dg/cpp0x/initlist24.C: New.

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

11 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy
ebotcazou [Tue, 8 Sep 2009 19:40:00 +0000 (19:40 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy
flow of control.
Avoid useless work when processing the Treat_As_Volatile flag.

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

11 years ago * tree.c (tree_find_value): Remove.
jason [Tue, 8 Sep 2009 19:26:06 +0000 (19:26 +0000)]
* tree.c (tree_find_value): Remove.
* tree.h: Remove prototype.
* varasm.c (assemble_external): Use value_member instead.

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

11 years ago2009-09-08 Ozkan Sezer <sezeroz@gmail.com>
ktietz [Tue, 8 Sep 2009 19:16:18 +0000 (19:16 +0000)]
2009-09-08  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/large-size-array-2.c: Fix target requirement.
        * gcc.dg/large-size-array-4.c: Likewise.
        * gcc.dg/c90-const-expr-2.c: Define ZERO as 0LL for _WIN64.
        * gcc.dg/c99-const-expr-2.c: Likewise.
        * gcc.dg/c90-const-expr-6.c: Typedef ptrdiff_t with __extension__.
        * gcc.dg/c90-const-expr-9.c: Typedef size_t with __extension__.
        * gcc.dg/c90-const-expr-10.c: Likewise.
        * gcc.dg/torture/pr39074.c: Use intptr_t typedef'ed as __PTRDIFF_TYPE__
        instead of long.
        * gcc.dg/tree-ssa/pr33920.c: Likewise.
        * gcc.dg/vect/pr33846.c: Likewise.
        * gcc.dg/vect/pr33833.c: Use uintptr_t, typedef'ed as unsigned
        __PTRDIFF_TYPE__, instead of unsigned long.
        * gcc.dg/vect/O1-pr33854.c: Use __SIZE_TYPE__ instead of unsigned long.

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

11 years ago* tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are
rth [Tue, 8 Sep 2009 18:35:24 +0000 (18:35 +0000)]
* tree-ssa-sccvn.c (vn_reference_lookup_3): Don't assume there are
        more VR->OPERANDS than LHS operands.  Free LHS before returning.

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

11 years ago * class.c (currently_open_class): Make sure we're dealing with the
jason [Tue, 8 Sep 2009 18:13:02 +0000 (18:13 +0000)]
* class.c (currently_open_class): Make sure we're dealing with the
main variant.

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

11 years ago * cp-tree.h (enum overload_flags): Remove OP_FLAG.
jason [Tue, 8 Sep 2009 18:12:54 +0000 (18:12 +0000)]
* cp-tree.h (enum overload_flags): Remove OP_FLAG.
* method.c (lazily_declare_fn): Check for dtorness in ABI warning.

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

11 years ago * name-lookup.c (is_class_level): Remove.
jason [Tue, 8 Sep 2009 18:12:45 +0000 (18:12 +0000)]
* name-lookup.c (is_class_level): Remove.
(push_binding_level, leave_scope, resume_scope): Adjust.
(pushlevel_class): Adjust.
(poplevel_class): Make sure we're on class_binding_level.

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

11 years ago * decl.c (grokmethod): Rename from start_method.
jason [Tue, 8 Sep 2009 18:12:37 +0000 (18:12 +0000)]
* decl.c (grokmethod): Rename from start_method.
(finish_method): Remove.
* cp-tree.h: Adjust.
* parser.c (cp_parser_save_member_function_body): Adjust.

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

11 years agoFix toplevel config.status for HP-UX sed.
rwild [Tue, 8 Sep 2009 17:55:03 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.

/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.

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

11 years ago* toplev.c (process_options): Choose default debugging type when
aoliva [Tue, 8 Sep 2009 17:44:50 +0000 (17:44 +0000)]
* toplev.c (process_options): Choose default debugging type when
gtoggle enables debug info and type is unset.

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

11 years agoPR debug/41276
aoliva [Tue, 8 Sep 2009 17:44:10 +0000 (17:44 +0000)]
PR debug/41276
PR debug/41307
* cselib.c (cselib_expand_value_rtx_1): Don't return copy of
invalid subreg.

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

11 years agoChangeLog:
aoliva [Tue, 8 Sep 2009 17:43:37 +0000 (17:43 +0000)]
ChangeLog:
* libtool.m4 (output_verbose_link_cmd): Require leading blank, and
blank before -L.
gcc/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
libstdc++-v3/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
boehm-gc/ChangeLog:
* configure: Rebuilt with modified libtool.m4.
libjava/ChangeLog:
* configure: Rebuilt with modified libtool.m4.

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

11 years agogcc/ChangeLog:
aoliva [Tue, 8 Sep 2009 17:42:11 +0000 (17:42 +0000)]
gcc/ChangeLog:
PR debug/41229
PR debug/41291
PR debug/41300
* tree-ssa.c (execute_update_addresses_taken): Update debug insns.
gcc/testsuite/ChangeLog:
PR debug/41229
PR debug/41291
PR debug/41300
* gfortran.dg/pr41229.f90: New.

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

11 years ago* tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
aoliva [Tue, 8 Sep 2009 17:40:45 +0000 (17:40 +0000)]
* tree-ssa-loop-ivopts.c (get_phi_with_result): Remove.
(remove_statement): Likewise.
(rewrite_use_nonlinear_expr): Adjust.
(remove_unused_ivs): Collect SSA NAMEs to remove and call...
* tree-ssa.c (release_defs_bitset): ... this.  New.
* tree-flow.h (release_defs_bitset): Declare.

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

11 years agogcc/ChangeLog:
aoliva [Tue, 8 Sep 2009 17:39:42 +0000 (17:39 +0000)]
gcc/ChangeLog:
PR debug/41232
* tree-ssa-phiopt.c (minmax_replacement): Skip debug stmts
in the middle block.
gcc/testsuite/ChangeLog:
PR debug/41232
* gcc.dg/pr41232.c: New.

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

11 years agosed portability fixes in fixincludes
rwild [Tue, 8 Sep 2009 17:30:31 +0000 (17:30 +0000)]
sed portability fixes in fixincludes

fixincludes/:
PR testsuite/29737
PR bootstrap/35938
PR testsuite/39655
* check.tpl: Fix typos.
* README: Likewise.  Also, document that 'select' uses ERE.
* mkheaders.in: Update copyright years in --version output.
* inclhack.def (sco_math): Add missing final newline in sed
script 'a', 'c', or 'i' commands, for BSD sed.
(sco_math): In the text of 'a', 'c', or 'i' sed
commands, prepend leading white space with a backslash to avoid
the whitespace to be removed by BSD sed.
(sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
(x11_new): Fix sed expression, for BSD sed.
(glibc_mutex_init): Fix newlines in sed 's' command replacement
part, for GNU sed 3.02 and Solaris sed.
(glibc_mutex_init): Replace unportable \+ sed regex operator
with \{1,\}.
(glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
alternation \| regex operator.
(solaris_complex): Remove superfluous backslashes from
replacement string.  Replace \+ operator with \{1,\}.
* tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
* fixincl.x: Regenerate.

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

11 years agoMissed regeneration.
ktietz [Tue, 8 Sep 2009 15:28:27 +0000 (15:28 +0000)]
Missed regeneration.

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

11 years ago2009-09-08 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 8 Sep 2009 15:26:50 +0000 (15:26 +0000)]
2009-09-08  Kai Tietz  <kai.tietz@onevision.com>

        * tree-ssa-reassoc.c (find_operand_rank): Cast pointer
        via intptr_t to long type.
        (insert_operand_rank): Cast long type via intptr_t to
        pointer type.
        * genattrtab.c (RTL_HASH): Use intptr_t to cast from
        pointer to scalar.
        * c-pretty-print.c (pp_c_tree_decl_identifier): Cast
        from pointer to unsigned via uintptr_t.

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

11 years ago2009-09-08 Paolo Bonzini <bonzini@gnu.org>
ktietz [Tue, 8 Sep 2009 15:21:07 +0000 (15:21 +0000)]
2009-09-08  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Rewrite by using autoconf 2.64 features.

2009-09-08  Kai Tietz  <kai.tietz@onevision.com>

* configure.ac (GCC_STDINT_TYPES): Initialize intptr_t,
uintptr_t, HAVE_INTTYPES_H, HAVE_STDINT_H, HAVE_UINTPTR_T,
and HAVE_INTPTR_T.
* configure: Regenerated.
* config.in: Regenerated
* system.h (stdint.h): Add include.
(inttypes.h): Likewise.
* Makefile.in (aclocal): Add config/stdint.m4.
* aclocal.m4: Regenerated.

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

11 years ago * config/bfin/bfin.c (np_check_regno, np_after_branch): New static
bernds [Tue, 8 Sep 2009 14:52:02 +0000 (14:52 +0000)]
* config/bfin/bfin.c (np_check_regno, np_after_branch): New static
variables.
(note_np_check_stores): New function.
(harmless_null_pointer_p): New function.
(trapping_loads_p): New args NP_REG and AFTER_NP_BRANCH.  Callers
changed.  Take into account whether we're in the shadow of a condjump
that tested NP_REG for NULL.
Lose all code that tested for SEQUENCEs.
(workaround_speculation): Avoid inserting NOPs for loads that are
either always executed or a NULL pointer.

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

11 years ago * doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
hubicka [Tue, 8 Sep 2009 13:59:20 +0000 (13:59 +0000)]
* doc/invoke.texi (early-inlining-insns): Reduce from 12 to 8.
* params.def (early-inlining-insns): Likewise.

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

11 years ago * id.po: Update.
jsm28 [Tue, 8 Sep 2009 12:15:41 +0000 (12:15 +0000)]
* id.po: Update.

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

11 years ago * gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
jsm28 [Tue, 8 Sep 2009 10:55:09 +0000 (10:55 +0000)]
* gcc.misc-tests/i386-prefetch.exp: Skip tests when multilib flags
contain -march.
* gcc.dg/tree-ssa/prefetch-7.c, gcc.target/i386/387-1.c,
gcc.target/i386/387-5.c, gcc.target/i386/cmov7.c,
gcc.target/i386/funcspec-1.c, gcc.target/i386/funcspec-8.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
gcc.target/i386/isa-6.c, gcc.target/i386/lea.c,
gcc.target/i386/pentium4-not-mull.c, gcc.target/i386/sse-5.c,
gcc.target/i386/ssefn-1.c: Skip when multilib flags contain -march
options other than that used in dg-options.

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

11 years ago PR rtl-optimization/41239
jakub [Tue, 8 Sep 2009 09:25:47 +0000 (09:25 +0000)]
PR rtl-optimization/41239
* sched-int.h (struct deps): Add last_function_call_may_noreturn field.
* sched-rgn.c (deps_join): Join also last_function_call_may_noreturn
lists.
* sched-deps.c (sched_analyze_insn): Prevent moving trapping insns
across calls, as the calls might not always return normally.
(call_may_noreturn_p): New function.
(deps_analyze_insn): Update last_function_call_may_noreturn list.
(init_deps): Initialize it.
(remove_from_deps): Also remove calls from
last_function_call_may_noreturn list.

* gcc.c-torture/execute/pr41239.c: New test.

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

11 years ago * gcc-interface/targtyps.c: Reorder include directives.
ebotcazou [Tue, 8 Sep 2009 06:57:47 +0000 (06:57 +0000)]
* gcc-interface/targtyps.c: Reorder include directives.

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

11 years ago2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 8 Sep 2009 01:18:48 +0000 (01:18 +0000)]
2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41192
* gfortran.dg/namelist_59.f90: New test.

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

11 years ago2009-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 8 Sep 2009 00:59:05 +0000 (00:59 +0000)]
2009-09-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41192
* io/list_read.c (eat_line): Enable eat_line to function on
internal units.

PR libgfortran/41219
* io/list_read.c (nml_read_obj): Replace GFC_DTYPE_UNKNOWN with
BT_NULL to get rid of warning.

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

11 years agoDaily bump.
gccadmin [Tue, 8 Sep 2009 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago From Jie Zhang <jie.zhang@analog.com>:
bernds [Mon, 7 Sep 2009 21:40:23 +0000 (21:40 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/predicates.md (p_register_operand): New
predicate.
(dp_register_operand): New predicate.
* config/bfin/bfin-protos.h (WA_05000074): Define.
(ENABLE_WA_05000074): Define.
* config/bfin/bfin.c (bfin_cpus[]): Add WA_05000074 for
all cpus.
(bfin_gen_bundles): Put dsp32shiftimm instruction in slot[0].
* config/bfin/bfin.md (define_attr type): Add dsp32shiftimm.
(define_attr addrtype): Allow load/store register to be
P register.
(define_attr storereg): New.
(define_cpu_unit anomaly_05000074): New.
(define_insn_reservation dsp32shiftimm): New.
(define_insn_reservation dsp32shiftimm_anomaly_05000074): New.
(define_insn_reservation loadp): Cannot use slot2.
(define_insn_reservation loadsp): Cannot use slot2.
(define_insn_reservation storep): Cannot use slot2. Does not
apply when working around 05000074.
(define_insn_reservation storep_anomaly_05000074): New.
(define_insn_reservation storei): Does not apply when working
around 05000074.
(define_insn_reservation storei_anomaly_05000074): New.
(define_attr length): Add dsp32shiftimm case.
(define_insn movsi_insn32, movsi_insv, ashlsi3_insn, ashrsi3,
ror_one, rol_one, lshrsi3, lshrpdi3, ashrpdi3, movhiv2hi_low,
movhiv2hi_high, composev2hi, packv2hi, movv2hi_hi,
ssashiftv2hi3, ssashifthi3, ssashiftsi3, lshiftv2hi3, lshifthi3):
Set type as dsp32shiftimm for dsp32shiftimm alternatives.

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

11 years agogcc/
bernds [Mon, 7 Sep 2009 18:59:49 +0000 (18:59 +0000)]
gcc/
From Mike Frysinger  <michael.frysinger@analog.com>
* config/bfin/bfin-protos.h (bfin_cpu_type): Add BFIN_CPU_BF542M,
BFIN_CPU_BF544M, BFIN_CPU_BF547M, BFIN_CPU_BF548M, and BFIN_CPU_BF549M.
* config/bfin/bfin.c (bfin_cpus[]): Add 0.3 for bf542m, bf544m, bf547m,
bf548m, and bf549m.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF542M__
for BFIN_CPU_BF542M, __ADSPBF544M__ for BFIN_CPU_BF544M, __ADSPBF547M__
for BFIN_CPU_BF547M, __ADSPBF548M__ for BFIN_CPU_BF548M, and
__ADSPBF549M__ for BFIN_CPU_BF549M.
* config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for
bf542m-none, bf544m-none, bf547m-none, bf548m-none, and bf549m-none.
* config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise.
* config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise.
* doc/invoke.texi (Blackfin Options): Document that -mcpu now accepts
bf542m, bf544m, bf547m, bf548m, and bf549m.

gcc/testsuite/
From Mike Frysinger  <michael.frysinger@analog.com>
* gcc.target/bfin/mcpu-bf542m.c: New file.
* gcc.target/bfin/mcpu-bf544m.c: Likewise.
* gcc.target/bfin/mcpu-bf546m.c: Likewise.
* gcc.target/bfin/mcpu-bf548m.c: Likewise.
* gcc.target/bfin/mcpu-bf549m.c: Likewise.

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

11 years ago From Jie Zhang <jie.zhang@analog.com>:
bernds [Mon, 7 Sep 2009 18:42:50 +0000 (18:42 +0000)]
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/bfin-protos.h (enum bfin_cpu_type, bfin_cpu_type,
bfin_si_revision, bfin_workarounds): Move these ...
* config/bfin/bfin.h: ... here.

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

11 years ago * config/bfin/bfin.md (UNSPEC_VOLATILE_STALL): New constant.
bernds [Mon, 7 Sep 2009 18:06:51 +0000 (18:06 +0000)]
* config/bfin/bfin.md (UNSPEC_VOLATILE_STALL): New constant.
(attr "addrtype"): New member "spreg".
Use it if mem_spfp_address_operand is true for the address.
(attr "type"): New entry "stall".
(cpu_unit "load"): New.
(insn_reservations "load32", "loadp", "loadi"): Add reservation of
"load".
(insn_reservation "loadsp"): New.
(insn_reservation "load_stall1"): New.
(insn_reservation "load_stall3"): New.
(stall): New insn.
* config/bfin/predicates.md (const1_operand, const3_operand): New.
(mem_p_address_operand): Exclude stack and frame pointer based
addresses.
(mem_spfp_address_operand): New; match them here.
* config/bfin/bfin.c (add_sched_insns_for_speculation): New function.
(bfin_reorg): Call it if scheduling insns.
(bfin_gen_bundles): Remove dummy insns created by
add_sched_insns_for_speculation.

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

11 years ago2009-09-07 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 7 Sep 2009 17:08:12 +0000 (17:08 +0000)]
2009-09-07  Martin Jambor  <mjambor@suse.cz>

PR middle-end/41282
* tree-sra.c (create_artificial_child_access): Return NULL if
build_ref_for_offset fails.
(propagate_subacesses_accross_link): Allow build_ref_for_offset
and create_artificial_child_access to fail.

* testsuite/gcc.c-torture/compile/pr41282.c: New test.

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

11 years agoPR c++/41214
rth [Mon, 7 Sep 2009 15:41:52 +0000 (15:41 +0000)]
PR c++/41214
        * unwind-dw2.c (uw_init_context_1): Mark noinline.
        * config/ia64/unwind-ia64.c (uw_init_context_1): Likewise.
        * config/xtensa/unwind-dw2-xtensa.c (uw_init_context_1): Likewise.

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

11 years ago2009-09-07 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 7 Sep 2009 15:23:15 +0000 (15:23 +0000)]
2009-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/41197
* resolve_c (resolve_allocate_deallocate):  Complain
if stat or errmsg varaible is an array.

2009-09-07  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/41197
* gfortran.dg/allocate_alloc_opt_1.f90:  Use scalar
variables for stat and errmsg.
* gfortran.dg/deallocate_alloc_opt_1.f90:  Likewise.
* gfortran.dg/allocate_stat_2.f90:  New test.

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

11 years agogcc/
bernds [Mon, 7 Sep 2009 15:13:40 +0000 (15:13 +0000)]
gcc/
* config/bfin/bfin.c (bfin_optimize_loop): When creating a new basic
block, ensure it has an exit edge.  Emit a barrier after a jump.

gcc/testsuite/
* gcc.c-torture/compile/20090907-1.c: New test.

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

11 years ago * gcc.c (this_is_linker_script): New variable. Like
nickc [Mon, 7 Sep 2009 14:48:02 +0000 (14:48 +0000)]
    * gcc.c (this_is_linker_script): New variable.  Like
        this_is_library_file but for the %T constructor.
        (end_going_arg): If this_is_linker_script is set then locate the
        script and insert a --script switch before it
        (do_spec_2): Initialise this_is_linker_script.
        (do_spec_1): Likewise.  Handle %T construct.
        (eval_spec_function): Preserve this_is_linker_script.
        * doc/invoke.texi: Document %T construct in spec files.
        * config/m32c/m32c.h (LIB_SPEC): Use it.

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

11 years ago2009-09-07 H.J. Lu <hongjiu.lu@intel.com>
paolo [Mon, 7 Sep 2009 13:38:27 +0000 (13:38 +0000)]
2009-09-07  H.J. Lu  <hongjiu.lu@intel.com>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

PR libstdc++/41280
* configure.ac: Run "${multi_basedir}/config-ml.in" to generate
MULTISUBDIR = in subdirectory Makefiles, with ml_norecursion set.
* configure: Regenerate.

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

11 years ago2009-09-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Mon, 7 Sep 2009 10:30:32 +0000 (10:30 +0000)]
2009-09-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* rtl.h (PREFETCH_SCHEDULE_BARRIER_P): New macro.
* sched-deps.c (sched_analyze_2): Make prefetches a hard barrier
when volatile flag is set.
* doc/rtl.texi (PREFETCH_SCHEDULE_BARRIER_P): Add documentation pieces.

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

11 years ago2009-09-07 Laurent GUERBY <laurent@guerby.net>
guerby [Mon, 7 Sep 2009 09:25:08 +0000 (09:25 +0000)]
2009-09-07  Laurent GUERBY  <laurent@guerby.net>

* gcc-interface/targtyps.c: Add missing include for tm_p.h.
* gcc-interface/Make-lang.in: Update dependencies.

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

11 years ago2009-09-07 Laurent GUERBY <laurent@guerby.net>
guerby [Mon, 7 Sep 2009 09:00:51 +0000 (09:00 +0000)]
2009-09-07  Laurent GUERBY  <laurent@guerby.net>

        * make.adb: Add missing documentation for multilib handling.

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

11 years agoFix typo
ebotcazou [Mon, 7 Sep 2009 06:25:59 +0000 (06:25 +0000)]
Fix typo

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

11 years agoDaily bump.
gccadmin [Mon, 7 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR bootstrap/41241
ebotcazou [Sun, 6 Sep 2009 21:15:45 +0000 (21:15 +0000)]
PR bootstrap/41241
* combine-stack-adj.c (try_apply_stack_adjustment): Handle stores.
(combine_stack_adjustments_for_block): Allow insns between stack
adjustments and stores with corresponding with pre-(dec|inc)rement
or pre-modify.

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

11 years ago PR bootstrap/41241
jakub [Sun, 6 Sep 2009 19:31:55 +0000 (19:31 +0000)]
PR bootstrap/41241
* combine-stack-adj.c (struct csa_memlist): Rename to...
(struct csa_reflist): ... this.  Rename mem field to ref.
(free_csa_memlist): Rename to...
(free_csa_reflist): ... this.
(record_one_stack_memref): Rename to...
(record_one_stack_ref): ... this.  Handle also REG_P.
(try_apply_stack_adjustment): Handle also REG_P.
(struct record_stack_memrefs_data): Rename to...
(struct record_stack_refs_data): ... this.  Rename memlist field to
reflist.
(record_stack_memrefs): Rename to...
(record_stack_refs): ... this.  For DEBUG_INSNs keep traversing
subexpressions instead of failing when a MEM contains SP references.
For SP itself in DEBUG_INSNs queue it also onto reflist chain.
(combine_stack_adjustments_for_block): Adjust for mem to ref renaming.

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

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

11 years ago2009-09-06 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 6 Sep 2009 16:49:48 +0000 (16:49 +0000)]
2009-09-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/41144
* tree.c (build_array_type): Do not record types marked
with structural equality in the canonical type hashtable.

* g++.dg/torture/pr41144.C: New testcase.

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

11 years ago2009-09-06 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 6 Sep 2009 16:48:41 +0000 (16:48 +0000)]
2009-09-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/41261
* tree-ssa-alias.c (refs_may_alias_p_1): Bail out for function decls.

* gcc.dg/torture/pr41261.c: New testcase.

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

11 years ago2009-09-06 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 6 Sep 2009 15:41:38 +0000 (15:41 +0000)]
2009-09-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41267
* include/bits/stl_algobase.h (__copy_move::__copy_m,
__copy_move_backward::__copy_move_b): Don't call __builtin_memmove
with a null third argument.

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

11 years agoDaily bump.
gccadmin [Sun, 6 Sep 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-09-05 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 5 Sep 2009 19:32:25 +0000 (19:32 +0000)]
2009-09-05  Richard Guenther  <rguenther@suse.de>

PR middle-end/41181
* tree-ssa-ccp.c (maybe_fold_stmt_addition): Use the correct type.

* gcc.c-torture/compile/pr41181.c: New testcase.

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

11 years ago2009-09-05 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 5 Sep 2009 15:15:16 +0000 (15:15 +0000)]
2009-09-05  Richard Guenther  <rguenther@suse.de>

PR debug/41273
* tree-ssa-operands.c (get_tmr_operands): Pass through opf_no_vops.

* g++.dg/torture/pr41273.C: New testcase.

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

11 years ago2009-09-05 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 5 Sep 2009 15:14:12 +0000 (15:14 +0000)]
2009-09-05  Richard Guenther  <rguenther@suse.de>

PR middle-end/41271
* tree-ssa.c (useless_type_conversion_p): Drop qualifiers
before comparing function argument types.

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

11 years ago2009-09-05 Paul Thomas <pault@gcc.gnu.org>
pault [Sat, 5 Sep 2009 14:20:51 +0000 (14:20 +0000)]
2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41258
* primary.c (gfc_match_varspec): Do not look for typebound
procedures unless the derived type has a f2k_derived namespace.

2009-09-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/41258
* gfortran.dg/typebound_proc_12.f90 : New test.

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

11 years ago PR target/41024
fxcoudert [Sat, 5 Sep 2009 14:14:28 +0000 (14:14 +0000)]
PR target/41024
* config/i386/mingw-w64.h (ASM_SPEC): Pass -v instead of -V to
the assembler.

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

11 years ago2009-09-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 5 Sep 2009 00:18:07 +0000 (00:18 +0000)]
2009-09-04  Benjamin Kosnik  <bkoz@redhat.com>

Revert.
2009-08-06  Benjamin Kosnik  <bkoz@redhat.com>
* src/compatibility.cc: Make C++0x safe, add in explicit casts to
bool for stream sentry objects.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/ostream_insert.h: Same.
* src/istream.cc: Same.

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

11 years agoDaily bump.
gccadmin [Sat, 5 Sep 2009 00:16:50 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-09-04 Uros Bizjak <ubizjak@gmail.com>
uros [Fri, 4 Sep 2009 19:57:51 +0000 (19:57 +0000)]
2009-09-04  Uros Bizjak  <ubizjak@gmail.com>

Revert:
2009-08-18  Uros Bizjak  <ubizjak@gmail.com>

* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Allocate insn
locators before emit_insn is called.

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

11 years ago2009-09-04 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Fri, 4 Sep 2009 19:36:26 +0000 (19:36 +0000)]
2009-09-04  Vladimir Makarov  <vmakarov@redhat.com>

PR bootstrap/41241
* ira.c (update_equiv_reg): Revert my previous patch for the PR.
* reginfo.c (resize_reg_info): Call allocate_reg_info if necessary.
(reginfo_init): Don't call allocate_reg_info.

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

11 years ago PR target/41262
uros [Fri, 4 Sep 2009 19:32:04 +0000 (19:32 +0000)]
PR target/41262
* config/alpha/alpha.c (alpha_does_function_need_gp): Use
NONDEBUG_INSN_P instead of INSN_P.

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

11 years agogcc/ChangeLog:
aoliva [Fri, 4 Sep 2009 19:03:49 +0000 (19:03 +0000)]
gcc/ChangeLog:
PR debug/41225
* tree-vect-stmts.c (vect_stmt_relevant_p): Skip debug uses.
gcc/testsuite/ChangeLog:
PR debug/41225
* gfortran.dg/pr41225.f90: New.

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

11 years agoPR target/41252
aoliva [Fri, 4 Sep 2009 18:59:50 +0000 (18:59 +0000)]
PR target/41252
* config/arm/vfp.md (*cmpdf_split_vfp): Fix src mode in the second
pattern of the split.

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

11 years ago* compare-debug: Grep for blank before dash to avoid grep -e.
aoliva [Fri, 4 Sep 2009 18:59:15 +0000 (18:59 +0000)]
* compare-debug: Grep for blank before dash to avoid grep -e.

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

11 years ago* configure.ac (with-build-config): Document. Handle without.
aoliva [Fri, 4 Sep 2009 18:58:34 +0000 (18:58 +0000)]
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

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

11 years ago* gcc.dg/guality/guality.h: Include stdint.h. Drop unnecessary
aoliva [Fri, 4 Sep 2009 18:56:39 +0000 (18:56 +0000)]
* gcc.dg/guality/guality.h: Include stdint.h.  Drop unnecessary
unistd.h, sys/types.h and sys/wait.h.
(gualchk_t): New.
(GUALCVT): New.
(GUALCHKXPR, GUALCHKVAL, GUALCHKFLA): Use it.
(GUALITY_GDB_REDIRECT): New.
(GUALITY_GDB_ARGS): Use it.

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

11 years ago* toplev.c (process_options): Move setter of flag_var_tracking
aoliva [Fri, 4 Sep 2009 18:55:45 +0000 (18:55 +0000)]
* toplev.c (process_options): Move setter of flag_var_tracking
before other tests that depend on it.  Move down setter of
flag_rename_registers.  Don't enable var-tracking-assignments
by default if selective scheduling is enabled.  Warn if both
are enabled.

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

11 years ago* var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match
aoliva [Fri, 4 Sep 2009 18:55:25 +0000 (18:55 +0000)]
* var-tracking.c (dv_is_decl_p): Adjust NULL behavior to match
comment.  Use switch statement to catch overlaps between rtx
and tree codes.  Accept FUNCTION_DECLs in addition to those in...
(IS_DECL_CODE): ... here. Remove.
(check_value_is_not_decl): Remove.
(dv_from_decl, dv_from_value): Check after conversion.

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

11 years ago2009-09-04 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 4 Sep 2009 18:54:01 +0000 (18:54 +0000)]
2009-09-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/41257
* (cgraph_finalize_compilation_unit): Move finalizing aliases
after emitting tunks.  Move emitting thunks and ctors from ...
(cgraph_optimize): ... here.  Remove redundant
cgraph_analyze_functions.
* varasm.c (find_decl_and_mark_needed): Remove no longer
necessary check.
(finish_aliases_1): Adjust check for thunk aliases.

* g++.dg/torture/pr41257.C: New testcase.

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

11 years ago2009-09-04 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Fri, 4 Sep 2009 15:42:05 +0000 (15:42 +0000)]
2009-09-04  Daniel Gutson  <dgutson@codesourcery.com>

        * config/arm/arm.md (ctzsi2): Added braces
        to avoid warning that broke booststrap.

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

11 years ago2009-09-04 Ozkan Sezer <sezeroz@gmail.com>
hjl [Fri, 4 Sep 2009 14:33:16 +0000 (14:33 +0000)]
2009-09-04  Ozkan Sezer  <sezeroz@gmail.com>

PR target/39065
* configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t
with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T.
* config.in: Regenerated.
* configure: Regenerated.

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

11 years ago2009-09-04 Martin Jambor <mjambor@suse.cz>
jamborm [Fri, 4 Sep 2009 11:08:12 +0000 (11:08 +0000)]
2009-09-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/41112
* tree-sra.c (build_ref_for_offset_1): Signal that we cannot
handle variable-bounded arrays.
(expr_with_var_bounded_array_refs_p): New function.
(analyze_access_subtree): Call expr_with_var_bounded_array_refs_p.

* testsuite/gnat.dg/array8.adb: New test.

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

11 years ago2009-09-04 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Fri, 4 Sep 2009 10:11:00 +0000 (10:11 +0000)]
2009-09-04  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/2097.md: Removed two incorrect bypasses.
(z10_fsimpdf): Fixed latency.
(z10_fhex): New insn_reservation.
(z10_floaddf): Fixed latency.
(z10_floadsf): Fixed latency.
(z10_ftrunctf): Fixed latency.
(z10_ftruncdf): Fixed latency.
* config/s390/s390.c (z10_cost): Fixed values.
(s390_adjust_priority): Added z10 path.
* config/s390/s390.md (type): Added fhex.
(*mov<mode>_64dfp): Updated type attribute.
(*mov<mode>_64): Updated type attribute.
(*mov<mode>_31): Updated type attribute.
(*mov<mode>"): Likewise.
* config/s390/2084.md (x_fsimpdf): Updated condition.

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

11 years ago2009-09-04 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 4 Sep 2009 09:25:00 +0000 (09:25 +0000)]
2009-09-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41219
        * intrinsics/getlog.c: Define _POSIX for MINGW32.

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

11 years ago2009-09-04 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Fri, 4 Sep 2009 07:48:09 +0000 (07:48 +0000)]
2009-09-04  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md ("*fmadd<mode>", "*fmsub<mode>"): Enable mem
RTXs in the predicate for operand 1.

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

11 years ago * gcc.dg/guality/guality.exp: Only run guality tests if a trivial
jakub [Fri, 4 Sep 2009 06:56:55 +0000 (06:56 +0000)]
* gcc.dg/guality/guality.exp: Only run guality tests if a trivial
testcase using guality.h compiles and links and if a global variable
can be verified by gdb.

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

11 years ago2009-09-03 Daniel Gutson <dgutson@codesourcery.com>
dgutson [Fri, 4 Sep 2009 02:52:08 +0000 (02:52 +0000)]
2009-09-03  Daniel Gutson  <dgutson@codesourcery.com>

* config/arm/arm.md (UNSPEC_RBIT): New constant.
(rbitsi2): New insn.
(ctzsi2): New expand.
* config/arm/arm.h (CTZ_DEFINED_VALUE_AT_ZERO): New macro.

testsuite/
* gcc.target/arm/ctz.c: New test case.

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

11 years agoDaniel Gutson added.
dgutson [Fri, 4 Sep 2009 00:20:27 +0000 (00:20 +0000)]
Daniel Gutson added.

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

11 years agoDaily bump.
gccadmin [Fri, 4 Sep 2009 00:17:45 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2009-09-03 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 3 Sep 2009 21:25:00 +0000 (21:25 +0000)]
2009-09-03  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (duplicate_expr_for_different_base): Removed.
(create_artificial_child_access): Use build_ref_for_offset instead
of duplicate_expr_for_different_base.
(propagate_subacesses_accross_link): Likewise.

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

11 years agoFix long line
ebotcazou [Thu, 3 Sep 2009 20:26:12 +0000 (20:26 +0000)]
Fix long line

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

11 years agoMove misplaced contrib/ChangeLog entry to config/.
aoliva [Thu, 3 Sep 2009 20:11:24 +0000 (20:11 +0000)]
Move misplaced contrib/ChangeLog entry to config/.

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