Commit Graph

91669 Commits

Author SHA1 Message Date
Joseph Myers
f76f0eddf7 * Makefile.in (clean): Don't remove makedepend$(EXEEXT).
From-SVN: r144062
2009-02-10 14:56:10 +00:00
Richard Guenther
bdec4dc7be re PR middle-end/39127 (Invalid GIMPLE with OpenMP)
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.

From-SVN: r144061
2009-02-10 14:55:15 +00:00
Richard Guenther
7cae94fcba re PR tree-optimization/39132 (wrong code generated with -ftree-loop-disttribution)
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.

From-SVN: r144060
2009-02-10 14:54:13 +00:00
H.J. Lu
a8800687f5 re PR target/39119 (Update classification of aggregates with __m256)
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.

From-SVN: r144058
2009-02-10 06:00:46 -08:00
Benjamin Kosnik
f7459b6c53 condition_variable (condition_variable): Remove _M_internal_mutex.
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.

From-SVN: r144053
2009-02-10 08:29:57 +00:00
GCC Administrator
7314b35ac2 Daily bump.
From-SVN: r144050
2009-02-10 00:16:43 +00:00
Ben Elliston
d4bacef026 rs6000.md (allocate_stack): Always use an update form instruction to update the stack back chain word...
* 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.

From-SVN: r144047
2009-02-10 11:13:34 +11:00
Mark Mitchell
48965b7c6d addr2name.awk: Remove.
* 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.

From-SVN: r144046
2009-02-09 22:52:08 +00:00
Mark Mitchell
71c8958e67 Makefile.am (LTLDFLAGS): New variable.
* Makefile.am (LTLDFLAGS): New variable.
	(LINK): Use it.
	* Makefile.in: Regenerated.

From-SVN: r144045
2009-02-09 22:51:40 +00:00
Jason Merrill
450a927a7a re PR c++/39109 (Accessible constructor required for new)
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.

From-SVN: r144044
2009-02-09 16:46:18 -05:00
Jack Howarth
9a3b094ff2 re PR testsuite/33300 ([libstdc++-v3] 27_io/ios_base/storage/2.cc with -m64 kills Darwin)
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.

From-SVN: r144043
2009-02-09 20:53:22 +00:00
Sebastian Pop
01d7d2f3e6 re PR tree-optimization/38953 ([graphite] loop closed SSA not maintained by graphite code generation)
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.

From-SVN: r144042
2009-02-09 20:35:09 +00:00
Adam Nemet
8deecedf4c configure.host: Set abi_baseline_pair for mips64*-linux.
* configure.host: Set abi_baseline_pair for mips64*-linux.
	* config/abi/post/mips64-linux-gnu/baseline_symbols.txt: New file.

From-SVN: r144041
2009-02-09 20:24:08 +00:00
Eric Botcazou
c37348963d decl.c (gnat_to_gnu_entity): Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
* 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.

From-SVN: r144038
2009-02-09 18:34:20 +00:00
H.J. Lu
493905ba45 abi-x86_64.exp: Use glob instead of find.
2009-02-09  H.J. Lu  <hongjiu.lu@intel.com>

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

From-SVN: r144036
2009-02-09 10:07:41 -08:00
Ulrich Weigand
e41e2ab405 spu.c (array_to_constant): Fix (latent) wrong-code generation due to implicit sign extension.
* config/spu/spu.c (array_to_constant): Fix (latent) wrong-code
	generation due to implicit sign extension.

From-SVN: r144034
2009-02-09 14:35:38 +00:00
Eric Botcazou
4bb07c5d37 re PR middle-end/38981 (internal compiler error)
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.

From-SVN: r144032
2009-02-09 11:09:25 +00:00
Richard Guenther
f060a26123 re PR tree-optimization/35202 (exp->expf transformation incorrect with -fmath-errno)
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.

From-SVN: r144030
2009-02-09 09:35:22 +00:00
Chris Fairles
4a50cd932f thread (this_thread::get_id): Inline.
2009-02-08  Chris Fairles  <cfairles@gcc.gnu.org>

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

From-SVN: r144029
2009-02-09 06:32:12 +00:00
Eric Botcazou
7a4fbffcb2 revert: tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Make case self-contained.
Revert:

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

From-SVN: r144028
2009-02-09 06:18:23 +00:00
GCC Administrator
afbe166081 Daily bump.
From-SVN: r144026
2009-02-09 00:16:50 +00:00
Chris Fairles
b47f0044ab thread (thread<>::thread(_Callable)): Explicitly use _Callable as template argument for _M_make_shared_data.
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.

From-SVN: r144023
2009-02-09 00:13:47 +00:00
Eric Botcazou
9a58d4d27c tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Make case self-contained.
* 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.

From-SVN: r144021
2009-02-08 23:10:00 +00:00
Benjamin Kosnik
ede965edbc member: To..
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.

From-SVN: r144014
2009-02-08 09:10:15 +00:00
GCC Administrator
2a70b05d1b Daily bump.
From-SVN: r144011
2009-02-08 00:16:54 +00:00
Benjamin Kosnik
d7afcd2b9b thread (thread::id): Move definition inside thread.
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(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.

From-SVN: r144007
2009-02-07 21:56:55 +00:00
Anatoly Sokolov
5a7e237c63 avr.c (avr_mcu_t): Add ata6289 device.
* 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.).

From-SVN: r144006
2009-02-07 21:55:25 +03:00
Paolo Carlini
da1512ad7e re PR c++/35147 (ICE trying to expand an argument pack with zero arguments)
/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.

From-SVN: r144001
2009-02-07 02:05:04 +00:00
Joseph Myers
feab5a6736 re PR c/35434 (ICE with attribute alias)
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.

From-SVN: r143998
2009-02-07 00:32:37 +00:00
GCC Administrator
7d07349164 Daily bump.
From-SVN: r143996
2009-02-07 00:16:52 +00:00
Janis Johnson
90ef229674 re PR c/39035 (if( 0.0DF ) is considered true)
PR c/39035
	* real.c (do_compare): Special-case compare of zero against
	decimal float value.

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

From-SVN: r143992
2009-02-06 21:01:46 +00:00
Joseph Myers
4c51d57f49 * vi.po: Update.
From-SVN: r143990
2009-02-06 20:14:10 +00:00
Joseph Myers
1de2c900e0 re PR c/36432 (“incompatible pointer type” with pointer to array as a struct member)
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.

From-SVN: r143989
2009-02-06 20:12:10 +00:00
Jan Hubicka
e901811a8b re PR tree-optimization/38844 (deadlock with __attribute__((always_inline)) at -O1 and above)
PR tree-optimization/38844
	* ipa-inline.c (try_inline): Stop inlining recursion when edge
	is already inlined.

From-SVN: r143985
2009-02-06 16:47:39 +00:00
Richard Guenther
3cfa762bf0 re PR tree-optimization/38977 (bash no longer builds with profile-feedback)
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.

From-SVN: r143982
2009-02-06 09:06:39 +00:00
Nick Clifton
8506528ca2 * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.
From-SVN: r143981
2009-02-06 09:02:37 +00:00
Paolo Bonzini
851691140a re PR target/35659 (Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64)
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.

From-SVN: r143980
2009-02-06 07:33:05 +00:00
Chris Fairles
fe960d9257 tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.
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.

From-SVN: r143979
2009-02-06 06:01:40 +00:00
Kaz Kojima
6d39673dce re PR target/38991 (SH: ICE in extract_insn at recog.c:1990)
PR target/38991
	* config/sh/predicates.md (general_movsrc_operand): Don't check
	the subreg of system registers here.

From-SVN: r143978
2009-02-06 00:29:03 +00:00
GCC Administrator
e25e4088b9 Daily bump.
From-SVN: r143976
2009-02-06 00:16:37 +00:00
Jakub Jelinek
e6e1c050c5 re PR c++/39106 (aliased to undefined symbol error with thunks)
PR c++/39106
	* cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P
	on the copied decl.

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

From-SVN: r143973
2009-02-05 22:54:06 +01:00
Paolo Bonzini
65a74b5d5b re PR rtl-optimization/39110 (Revision 143939 breaks bootstrap on Linux/ia64)
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.

From-SVN: r143971
2009-02-05 18:29:11 +00:00
Chris Fairles
8644ecf59d thread (__thread_data_base): Nest class in std::thread.
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.


Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r143969
2009-02-05 17:47:56 +00:00
Andreas Schwab
ee04b57491 Makefile.tpl (stage_last): Define $r and $s before using $(RECURSE_FLAGS_TO_PASS).
* Makefile.tpl (stage_last): Define $r and $s before using
$(RECURSE_FLAGS_TO_PASS).
* Makefile.in: Regenerate

From-SVN: r143967
2009-02-05 15:29:52 +00:00
Nick Clifton
5b21d7b230 20080625-1.c: Skip for M32C.
* 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.

From-SVN: r143962
2009-02-05 11:59:20 +00:00
Uros Bizjak
bf9b2cc925 pr31863.C: Generalize dg-timeout-factor.
* g++.dg/torture/pr31863.C: Generalize dg-timeout-factor.

From-SVN: r143958
2009-02-05 09:28:18 +01:00
Daniel Berlin
08e14b2a1a re PR tree-optimization/39100 (-fstrict-aliasing miscompilation)
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.


Co-Authored-By: Richard Guenther <rguenther@suse.de>

From-SVN: r143951
2009-02-05 07:09:44 +00:00
Benjamin Kosnik
37d5c6baac unique_ptr.h: Remove private __this_type typedef.
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.

From-SVN: r143949
2009-02-05 01:50:18 +00:00
Joseph Myers
5006381cc1 re PR c/35435 (ICE with attribute tls_model in typedef)
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.

From-SVN: r143948
2009-02-05 01:18:02 +00:00
Tobias Grosser
b0789219a3 graphite.c (bb_in_sese_p, [...]): Moved.
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

From-SVN: r143947
2009-02-05 00:29:48 +00:00