OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoDaily bump.
gccadmin [Wed, 5 Dec 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@194171 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoPR bootstrap/55571
rth [Tue, 4 Dec 2012 19:09:59 +0000 (19:09 +0000)]
PR bootstrap/55571

        * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194160 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
ebotcazou [Tue, 4 Dec 2012 09:07:45 +0000 (09:07 +0000)]
* config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratch
area if the function allocates dynamic stack space.
(ia64_initial_elimination_offset): Adjust offsets to above change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194122 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agomksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.
ian [Tue, 4 Dec 2012 06:23:14 +0000 (06:23 +0000)]
mksysinfo: Fix TIOCNOTTY and TIOCSCTTY for ARM.

From Matthias Klose.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194117 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoruntime: Fix build failures with -D_FORTIFY_SOURCE=2.
ian [Tue, 4 Dec 2012 06:15:14 +0000 (06:15 +0000)]
runtime: Fix build failures with -D_FORTIFY_SOURCE=2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194115 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Fix crash in go/defer of some builtin functions.
ian [Tue, 4 Dec 2012 05:17:43 +0000 (05:17 +0000)]
compiler: Fix crash in go/defer of some builtin functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194113 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Tue, 4 Dec 2012 00:18:25 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194110 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago2012-12-03 Richard Biener <rguenther@suse.de>
rguenth [Mon, 3 Dec 2012 16:53:25 +0000 (16:53 +0000)]
2012-12-03  Richard Biener  <rguenther@suse.de>

Backport from mainline
2012-09-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53663
* tree-ssa-sccvn.c (vn_reference_lookup_3): Conditional
native encode/interpret translation on VN_WALKREWRITE.

* gcc.dg/torture/pr53663-1.c: New testcase.
* gcc.dg/torture/pr53663-2.c: Likewise.
* gcc.dg/torture/pr53663-3.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194101 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoFix PR c/55570.
mpolacek [Mon, 3 Dec 2012 13:10:18 +0000 (13:10 +0000)]
Fix PR c/55570.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194084 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 07:04:50 +0000 (07:04 +0000)]
PR target/53912
* ggc-common.c (POINTER_HASH): Cast from pointer via intptr_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194071 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 07:01:43 +0000 (07:01 +0000)]
PR target/53912
* tree-dump.c (dump_pointer): Print pointer via HOST_WIDE_INT_PRINT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194069 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR target/53912
ktietz [Mon, 3 Dec 2012 06:55:55 +0000 (06:55 +0000)]
PR target/53912
* pointer-set.c (hash1): Cast from pointer via uintptr_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194066 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Fix nil func panics, constant type conversions.
ian [Mon, 3 Dec 2012 03:26:07 +0000 (03:26 +0000)]
compiler: Fix nil func panics, constant type conversions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194065 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Mon, 3 Dec 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@194062 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sun, 2 Dec 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194041 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago * gcc.dg/torture/pr54920.c: Add "-fno-common" option on hppa*-*-hpux*.
danglin [Sat, 1 Dec 2012 21:12:08 +0000 (21:12 +0000)]
* gcc.dg/torture/pr54920.c: Add "-fno-common" option on hppa*-*-hpux*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194029 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline:
danglin [Sat, 1 Dec 2012 20:36:04 +0000 (20:36 +0000)]
Backport from mainline:
2012-11-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR target/55195
* config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types.
(in_branch_delay): Don't allow sibcall or sh_func_adrs insns.
(in_nullified_branch_delay): Likewise.
(in_call_delay): Likewise.
Define delay for sibcall insns.  Adjust Z3 and Z4 insn reservations for
new types.  Add opaque cond to mark all calls, sibcalls, dyncalls and
the $$sh_func_adrs call as variable.  Update type of sibcalls and
$$sh_func_adrs call.
* config/pa/pa.c (pa_adjust_insn_length): Revise to return updated
length instead of adjustment.  Handle negative and undefined call
adjustments for insn_default_length.  Remove adjustment for millicode
insn with unfilled delay slot.
(pa_output_millicode_call): Update for revised millicode length.
* config/pa/pa.h (ADJUST_INSN_LENGTH): Revise to set LENGTH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194027 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR ada/52110
danglin [Sat, 1 Dec 2012 19:45:24 +0000 (19:45 +0000)]
PR ada/52110
* s-osinte-hpux-dce.ads: Declare pthread_rwlockattr_t and
pthread_rwlock_t subtypes.  Delete duplicate declaration of clockid_t.
* s-taspri-hpux-dce.ads: Change "pragma Atomic (Thread)" to comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194025 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR libstdc++/55503
danglin [Sat, 1 Dec 2012 19:20:39 +0000 (19:20 +0000)]
PR libstdc++/55503
* testsuite/30_threads/condition_variable/members/53841.cc: Add
hppa*-hp-hpux11* to -pthread dg-options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194023 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Sat, 1 Dec 2012 00:17:59 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@194014 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agocompiler: Fix bug converting unnamed types with placeholders.
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

11 years agoDaily bump.
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

11 years agoPR libgcc/48076
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

11 years ago PR c++/53137
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

11 years ago PR c++/53862
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

11 years ago PR c++/50852
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

11 years ago PR target/53912
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

11 years ago PR target/53912
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

11 years ago PR target/55171
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

11 years agoDaily bump.
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

11 years agoHandle OPT_SPECIAL_XXX in LTO
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

11 years agoDaily bump.
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

11 years ago2012-11-27 Paolo Bonzini <pbonzini@redhat.com>
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

11 years ago2012-11-27 Richard Biener <rguenther@suse.de>
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

11 years agoDaily bump.
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

11 years ago2012-11-26 Richard Biener <rguenther@suse.de>
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

11 years agoDaily bump.
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

11 years agocompiler: Don't use memcmp for equality if struct has trailing padding.
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

11 years agoDaily bump.
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

11 years ago/cp
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

11 years agosyscall: Fix handling of Unix domain @ addresses.
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

11 years ago2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
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

11 years agoDaily bump.
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

11 years ago2012-11-23 Janus Weil <janus@gcc.gnu.org>
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

11 years agoDaily bump.
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

11 years agoDaily bump.
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

11 years ago2012-11-21 Michael Meissner <meissner@linux.vnet.ibm.com>
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

11 years ago PR libgomp/55411
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

11 years agoDaily bump.
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

11 years ago2012-11-20 Paolo Carlini <paolo.carlini@oracle.com>
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

11 years agoDaily bump.
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

11 years agoWorkaround PR middle-end/55142
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

11 years agoreflect: Fix invalid sharing in valueInterface.
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

11 years agoDaily bump.
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

11 years agoDaily bump.
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

11 years agoDaily bump.
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

11 years agocompiler: don't remove floating point conversion of typed constant
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

11 years agoDaily bump.
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

11 years ago PR libstdc++/53841
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

11 years ago PR libstdc++/55320
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

11 years agoDaily bump.
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

11 years agoDaily bump.
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

11 years agoDaily bump.
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

11 years ago * include/std/future (atomic_future): Remove declaration of
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

11 years ago * common.opt (fvar-tracking-uninit): Document.
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

11 years agoDaily bump.
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

11 years ago * config/sparc/sparc.h (AS_NIAGARA3_FLAG): Tweak.
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

11 years agoDaily bump.
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

11 years agoreflect: Fix bug comparing struct field types.
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

11 years agoDaily bump.
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

11 years ago * doc/install.texi (sparc64-x-solaris2): Mention MPC as well.
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

11 years ago PR other/52438
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

11 years ago * config/i386/i386.c (release_scratch_register_on_entry): Also adjust
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

11 years agoDaily bump.
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

11 years ago2012-11-08 François Dumont <fdumont@gcc.gnu.org>
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

11 years ago Backport from mainline
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

11 years ago * include/profile/iterator_tracker.h (operator++): Fix returning
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

11 years agoDaily bump.
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

11 years ago PR middle-end/55219
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

11 years agoDaily bump.
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

11 years ago * testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
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

11 years ago * testsuite/*: Fix copying permission statements.
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

11 years ago2012-11-06 Janus Weil <janus@gcc.gnu.org>
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

11 years agoDaily bump.
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

11 years agoReplace REX_INT_REG_P with REX_INT_REGNO_P
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

11 years ago2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
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

11 years ago2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
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

11 years ago2012-11-05 Benjamin Kosnik <bkoz@redhat.com>
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

11 years ago PR tree-optimization/54986
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

11 years ago2012-11-05 Paolo Carlini <paolo.carlini@oracle.com>
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

11 years agogcc/
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

11 years ago Backported from mainline
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

11 years ago Backported from mainline
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

11 years ago Backported from mainline
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

11 years agoDaily bump.
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

11 years ago PR target/55175
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

11 years agoDaily bump.
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

11 years ago Backport from mainline
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

11 years agoDaily bump.
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

11 years ago PR tree-optimization/54985
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