OSDN Git Service

pf3gnuchains/gcc-fork.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years ago/cp
paolo [Sat, 7 Feb 2009 02:05:04 +0000 (02:05 +0000)]
/cp
2009-02-06  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/35147
PR c++/37737
* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): Check TREE_VEC_LENGTH.

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

PR c++/35147
PR c++/37737
* g++.dg/cpp0x/vt-35147.C: New.
* g++.dg/cpp0x/vt-37737-1.C: Likewise.
* g++.dg/cpp0x/vt-37737-2.C: Likewise.

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

12 years ago PR c/35434
jsm28 [Sat, 7 Feb 2009 00:32:37 +0000 (00:32 +0000)]
PR c/35434
* c-common.c (handle_alias_attribute): Disallow attribute for
anything not a FUNCTION_DECL or VAR_DECL.

testsuite:
* gcc.dg/attr-alias-4.c: New test.

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

12 years agoDaily bump.
gccadmin [Sat, 7 Feb 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago PR c/39035
janis [Fri, 6 Feb 2009 21:01:46 +0000 (21:01 +0000)]
PR c/39035
* real.c (do_compare): Special-case compare of zero against
decimal float value.

* gcc.dg/dfp/pr39035.c: New test.

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

12 years ago * vi.po: Update.
jsm28 [Fri, 6 Feb 2009 20:14:10 +0000 (20:14 +0000)]
* vi.po: Update.

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

12 years ago PR c/36432
jsm28 [Fri, 6 Feb 2009 20:12:10 +0000 (20:12 +0000)]
PR c/36432
* c-decl.c (grokdeclarator): Don't treat [] declarators in fields
as indicating flexible array members unless the field itself is
being declarared as the incomplete array.

testsuite:
* gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests.

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

12 years ago PR tree-optimization/38844
hubicka [Fri, 6 Feb 2009 16:47:39 +0000 (16:47 +0000)]
PR tree-optimization/38844
* ipa-inline.c (try_inline): Stop inlining recursion when edge
is already inlined.

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

12 years ago2009-02-06 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 6 Feb 2009 09:06:39 +0000 (09:06 +0000)]
2009-02-06  Richard Guenther  <rguenther@suse.de>

PR middle-end/38977
* tree-cfg.c (need_fake_edge_p): Force a fake edge for
fork because we may expand it as __gcov_fork.

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

12 years ago* config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
nickc [Fri, 6 Feb 2009 09:02:37 +0000 (09:02 +0000)]
* config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.

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

12 years ago2009-02-06 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 6 Feb 2009 07:33:05 +0000 (07:33 +0000)]
2009-02-06  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/35659
* tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq
vn_phi_eq): Shortcut if hashcode does not match.
(vn_reference_op_compute_hash): Do not call iterative_hash_expr for
NULL operands.
* tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available,
and avoid iterative_hash_expr.
(FOR_EACH_VALUE_ID_IN_SET): New.
(value_id_compare): Remove.
(sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to
sort expressions by value id.

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

12 years ago2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
cfairles [Fri, 6 Feb 2009 06:01:40 +0000 (06:01 +0000)]
2009-02-05  Chris Fairles  <cfairles@gcc.gnu.org>

        * include/std/tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
        (_Head_base<>::__swap_impl): Rename to _M_swap_impl.
        (_Tuple_impl<>::__swap_impl): Likewise and make protected to avoid
        exposing it in public std::tuple interface.

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

12 years ago PR target/38991
kkojima [Fri, 6 Feb 2009 00:29:03 +0000 (00:29 +0000)]
PR target/38991
* config/sh/predicates.md (general_movsrc_operand): Don't check
the subreg of system registers here.

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

12 years agoDaily bump.
gccadmin [Fri, 6 Feb 2009 00:16:37 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago PR c++/39106
jakub [Thu, 5 Feb 2009 21:54:06 +0000 (21:54 +0000)]
PR c++/39106
* cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
on the copied decl.

* g++.dg/opt/thunk3.C: New test.

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

12 years ago2009-02-05 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 5 Feb 2009 18:29:11 +0000 (18:29 +0000)]
2009-02-05  Paolo Bonzini  <bonzini@gnu.org>

PR rtl-optimization/39110
* rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned
addresses, not aligned ones.

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

12 years ago2009-02-05 Chris Fairles <cfairles@gcc.gnu.org>
cfairles [Thu, 5 Feb 2009 17:47:56 +0000 (17:47 +0000)]
2009-02-05  Chris Fairles  <cfairles@gcc.gnu.org>
            Benjamin Kosnik  <bkoz@redhat.com>

        * include/std/thread (__thread_data_base): Nest class in std::thread.
        (__thread_data): Likewise.
        (__thread_data_ptr): Nest typedef in std::thread.
        * src/thread.cc (__thread_proxy): Qualify the above names.
        * config/abi/pre/gnu.ver: Remove unused exports.

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

12 years ago* Makefile.tpl (stage_last): Define $r and $s before using
schwab [Thu, 5 Feb 2009 15:29:52 +0000 (15:29 +0000)]
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS).
* Makefile.in: Regenerate

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

12 years ago * gcc.c-torture/compile/20080625-1.c: Skip for M32C.
nickc [Thu, 5 Feb 2009 11:59:20 +0000 (11:59 +0000)]
    * gcc.c-torture/compile/20080625-1.c: Skip for M32C.
        * gcc.c-torture/compile/limits-stringlit.c: Likewise.
        * gcc.dg/cdce1.c: Likewise.
        * gcc.dg/cpp/_Pragma6.c: Likewise.
        * g++.dg/cpp/_Pragma1.C: Likewise.
        * gcc.dg/utf32-2.c: Xfail for M32C.
        * gcc.dg/utf32-1.c: Likewise.
        * gcc.dg/utf32-3.c: Likewise.
        * gcc.dg/Wtype-limits.c: Add expected warning messages for 16-bit
        targets.
        * gcc.dg/Wtype-limits-Wextra.c: Likewise.
        * gcc.dg/utf32-4.c: Only run for 32-bit+ targets.
        * gcc.dg/Wconversion-5.c: Likewise.
        * gcc.dg/tree-ssa/data-dep-1.c: Likewise.
        * gcc.dg/tree-ssa/ldist-3.c: Likewise.
        * gcc.dg/tree-ssa/ldist-5.c: Likewise.
        * gcc.dg/utf-inc-init.c: Likewise.
        * gcc.dg/pr11492.c: Xfail for 16-bit targets.
        * gcc.dg/utf-array.c: Add expected warning messages for M32C.
        * gcc.dg/utf-array-short-wchar.c: Likewise.
        * gcc.dg/tree-ssa/pr33920.c: Expect a warning from all 16-bit targets.
        * gcc.dg/mallign.c: Use size_t instead of long.

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

12 years ago * g++.dg/torture/pr31863.C: Generalize dg-timeout-factor.
uros [Thu, 5 Feb 2009 08:28:18 +0000 (08:28 +0000)]
* g++.dg/torture/pr31863.C: Generalize dg-timeout-factor.

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

12 years ago2009-02-05 Daniel Berlin <dberlin@dberlin.org>
dberlin [Thu, 5 Feb 2009 07:09:44 +0000 (07:09 +0000)]
2009-02-05  Daniel Berlin  <dberlin@dberlin.org>
    Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39100
* tree-ssa-structalias.c (do_ds_constraint): Actually do what the
comment says and add edges.

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

12 years ago2009-02-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 5 Feb 2009 01:50:18 +0000 (01:50 +0000)]
2009-02-04  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/unique_ptr.h: Remove private __this_type typedef.
* include/bits/stl_vector.h: Remove private vector_type typedef.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Fix line numbers.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_1_neg.cc: Same.
* testsuite/23_containers/vector/requirements/dr438/
constructor_2_neg.cc: Same.
* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Same.
* testsuite/20_util/unique_ptr/assign/assign.cc: Same.

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

12 years ago PR c/35435
jsm28 [Thu, 5 Feb 2009 01:18:02 +0000 (01:18 +0000)]
PR c/35435
* c-common.c (handle_tls_model_attribute): Ignore attribute for
non-VAR_DECLs without checking DECL_THREAD_LOCAL_P.

testsuite:
* gcc.dg/tls/diag-6.c: New test.

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

12 years ago2009-02-04 Tobias Grosser <grosser@fim.uni-passau.de>
grosser [Thu, 5 Feb 2009 00:29:48 +0000 (00:29 +0000)]
2009-02-04  Tobias Grosser  <grosser@fim.uni-passau.de>

* graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use,
sese_build_livein_liveouts_bb, sese_build_livein_liveouts,
register_bb_in_sese, new_sese, free_sese): Moved.
(dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains,
outermost_loop_in_scop, build_scop_iteration_domain,
expand_scalar_variables_ssa_name, get_vdef_before_scop,
limit_scops): Use bb_in_sese_p instead of bb_in_scop_p.
Use loop_in_sese_p instead of loop_in_scop_p.
(new_graphite_bb, gloog): Do not initialize SCOP_BBS_B.
(new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B.
(scopdet_basic_block_info): Fix bug in scop detection.
(new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop,
eq_loop_to_cloog_loop): Remove.
(nb_loops_around_loop_in_scop, nb_loop
ref_nb_loops): Moved here...
* graphite.h (ref_nb_loops): ... from here.
(struct scop): Remove bbs_b bitmap and loop2cloog_loop.
(loop_domain_dim, loop_iteration_vector_dim): Remove.
(SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed.
* testsuite/gcc.dg/graphite/scop-19.c: New

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

12 years agoDaily bump.
gccadmin [Thu, 5 Feb 2009 00:17:10 +0000 (00:17 +0000)]
Daily bump.

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

12 years ago2009-02-04 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 4 Feb 2009 20:54:36 +0000 (20:54 +0000)]
2009-02-04  Paolo Bonzini  <bonzini@gnu.org>
    Hans-Peter Nilsson  <hp@axis.com>

PR rtl-optimization/37889
* rtlanal.c (rtx_addr_can_trap_p_1): Add offset and size arguments.
Move offset handling from PLUS to before the switch.  Use new
arguments when considering SYMBOL_REFs too.
(rtx_addr_can_trap_p): Pass dummy offset and size.
(enum may_trap_p_flags): Remove.
(may_trap_p_1): Pass size from MEM_SIZE.

PR rtl-optimization/38921
* loop-invariant.c (find_invariant_insn): Use may_trap_or_fault_p.
* rtl.h (may_trap_after_code_motion_p): Delete prototype.
* rtlanal.c (may_trap_after_code_motion_p): Delete.
(may_trap_p, may_trap_or_fault_p): Pass 0/1 as flags.

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

12 years agogcc/
hjl [Wed, 4 Feb 2009 20:09:30 +0000 (20:09 +0000)]
gcc/

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

AVX Programming Reference (January, 2009)
* config/i386/sse.md (*vpclmulqdq): New.

gcc/testsuite/

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

AVX Programming Reference (January, 2009)
* gcc.target/i386/avx-vpclmulqdq.c: New.
* gcc.target/i386/pclmul-avx-check.h: Likewise.

* gcc.target/i386/i386.exp (check_effective_target_vpclmul): New.

* gcc.target/i386/pclmulqdq.c (CHECK_H): New.
(TEST): Likewise.
Include CHECK_H instead of "pclmul-check.h".
(pclmul_test): Renamed to ...
(TEST): This.

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

12 years ago PR tree-optimization/38977
jakub [Wed, 4 Feb 2009 19:50:58 +0000 (19:50 +0000)]
PR tree-optimization/38977
PR gcov-profile/38292
* calls.c (special_function_p): Disregard __builtin_
prefix.

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

12 years ago PR c++/39095
jakub [Wed, 4 Feb 2009 16:50:22 +0000 (16:50 +0000)]
PR c++/39095
* operators.def: Use COMPONENT_REF code for ->/pt operator again,
remove ./dt operator.
* mangle.c (write_expression): Handle COMPONENT_REF after handling
ADDR_EXPR, for COMPONENT_REF without ARROW_EXPR inside of it
write_string ("dt") instead of using operators.def.

* g++.dg/abi/mangle31.C: New test.

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

12 years ago * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
hariharans [Wed, 4 Feb 2009 16:17:47 +0000 (16:17 +0000)]
    * config/picochip/picochip.c (GO_IF_LEGITIMATE_ADDRESS): Disallow
          non-indexable addresses even before reload.

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

12 years ago PR c/29129
jsm28 [Wed, 4 Feb 2009 00:59:21 +0000 (00:59 +0000)]
PR c/29129
* c-decl.c (grokdeclarator): Mark [*] arrays in field declarators
as having variable size.  Do not give an error for unnamed
parameters with [*] declarators.  Give a warning for type names
with [*] declarators and mark them as variable size.
* c-parser.c (c_parser_sizeof_expression): Do not give an error
for sizeof applied to [*] type names.

testsuite:
* c90-arraydecl-1.c: Do not expect error for [*] in abstract
declarator.
* vla-6.c: Likewise.  Expect warning not error for [*] lexically
inside function prototype but not part of parameter declarator.
* vla-11.c: New test.

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

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

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

12 years ago2009-02-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 3 Feb 2009 23:44:53 +0000 (23:44 +0000)]
2009-02-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/25191
* libsupc++/exception_defines.h: Depending on __EXCEPTIONS,
deal consistently with __try and __catch too.
* src/localename.cc: Replace try -> __try, catch -> __catch.
* src/ios.cc: Likewise.
* src/locale.cc: Likewise.
* src/istream.cc: Likewise.
* src/thread.cc: Likewise.
* src/compatibility.cc: Likewise.
* src/bitmap_allocator.cc: Likewise.
* src/ios_init.cc: Likewise.
* include/debug/deque: Likewise.
* include/debug/list: Likewise.
* include/tr1_impl/hashtable: Likewise.
* include/std/bitset: Likewise.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Likewise.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Likewise.
* include/ext/pb_ds/detail/cc_hash_table_map_/
resize_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/pat_trie_/
split_join_branch_bag.hpp: Likewise.
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
erase_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/binary_heap_/
split_join_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
constructors_destructor_fn_imps.hpp: Likewise.
* include/ext/pb_ds/detail/debug_map_base.hpp: Likewise.
* include/ext/pb_ds/detail/list_update_map_/
constructor_destructor_fn_imps.hpp: Likewise.
* include/ext/slist: Likewise.
* include/ext/memory: Likewise.
* include/ext/rc_string_base.h: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/vstring.tcc: Likewise.
* include/ext/rope: Likewise.
* include/ext/sso_string_base.h: Likewise.
* include/bits/shared_ptr.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/locale_classes.tcc: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/locale_classes.h: Likewise.
* include/bits/forward_list.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/vector.tcc: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/bits/basic_string.tcc: Likewise.
* include/bits/ostream_insert.h: Likewise.
* include/bits/locale_facets_nonio.tcc: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/tr1/shared_ptr.h: Likewise.
* include/tr1/hypergeometric.tcc: Likewise.
* include/backward/hashtable.h: Likewise.
* libsupc++/exception_ptr.h: Likewise.
* libsupc++/eh_personality.cc: Likewise.
* libsupc++/eh_call.cc: Likewise.
* config/locale/gnu/monetary_members.cc: Likewise.
* config/locale/gnu/time_members.h: Likewise.
* config/locale/generic/time_members.h: Likewise.

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

12 years ago * typeck.c (cp_build_unary_op): Only complain about taking address
jason [Tue, 3 Feb 2009 23:09:11 +0000 (23:09 +0000)]
    * typeck.c (cp_build_unary_op): Only complain about taking address
        of main if pedantic.

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

12 years ago2009-02-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
pinskia [Tue, 3 Feb 2009 22:38:16 +0000 (22:38 +0000)]
2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/36607
        * convert.c (convert_to_integer): Treat OFFSET_TYPE like INTEGER_TYPE.

2009-02-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C++/36607
        * g++.dg/expr/cast10.C: New test.

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

12 years ago * gcc.c (process_command): Update copyright notice dates.
jakub [Tue, 3 Feb 2009 20:48:23 +0000 (20:48 +0000)]
* gcc.c (process_command): Update copyright notice dates.
* gcov.c (print_version): Likewise.
* gcov-dump.c (print_version): Likewise.
* mips-tfile.c (main): Likewise.
* mips-tdump.c (main): Likewise.

* gfortranspec.c (lang_specific_driver): Update copyright notice
dates.

* jcf-dump.c (version): Update copyright notice dates.

* mf-runtime.c (__mf_usage): Update copyright notice dates.

* gnu/gcj/convert/Convert.java (version): Update copyright notice
dates.
* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.

* gnu/java/rmi/registry/RegistryImpl.java (version): Update
copyright notice dates.
* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.

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

12 years ago PR c/35433
jsm28 [Tue, 3 Feb 2009 20:38:12 +0000 (20:38 +0000)]
PR c/35433
* c-typeck.c (composite_type): Set TYPE_SIZE and TYPE_SIZE_UNIT
for composite type involving a zero-length array type.

testsuite:
* gcc.dg/init-bad-6.c: New test.

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

12 years ago * fi.po: Update.
jsm28 [Tue, 3 Feb 2009 20:36:12 +0000 (20:36 +0000)]
* fi.po: Update.

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

12 years ago2009-02-03 Johannes Singler <singler@ira.uka.de>
singler [Tue, 3 Feb 2009 17:49:36 +0000 (17:49 +0000)]
2009-02-03  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/algorithmfwd.h:
        Add parallelism default for many declarations.
        * include/parallel/numericfwd.h: Likewise.
        * include/parallel/iterator.h: Use iterator_traits as usual.
        * include/parallel/par_loop.h:
        Include equally_split.h.
        (for_each_template_random_access_ed):
        Avoid calling the Result default constructor.
        * include/parallel/numeric: Replace
        for_each_template_random_access by
        for_each_template_random_access_ed in numeric functions.

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

12 years ago PR target/35318
jakub [Tue, 3 Feb 2009 17:27:45 +0000 (17:27 +0000)]
PR target/35318
* function.c (match_asm_constraints_1): Skip over
initial optional % in the constraint.

* gcc.c-torture/compile/pr35318.c: New test.

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

12 years ago PR inline-asm/39059
jakub [Tue, 3 Feb 2009 17:26:28 +0000 (17:26 +0000)]
PR inline-asm/39059
* c-parser.c (c_parser_postfix_expression): If fixed point is not
supported, don't accept FIXED_CSTs.
* c-decl.c (finish_declspecs): Error if fixed point is not supported
and _Sat is used without _Fract/_Accum.  Set specs->type to
integer_type_node for cts_fract/cts_accum if fixed point is not
supported.

* parser.c (cp_parser_primary_expression): Reject FIXED_CSTs.

* gcc.dg/nofixed-point-2.c: New test.
* g++.dg/ext/fixed1.C: Adjust expected diagnostics.
* g++.dg/ext/fixed2.C: Likewise.
* g++.dg/other/error25.C: Likewise.
* g++.dg/lookup/crash7.C: Likewise.
* g++.dg/cpp0x/decltype-38655.C: Likewise.

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

12 years ago PR c++/39056
jakub [Tue, 3 Feb 2009 17:23:11 +0000 (17:23 +0000)]
PR c++/39056
* typeck2.c (digest_init_r): Don't call process_init_constructor
for COMPLEX_TYPE.

* g++.dg/cpp0x/initlist13.C: New test.

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

12 years agogcc/cp:
bonzini [Tue, 3 Feb 2009 16:26:28 +0000 (16:26 +0000)]
gcc/cp:
2009-02-03  Paolo Bonzini  <bonzini@gnu.org>

PR c++/36897
* pt.c (convert_nontype_argument_function): Expect expr to be an
ADDR_EXPR.

PR c++/37314
* typeck.c (merge_types): Call resolve_typename_type if only
one type is a typename.

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

PR c++/36897
* g++.dg/template/func2.C: New test.

PR c++/37314
* g++.dg/template/typename15.C: New.
* g++.dg/template/typename16.C: New.

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

12 years agoDaily bump.
gccadmin [Tue, 3 Feb 2009 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago PR c/39034
bje [Mon, 2 Feb 2009 23:03:20 +0000 (23:03 +0000)]
PR c/39034
* gcc.dg/dfp/pr39034.c: New test.

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

12 years ago2009-02-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 2 Feb 2009 22:07:48 +0000 (22:07 +0000)]
2009-02-02  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/gnu-linux/os_defines.h: Remove superfluous
__NO_STRING_INLINES.

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

12 years ago * sde.h (SUBTARGET_ARM_SPEC): Don;t assemble -fpic code as
clm [Mon, 2 Feb 2009 20:47:39 +0000 (20:47 +0000)]
* sde.h (SUBTARGET_ARM_SPEC): Don;t assemble -fpic code as
    -mabicalls.

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

12 years ago PR testsuite/38263
ghazi [Mon, 2 Feb 2009 20:10:04 +0000 (20:10 +0000)]
PR testsuite/38263
* gcc.dg/ipa/ipacost-2.c: Add -fpie when pic.

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

12 years agogcc/
rsandifo [Mon, 2 Feb 2009 19:40:20 +0000 (19:40 +0000)]
gcc/
* config/mips/mips.h (FILE_HAS_64BIT_SYMBOLS): New macro.
(ABI_HAS_64BIT_SYMBOLS): Use it.
(DWARF2_ADDR_SIZE): Use it instead of ABI_HAS_64BIT_SYMBOLS.

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

12 years ago PR c++/39054
jason [Mon, 2 Feb 2009 18:38:10 +0000 (18:38 +0000)]
    PR c++/39054
        * parser.c (cp_parser_unqualified_id): Don't wrap error_mark_node
        in BIT_NOT_EXPR.

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

12 years ago2009-02-02 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 2 Feb 2009 17:09:45 +0000 (17:09 +0000)]
2009-02-02  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/arm.md (arm_addsi3): Add r/r/k alternative.

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

12 years ago PR inline-asm/39058
jakub [Mon, 2 Feb 2009 13:23:43 +0000 (13:23 +0000)]
PR inline-asm/39058
* recog.h (asm_operand_ok): Add constraints argument.
* recog.c (asm_operand_ok): Likewise.  If it is set, for digits
recurse on matching constraint.
(check_asm_operands): Pass constraints as 3rd argument to
asm_operand_ok.  Don't look up matching constraint here.
* stmt.c (expand_asm_operands): Pass NULL as 3rd argument
to asm_operand_ok.

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

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

12 years ago * lib/target-supports.exp
jakub [Mon, 2 Feb 2009 11:27:50 +0000 (11:27 +0000)]
* lib/target-supports.exp
(check_effective_target_correct_iso_cpp_string_wchar_protos): New.
* g++.dg/ext/builtin10.C: New test.

* testsuite/21_strings/c_strings/char/3.cc: New test.
* testsuite/21_strings/c_strings/wchar_t/3.cc: New test.

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

12 years ago2009-02-02 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 2 Feb 2009 10:39:12 +0000 (10:39 +0000)]
2009-02-02  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38937
* g++.dg/warn/Wstrict-aliasing-bogus-escape.C: New testcase.

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

12 years ago * doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
bje [Mon, 2 Feb 2009 09:57:08 +0000 (09:57 +0000)]
* doc/tm.texi (Storage Layout): Fix TARGET_ALIGN_ANON_BITFIELD and
TARGET_NARROW_VOLATILE_BITFIELD macro names.

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

12 years ago * ssp.c (_PATH_TTY): Define as "CONOUT$" for _WIN32.
dannysmith [Mon, 2 Feb 2009 03:23:39 +0000 (03:23 +0000)]
* ssp.c (_PATH_TTY): Define as "CONOUT$" for _WIN32.

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

12 years ago/cp
paolo [Mon, 2 Feb 2009 00:41:52 +0000 (00:41 +0000)]
/cp
2009-02-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/39053
* parser.c (cp_parser_pure_specifier): If there are no tokens left
do not call cp_lexer_consume_token.

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

PR c++/39053
* g++.dg/parse/crash52.C: New.

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

12 years agoDaily bump.
gccadmin [Mon, 2 Feb 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago2009-01-31 Laurent GUERBY <laurent@guerby.net>
guerby [Sun, 1 Feb 2009 14:18:20 +0000 (14:18 +0000)]
2009-01-31  Laurent GUERBY  <laurent@guerby.net>

* gcc-interface/Makefile.in: Fix mipsel linux handling.

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

12 years agoDaily bump.
gccadmin [Sun, 1 Feb 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago * doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
danglin [Sat, 31 Jan 2009 22:29:16 +0000 (22:29 +0000)]
* doc/install.texi (hppa*-hp-hpux*): Update binutils and linker
information.  Remove some obsolete information.  Reorganize.

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

12 years ago * config/pa/fptr.c: Revert license to GPL 2.
danglin [Sat, 31 Jan 2009 20:01:46 +0000 (20:01 +0000)]
* config/pa/fptr.c: Revert license to GPL 2.
* config/pa/milli64.S: Likewise.

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

12 years ago PR target/38904
davek [Sat, 31 Jan 2009 18:52:00 +0000 (18:52 +0000)]
PR target/38904
* mkmap-flat.awk (END):  Use pe_dll command-line arg to pass
LIBRARY name in, instead of hard-coding it.
* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*):  Add an
extra target make frag to tmake_files according to EH model.
(i[34567]86-*-mingw* | x86_64-*-mingw*):  Likewise.
* config/i386/t-dw2-eh, config/i386/t-sjlj-eh:  Add new target
frags that define makefile variable EH_MODEL appropriately.
* config/i386/cygming.h (DWARF2_UNWIND_INFO):  Add comment.
* config/i386/cygwin.h (LIBGCC_EH_EXTN):  Define to nothing or
to "-sjlj" according to type of EH configured.
(LIBGCC_SONAME):  Concatenate it to shared library base name.
* config/i386/mingw32.h (LIBGCC_EH_EXTN):  Define to "_dw2" or
to "_sjlj" according to type of EH configured.
(LIBGCC_SONAME):  Concatenate it to shared library base name.
* config/i386/t-cygming (SHLIB_SONAME):  Use EH_MODEL.
(SHLIB_LINK):  Add missing semicolon to if-else construct.
(SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.
* config/i386/t-cygwin (SHLIB_EH_EXTENSION):  New helper.
(SHLIB_SONAME):  Use it when overriding t-cygming default.
(SHLIB_IMPLIB):  Override t-cygming default.
(SHLIB_MKMAP_OPTS):  Pass library name to mkmap-flat.awk as
string value of "pe_dll" command-line option.

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

12 years ago2009-01-31 Dave Korn <dave.korn.cygwin@gmail.com>
hjl [Sat, 31 Jan 2009 17:34:03 +0000 (17:34 +0000)]
2009-01-31  Dave Korn  <dave.korn.cygwin@gmail.com>

PR target/38952
* config/i386/i386.c (ix86_builtin_setjmp_frame_value): New.
(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point
at it.

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

12 years ago * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
ian [Sat, 31 Jan 2009 17:09:24 +0000 (17:09 +0000)]
* acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set
libgomp_ld_is_gold.  Get gold version number.
(LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning.
* configure: Rebuild.

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

12 years ago2009-01-30 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 31 Jan 2009 10:25:41 +0000 (10:25 +0000)]
2009-01-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38937
* tree-ssa-structalias.c (do_sd_constraint): Do not shortcut
computing the transitive closure.

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

12 years ago * MAINTAINERS: Move myself to the Global Reviewers list.
ian [Sat, 31 Jan 2009 06:46:00 +0000 (06:46 +0000)]
* MAINTAINERS: Move myself to the Global Reviewers list.

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

12 years agoDaily bump.
gccadmin [Sat, 31 Jan 2009 00:16:40 +0000 (00:16 +0000)]
Daily bump.

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

12 years ago2009-01-30 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 30 Jan 2009 22:09:15 +0000 (22:09 +0000)]
2009-01-30  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/39041
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Propagate variable indices only if the types match for this stmt.

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

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

12 years ago PR target/39013
jakub [Fri, 30 Jan 2009 20:46:32 +0000 (20:46 +0000)]
PR target/39013
* c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared
inline but never defined.

* gcc.target/i386/pr39013-1.c: New test.
* gcc.target/i386/pr39013-2.c: New test.

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

12 years ago PR c++/39028
jakub [Fri, 30 Jan 2009 16:17:30 +0000 (16:17 +0000)]
PR c++/39028
* parser.c (cp_parser_already_scoped_statement): Handle __label__
declarations.

* g++.dg/ext/label12.C: New test.

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

12 years ago/cp
paolo [Fri, 30 Jan 2009 15:03:10 +0000 (15:03 +0000)]
/cp
2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.

/testsuite
2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.

/cp
2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle FIXED_POINT_TYPE.

/testsuite
2009-01-30  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.

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