OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago * date_based: New directory.
janis [Tue, 17 Feb 2009 18:27:28 +0000 (18:27 +0000)]
* date_based: New directory.
* README: Move from here ...
* date_based/README: to here.
* reg_search: Move from here ...
* date_based/reg_search: to here.
* reg_periodic: Move from here ...
* date_based/reg_periodic: to here.
* reg_test_template: Move from here ...
* date_based_reg_test_template: to here.

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

11 years ago2009-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 17 Feb 2009 16:01:53 +0000 (16:01 +0000)]
2009-02-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39202
* tree-ssa-structalias.c (do_structure_copy): Before collapsing
a var make sure to follow existing collapses.

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

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

11 years ago2009-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 17 Feb 2009 15:20:18 +0000 (15:20 +0000)]
2009-02-17  Richard Guenther  <rguenther@suse.de>

PR middle-end/39214
* langhooks.c (lhd_print_error_function): Check for NULL block.

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

11 years ago2009-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 17 Feb 2009 15:01:40 +0000 (15:01 +0000)]
2009-02-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39204
* tree-ssa-pre.c (phi_translate_1): Lookup the value-number
of the PHI arg.

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

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

11 years ago2009-02-17 Bingfeng Mei <bmei@broadcom.com>
rguenth [Tue, 17 Feb 2009 14:28:06 +0000 (14:28 +0000)]
2009-02-17  Bingfeng Mei <bmei@broadcom.com>

* gcc.dg/vect/vect-outer-5.c: Require vect_float support.
* gcc.dg/vect/vect-outer-6.c: Ditto.

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

11 years ago * config/soft-fp/double.h: Update from glibc CVS.
uros [Tue, 17 Feb 2009 13:50:31 +0000 (13:50 +0000)]
* config/soft-fp/double.h: Update from glibc CVS.

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

11 years ago2009-02-17 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 17 Feb 2009 13:38:06 +0000 (13:38 +0000)]
2009-02-17  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39207
* tree-ssa-structalias.c (find_what_p_points_to): Do not emit
strict-aliasing warnings for pointers pointing to NULL.

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

11 years agoDaily bump.
gccadmin [Tue, 17 Feb 2009 00:17:12 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR c/35446
jsm28 [Mon, 16 Feb 2009 22:55:56 +0000 (22:55 +0000)]
PR c/35446
* c-parser.c (c_parser_braced_init): Call pop_init_level when
skipping until next close brace.

testsuite:
* gcc.dg/noncompile/init-5.c: New test.
* gcc.dg/init-bad-4.c: Adjust expected errors.

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

11 years agogcc/
hjl [Mon, 16 Feb 2009 20:37:49 +0000 (20:37 +0000)]
gcc/

2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>

PR target/37049
* config/i386/i386.c (ix86_expand_push): Set memory alignment
to function argument boundary.

gcc/testsuite/

2009-02-16  H.J. Lu  <hongjiu.lu@intel.com>

PR target/37049
* gcc.target/i386/push-1.c: New.

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

11 years ago2009-02-05 Andrew Haley <aph@redhat.com>
aph [Mon, 16 Feb 2009 15:33:46 +0000 (15:33 +0000)]
2009-02-05  Andrew Haley  <aph@redhat.com>

* native/plugin/gcjwebplugin.cc: Cope with the changed header file
format.  https://bugzilla.mozilla.org/show_bug.cgi?id=455458
(GCJ_GetJavaClass): Likewise.
(NP_Initialize): Likewise.

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

11 years ago * config/picochip/picochip.md (lea_add): Allow any nonimmediate
hariharans [Mon, 16 Feb 2009 13:46:51 +0000 (13:46 +0000)]
    * config/picochip/picochip.md (lea_add): Allow any nonimmediate
        in the lea_add. Reload eventually constraints it properly.
        * config/picochip/constraints.md : Remove the target constraint
        "b", since it is not needed anymore.

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

11 years ago * gthr-dce.h: Uglify function parameter and local variable names.
jakub [Mon, 16 Feb 2009 12:19:34 +0000 (12:19 +0000)]
* gthr-dce.h: Uglify function parameter and local variable names.
* gthr-gnat.h: Likewise.
* gthr-mipssde.h: Likewise.
* gthr-nks.h: Likewise.
* gthr-posix95.h: Likewise.
* gthr-posix.h: Likewise.
* gthr-rtems.h: Likewise.
* gthr-single.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-tpf.h: Likewise.
* gthr-vxworks.h: Likewise.
* gthr-win32.h: Likewise.

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

11 years ago * gcc-interface/deftarg.c: Remove.
ebotcazou [Mon, 16 Feb 2009 12:11:20 +0000 (12:11 +0000)]
* gcc-interface/deftarg.c: Remove.

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

11 years agoDaily bump.
gccadmin [Mon, 16 Feb 2009 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-02-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 15 Feb 2009 20:12:41 +0000 (20:12 +0000)]
2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39196
* config/i386/i386.md: Restrict the new peephole2 to move
between MMX/SSE registers.

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

11 years ago2009-02-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 15 Feb 2009 16:47:57 +0000 (16:47 +0000)]
2009-02-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/39168
* src/locale_facets.cc (__verify_grouping(const char*, size_t,
const string&)): Also check that the value != CHAR_MAX.
* include/bits/locale_facets.tcc (__numpunct_cache<>::
_M_cache(const locale&), __add_grouping(_CharT*, _CharT,
const char*, size_t, const _CharT*, const _CharT*)): Likewise.
* include/bits/locale_facets_nonio.tcc (__moneypunct_cache<>::
_M_cache(const locale&)): Likewise.
* testsuite/22_locale/money_put/put/wchar_t/39168.cc: New.
* testsuite/22_locale/money_put/put/char/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/money_get/get/char/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/wchar_t/39168.cc: Likewise.
* testsuite/22_locale/num_get/get/char/39168.cc: Likewise.

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

11 years agoRevert
rguenth [Sun, 15 Feb 2009 11:11:13 +0000 (11:11 +0000)]
Revert
2009-02-13  Richard Guenther  <rguenther@suse.de>

* configure.ac: Enable LFS.
* configure: Re-generate.
* config.in: Likewise.

libcpp/
* configure.ac: Enable LFS.
* configure: Re-generate.
* config.in: Likewise.

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

11 years ago * gcc.dg/struct/w_prof_single_str_global.c: Mask return value.
uros [Sun, 15 Feb 2009 08:07:17 +0000 (08:07 +0000)]
* gcc.dg/struct/w_prof_single_str_global.c: Mask return value.

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

11 years agoDaily bump.
gccadmin [Sun, 15 Feb 2009 00:16:53 +0000 (00:16 +0000)]
Daily bump.

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

11 years agoChangeLog:
uweigand [Sat, 14 Feb 2009 01:32:17 +0000 (01:32 +0000)]
ChangeLog:

* config/spu/spu_internals.h (spu_sr, spu_sra, spu_srqw,
spu_srqwbyte, spu_srqwbytebc): Define.
* config/spu/spu-builtins.def (spu_sr, spu_sra, spu_srqw,
spu_srqwbyte, spu_srqwbytebc): New overloaded builtins.
* config/spu/spu.md ("shrqbybi_<mode>", "shrqbi_<mode>",
"shrqby_<mode>"): New insn-and-split patterns.
* config/spu/spu.c (expand_builtin_args): Determine and return
number of operands using spu_builtin_description data.
(spu_expand_builtin_1): Use it.

testsuite/ChangeLog:

* gcc.target/spu/intrinsics-sr.c: New test.

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

11 years agoDaily bump.
gccadmin [Sat, 14 Feb 2009 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-02-13 Chris Fairles <cfairles@gcc.gnu.org>
bkoz [Fri, 13 Feb 2009 23:08:50 +0000 (23:08 +0000)]
2009-02-13  Chris Fairles  <cfairles@gcc.gnu.org>
    Benjamin Kosnik  <bkoz@redhat.com>

* include/std/thread (_Impl_base): Move _M_id out and into ...
(thread): ...here. Call _M_make_routine in body of constructors.
Adjust data member usage to reflect changes.
(_M_make_routine): From _M_make_shared_data.
(_M_start_thread): Add __shared_base_type argument.
* src/thread.cc: Fixups for above.
* config/abi/pre/gnu.ver: Adjust exports.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Enable.
* testsuite/30_threads/thread/cons/assign_neg.cc: Adjust line numbers.
* testsuite/30_threads/thread/cons/copy_neg.cc: Same.

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

11 years ago2009-02-13 Mikael Morin <mikael.morin@tele2.fr>
burnus [Fri, 13 Feb 2009 22:16:20 +0000 (22:16 +0000)]
2009-02-13  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/38259
        * module.c (gfc_dump_module,gfc_use_module): Add module
        version number.

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

11 years ago PR target/38056
sje [Fri, 13 Feb 2009 21:59:32 +0000 (21:59 +0000)]
PR target/38056
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Check
TARGET_CONST_GP.
* gcc.target/ia64/sibcall-opt-1.c: New test.
* gcc.target/ia64/sibcall-opt-2.c: New test.

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

11 years ago2009-02-13 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 13 Feb 2009 21:12:34 +0000 (21:12 +0000)]
2009-02-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/36703
PR fortran/36528
* trans-expr.c (gfc_conv_function_val): Stabilize Cray-pointer
function references to ensure that a valid expression is used.
(gfc_conv_function_call): Pass Cray pointers to procedures.

2009-02-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/36528
* gfortran.dg/cray_pointers_8.f90: New test.

PR fortran/36703
* gfortran.dg/cray_pointers_9.f90: New test.

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

11 years ago PR c++/39070
jason [Fri, 13 Feb 2009 19:14:07 +0000 (19:14 +0000)]
    PR c++/39070
        * semantics.c (finish_call_expr): Change koenig_p parm to int.
        If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates.
        * cp-tree.h: Adjust prototype.
        * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1.

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

11 years ago2009-02-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 13 Feb 2009 17:48:20 +0000 (17:48 +0000)]
2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39149
* config/i386/i386.c (override_options): Correct warning
messages for -malign-loops,  -malign-jumps and
-malign-functions.

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

11 years agogcc/
hjl [Fri, 13 Feb 2009 14:37:11 +0000 (14:37 +0000)]
gcc/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39152
* config/i386/i386.md: Restrict the new peephole2 to move
between the general purpose registers.

gcc/testsuite/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39152
* gfortran.dg/gomp/pr39152.f90: New.

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

11 years agogcc/
hjl [Fri, 13 Feb 2009 14:34:00 +0000 (14:34 +0000)]
gcc/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39162
* config/i386/i386.c (type_natural_mode): Add a new argument.
Return the original mode and warn ABI change if vector size
is 32byte.
(function_arg_advance): Updated.
(function_arg): Likewise.
(ix86_function_value): Likewise.
(ix86_return_in_memory): Likewise.
(ix86_sol10_return_in_memory): Likewise.
(ix86_gimplify_va_arg): Likewise.
(function_arg_32): Don't warn ABX ABI change here.
(function_arg_64): Likewise.

gcc/testsuite/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39162
* gcc.target/i386/pr39162.c: New.

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

11 years ago * zh_CN.po: Update.
jsm28 [Fri, 13 Feb 2009 13:21:34 +0000 (13:21 +0000)]
* zh_CN.po: Update.

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

11 years ago * config/bfin/bfin.c (find_prev_insn_start): New function.
bernds [Fri, 13 Feb 2009 11:41:22 +0000 (11:41 +0000)]
* config/bfin/bfin.c (find_prev_insn_start): New function.
(bfin_optimize_loop): Use it in some cases instead of PREV_INSN.
(find_next_insn_start): Move.

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

11 years ago * loop-iv.c (implies_p): In the final case, test that operands 0
bernds [Fri, 13 Feb 2009 11:35:47 +0000 (11:35 +0000)]
* loop-iv.c (implies_p): In the final case, test that operands 0
of the two comparisons match.

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

11 years ago2009-02-13 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 13 Feb 2009 10:52:08 +0000 (10:52 +0000)]
2009-02-13  Richard Guenther  <rguenther@suse.de>

* configure.ac: Enable LFS.
* configure: Re-generate.
* config.in: Likewise.

libcpp/
* configure.ac: Enable LFS.
* configure: Re-generate.
* config.in: Likewise.

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

11 years ago PR c/35444
jsm28 [Fri, 13 Feb 2009 01:00:24 +0000 (01:00 +0000)]
PR c/35444
* c-parser.c (c_parser_parms_list_declarator): Discard pending
sizes on syntax error after some arguments have been parsed.

testsuite:
* gcc.dg/noncompile/pr35444-1.c, gcc.dg/noncompile/pr35444-2.c:
New tests.

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

11 years ago2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 13 Feb 2009 00:25:16 +0000 (00:25 +0000)]
2009-02-12  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
(compare_type_to_native_type): ...this, add alignment check.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Modify as above.
* testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/condition_variable/native_handle/
typesizes.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/native_handle/
typesizes.cc: Same.

* testsuite/30_threads/thread/cons/1.cc: Add comments.
* testsuite/30_threads/thread/cons/2.cc: Same.
* testsuite/30_threads/thread/cons/3.cc: Same.
* testsuite/30_threads/thread/cons/4.cc: Same.
* testsuite/30_threads/thread/cons/5.cc: Same.
* testsuite/30_threads/thread/cons/6.cc: Same.
* testsuite/30_threads/thread/cons/7.cc: Same.
* testsuite/30_threads/thread/cons/8.cc: Same.

* testsuite/30_threads/thread/cons/9.cc: New.
* testsuite/30_threads/thread/cons/moveable.cc: New.

* src/condition_variable.cc: Clean up whitespace.
* include/std/condition_variable: Same.

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

11 years agoDaily bump.
gccadmin [Fri, 13 Feb 2009 00:16:39 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-02-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 13 Feb 2009 00:14:42 +0000 (00:14 +0000)]
2009-02-12  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/thread/all.h (compare_type_to_native_type_sizes): To...
(compare_type_to_native_type): ...this, add alignment check.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Modify as above.
* testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/condition_variable/native_handle/
typesizes.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/native_handle/
typesizes.cc: Same.

* testsuite/30_threads/thread/cons/1.cc: Add comments.
* testsuite/30_threads/thread/cons/2.cc: Same.
* testsuite/30_threads/thread/cons/3.cc: Same.
* testsuite/30_threads/thread/cons/4.cc: Same.
* testsuite/30_threads/thread/cons/5.cc: Same.
* testsuite/30_threads/thread/cons/6.cc: Same.
* testsuite/30_threads/thread/cons/7.cc: Same.
* testsuite/30_threads/thread/cons/8.cc: Same.

* testsuite/30_threads/thread/cons/9.cc: New.
* testsuite/30_threads/thread/cons/moveable.cc: New.

* src/condition_variable.cc: Clean up whitespace.
* include/std/condition_variable: Same.

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

11 years ago PR c++/38950
jason [Thu, 12 Feb 2009 22:40:37 +0000 (22:40 +0000)]
    PR c++/38950
        * pt.c (unify)[TEMPLATE_PARM_INDEX]: Convert to the tsubsted type.

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

11 years ago * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
uros [Thu, 12 Feb 2009 22:03:44 +0000 (22:03 +0000)]
* config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
* config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.

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

11 years ago * doc/invoke.texi (-fira): Remove.
jakub [Thu, 12 Feb 2009 21:28:00 +0000 (21:28 +0000)]
* doc/invoke.texi (-fira): Remove.

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

11 years ago2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 12 Feb 2009 18:32:16 +0000 (18:32 +0000)]
2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* caller-save.c: Replace regclass.c with reginfo.c in comments.
* recog.c: Likewise.
* rtl.h: Likewise.

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

11 years ago * gcc.dg/torture/fp-int-convert-float128-timode.c: Do not check
uros [Thu, 12 Feb 2009 17:33:18 +0000 (17:33 +0000)]
* gcc.dg/torture/fp-int-convert-float128-timode.c: Do not check
for lp64 in "dg-do run" directive.  Remove dg-xfail-if directive.
* gcc.dg/torture/fp-int-convert-timode.c: Remove xfail directive.

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

11 years agogcc/
hjl [Thu, 12 Feb 2009 16:30:53 +0000 (16:30 +0000)]
gcc/

2009-02-12  Uros Bizjak  <ubizjak@gmail.com>

* longlong.h (sub_ddmmss): New for ia64. Ported from GMP 4.2.
(umul_ppmm): Likewise.
(count_leading_zeros): Likewise.
(count_trailing_zeros): Likewise.
(UMUL_TIME): Likewise.

2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* config.gcc: Add ia64/t-fprules-softfp soft-fp/t-softfp to
tmake_file for ia64*-*-linux*.

* config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
(ia64_expand_compare): Use HPUX library for TFmode only for
HPUX.
(ia64_builtins): Add IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ
and IA64_BUILTIN_INFQ.
(ia64_init_builtins): Initialize __builtin_infq,
__builtin_fabsq and __builtin_copysignq if not HPUX.
(ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
IA64_BUILTIN_FABSQ and IA64_BUILTIN_INFQ.

* config/ia64/lib1funcs.asm (__divtf3): Define only if
SHARED is defined.
(__fixtfti): Likewise.
(__fixunstfti): Likewise.
(__floattitf): Likewise.

* config/ia64/libgcc-glibc.ver: New.
* config/ia64/t-fprules-softfp: Likewise.
* config/ia64/sfp-machine.h: Likewise.

* config/ia64/linux.h (LIBGCC2_HAS_TF_MODE): New.
(LIBGCC2_TF_CEXT): Likewise.
(TF_SIZE): Likewise.
(TARGET_INIT_LIBFUNCS): Likewise.

* config/ia64/t-glibc: Add $(srcdir)/config/ia64/libgcc-glibc.ver
to SHLIB_MAPFILES.

libgcc/

2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* config.host: Add ia64/t-fprules-softfp ia64/t-softfp-compat
to tmake_file for ia64*-*-linux*.

* Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.

* config/ia64/__divxf3.asm: New.
* config/ia64/_fixtfdi.asm: Likewise.
* config/ia64/_fixunstfdi.asm: Likewise.
* config/ia64/_floatditf.asm: Likewise.
* config/ia64/t-fprules-softfp: Likewise.
* config/ia64/t-softfp-compat: Likewise.
* config/ia64/tf-signs.c: Likewise.

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

11 years agoMention PR target/38824 in ChangeLog entries.
hjl [Thu, 12 Feb 2009 15:45:20 +0000 (15:45 +0000)]
Mention PR target/38824 in ChangeLog entries.

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

11 years ago2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 12 Feb 2009 14:42:20 +0000 (14:42 +0000)]
2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (construct_container): Rewrite processing
BLKmode with X86_64_SSE_CLASS.

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

11 years ago2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 12 Feb 2009 14:17:17 +0000 (14:17 +0000)]
2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

* g++.dg/cpp0x/defaulted9.C: Compile with "-std=c++0x -fno-inline".

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

11 years agogcc/
hjl [Thu, 12 Feb 2009 14:04:20 +0000 (14:04 +0000)]
gcc/

2009-02-12  Paolo Bonzini  <bonzini@gnu.org>

PR target/39152
* config/i386/i386.md: Replace simplify_replace_rtx with
replace_rtx in the new peephole2.

gcc/testsuite/

2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39152
* gfortran.dg/pr39152.f: New.

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

11 years ago * doc/invoke.texi (Optimize Options): Stop claiming inlining and
nathan [Thu, 12 Feb 2009 10:57:59 +0000 (10:57 +0000)]
* doc/invoke.texi (Optimize Options): Stop claiming inlining and
loop unrolling do not happen at -O2.

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

11 years ago* gcc.c (ASM_DEBUG_SPEC): Check for -g0.
matz [Thu, 12 Feb 2009 08:49:08 +0000 (08:49 +0000)]
* gcc.c (ASM_DEBUG_SPEC): Check for -g0.

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

11 years ago * dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
jakub [Thu, 12 Feb 2009 08:42:57 +0000 (08:42 +0000)]
* dwarf2out.c (dwarf2out_finish): Force output of comp_unit_die
for -g3.

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

11 years ago * config/rs6000/rs6000.md (allocate_stack): Use _stack form of
bje [Thu, 12 Feb 2009 04:37:09 +0000 (04:37 +0000)]
* config/rs6000/rs6000.md (allocate_stack): Use _stack form of
patterns when updating the back chain.  Missed in the 2009-02-10
change.

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

11 years ago PR c++/39153
jason [Thu, 12 Feb 2009 02:01:07 +0000 (02:01 +0000)]
    PR c++/39153
        * decl2.c (cp_write_global_declarations):
        Check DECL_DEFAULTED_FN, not DECL_ARTIFICIAL.

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

11 years agoDaily bump.
gccadmin [Thu, 12 Feb 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * doc/extend.texi (Decimal Floating Types): Update identifier of
janis [Thu, 12 Feb 2009 00:04:19 +0000 (00:04 +0000)]
* doc/extend.texi (Decimal Floating Types): Update identifier of
draft TR and list of missing support.

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

11 years ago PR c++/30111
jason [Wed, 11 Feb 2009 22:38:37 +0000 (22:38 +0000)]
    PR c++/30111
        * init.c (build_value_init_noctor): Split out from...
        (build_value_init): ...here.
        (expand_aggr_init_1): Handle value-initialization.
        * cp-tree.h: Add declaration.
        * class.c (type_has_user_provided_constructor):
        Handle non-class arguments.

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

11 years ago PR middle-end/39154
jakub [Wed, 11 Feb 2009 21:57:52 +0000 (21:57 +0000)]
PR middle-end/39154
* gimplify.c (omp_notice_variable): If adding GOVD_SEEN
bit to variable length decl's flags, add it also to its
pointer replacement variable.

* testsuite/libgomp.c/pr39154.c: New test.

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

11 years ago PR target/39118
uros [Wed, 11 Feb 2009 11:43:24 +0000 (11:43 +0000)]
PR target/39118
* config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
(memory_blockage): New expander.
(*memory_blockage): New insn pattern.
* config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
instead of general blockage at the end of function prologue when
frame pointer is used to access red zone area.  Do not emit blockage
when profiling, it is emitted in generic code.
(ix86_expand_epilogue): Emit memory_blockage at the beginning of
function epilogue when frame pointer is used to access red zone area.

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

11 years ago2009-02-11 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 11 Feb 2009 10:50:50 +0000 (10:50 +0000)]
2009-02-11  Kai Tietz  <kai.tietz@onevision.com>

        * mh-cygwin (LDFLAGS): Add linker option to increase stack limit
        up to 8MB.

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

11 years agogcc:
bonzini [Wed, 11 Feb 2009 08:56:41 +0000 (08:56 +0000)]
gcc:
2009-02-06  Paolo Bonzini  <bonzini@gnu.org>

* config/i386/i386.md: Add two new peephole2 to avoid mov followed
by arithmetic with memory operands.
* config/i386/predicates.md (commutative_operator): New.

gcc/testsuite:
2009-02-06  Paolo Bonzini  <bonzini@gnu.org>

* gcc.target/i386/pr38824.c: New testcase.

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

11 years ago PR c++/38649
jason [Wed, 11 Feb 2009 05:23:38 +0000 (05:23 +0000)]
    PR c++/38649
        * class.c (defaultable_fn_p): Handle ... properly.

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

11 years ago PR c++/36744
jason [Wed, 11 Feb 2009 05:23:02 +0000 (05:23 +0000)]
    PR c++/36744
        * tree.c (lvalue_p_1): Condition rvalue ref handling on
        treat_class_rvalues_as_lvalues, too.

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

11 years agoDaily bump.
gccadmin [Wed, 11 Feb 2009 00:16:40 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * doc/extend.texi (Fixed-Point Types): Break long paragraphs into
janis [Wed, 11 Feb 2009 00:06:31 +0000 (00:06 +0000)]
* doc/extend.texi (Fixed-Point Types): Break long paragraphs into
bulleted lists.

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

11 years ago * alias.h (record_alias_subset): Declare.
ebotcazou [Tue, 10 Feb 2009 22:52:51 +0000 (22:52 +0000)]
* alias.h (record_alias_subset): Declare.
* alias.c (record_alias_subset): Make global.
ada/
* gcc-interface/decl.c (enum alias_set_op): New enumeration.
(copy_alias_set): Rename into...
(relate_alias_sets): ...this. ¬†Add third parameter OP. ¬†Retrieve the
underlying array of unconstrained arrays for the new type as well.
If the old and new alias sets don't conflict, make one a subset of
the other as per the OP parameter.
(gnat_to_gnu_entity): Adjust calls to copy_alias_set.
<E_Record_Type>: Do not copy the alias set for derived types.
For all types, make the alias set of derived types a superset of
that of their parent type.
(make_aligning_type): Adjust calls to copy_alias_set.
(make_packable_type): Likewise.
* gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>:
Check for alias set conflict instead of strict equality to issue the
warning.

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

11 years ago/cp
paolo [Tue, 10 Feb 2009 21:47:12 +0000 (21:47 +0000)]
/cp
2009-02-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34397
* typeck.c (build_x_array_ref): New.
* cp-tree.h: Declare it.
* pt.c (tsubst_copy_and_build): Use it for case ARRAY_REF.

/testsuite
2009-02-10  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/34397
* g++.dg/template/crash88.C: New.
* g++.dg/template/crash89.C: Likewise.

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

11 years ago * Makefile.am (AM_MAKEFLAGS): Pass down datadir.
mmitchel [Tue, 10 Feb 2009 21:39:15 +0000 (21:39 +0000)]
* Makefile.am (AM_MAKEFLAGS): Pass down datadir.
* Makefile.in: Regenerated.

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

11 years ago * tree-parloops.c: Change license to GPLv3.
nickc [Tue, 10 Feb 2009 17:59:08 +0000 (17:59 +0000)]
    * tree-parloops.c: Change license to GPLv3.
        * ipa-struct-reorg.c: Change license to GPLv3.
        * ipa-struct-reorg.h: Change license to GPLv3.

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

11 years ago PR c/39084
sje [Tue, 10 Feb 2009 16:34:30 +0000 (16:34 +0000)]
PR c/39084
gcc.dg/pr39084.c: New test.

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

11 years ago PR c/39084
sje [Tue, 10 Feb 2009 16:33:19 +0000 (16:33 +0000)]
PR c/39084
* c-decl.c (start_struct): Return NULL on error.

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

11 years ago PR middle-end/39124
jakub [Tue, 10 Feb 2009 16:23:17 +0000 (16:23 +0000)]
PR middle-end/39124
* cfgloopmanip.c (remove_path): Call remove_bbs after
cancel_loop_tree, not before it.

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

11 years ago PR target/39139
jakub [Tue, 10 Feb 2009 16:22:29 +0000 (16:22 +0000)]
PR target/39139
* function.h (struct function): Add has_local_explicit_reg_vars
bit.
* gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
VAR_DECLs were seen.
* tree-ssa-live.c (remove_unused_locals): Recompute
cfun->has_local_explicit_reg_vars.
* tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
copies or clearings if cfun->has_local_explicit_reg_vars.

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

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

11 years ago PR target/39118
uros [Tue, 10 Feb 2009 16:12:33 +0000 (16:12 +0000)]
PR target/39118
* config/i386/i386.c (expand_prologue): Emit blockage at the end
of function prologue when frame pointer is used to access
red zone area.

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

11 years ago * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
jsm28 [Tue, 10 Feb 2009 14:56:10 +0000 (14:56 +0000)]
* Makefile.in (clean): Don't remove makedepend$(EXEEXT).

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

11 years ago2009-02-10 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 10 Feb 2009 14:55:15 +0000 (14:55 +0000)]
2009-02-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/39127
* gimplify.c (gimple_regimplify_operands): Always look if
we need to create a temporary.

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

11 years ago2009-02-10 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 10 Feb 2009 14:54:13 +0000 (14:54 +0000)]
2009-02-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39132
* tree-loop-distribution.c (todo): New global var.
(generate_memset_zero): Trigger TODO_rebuild_alias.
(tree_loop_distribution): Return todo.

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

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

11 years agogcc/
hjl [Tue, 10 Feb 2009 14:00:46 +0000 (14:00 +0000)]
gcc/

2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39119
* config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS.
(x86_64_reg_class_name): Removed.
(classify_argument): Return 0 if bytes > 32.  Return 0 if the
first one isn't X86_64_SSE_CLASS or any other ones aren't
X86_64_SSEUP_CLASS when size > 16bytes.  Don't turn
X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one
is X86_64_SSEUP_CLASS.  Set AVX modes to 1 X86_64_SSE_CLASS
and 3 X86_64_SSEUP_CLASS.
(construct_container): Remove X86_64_AVX_CLASS.  Handle 4
registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS.

gcc/testsuite/

2009-02-10  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39119
* gcc.target/x86_64/abi/avx/abi-avx.exp: New.
* gcc.target/x86_64/abi/avx/args.h: Likewise.
* gcc.target/x86_64/abi/avx/asm-support.S: Likewise.
* gcc.target/x86_64/abi/avx/avx-check.h: Likewise.
* gcc.target/x86_64/abi/avx/test_m256_returning.c: Likewise.
* gcc.target/x86_64/abi/avx/test_passing_m256.c: Likewise.
* gcc.target/x86_64/abi/avx/test_passing_structs.c: Likewise.
* gcc.target/x86_64/abi/avx/test_passing_unions.c: Likewise.

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

11 years ago2009-02-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 10 Feb 2009 08:29:57 +0000 (08:29 +0000)]
2009-02-09  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/condition_variable (condition_variable): Remove
_M_internal_mutex. Add private __native_type typedef.
* src/condition_variable.cc (condition_variable::notify_one):
Remove _M_internal_mutex use. Use typedef.
(condition_variable::notify_all): Same.
* include/std/mutex (mutex): Add private __native_type typedef. Use it.
(recursive_mutex): Same.
(timed_mutex): Same.
(recursive_timed_mutex): Same.
(once_flag): Make __native_type typedef private.

* include/std/thread (this_thread): Add minimal markup.

* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust line numbers.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Same.
* testsuite/30_threads/mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/thread/cons/assign_neg.cc: Same.
* testsuite/30_threads/thread/cons/copy_neg.cc: Same.
* testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Same.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Same.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Same.

* testsuite/util/thread/all.h: Testsuite utilities for testing thread.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: New.
* testsuite/30_threads/mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/thread/native_handle/typesizes.cc: Same.
* testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Same.
* testsuite/30_threads/condition_variable/native_handle/
typesizes.cc: Same.
* testsuite/30_threads/recursive_timed_mutex/native_handle/
typesizes.cc: Same.

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

11 years agoDaily bump.
gccadmin [Tue, 10 Feb 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * config/rs6000/rs6000.md (allocate_stack): Always use an update
bje [Tue, 10 Feb 2009 00:13:34 +0000 (00:13 +0000)]
* config/rs6000/rs6000.md (allocate_stack): Always use an update
form instruction to update the stack back chain word, even if the
user has disabled the generation of update instructions.
(movdi_<mode>_update_stack): New.
(movsi_update_stack): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise,
always use an update form instruction to update the stack back
chain word.

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

11 years ago * addr2name.awk: Remove.
mmitchel [Mon, 9 Feb 2009 22:52:08 +0000 (22:52 +0000)]
* addr2name.awk: Remove.
* Makefile.am (bin_SCRIPTS): Remove addr2name.awk.
* Makefile.in: Regenerated.

* configure.ac: Define enable_sjlj_exceptions
appropriately under the ARM EH ABI.
* configure: Regenerated.

* Makefile.am (LTLDFLAGS): Define.
(GCJLINK): Use it.
(LIBLINK): Likewise.
* Makefile.in: Regenerated.

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

11 years ago * Makefile.am (LTLDFLAGS): New variable.
mmitchel [Mon, 9 Feb 2009 22:51:40 +0000 (22:51 +0000)]
* Makefile.am (LTLDFLAGS): New variable.
(LINK): Use it.
* Makefile.in: Regenerated.

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

11 years ago PR c++/39109
jason [Mon, 9 Feb 2009 21:46:18 +0000 (21:46 +0000)]
    PR c++/39109
        * semantics.c (simplify_aggr_init_expr): Do zero-initialization here.
        * init.c (build_value_init): Not here. Don't build a TARGET_EXPR.
        * tree.c (get_target_expr): Handle AGGR_INIT_EXPR.
        * cp-gimplify.c (cp_gimplify_init_expr): Remove special handling
        for build_value_init TARGET_EXPR.
        * cp-tree.h (AGGR_INIT_ZERO_FIRST): New macro.

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

11 years ago2009-02-09 Jack Howarth <howarth@bromo.med.uc.edu>
janis [Mon, 9 Feb 2009 20:53:22 +0000 (20:53 +0000)]
2009-02-09  Jack Howarth  <howarth@bromo.med.uc.edu>

PR testsuite/33300
* libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc: Skip
on darwin for lp64.

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

11 years ago2009-02-09 Sebastian Pop <sebastian.pop@amd.com>
spop [Mon, 9 Feb 2009 20:35:09 +0000 (20:35 +0000)]
2009-02-09  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/38953
* graphite.c (if_region_set_false_region): After moving a region
in the false branch of a condition, remove the empty dummy basic block.
(gloog): Remove wrong fix for PR38953.

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

11 years ago * configure.host: Set abi_baseline_pair for mips64*-linux.
nemet [Mon, 9 Feb 2009 20:24:08 +0000 (20:24 +0000)]
* configure.host: Set abi_baseline_pair for mips64*-linux.
* config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.

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

11 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
ebotcazou [Mon, 9 Feb 2009 18:34:20 +0000 (18:34 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
(copy_alias_set): Assert that arrays have the same aliasing settings.
(substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT.

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

11 years ago2009-02-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 9 Feb 2009 18:07:41 +0000 (18:07 +0000)]
2009-02-09  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/x86_64/abi/abi-x86_64.exp: Use glob instead of
find.

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

11 years ago * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
uweigand [Mon, 9 Feb 2009 14:35:38 +0000 (14:35 +0000)]
* config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
generation due to implicit sign extension.

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

11 years ago PR middle-end/38981
ebotcazou [Mon, 9 Feb 2009 11:09:25 +0000 (11:09 +0000)]
PR middle-end/38981
* tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs
at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST.

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

11 years ago2009-02-09 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 9 Feb 2009 09:35:22 +0000 (09:35 +0000)]
2009-02-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/35202
* convert.c (convert_to_real): Disable (float)fn((double)x)
to fnf(x) conversion if errno differences may occur and
-fmath-errno is set.

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

11 years ago2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
cfairles [Mon, 9 Feb 2009 06:32:12 +0000 (06:32 +0000)]
2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>

        * include/std/thread (this_thread::get_id): Inline.

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

11 years agoRevert:
ebotcazou [Mon, 9 Feb 2009 06:18:23 +0000 (06:18 +0000)]
Revert:

* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) <VIEW_CONVERT_EXPR>:
Make case self-contained.
<ARRAY_REF>: Test TYPE_NONALIASED_COMPONENT flag.

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

11 years agoDaily bump.
gccadmin [Mon, 9 Feb 2009 00:16:50 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-02-08 Chris Fairles <cfairles@gcc.gnu.org>
cfairles [Mon, 9 Feb 2009 00:13:47 +0000 (00:13 +0000)]
2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>

        * include/std/thread (thread<>::thread(_Callable)): Explicitly use
        _Callable as template argument for _M_make_shared_data.
        * testsuite/30_threads/thread/cons/6.cc: New.
        * testsuite/30_threads/thread/cons/7.cc: New.
        * testsuite/30_threads/thread/cons/8.cc: New.

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

11 years ago * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) <VIEW_CONVERT_EXPR>:
ebotcazou [Sun, 8 Feb 2009 23:10:00 +0000 (23:10 +0000)]
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p) <VIEW_CONVERT_EXPR>:
Make case self-contained.
<ARRAY_REF>: Test TYPE_NONALIASED_COMPONENT flag.
ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
Set TYPE_NONALIASED_COMPONENT on the array type.

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

11 years ago2009-02-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 8 Feb 2009 09:10:15 +0000 (09:10 +0000)]
2009-02-07  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/30_threads/thread/member: To..
* testsuite/30_threads/thread/members: ...this.
* testsuite/30_threads/condition_variable/member: To...
* testsuite/30_threads/condition_variable/members: ...this.

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

11 years agoDaily bump.
gccadmin [Sun, 8 Feb 2009 00:16:54 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-02-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 7 Feb 2009 21:56:55 +0000 (21:56 +0000)]
2009-02-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/thread (thread::id): Move definition inside thread.
Use native_handle_type. Remove this_thread::get_id friend.
Change __thread_data_ptr to __shared_base_ptr.
(thread::id::id(native_handle_type): Make public. Still explicit.
Use native_handle_type. Change _M_thread_id to _M_thread.
(thread::__thread_data_base): Rename to _Impl_base. Use id, change
_M_thread_handle to _M_id.
(thread::__thread_data): Rename to _Impl.
Fixup for renames.
(thread::_M_make_thread_data): Return derived type.
(thread::hardware_concurrency): Add definition for default case.
(thread::get_id): Now can define inline.
(thread): Change _M_thread_data to _M_data.
(this_thread::get_id): Now can define inline.
* src/thread.cc (__thread_proxy): Rename to
execute_native_thread_routine.
Fixup for other renames.
* testsuite/30_threads/thread/cons/assign_neg.cc: New.
* testsuite/30_threads/thread/cons/copy_neg.cc: New.
* testsuite/30_threads/thread/algorithm: Move to..
* testsuite/30_threads/thread/swap: ...this.
* testsuite/30_threads/thread/member/hardware_concurrency.cc: Add.
* testsuite/30_threads/thread/id/operators.cc: New.

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

11 years ago * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
aesok [Sat, 7 Feb 2009 18:55:25 +0000 (18:55 +0000)]
* config/avr/avr.c (avr_mcu_t): Add ata6289 device.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).

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