OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years ago * doc/tm.texi (TARGET_OPTION_PRINT): Fix argument list.
amylaar [Sun, 17 Jan 2010 15:26:16 +0000 (15:26 +0000)]
* doc/tm.texi (TARGET_OPTION_PRINT): Fix argument list.

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

14 years agogcc/fortran/
janus [Sun, 17 Jan 2010 13:33:11 +0000 (13:33 +0000)]
gcc/fortran/
2010-01-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42677
* gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'.
* interface.c (check_interface1): Move a warning message here from
resolve_fl_procedure.
(check_sym_interfaces): Removed 'attr.ambiguous_interfaces'.
* module.c (read_module): Remove call to gfc_check_interfaces, since
this comes too early here.
* resolve.c (resolve_fl_procedure): Move warning message to
check_interface1.

gcc/testsuite/
2010-01-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42677
* gfortran.dg/interface_assignment_5.f90: New test.

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

14 years ago2010-01-16 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 17 Jan 2010 13:29:41 +0000 (13:29 +0000)]
2010-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/functional (_Bind<_Functor(_Bound_args...)>::__call):
Rename const version to __call_c and remove _Sfinae template
parameter.
(_Bind<_Functor(_Bound_args...)>::operator()): Adjust.

* include/std/functional: Pass everywhere temporary tuple<_Args...>
arguments by rvalue reference.

* testsuite/20_util/bind/cv_quals.cc: New.

* testsuite/20_util/bind/ref2.cc: Add missing test variables.

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

14 years ago * sv.po: Update.
jsm28 [Sun, 17 Jan 2010 12:56:37 +0000 (12:56 +0000)]
* sv.po: Update.

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

14 years agoRevert PR c++/42697
dodji [Sun, 17 Jan 2010 10:38:10 +0000 (10:38 +0000)]
Revert PR c++/42697

     The commit is reverted as this was not a regression.
     It's rather going to be stagged for 4.6.

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

14 years agoFix PR c++/42697
dodji [Sun, 17 Jan 2010 10:24:16 +0000 (10:24 +0000)]
Fix PR c++/42697

gcc/cp/ChangeLog:
PR c++/42697
*pt.c (tsubst_decl): Get the arguments of a specialization from
the specialization template, not from the most general template.

gcc/testsuite/ChangeLog:
PR c++/42697
* g++.dg/template/crash94.C: New test.

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

14 years ago PR debug/42767
jiez [Sun, 17 Jan 2010 10:19:22 +0000 (10:19 +0000)]
PR debug/42767
* dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
and US_TRUNCATE.

testsuite/
PR debug/42767
* gcc.dg/debug/pr42767.c: New.

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

14 years ago (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
amylaar [Sun, 17 Jan 2010 08:12:27 +0000 (08:12 +0000)]
(TARGET_BUILTIN_RECIPROCAL): Fix argument types.
Rename argument tm_fn to md_fn.

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

14 years ago * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
amylaar [Sun, 17 Jan 2010 08:04:52 +0000 (08:04 +0000)]
* doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
appearance.

(TARGET_LEGITIMATE_ADDRESS_P): Add return type.
Fix markup for strict argument.

(TARGET_SCHED_REORDER2): Fix argument types.

(TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
(TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.

(TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
(TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.

(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
Add argument name.

(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
(TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
(TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.

(TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.

(TARGET_SCHED_GEN_SPEC_CHECK): Fix name.

(TARGET_ASM_RELOC_RW_MASK): Add return type.
(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.

(TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.

(TARGET_ASM_FILE_START): Put @findex before paragraph start.
Use prototype.

(TARGET_ASM_NAMED_SECTION): Fix argument list.

(TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.

(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.

(TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.

(TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
referring to it.  Fix language.

(TARGET_HAVE_CTORS_DTORS): Use @deftypevr.

(TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.

(TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.

(TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.

(TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
'@var{stream}.  Remove stray 'and'.

(TARGET_ARM_EABI_UNWINDER): Use @deftypevr.

(TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.

(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.

(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was
misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.

(TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
Fix description of return value.
Rename argument "sz" to "len."

(TARGET_CXX_GUARD_MASK_BIT): Add missing article.
Clarify meaning of 'true' return value.

(TARGET_SHIFT_TRUNCATION_MASK): Fix return type.

(TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
rep_mode versus mode_rep.

(TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.

(TARGET_BUILTIN_DECL): Fix name.

(TARGET_COMMUTATIVE_P): Fix type of first argument.

(TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.

(TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.

(TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.

(TARGET_RELAXED_ORDERING): Use @deftypevr.

(TARGET_GET_DRAP_RTX): Note that this is a hook.
Clarify language.

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

14 years agoDaily bump.
gccadmin [Sun, 17 Jan 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR c++/42761
jason [Sat, 16 Jan 2010 15:23:19 +0000 (15:23 +0000)]
PR c++/42761
* semantics.c (finish_decltype_type): Within a template, treat
unresolved CALL_EXPR as dependent.

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

14 years agoFix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
rwild [Sat, 16 Jan 2010 14:46:57 +0000 (14:46 +0000)]
Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.

libstdc++-v3/:
PR libstdc++/35942
* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
* configure: Regenerate.

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

14 years agoFix PR42664.
spop [Sat, 16 Jan 2010 14:46:19 +0000 (14:46 +0000)]
Fix PR42664.

2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>

PR target/42664
* config/i386/i386.c (ix86_fixup_binary_operands):
Revert FMA4 fixup of operands.

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

14 years agoAvoid tr '\n', for Solaris /usr/bin/tr.
rwild [Sat, 16 Jan 2010 14:42:32 +0000 (14:42 +0000)]
Avoid tr '\n', for Solaris /usr/bin/tr.

contrib/
* check_warning_flags.sh: Use \012 instead of \n with tr.

gcc/:
PR gcc/42525
* Makefile.in (write_entries_to_file, install-plugin):
Use \012 instead of \n with tr.

libjava/:
* Makefile.am (write_entries_to_file): Use \012 instead of \n
with tr.
* scripts/makemake.tcl: Likewise.
* sources.am: Regenerate.
* Makefile.in: Regenerate.

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

14 years agogcc/
rsandifo [Sat, 16 Jan 2010 12:14:09 +0000 (12:14 +0000)]
gcc/
* configure.ac (HAVE_AS_REF): New C macro.
* configure: Regenerate.
* config.in: Likewise.
* collect2.c (main): Only postpone SCAN_DWEH to the second pass
if HAVE_AS_REF.
* config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
if HAVE_AS_REF.

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

14 years ago PR middle-end/42760
jakub [Sat, 16 Jan 2010 09:45:53 +0000 (09:45 +0000)]
PR middle-end/42760
* g++.dg/torture/pr42760.C: New test.

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

14 years ago * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
amylaar [Sat, 16 Jan 2010 02:39:40 +0000 (02:39 +0000)]
* doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.

(TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.

(TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.

(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.

(TARGET_IN_SMALL_DATA_P): Fix argument type.

(TARGET_BINDS_LOCAL_P): Fix argument type.

(TARGET_ASM_FILE_END): Use prototype.

(TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.

(TARGET_DWARF_CALLING_CONVENTION): Fix argument type.

(TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.

(TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.

(TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
(TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.

(TARGET_PCH_VALID_P): Put 'const char *' in braces.
(TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.

(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
(TARGET_ADDR_SPACE_SUBSET_P): Likewise.
(TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
(TARGET_ADDR_SPACE_CONVERT): Likewise.

(TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.

(TARGET_MACHINE_DEPENDENT_REORG: Use prototype.

(TARGET_INIT_BUILTINS): Use prototype.

(TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
Put 'const char *' in braces.  Fix parameter types.
(TARGET_INVALID_CONVERSION): Fix parameter types.
(TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
(TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.

(TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
Fix argument type.

(TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.

(TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.

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

14 years ago * doc/tm.texi (TARGET_HELP): Fix return type.
amylaar [Sat, 16 Jan 2010 00:36:34 +0000 (00:36 +0000)]
* doc/tm.texi (TARGET_HELP): Fix return type.

(TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
in braces.  Fix argument types.

(TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.

(TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.

(TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.

(TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
(TARGET_FIXED_POINT_SUPPORTED_P): Likewise.

(TARGET_MANGLE_TYPE): Fix argument types.

(TARGET_IRA_COVER_CLASSES): Use prototype.

(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.

(TARGET_CAN_ELIMINATE): Use identifiers for argument names.

(TARGET_PROMOTE_PROTOTYPES): Fix argument type.

(TARGET_MUST_PASS_IN_STACK): Fix argument type.

(TARGET_CALLEE_COPIES): Fix argument types.

(TARGET_SPLIT_COMPLEX_ARG): Fix argument type.

(TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.

(TARGET_FUNCTION_VALUE): Fix argument types.

(TARGET_RETURN_IN_MSB): Fix argument type.

(TARGET_RETURN_IN_MEMORY): Fix argument types.

(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.

(TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.

(TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
agree with return type.

(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.

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

14 years agoDaily bump.
gccadmin [Sat, 16 Jan 2010 00:16:43 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2010-01-15 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Fri, 15 Jan 2010 23:36:58 +0000 (23:36 +0000)]
2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>

* python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
Remove encoding argument.
(StdStringPrinter.to_string): Do not compute or pass encoding.
Use lazy_string over string function.

--this line, and those below, will be ignored--

M    libstdc++-v3/python/libstdcxx/v6/printers.py
M    libstdc++-v3/ChangeLog

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

14 years ago2010-01-15 Jing Yu <jingyu@google.com>
jingyu [Fri, 15 Jan 2010 21:54:01 +0000 (21:54 +0000)]
2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
        * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* gcc.c-torture/execute/pr42691.c: New.

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

14 years agoRevert revision 155944 due to the broken testcase.
jingyu [Fri, 15 Jan 2010 21:38:20 +0000 (21:38 +0000)]
Revert revision 155944 due to the broken testcase.

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

14 years ago2010-01-15 Jing Yu <jingyu@google.com>
jingyu [Fri, 15 Jan 2010 18:47:45 +0000 (18:47 +0000)]
2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

PR rtl-optimization/42691
* gcc.c-torture/execute/pr42691.c: New.

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

14 years ago * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
ebotcazou [Fri, 15 Jan 2010 17:54:23 +0000 (17:54 +0000)]
* config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.

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

14 years ago * MAINTAINERS (Write After Approval): Add myself
tlafage [Fri, 15 Jan 2010 16:43:58 +0000 (16:43 +0000)]
    * MAINTAINERS (Write After Approval): Add myself

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

14 years ago Add PR number to ChangeLog.
jvdelisle [Fri, 15 Jan 2010 15:55:24 +0000 (15:55 +0000)]
Add PR number to ChangeLog.

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

14 years ago2010-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 15:52:28 +0000 (15:52 +0000)]
2010-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

* io/format.c (parse_format): Set limit on size of format strings that
will be cached.

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

14 years ago * MAINTAINERS (Write After Approval): Add myself.
trifunovic [Fri, 15 Jan 2010 12:12:22 +0000 (12:12 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

14 years ago2010-01-15 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 15 Jan 2010 11:53:26 +0000 (11:53 +0000)]
2010-01-15  Richard Guenther  <rguenther@suse.de>

PR middle-end/42739
* tree-cfgcleanup.c (remove_forwarder_block): Move destination
labels of computed or non-local gotos to the destination.
* tree-cfg.c (gimple_verify_flow_info): Verify that a EH
landing pad label is the first label.

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

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

14 years agoRevert commit of PR c++/42634, which was commit r155868
dodji [Fri, 15 Jan 2010 11:23:29 +0000 (11:23 +0000)]
Revert commit of PR c++/42634, which was commit r155868

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

14 years ago2010-01-15 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 15 Jan 2010 10:34:24 +0000 (10:34 +0000)]
2010-01-15  Richard Guenther  <rguenther@suse.de>

* tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 02:06:23 +0000 (02:06 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* gfortran.dg/interface_31.f90: New test.

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

14 years ago2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Fri, 15 Jan 2010 01:47:43 +0000 (01:47 +0000)]
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

PR fortran/42684
* interface.c (check_interface1): Pass symbol name rather than NULL to
gfc_compare_interfaces. (gfc_compare_interfaces): Add assert to
trap MULL.
* resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
than NULL to gfc_compare_interfaces.

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

14 years agoDaily bump.
gccadmin [Fri, 15 Jan 2010 00:19:26 +0000 (00:19 +0000)]
Daily bump.

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

14 years agoFix 42747, make -mvsx enable sqrt
meissner [Thu, 14 Jan 2010 22:52:02 +0000 (22:52 +0000)]
Fix 42747, make -mvsx enable sqrt

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

14 years ago PR middle-end/42674
jakub [Thu, 14 Jan 2010 22:43:56 +0000 (22:43 +0000)]
PR middle-end/42674
* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* decl.c (finish_function): Don't emit -Wreturn-type warnings in
functions with noreturn attribute.

* c-c++-common/pr42674.c: New test.

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

14 years ago PR c++/42608
jakub [Thu, 14 Jan 2010 22:41:02 +0000 (22:41 +0000)]
PR c++/42608
* varasm.c (declare_weak): Add weak attribute to decl if it
doesn't have one already.
(assemble_external): Only add decls to weak_decls if they also
have weak attribute.

* g++.dg/template/instantiate11.C: New test.

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

14 years ago * var-tracking.c (var_reg_delete): Don't delete the association
jakub [Thu, 14 Jan 2010 22:39:25 +0000 (22:39 +0000)]
* var-tracking.c (var_reg_delete): Don't delete the association
between REGs and values or one-part variables if the register
isn't clobbered.

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

14 years ago PR debug/42657
jakub [Thu, 14 Jan 2010 22:38:29 +0000 (22:38 +0000)]
PR debug/42657
* tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
because its first operand is a non-localized variable.

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

14 years ago PR c++/42701
jason [Thu, 14 Jan 2010 22:32:24 +0000 (22:32 +0000)]
PR c++/42701
* call.c (build_new_method_call): Don't free the vec here.

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

14 years ago PR c++/42655
jason [Thu, 14 Jan 2010 20:21:58 +0000 (20:21 +0000)]
PR c++/42655
* call.c (convert_like_real): Do full decay_conversion for ck_rvalue.

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

14 years ago2010-01-14 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 14 Jan 2010 18:15:37 +0000 (18:15 +0000)]
2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

* include/c_std/cstring (memchr): Forward to the builtin.
* include/c_std/cstring: Remove redundant casts; use names consistent
with the letter of the Standard.
* include/c_global/cstring: Likewise.

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

14 years ago2010-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 14 Jan 2010 18:00:34 +0000 (18:00 +0000)]
2010-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42706
* tree-sra.c (encountered_recursive_call): New variable.
(encountered_unchangable_recursive_call): Likewise.
(sra_initialize): Initialize both new variables.
(callsite_has_enough_arguments_p): New function.
(scan_function): Call decl and flags check only for IPA-SRA, check
whether there is a recursive call and whether it has enough arguments.
(all_callers_have_enough_arguments_p): New function.
(convert_callers): Look for recursive calls only when
encountered_recursive_call is set.
(ipa_early_sra): Bail out either if
!all_callers_have_enough_arguments_p or
encountered_unchangable_recursive_call.

* testsuite/gcc.dg/ipa/pr42706.c: New testcase.

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

14 years agoUse __SIZE_TYPE__ to define size_t.
hjl [Thu, 14 Jan 2010 14:45:47 +0000 (14:45 +0000)]
Use __SIZE_TYPE__ to define size_t.

2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

* g++.dg/graphite/pr42681.C (size_t): Use __SIZE_TYPE__.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 13:50:09 +0000 (13:50 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c: Add 2010 to copyright years.
* sel-sched-ir.c: Likewise.
* sel-sched-ir.h: Likewise.

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

14 years ago2010-01-14 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 14 Jan 2010 13:29:44 +0000 (13:29 +0000)]
2010-01-14  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42714
* tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
constructors specially.

* gcc/testsuite/g++.dg/torture/pr42714.C: New test.

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

14 years ago2010-01-14 Andi Kleen <ak@linux.intel.com>
uros [Thu, 14 Jan 2010 12:48:09 +0000 (12:48 +0000)]
2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_intel):
Add l2sizekb parameter and fill in.
(host_detect_local_cpu): Add l2sizekb, fill in.
Add Atom small cache heuristic.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (detect_caches_cpuid4):
Add level3 parameter and fill in.
(detect_caches_intel): Handle level3 cache.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix core duo detection.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

* config/i386/drivers-i386.c (host_detect_local_cpu):
Fix Atom detection.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:27:11 +0000 (11:27 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
(rs6000_variable_issue_1): this.  Use...
(rs6000_variable_issue): here.  Reimplement.  Print debug info.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:25:25 +0000 (11:25 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
Update all callers.  Call reemit_notes for all insns.

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

14 years ago PR rtl-optimization/42246
abel [Thu, 14 Jan 2010 11:22:20 +0000 (11:22 +0000)]
    PR rtl-optimization/42246
        * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
        loops.

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

14 years ago * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
abel [Thu, 14 Jan 2010 11:19:25 +0000 (11:19 +0000)]
    * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
        all successors is the same as number of successors in current region.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:16:02 +0000 (11:16 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
to rename is not separable.  Otherwise check that its LHS is not NULL.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:15:07 +0000 (11:15 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 11:13:36 +0000 (11:13 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

* sel-sched.c (mark_unavailable_hard_regs): Do not try to search
available registers when failed to discover LHS register class.
Fix indentation.  Update comment.

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

14 years ago PR rtl-optimization/42389
abel [Thu, 14 Jan 2010 11:07:39 +0000 (11:07 +0000)]
    PR rtl-optimization/42389
        * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE
        to can_issue_more.
        (advance_state_on_fence): Likewise.
        (sel_target_adjust_priority): Print debug output only when
        sched_verbose >= 4, not 2.
        (get_expr_cost): Do not issue all unique insns on the next cycle.
        (fill_insns): Initialize can_issue_more from the value saved
        with the fence.
        * sel-sched-ir.c (flist_add): New parameter issue_more.
        Init FENCE_ISSUE_MORE with it.
        (merge_fences): Likewise.
        (init_fences): Update call to flist_add.
        (add_to_fences, add_clean_fence_to_fences)
        (add_dirty_fence_to_fences): Likewise.
        (move_fence_to_fences): Update call to merge_fences.
        (invoke_reorder_hooks): Do not reset can_issue_more on insns from
        sched groups.
        * sel-sched-ir.h (struct _fence): New field issue_more.
        (FENCE_ISSUE_MORE): New accessor macro.

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

14 years ago PR rtl-optimization/42388
abel [Thu, 14 Jan 2010 11:02:18 +0000 (11:02 +0000)]
    PR rtl-optimization/42388
        * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks
        that have no predecessors nor successors.  Do not call move_bb_info
        for empty blocks outside of current region.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:46:57 +0000 (10:46 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

PR rtl-optimization/42294
* sel-sched-ir.h (struct _sel_insn_data): Update comment.
* sel-sched.c (move_exprs_to_boundary): Transitively add all
originators' originators.

* gfortran.dg/pr42294.f: New.

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

14 years ago2010-01-14 Alexander Monakov <amonakov@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:40:19 +0000 (10:40 +0000)]
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

PR rtl-optimization/39453
PR rtl-optimization/42246
* sel-sched-ir.c (considered_for_pipelining_p): Do not test
for pipelining_p.
(sel_add_loop_preheaders): Add preheader to last_added_blocks.

* gcc.dg/pr39453.c: New.
* gcc.dg/pr42246.c: New.

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

14 years agoAdd tests missing from previous commit.
amonakov [Thu, 14 Jan 2010 10:38:14 +0000 (10:38 +0000)]
Add tests missing from previous commit.

PR middle-end/42245
* gcc.dg/pr42245.c: New.
* gcc.dg/pr42245-2.c: New.

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

14 years ago2010-01-14 Andrey Belevantsev <abel@ispras.ru>
amonakov [Thu, 14 Jan 2010 10:28:47 +0000 (10:28 +0000)]
2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
    Alexander Monakov  <amonakov@ispras.ru>

PR middle-end/42245
* sel-sched-ir.c (sel_recompute_toporder): New.  Use it...
(maybe_tidy_empty_bb): ... here.  Make static.  Add new
argument.  Update all callers.
(tidy_control_flow): ... and here.  Recompute topological order
of basic blocks in region if necessary.
(sel_redirect_edge_and_branch): Change return type.  Return true
if topological order might have been invalidated.
(purge_empty_blocks): Export and move from...
* sel-sched.c (purge_empty_blocks): ... here.
* sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
        (maybe_tidy_empty_bb): Delete prototype.
(purge_empty_blocks): Declare.

* gcc.dg/pr42245.c: New.
* gcc.dg/pr42245-2.c: New.

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

14 years ago PR rtl-optimization/42294
abel [Thu, 14 Jan 2010 10:16:01 +0000 (10:16 +0000)]
    PR rtl-optimization/42294
        * sel-sched.c (try_replace_dest_reg): When chosen register
        and original register is the same, do not bail out early, but
        still check all original insns for validity of replacing destination
        register.  Set EXPR_TARGET_AVAILABLE to 1 before leaving function
        in this case.

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

14 years ago PR c/42721
jakub [Thu, 14 Jan 2010 09:47:09 +0000 (09:47 +0000)]
PR c/42721
Port from no-undefined-overflow branch
2009-03-09  Richard Guenther  <rguenther@suse.de>

* fold-const.c (add_double_with_sign): Fix unsigned overflow
detection.

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

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

14 years ago2010-01-14 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 14 Jan 2010 09:38:56 +0000 (09:38 +0000)]
2010-01-14  Richard Guenther  <rguenther@suse.de>

PR lto/42665
* gimple.c (iterative_hash_gimple_type): Avoid hashing
error_mark_node.

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

14 years agoFix PR42681.
spop [Thu, 14 Jan 2010 08:37:26 +0000 (08:37 +0000)]
Fix PR42681.

2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42681
* graphite-clast-to-gimple.c (gloog_error): New static variable.
(clast_to_gcc_expression): Do not build MULT_EXPR of POINTER_TYPE_P.
Set gloog_error when such an expression failed to be built.
(translate_clast): Early return when gloog_error is set.
(gloog): Clear gloog_error.  When gloog_error is set, call
set_ifsese_condition to enable the original code.  Return the status
of the code generation based on gloog_error.
* sese.c (set_ifsese_condition): New.
* sese.h (set_ifsese_condition): Declared.

* testsuite/g++.dg/graphite/pr42681.C: New.

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

14 years ago PR tree-optimization/42709
irar [Thu, 14 Jan 2010 07:49:39 +0000 (07:49 +0000)]
PR tree-optimization/42709
* tree-vect-slp.c (vect_get_constant_vectors): Use constant's type
as scalar type in creation of constant vector operand.

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

14 years agoFix PR42732.
spop [Thu, 14 Jan 2010 07:38:15 +0000 (07:38 +0000)]
Fix PR42732.

2010-01-14  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/42732
* graphite-clast-to-gimple.c (gloog): Call scev_reset_htab and
rename_nb_iterations.
* sese.c (rename_variables_in_operand): New.
(rename_variables_in_expr): New.
(rename_nb_iterations): New.
(sese_adjust_liveout_phis): Update the rename_map.
* sese.h (rename_nb_iterations): Declared.
* tree-scalar-evolution.c (scev_reset_htab): New.
(scev_reset): Call scev_reset_htab.
* tree-scalar-evolution.h (scev_reset_htab): Declared.

* testsuite/gfortran.dg/graphite/pr42732.f: New.

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

14 years agoFix PR testsuite/42414.
rwild [Thu, 14 Jan 2010 07:20:31 +0000 (07:20 +0000)]
Fix PR testsuite/42414.

gcc/:
PR testsuite/42414
* Makefile.in ($(TESTSUITEDIR)/site.exp, check-%)
(check-parallel-%): Match `testsuite' directory component only
at the end.

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

14 years agopo/
pzhao [Thu, 14 Jan 2010 06:28:27 +0000 (06:28 +0000)]
po/
2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/39521
        * exgettext: Extracted all specs %n strings and the %e strings that %e
        is at the start of a line.

2010-01-14  Shujing Zhao  <pearly.zhao@oracle.com>

        PR translation/39521
        * gcc.c (do_spec_1): Wrapped the error and notice messages of specs
        strings with _().

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

14 years ago2010-01-14 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 14 Jan 2010 06:17:38 +0000 (06:17 +0000)]
2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41478
        * trans-array.c (duplicate_allocatable):  Static version of
gfc_duplicate_allocatable with provision to handle scalar
components. New boolean argument to switch off call to malloc
if true.
(gfc_duplicate_allocatable): New function to call above with
new argument false.
(gfc_copy_allocatable_data): New function to call above with
new argument true.
(structure_alloc_comps): Do not apply indirect reference to
scalar pointers. Add new section to copy allocatable components
of arrays. Extend copying of allocatable components to include
scalars.
(gfc_copy_only_alloc_comp): New function to copy allocatable
component derived types, without allocating the base structure.
* trans-array.h : Add primitive for gfc_copy_allocatable_data.
Add primitive for gfc_copy_only_alloc_comp.
* trans-expr.c (gfc_conv_procedure_call): After calls to
transformational functions with results that are derived types
with allocatable components, copy the components in the result.
(gfc_trans_arrayfunc_assign): Deallocate allocatable components
of lhs derived types before allocation.

2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/41478
        * gfortran.dg/alloc_comp_scalar_1.f90: New test.
        * gfortran.dg/alloc_comp_transformational_1.f90: New test.

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

14 years ago2010-01-14 Paul Thomas <pault@gcc.gnu.org>
pault [Thu, 14 Jan 2010 06:13:19 +0000 (06:13 +0000)]
2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42481
* module.c (load_generic_interfaces): If a procedure that is
use associated but not generic is given an interface that
includes itself, then make it generic.

2010-01-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/42481
* gfortran.dg/generic_19.f90 : New test.

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

14 years agoDaily bump.
gccadmin [Thu, 14 Jan 2010 00:17:43 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 22:21:25 +0000 (22:21 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42730
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for
offset zero.

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

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

14 years ago2010-01-13 Steve Ellcey <sje@cup.hp.com>
sje [Wed, 13 Jan 2010 22:17:27 +0000 (22:17 +0000)]
2010-01-13  Steve Ellcey  <sje@cup.hp.com>

PR target/pr42542
* gcc.target/ia64/pr42542-1.c: New.
* gcc.target/ia64/pr42542-2.c: New.
* gcc.target/ia64/pr42542-3.c: New.

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

14 years ago2010-01-13 Steve Ellcey <sje@cup.hp.com>
sje [Wed, 13 Jan 2010 22:16:25 +0000 (22:16 +0000)]
2010-01-13  Steve Ellcey  <sje@cup.hp.com>

PR target/pr42542
* config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
them signed.

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

14 years agoFix PR c++/42634
dodji [Wed, 13 Jan 2010 20:06:26 +0000 (20:06 +0000)]
Fix PR c++/42634

gcc/cp/ChangeLog:
PR c++/42634
* error.c (dump_template_parms): Use innermost template
arguments before calling count_non_default_template_args.
(count_non_default_template_args): We are being called with
template innermost arguments now. There is no need to ensure
that again.

gcc/testsuite/ChangeLog:
PR c++/42634
* g++.dg/template/error45.C: New test.

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

14 years ago * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
bernds [Wed, 13 Jan 2010 20:00:03 +0000 (20:00 +0000)]
* config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling
rather than schedule_insns if the pass is enabled.

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

14 years ago * config/bfin/libgcc-bfin.ver: Regenerate based on current
bernds [Wed, 13 Jan 2010 19:53:01 +0000 (19:53 +0000)]
* config/bfin/libgcc-bfin.ver: Regenerate based on current
libgcc-std.ver.  Add entries for ___smulsi3_highpart and
___umulsi3_highpart.

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

14 years ago2010-01-13 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 13 Jan 2010 18:47:19 +0000 (18:47 +0000)]
2010-01-13  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42704
* tree-sra.c (sra_modify_assign): Do not delete assignments to
SSA_NAMEs.

* testsuite/g++.dg/torture/pr42704.C: New test.

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

14 years ago2010-01-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 13 Jan 2010 18:31:25 +0000 (18:31 +0000)]
2010-01-13  Benjamin Kosnik  <bkoz@redhat.com>

* include/profile/iterator_tracker.h: Add copyright.

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

14 years ago2010-01-13 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 13 Jan 2010 15:37:37 +0000 (15:37 +0000)]
2010-01-13  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42703
* tree-sra.c (analyze_access_subtree): Check that we can build a
reference to the original data within the aggregate.

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

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 15:04:38 +0000 (15:04 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42705
* tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
labels.

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

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

14 years ago * gcc.target/bfin/l2.c: New test.
jiez [Wed, 13 Jan 2010 14:57:59 +0000 (14:57 +0000)]
* gcc.target/bfin/l2.c: New test.
* gcc.target/bfin/bfin.exp (dg-bfin-processors): New.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 13:31:13 +0000 (13:31 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR middle-end/42716
* fold-const.c (fold_unary_loc): Fold INDIRECT_REFs.

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

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

14 years ago PR debug/41371
jakub [Wed, 13 Jan 2010 13:26:47 +0000 (13:26 +0000)]
PR debug/41371
* var-tracking.c (values_to_unmark): New variable.
(find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in
values_to_unmark vector.  Moved body to...
(find_loc_in_1pdv_1): ... this.  Don't clear VALUE_RECURSED_INTO,
instead queue it into values_to_unmark vector.
(vt_find_locations): Free values_to_unmark vector.

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

14 years ago2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 13 Jan 2010 11:40:58 +0000 (11:40 +0000)]
2010-01-13  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.c (override_options): Set
default of max-pending-list-length to 256

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

14 years ago Add new DW_AT_use_GNAT_descriptive_type CU attribute.
brobecke [Wed, 13 Jan 2010 11:13:53 +0000 (11:13 +0000)]
    Add new DW_AT_use_GNAT_descriptive_type CU attribute.
        * dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.

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

14 years ago2010-01-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 13 Jan 2010 11:07:44 +0000 (11:07 +0000)]
2010-01-13  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/Makefile.am (check-debug): Add.
* testsuite/Makefile.in: Regenerate.
* config.h.in: Likewise.

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

14 years ago2010-01-13 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 13 Jan 2010 10:07:47 +0000 (10:07 +0000)]
2010-01-13  Richard Guenther  <rguenther@suse.de>

PR lto/42678
* tree-pass.h (PROP_gimple_lcx): New.
* cfgexpand.c (pass_expand): Require PROP_gimple_lcx.
* passes.c (init_optimization_passes): Move pass_lower_complex_O0
before the final cleanup_eh.
(dump_properties): Dump PROP_gimple_lcx.
* tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx.
(tree_lower_complex_O0): Remove.
(gate_no_optimization): Run if PROP_gimple_lcx is not set.
(pass_lower_complex_O0): Provide PROP_gimple_lcx.  Run
tree_lower_complex, schedule TODO_update_ssa.
* lto-streamer-out.c (output_function): Stream the functions
properties.
* lto-streamer-in.c (input_function): Likewise.
(lto_read_body): Do not override them here.

* gfortran.dg/lto/20100110-1_0.f90: New testcase.

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

14 years agoDaily bump.
gccadmin [Wed, 13 Jan 2010 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago PR c/42708
jsm28 [Tue, 12 Jan 2010 23:09:00 +0000 (23:09 +0000)]
PR c/42708
* c-typeck.c (build_c_cast): Fold value cast to union type before
wrapping it in a CONSTRUCTOR.

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

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

14 years ago PR rtl-optimization/42699
jakub [Tue, 12 Jan 2010 20:25:10 +0000 (20:25 +0000)]
PR rtl-optimization/42699
* cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are
involved.

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

14 years ago2010-01-12 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 12 Jan 2010 17:16:25 +0000 (17:16 +0000)]
2010-01-12  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/17_intro/using_namespace_std_tr1_neg.cc: Do not run
in parallel-mode.
* testsuite/25_algorithms/inplace_merge/moveable.cc: Likewiwse.
* testsuite/25_algorithms/rotate/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove/moveable.c: Likewiwse.
* testsuite/25_algorithms/random_shuffle/moveable.cc: Likewiwse.
* testsuite/25_algorithms/nth_element/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partial_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/next_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/partition/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/stable_sort/moveable2.cc: Likewiwse.
* testsuite/25_algorithms/sort/moveable.cc: Likewiwse.
* testsuite/25_algorithms/prev_permutation/moveable.cc: Likewiwse.
* testsuite/25_algorithms/unique/moveable.cc: Likewiwse.
* testsuite/25_algorithms/remove_if/moveable.cc: Likewiwse.
* testsuite/25_algorithms/heap/moveable.cc: Likewiwse.

* testsuite/25_algorithms/search_n/iterator.cc: Reduce iteration #
in parallel-mode.

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

14 years ago * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
ro [Tue, 12 Jan 2010 12:38:49 +0000 (12:38 +0000)]
* config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): Move ...
config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC,
SUBTARGET_WARN_UNUSED_SPEC): ... here
* config/mips/iris5.h (LIBGCC_SPEC): Define.

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

14 years agoFix Neon Scheduler ocaml description.
ramana [Tue, 12 Jan 2010 11:50:36 +0000 (11:50 +0000)]
Fix Neon Scheduler ocaml description.

For

2010-01-12  Julian Brown  <julian@codesourcery.com>

        * config/arm/neon-schedgen.ml (Utils): Don't try to
        open missing module.
        (find_with_result): New.

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

14 years agoUpdate Copyright years.
jakub [Tue, 12 Jan 2010 09:49:51 +0000 (09:49 +0000)]
Update Copyright years.

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

14 years ago PR debug/42662
jakub [Tue, 12 Jan 2010 09:45:19 +0000 (09:45 +0000)]
PR debug/42662
* simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx
sharing when canonicalizing ({lt,ge}u (plus a b) b).

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

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

14 years ago PR tree-optimization/42645
jakub [Tue, 12 Jan 2010 09:43:31 +0000 (09:43 +0000)]
PR tree-optimization/42645
* tree-inline.c (processing_debug_stmt): Move earlier.  Make static.
(remap_ssa_name): If processing_debug_stmt and name wasn't found in
decl_map, set processing_debug_stmt to -1 and return name without
any remapping.

* g++.dg/other/pr42645-1.C: New test.
* g++.dg/other/pr42645-2.C: New test.

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

14 years ago * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
hp [Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)]
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
for non-tls_native targets.

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

14 years ago2010-01-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 12 Jan 2010 01:37:39 +0000 (01:37 +0000)]
2010-01-12  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.

* include/profile/impl/profiler.h: Remove duplicate markup.

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

14 years ago2010-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 12 Jan 2010 01:37:06 +0000 (01:37 +0000)]
2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Correct nested scope on the man pages.
* doc/xml/faq.xml: Edits, linkcheck, doxygen link reassociate.
* doc/xml/manual/mt_allocator.xml: Same.
* doc/xml/manual/allocator.xml: Same.
* doc/xml/manual/codecvt.xml: Same.
* doc/xml/manual/backwards_compatibility.xml: Same.
* doc/xml/manual/concurrency.xml: Same.
* doc/xml/manual/parallel_mode.xml: Same.
* doc/xml/manual/io.xml: Same.
* doc/xml/manual/support.xml: Same.
* doc/xml/manual/evolution.xml: Same.
* doc/xml/manual/using.xml: Same.
* doc/xml/manual/extensions.xml: Same.
* doc/xml/manual/appendix_contributing.xml: Same.
* doc/xml/manual/prerequisites.xml: Same.
* doc/xml/manual/diagnostics.xml: Same.
* doc/xml/manual/spine.xml: Same.
* doc/xml/manual/status_cxx200x.xml: Same.
* doc/xml/manual/test.xml: Same.
* doc/xml/spine.xml: Same.
* doc/html/*: Regenerate.

* include/profile/impl/profiler.h: Remove duplicate markup.

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