aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-11extend.texi (Fixed-Point Types): Break long paragraphs into bulleted lists.Janis Johnson2-36/+60
* doc/extend.texi (Fixed-Point Types): Break long paragraphs into bulleted lists. From-SVN: r144086
2009-02-10alias.h (record_alias_subset): Declare.Eric Botcazou10-40/+188
* 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. From-SVN: r144084
2009-02-10re PR c++/34397 (ICE on invalid default template parameter)Paolo Carlini7-12/+60
/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. From-SVN: r144083
2009-02-10Makefile.am (AM_MAKEFLAGS): Pass down datadir.Mark Mitchell3-0/+7
* Makefile.am (AM_MAKEFLAGS): Pass down datadir. * Makefile.in: Regenerated. From-SVN: r144081
2009-02-10tree-parloops.c: Change license to GPLv3.Nick Clifton4-15/+18
* tree-parloops.c: Change license to GPLv3. * ipa-struct-reorg.c: Change license to GPLv3. * ipa-struct-reorg.h: Change license to GPLv3. From-SVN: r144072
2009-02-10re PR c/39084 (ice on struct redefinition)Steve Ellcey2-0/+16
PR c/39084 gcc.dg/pr39084.c: New test. From-SVN: r144068
2009-02-10re PR c/39084 (ice on struct redefinition)Steve Ellcey2-0/+7
PR c/39084 * c-decl.c (start_struct): Return NULL on error. From-SVN: r144067
2009-02-10re PR middle-end/39124 (-fno-exceptions leads to a ICE)Jakub Jelinek2-4/+8
PR middle-end/39124 * cfgloopmanip.c (remove_path): Call remove_bbs after cancel_loop_tree, not before it. From-SVN: r144066
2009-02-10re PR target/39139 (ICE with stringop and register var)Jakub Jelinek7-6/+83
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. From-SVN: r144065
2009-02-10re PR target/39118 (x86_64 red zone violation)Uros Bizjak2-8/+25
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. From-SVN: r144063
2009-02-10* Makefile.in (clean): Don't remove makedepend$(EXEEXT).Joseph Myers2-2/+6
From-SVN: r144062
2009-02-10re PR middle-end/39127 (Invalid GIMPLE with OpenMP)Richard Guenther2-3/+9
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-10re PR tree-optimization/39132 (wrong code generated with ↵Richard Guenther4-1/+54
-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-10re PR target/39119 (Update classification of aggregates with __m256)H.J. Lu11-17/+814
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-10condition_variable (condition_variable): Remove _M_internal_mutex.Benjamin Kosnik28-158/+509
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-10Daily bump.GCC Administrator1-1/+1
From-SVN: r144050
2009-02-10rs6000.md (allocate_stack): Always use an update form instruction to update ↵Ben Elliston3-67/+81
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-09addr2name.awk: Remove.Mark Mitchell6-54/+34
* 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-09Makefile.am (LTLDFLAGS): New variable.Mark Mitchell3-2/+10
* Makefile.am (LTLDFLAGS): New variable. (LINK): Use it. * Makefile.in: Regenerated. From-SVN: r144045
2009-02-09re PR c++/39109 (Accessible constructor required for new)Jason Merrill8-20/+49
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-09re PR testsuite/33300 ([libstdc++-v3] 27_io/ios_base/storage/2.cc with -m64 ↵Jack Howarth2-0/+11
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-09re PR tree-optimization/38953 ([graphite] loop closed SSA not maintained by ↵Sebastian Pop2-11/+11
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-09configure.host: Set abi_baseline_pair for mips64*-linux.Adam Nemet3-0/+3276
* 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-09decl.c (gnat_to_gnu_entity): Set TYPE_NONALIASED_COMPONENT on the array type ↵Eric Botcazou2-2/+22
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-09abi-x86_64.exp: Use glob instead of find.H.J. Lu2-1/+6
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-09spu.c (array_to_constant): Fix (latent) wrong-code generation due to ↵Ulrich Weigand2-3/+7
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-09re PR middle-end/38981 (internal compiler error)Eric Botcazou4-7/+77
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-09re PR tree-optimization/35202 (exp->expf transformation incorrect with ↵Richard Guenther2-21/+33
-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-09thread (this_thread::get_id): Inline.Chris Fairles2-1/+5
2009-02-08 Chris Fairles <cfairles@gcc.gnu.org> * include/std/thread (this_thread::get_id): Inline. From-SVN: r144029
2009-02-09revert: tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Make case ↵Eric Botcazou2-11/+6
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-09Daily bump.GCC Administrator1-1/+1
From-SVN: r144026
2009-02-09thread (thread<>::thread(_Callable)): Explicitly use _Callable as template ↵Chris Fairles5-1/+239
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-08tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Make case self-contained.Eric Botcazou4-6/+17
* 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-08member: To..Benjamin Kosnik9-0/+7
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-08Daily bump.GCC Administrator1-1/+1
From-SVN: r144011
2009-02-07thread (thread::id): Move definition inside thread.Benjamin Kosnik9-170/+329
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. From-SVN: r144007
2009-02-07avr.c (avr_mcu_t): Add ata6289 device.Anatoly Sokolov4-3/+14
* 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-07re PR c++/35147 (ICE trying to expand an argument pack with zero arguments)Paolo Carlini6-2/+59
/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-07re PR c/35434 (ICE with attribute alias)Joseph Myers4-1/+21
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-07Daily bump.GCC Administrator1-1/+1
From-SVN: r143996
2009-02-06re PR c/39035 (if( 0.0DF ) is considered true)Janis Johnson4-1/+101
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* vi.po: Update.Joseph Myers2-18/+20
From-SVN: r143990
2009-02-06re PR c/36432 (“incompatible pointer type” with pointer to array as a ↵Joseph Myers5-2/+55
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-06re PR tree-optimization/38844 (deadlock with __attribute__((always_inline)) ↵Jan Hubicka2-7/+15
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-06re PR tree-optimization/38977 (bash no longer builds with profile-feedback)Richard Guenther2-3/+14
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* config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero.Nick Clifton2-0/+21
From-SVN: r143981
2009-02-06re PR target/35659 (Miscompiled code with -O2 (but not with -O2 ↵Paolo Bonzini3-25/+60
-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-06tuple (_Head_base<>::_Head_base(_UHead&&)): Formatting.Chris Fairles2-12/+21
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-06re PR target/38991 (SH: ICE in extract_insn at recog.c:1990)Kaz Kojima2-7/+7
PR target/38991 * config/sh/predicates.md (general_movsrc_operand): Don't check the subreg of system registers here. From-SVN: r143978
2009-02-06Daily bump.GCC Administrator1-1/+1
From-SVN: r143976