OSDN Git Service
ian [Sat, 1 Dec 2012 00:15:36 +0000 (00:15 +0000)]
compiler: Fix bug converting unnamed types with placeholders.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194012
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 30 Nov 2012 00:18:18 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193975
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 29 Nov 2012 21:06:02 +0000 (21:06 +0000)]
PR libgcc/48076
* emutls.c (__emutls_get_address): Avoid race condition between
obj->loc.offset read and emutls_key initialization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193958
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Nov 2012 20:17:20 +0000 (20:17 +0000)]
PR c++/53137
* pt.c (tsubst_expr) [DECL_EXPR]: Set LAMBDA_EXPR_THIS_CAPTURE here.
(tsubst_copy_and_build) [LAMBDA_EXPR]: And clear it here.
(instantiate_class_template_1): Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193957
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Nov 2012 20:17:02 +0000 (20:17 +0000)]
PR c++/53862
* pt.c (tsubst_arg_types): Add "end" parameter.
(check_undeduced_parms): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193956
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 29 Nov 2012 20:16:46 +0000 (20:16 +0000)]
PR c++/50852
PR c++/53039
* tree.c (strip_typedefs_expr): New.
* cp-tree.h: Declare it.
* pt.c (convert_template_argument, unify): Use it.
* parser.c (cp_parser_template_declaration_after_export): Don't call
fixup_template_parms.
* cp-tree.h (TEMPLATE_PARM_NUM_SIBLINGS): Remove.
(struct template_parm_index_s): Remove num_siblings.
* pt.c (fixup_template_parms, fixup_template_parm_index): Remove.
(fixup_template_type_parm_type): Remove.
(build_template_parm_index): Remove num_siblings parm.
(process_template_parm): Likewise.
* parser.c (cp_parser_template_parameter_list): Adjust.
* tree.c (cp_tree_equal): Don't compare num_siblings.
* typeck.c (comp_template_parms_position): Likewise.
* pt.c (arg_from_parm_pack_p): Go back to using same_type_p or
cp_tree_equal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193955
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 18:43:29 +0000 (18:43 +0000)]
PR target/53912
* prefix.c (lookup_key): Replace xmalloc/xrealloc
use by XNEWVEC/XRESIZEVEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193947
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 15:27:36 +0000 (15:27 +0000)]
PR target/53912
* class.c (dump_class_hierarchy_r): Cast from pointer via uintptr_t.
(dump_vtable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193935
138bc75d-0d04-0410-961f-
82ee72b054a4
ktietz [Thu, 29 Nov 2012 09:18:54 +0000 (09:18 +0000)]
PR target/55171
* i386.c (get_scratch_register_on_entry): Handle
thiscall-convention.
(split_stack_prologue_scratch_regno): Likewise.
(ix86_static_chain): Likewise.
(x86_output_mi_thunk): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193925
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 29 Nov 2012 00:17:41 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193913
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Wed, 28 Nov 2012 14:38:40 +0000 (14:38 +0000)]
Handle OPT_SPECIAL_XXX in LTO
Backported from mainline
PR lto/54795
* lto-opts.c (lto_write_options): Also handle
OPT_SPECIAL_unknown, OPT_SPECIAL_ignore and
OPT_SPECIAL_program_name.
PR lto/55474
* lto-wrapper.c (merge_and_complain): Handle
OPT_SPECIAL_unknown, OPT_SPECIAL_ignore,
OPT_SPECIAL_program_name and OPT_SPECIAL_input_file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193893
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 28 Nov 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193877
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 27 Nov 2012 20:26:57 +0000 (20:26 +0000)]
2012-11-27 Paolo Bonzini <pbonzini@redhat.com>
PR rtl-optimization/55489
* gcse.c (compute_transp): Precompute a canonical version
of XEXP (x, 0), and pass it to canon_true_dependence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193867
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 27 Nov 2012 09:23:15 +0000 (09:23 +0000)]
2012-11-27 Richard Biener <rguenther@suse.de>
PR middle-end/55331
* gimple-fold.c (gimplify_and_update_call_from_tree): Replace
stmt with a NOP instead of removing it.
* g++.dg/opt/pr55331.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193840
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 27 Nov 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193835
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 26 Nov 2012 14:26:07 +0000 (14:26 +0000)]
2012-11-26 Richard Biener <rguenther@suse.de>
Backport from mainline
2012-10-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/54976
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
Robustify against odd inner_mode inputs.
2012-10-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/54894
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
Handle over-aligned scalar types properly.
2012-10-02 Richard Guenther <rguenther@suse.de>
PR middle-end/54735
* tree-ssa-pre.c (do_pre): Make sure to update virtual SSA form before
cleaning up the CFG.
2012-10-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/54894
* gcc.dg/torture/pr54894.c: New testcase.
2012-10-02 Richard Guenther <rguenther@suse.de>
PR middle-end/54735
* g++.dg/torture/pr54735.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193816
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 26 Nov 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193800
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sun, 25 Nov 2012 00:55:57 +0000 (00:55 +0000)]
compiler: Don't use memcmp for equality if struct has trailing padding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193792
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 25 Nov 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193789
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 24 Nov 2012 23:55:22 +0000 (23:55 +0000)]
/cp
2012-11-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55446
* init.c (build_vec_init): Do not early return error_mark_mode
when integer_all_onesp (maxindex).
/testsuite
2012-11-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55446
* g++.dg/init/new41.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193786
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 24 Nov 2012 20:46:46 +0000 (20:46 +0000)]
syscall: Fix handling of Unix domain @ addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193782
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sat, 24 Nov 2012 17:13:25 +0000 (17:13 +0000)]
2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/55314
Backport from trunk
* resolve.c (resolve_allocate_deallocate): Compare all
subscripts when deciding if to reject a (de)allocate
statement.
2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/55314
Backport from trunk
* gfortran.dg/allocate_error_4.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193780
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 24 Nov 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193773
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Fri, 23 Nov 2012 19:05:14 +0000 (19:05 +0000)]
2012-11-23 Janus Weil <janus@gcc.gnu.org>
PR fortran/55352
* trans-decl.c (generate_local_decl): Don't warn for explicitly imported
but unused module variables which are in a namelist or common block.
2012-11-23 Janus Weil <janus@gcc.gnu.org>
PR fortran/55352
* gfortran.dg/namelist_76.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193766
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 23 Nov 2012 00:17:24 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193739
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 22 Nov 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193718
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Wed, 21 Nov 2012 21:01:15 +0000 (21:01 +0000)]
2012-11-21 Michael Meissner <meissner@linux.vnet.ibm.com>
Backport from mainline
2012-11-20 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.md (movdf_hardfloat32): Add a comment
explaining the register ordering preferences.
2012-11-19 Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.md (movdf_hardfloat32): Reorder move
constraints so that the traditional floating point loads, stores,
and moves are done first, then the VSX loads, stores, and moves,
and finally the GPR loads, stores, and moves so that reload
chooses FPRs over GPRs, and uses the traditional load/store
instructions which provide an offset.
(movdf_hardfloat64): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193708
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 21 Nov 2012 20:31:31 +0000 (20:31 +0000)]
PR libgomp/55411
* team.c (gomp_free_thread): Decrease gomp_managed_threads
if pool had any threads_used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193707
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 21 Nov 2012 00:18:18 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193683
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 20 Nov 2012 14:54:36 +0000 (14:54 +0000)]
2012-11-20 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/55413
* include/bits/hashtable.h (_Hashtable<>::_M_rehash_aux): Initialize
__bbegin_bkt and __prev_bkt to avoid uninitialized warnings.
* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
dg-error line number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193664
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 20 Nov 2012 00:18:00 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193642
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 19 Nov 2012 19:17:05 +0000 (19:17 +0000)]
Workaround PR middle-end/55142
gcc/
2012-11-19 H.J. Lu <hongjiu.lu@intel.com>
Backported from mainline
2012-11-13 Eric Botcazou <ebotcazou@adacore.com>
H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/55142
* config/i386/i386.c (legitimize_pic_address): Properly handle
REG + CONST.
(ix86_print_operand_address): Set code to 'k' when forcing
addr32 prefix. For x32, zero-extend negative displacement if
it < -16*1024*1024.
gcc/testsuite/
2012-11-19 H.J. Lu <hongjiu.lu@intel.com>
Backported from mainline
2012-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/55142
* gcc.target/i386/pr55142-1.c: New file.
* gcc.target/i386/pr55142-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193635
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 19 Nov 2012 05:33:54 +0000 (05:33 +0000)]
reflect: Fix invalid sharing in valueInterface.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193613
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 19 Nov 2012 00:18:50 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193609
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 18 Nov 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193593
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 17 Nov 2012 00:17:57 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193579
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Fri, 16 Nov 2012 16:30:56 +0000 (16:30 +0000)]
compiler: don't remove floating point conversion of typed constant
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193566
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 16 Nov 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193545
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 15 Nov 2012 01:56:05 +0000 (01:56 +0000)]
PR libstdc++/53841
* include/std/condition_variable (condition_variable::wait_until):
Handle clocks with higher resolution than __clock_t.
* testsuite/30_threads/condition_variable/members/53841.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193528
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 15 Nov 2012 00:21:09 +0000 (00:21 +0000)]
PR libstdc++/55320
* include/std/functional (function::function(F)): Set _M_manager after
operations that could throw.
(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
* include/tr1/functional
(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
(_Function_base::_Base_manager::_M_get_pointer): Likewise.
* testsuite/20_util/function/cons/55320.cc: New.
* testsuite/20_util/function/cons/addressof.cc: New.
* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
* testsuite/tr1/3_function_objects/function/10.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193520
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 15 Nov 2012 00:18:13 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193518
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 14 Nov 2012 00:17:49 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193493
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 13 Nov 2012 00:18:08 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193462
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 12 Nov 2012 23:56:22 +0000 (23:56 +0000)]
* include/std/future (atomic_future): Remove declaration of
non-standard name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193460
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 12 Nov 2012 23:00:53 +0000 (23:00 +0000)]
* common.opt (fvar-tracking-uninit): Document.
* toplev.c (process_options): Fix handling of flag_var_tracking_uninit.
* config/darwin.c (darwin_override_options): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193458
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 12 Nov 2012 00:17:02 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193421
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 11 Nov 2012 21:56:39 +0000 (21:56 +0000)]
* config/sparc/sparc.h (AS_NIAGARA3_FLAG): Tweak.
* config/sparc/sol2.h (TARGET_CPU_niagara4 support): Fix pasto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193417
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 11 Nov 2012 00:17:26 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193398
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 10 Nov 2012 20:27:41 +0000 (20:27 +0000)]
reflect: Fix bug comparing struct field types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193396
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 10 Nov 2012 00:17:30 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193384
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 9 Nov 2012 21:53:01 +0000 (21:53 +0000)]
* doc/install.texi (sparc64-x-solaris2): Mention MPC as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193378
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 9 Nov 2012 21:42:21 +0000 (21:42 +0000)]
PR other/52438
* s-taspri-lynxos.ads: Delete.
* s-osinte-kfreebsd-gnu.ads: Change license to GPL V3+.
* s-tpopsp-rtems.adb: Likewise.
* s-osinte-rtems.adb: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193376
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 9 Nov 2012 09:13:25 +0000 (09:13 +0000)]
* config/i386/i386.c (release_scratch_register_on_entry): Also adjust
sp_offset manually.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193353
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 9 Nov 2012 00:17:35 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193346
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Thu, 8 Nov 2012 20:06:00 +0000 (20:06 +0000)]
2012-11-08 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/54075
* include/bits/hashtable.h (_Hashtable<>::rehash): Reset hash
policy state if no rehash.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc
(test02): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193335
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 8 Nov 2012 17:38:25 +0000 (17:38 +0000)]
Backport from mainline
2012-11-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_init_machine_status): Do not
explicitly clear tls_descriptor_call_expanded_p again.
2012-11-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/sse.md
(<avx_avx2>_maskstore<ssemodesuffix><avxsizesuffix>): Mark operand 0
as read and written by the instruction.
2012-11-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (TARGET_INSTANTIATE_DECLS): New define.
(ix86_instantiate_decls): New function.
(ix86_expand_builtin) <case IX86_BUILTIN_LDMXCSR>: Use SLOT_TEMP
stack slot instead of SLOT_VIRTUAL.
<case IX86_BUILTIN_STMXCSR>: Ditto.
(assign_386_stack_local): Do not assert when virtual slot is valid.
* config/i386/i386.h (enum ix86_stack_slot): Remove SLOT_VIRTUAL.
* config/i386/i386.md (truncdfsf2): Do not use SLOT_VIRTUAL stack slot.
(truncxf<mode>2): Ditto.
(floatunssi<mode>2): Ditto.
(isinf<mode>2): Ditto.
* config/i386/sync.md (atomic_load<mode>): Ditto.
(atomic_store<mode>): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193333
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Thu, 8 Nov 2012 09:24:59 +0000 (09:24 +0000)]
* include/profile/iterator_tracker.h (operator++): Fix returning
dangling reference.
(operator--): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193324
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 8 Nov 2012 00:17:31 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193320
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 7 Nov 2012 22:28:32 +0000 (22:28 +0000)]
PR middle-end/55219
* fold-const.c (fold_binary_op_with_conditional_arg): Do not fold if
the argument is itself a conditional expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193313
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 7 Nov 2012 00:18:07 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193274
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 6 Nov 2012 23:07:12 +0000 (23:07 +0000)]
* testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193266
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 6 Nov 2012 23:07:01 +0000 (23:07 +0000)]
* testsuite/*: Fix copying permission statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193265
138bc75d-0d04-0410-961f-
82ee72b054a4
janus [Tue, 6 Nov 2012 22:44:47 +0000 (22:44 +0000)]
2012-11-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/54917
* target-memory.c (gfc_target_expr_size,gfc_target_interpret_expr):
Handle BT_CLASS.
2012-11-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/54917
* gfortran.dg/transfer_class_1.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193262
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 6 Nov 2012 00:17:41 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193200
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Tue, 6 Nov 2012 00:08:36 +0000 (00:08 +0000)]
Replace REX_INT_REG_P with REX_INT_REGNO_P
* config/i386/i386.c (print_reg): Replace REX_INT_REG_P with
REX_INT_REGNO_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193198
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 5 Nov 2012 23:42:32 +0000 (23:42 +0000)]
2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/28811
PR libstdc++/54482
* configure.ac (glibcxx_lt_pic_flag,
glibcxx_compiler_pic_flag,
glibcxx_compiler_shared_flag): New. Use them.
(lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
(pic_mode): Set to default.
(PIC_CXXFLAGS): Remove.
* Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
* libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
glibcxx_compiler_shared_flag. Comment.
* src/c++11/Makefile.am: Same.
* src/c++98/Makefile.am: Same.
* src/Makefile.am: Use glibcxx_compiler_pic_flag.
* Makefile.in: Regenerated.
* aclocal.m4: Same.
* configure: Same.
* doc/Makefile.in: Same.
* include/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* python/Makefile.in: Same.
* src/Makefile.in: Same.
* src/c++11/Makefile.in: Same.
* src/c++98/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* src/c++11/compatibility-atomic-c++0x.cc: Use
_GLIBCXX_SHARED instead of PIC to designate shared-only
code blocks.
* src/c++11/compatibility-c++0x.cc: Same.
* src/c++11/compatibility-thread-c++0x.cc: Same.
* src/c++98/compatibility-list-2.cc: Same.
* src/c++98/compatibility.cc: : Same.
* testsuite/17_intro/shared_with_static_deps.cc: New.
* doc/xml/manual/build_hacking.xml: Separate configure from
make/build issues, add build details.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193195
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 5 Nov 2012 21:53:31 +0000 (21:53 +0000)]
2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
Oleg Smolsky <oleg@smolsky.net>
PR libstdc++/55028
* config/abi/pre/gnu-versioned-namespace.ver: Add symbols.
* testsuite/23_containers/unordered_multimap/insert/55028-debug.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193191
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 5 Nov 2012 21:52:28 +0000 (21:52 +0000)]
2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
Oleg Smolsky <oleg@smolsky.net>
PR libstdc++/55028
* config/abi/pre/gnu-versioned-namespace.ver: Add symbols.
* testsuite/23_containers/unordered_multimap/insert/55028-debug.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193190
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 5 Nov 2012 21:41:32 +0000 (21:41 +0000)]
PR tree-optimization/54986
* gimple-fold.c (canonicalize_constructor_val): Strip again all no-op
conversions on entry but add them back on exit if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193189
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 5 Nov 2012 20:11:32 +0000 (20:11 +0000)]
2012-11-05 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/55215
* include/bits/random.tcc (mersenne_twister_engine<>::seed(_Sseq&)):
Assign state_size to _M_p.
* testsuite/26_numerics/random/mersenne_twister_engine/cons/55215.cc:
New.
* testsuite/26_numerics/random/independent_bits_engine/cons/55215.cc:
Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/cons/55215.cc:
Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
55215.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/cons/55215.cc:
Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/cons/
55215.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193183
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 5 Nov 2012 18:55:35 +0000 (18:55 +0000)]
gcc/
PR target/55204
* config/i386/i386.c (ix86_address_subreg_operand): Remove stack
pointer check.
(print_reg): Use true_regnum rather than REGNO.
(ix86_print_operand_address): Remove SUBREG handling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193179
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 5 Nov 2012 15:09:28 +0000 (15:09 +0000)]
Backported from mainline
2012-10-24 Jakub Jelinek <jakub@redhat.com>
PR debug/54828
* gimple.h (is_gimple_sizepos): New inline function.
* gimplify.c (gimplify_one_sizepos): Use it. Remove useless
final assignment to expr variable.
* tree.c (RETURN_TRUE_IF_VAR): Return true also if
!TYPE_SIZES_GIMPLIFIED (type) and _t is going to be gimplified
into a local temporary.
* g++.dg/debug/pr54828.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193166
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 5 Nov 2012 15:07:14 +0000 (15:07 +0000)]
Backported from mainline
2012-10-23 Jakub Jelinek <jakub@redhat.com>
PR c++/54988
* decl2.c (cplus_decl_attributes): Don't return early
if attributes is NULL.
* c-c++-common/pr54988.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193165
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 5 Nov 2012 15:05:42 +0000 (15:05 +0000)]
Backported from mainline
2012-10-10 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/54877
* tree-vect-loop.c (vect_is_simple_reduction_1): For MINUS_EXPR
use make_ssa_name instead of copy_ssa_name.
* gcc.dg/torture/pr54877.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193164
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 5 Nov 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193148
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 4 Nov 2012 18:58:29 +0000 (18:58 +0000)]
PR target/55175
* config/i386/32/sfp-machine.h: Guard exception handling and
rounding handling code with _SOFT_FLOAT.
* config/i386/64/sfp-machine.h: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193140
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 4 Nov 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193131
138bc75d-0d04-0410-961f-
82ee72b054a4
bergner [Sat, 3 Nov 2012 14:02:13 +0000 (14:02 +0000)]
Backport from mainline
2012-10-31 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/53708
* tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Preserve
user-supplied alignment when used with an explicit section name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193121
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 3 Nov 2012 00:17:33 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193114
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 2 Nov 2012 20:19:16 +0000 (20:19 +0000)]
PR tree-optimization/54985
* tree-ssa-threadedge.c (cond_arg_set_in_bb): New function extracted
from thread_across_edge.
(thread_across_edge): Use it in all cases where we might thread
across a back edge.
* gcc.c-torture/execute/pr54985.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193108
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 2 Nov 2012 11:18:13 +0000 (11:18 +0000)]
2012-11-02 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/55169
* include/bits/random.h: Remove all uses of param().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193093
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 2 Nov 2012 00:17:53 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193081
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 1 Nov 2012 21:09:51 +0000 (21:09 +0000)]
2012-11-01 Haakan Younes <hyounes@google.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/55047
* include/bits/random.h (exponential_distribution<>::operator):
Fix formula to std::log(result_type(1) - __aurng()).
* include/bits/random.tcc: Likewise, everywhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193070
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 1 Nov 2012 00:18:17 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193055
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Wed, 31 Oct 2012 20:12:40 +0000 (20:12 +0000)]
* config/i386/i386.c (ix86_expand_prologue): Emit frame info for the
special register pushes before frame probing and allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193045
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 31 Oct 2012 05:07:16 +0000 (05:07 +0000)]
2012-10-31 Ralf Corsépius <ralf.corsepius@rtems.org>,
Joel Sherrill <joel.sherrill@oarcorp.com>
* config/sparc/t-rtems: New (Custom multilibs).
* config/sparc/t-rtems-64: New (Custom multilibs).
* config.gcc (sparc64-*-rtems*): Add sparc/t-rtems-64.
(sparc-*-rtems*): Add sparc/t-rtems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193019
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 31 Oct 2012 02:19:36 +0000 (02:19 +0000)]
2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
as extra_parts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193011
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 31 Oct 2012 00:38:29 +0000 (00:38 +0000)]
compiler: Add -fgo-relative-import-path.
* lang.opt (-fgo-relative-import-path): New option.
* go-lang.c (go_relative_import_path): New static variable.
(go_langhook_init): Pass go_relative_import_path to
go_create_gogo.
(go_langhook_handle_option): Handle -fgo-relative-import-path.
* go-c.h (go_create_gogo): Update declaration.
* gccgo.texi (Invoking gccgo): Document
-fgo-relative-import-path.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193007
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 31 Oct 2012 00:18:34 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193005
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 30 Oct 2012 23:08:26 +0000 (23:08 +0000)]
* cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in
head comment.
(hash_rtx): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193002
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Tue, 30 Oct 2012 22:54:22 +0000 (22:54 +0000)]
* gcc-interface/Make-lang.in: Fix and clean up rules for C files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192999
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 30 Oct 2012 00:17:33 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192974
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 29 Oct 2012 21:56:12 +0000 (21:56 +0000)]
PR libstdc++/55123
* include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
Do not instantiate allocator with element_type.
* testsuite/20_util/shared_ptr/cons/55123.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192965
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 29 Oct 2012 09:37:30 +0000 (09:37 +0000)]
PR ada/53517
* gnat.dg/lto14.adb: Skip on Solaris.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192911
138bc75d-0d04-0410-961f-
82ee72b054a4
xguo [Mon, 29 Oct 2012 06:44:23 +0000 (06:44 +0000)]
Backport from mainline
2012-10-11 Terry Guo <terry.guo@arm.com>
* config/arm/arm.c (arm_arch6m): New variable to denote armv6-m
architecture.
* config/arm/arm.h (TARGET_HAVE_DMB): The armv6-m also has DMB
instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192907
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 29 Oct 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192902
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 28 Oct 2012 00:17:58 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192883
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 27 Oct 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192869
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Fri, 26 Oct 2012 19:08:22 +0000 (19:08 +0000)]
Author: Gunther Nikl <gnikl@users.sourceforge.net>
* common/config/m68k/m68k-common.c (m68k_handle_option): Set
gcc_options fields of opts_set for -m68020-40 and -m68020-60.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192858
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 26 Oct 2012 14:19:44 +0000 (14:19 +0000)]
/cp
2012-10-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54984
* init.c (build_new): Don't turn a null *init into a pointer to
empty vector orig_init.
/testsuite
2012-10-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54984
* g++.dg/template/new11.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192847
138bc75d-0d04-0410-961f-
82ee72b054a4