OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years agoruntime: Comment out code adding TLS size to stack size.
ian [Tue, 5 Jun 2012 13:12:38 +0000 (13:12 +0000)]
runtime: Comment out code adding TLS size to stack size.

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

11 years agoruntime: Fix call to _dl_get_tls_static_info for i386.
ian [Tue, 5 Jun 2012 06:19:37 +0000 (06:19 +0000)]
runtime: Fix call to _dl_get_tls_static_info for i386.

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

11 years agomksysinfo: Fix for recent change to glibc <sys/resource.h>.
ian [Tue, 5 Jun 2012 05:33:10 +0000 (05:33 +0000)]
mksysinfo: Fix for recent change to glibc <sys/resource.h>.

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

11 years agoDaily bump.
gccadmin [Tue, 5 Jun 2012 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-06-04 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 4 Jun 2012 20:30:59 +0000 (20:30 +0000)]
2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53524
* doc/invoke.texi (Wenum-compare): Update documentation.

/cp
2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53524
* call.c (build_conditional_expr_1): Use OPT_Wenum_compare
to control enumeral mismatch in conditional expression too.

/testsuite
2012-06-04  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53524
* g++.dg/warn/Wenum-compare-no-2: New.

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

11 years ago2012-06-04 Edmar Wienskoski <edmar@freescale.com>
edmarwjr [Mon, 4 Jun 2012 18:15:46 +0000 (18:15 +0000)]
2012-06-04  Edmar Wienskoski  <edmar@freescale.com>

PR target/53559
* config/rs6000/altivec.md (altivec_stvlx): Change machine mode of
operands.
(altivec_stvlxl): Ditto.
(altivec_stvrx): Ditto.
(altivec_stvrxl): Ditto.

gcc/testsuite
2012-06-04  Edmar Wienskoski  <edmar@freescale.com>

PR target/53559
* gcc.target/powerpc/cell_builtin_1.c: New test case.
* gcc.target/powerpc/cell_builtin_2.c: Ditto.
* gcc.target/powerpc/cell_builtin_3.c: Ditto.
* gcc.target/powerpc/cell_builtin_4.c: Ditto.
* gcc.target/powerpc/cell_builtin_5.c: Ditto.
* gcc.target/powerpc/cell_builtin_6.c: Ditto.
* gcc.target/powerpc/cell_builtin_7.c: Ditto.
* gcc.target/powerpc/cell_builtin_8.c: Ditto.

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

11 years ago PR middle-end/47530
aldyh [Mon, 4 Jun 2012 16:52:47 +0000 (16:52 +0000)]
PR middle-end/47530
* trans-mem.c (expand_block_edges): Do not skip the first
statement when resetting the BB.

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

11 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 13:24:24 +0000 (13:24 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>

PR middle-end/53471
* dwarf2out.c (dwarf2out_finish): If generating LTO do not
create new assembler names.

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

11 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 10:19:44 +0000 (10:19 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>

Backport from mainline
2012-04-25  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/52979
* stor-layout.c (get_best_mode): Don't return mode with bitsize
larger than maxbits.  Don't compute maxbits modulo align.
Also check that unit bytes long store at bitpos / unit * unit
doesn't affect bits beyond bitregion_end.
* expmed.c (store_bit_field_1): Avoid trying insv if OP_MODE MEM
would not fit into bitregion_start ... bitregion_end + 1 bit
region.
(store_split_bit_field): Decrease unit close to end of bitregion_end
if access is restricted in order to avoid mutual recursion.

* gcc.c-torture/compile/pr52979-1.c: New test.
* gcc.c-torture/execute/pr52979-1.c: New test.
* gcc.c-torture/execute/pr52979-2.c: New test.

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

11 years ago Backport from 2012-06-04 mainline r188172
gjl [Mon, 4 Jun 2012 09:51:00 +0000 (09:51 +0000)]
Backport from 2012-06-04 mainline r188172
PR target/46261
* config/avr/avr-stdint.h: New file.
* config.gcc (avr-*-*,tm_file): Use avr/avr-stdint.h instead of
newlib-stdint.h

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

11 years ago PR tree-optimization/53550
jakub [Mon, 4 Jun 2012 09:27:00 +0000 (09:27 +0000)]
PR tree-optimization/53550
* tree-ssa-loop-niter.c (number_of_iterations_cond): If type
is POINTER_TYPE_P, use sizetype as step type instead of type.

* gcc.dg/pr53550.c: New test.

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

11 years ago2012-06-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jun 2012 08:43:23 +0000 (08:43 +0000)]
2012-06-04  Richard Guenther  <rguenther@suse.de>
Eric Botcazou  <ebotcazou@adacore.com>

Backport from mainline
2012-04-03  Eric Botcazou  <ebotcazou@adacore.com>

        * expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS.
        Change type of BITOFFSET to signed.  Make sure the lower bound of
        the computed range is non-negative by adjusting OFFSET and BITPOS.
        (expand_assignment): Adjust call to get_bit_range.

2012-03-27  Eric Botcazou  <ebotcazou@adacore.com>

        * expr.c (get_bit_range): Return the null range if the enclosing record
        is part of a larger bit field.

2012-03-20  Richard Guenther  <rguenther@suse.de>

        * stor-layout.c (finish_bitfield_representative): Fallback
        to conservative maximum size if the padding up to the next
        field cannot be computed as a constant.
        (finish_bitfield_layout): If we cannot compute the distance
        between the start of the bitfield representative and the
        bitfield member start a new representative.
        * expr.c (get_bit_range): The distance between the start of
        the bitfield representative and the bitfield member is zero
        if the field offsets are not constants.

2012-03-16  Richard Guenther  <rguenther@suse.de>

        * stor-layout.c (finish_bitfield_representative): Fall back
        to the conservative maximum size if we cannot compute the
        size of the tail padding.

2012-03-14  Richard Guenther  <rguenther@suse.de>

* tree.h (DECL_BIT_FIELD_REPRESENTATIVE): New define.
* stor-layout.c (start_bitfield_representative): New function.
(finish_bitfield_representative): Likewise.
(finish_bitfield_layout): Likewise.
(finish_record_layout): Call finish_bitfield_layout.
* tree.c (free_lang_data_in_decl): Only free DECL_QUALIFIER
for QUAL_UNION_TYPE fields.
* tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers):
Stream DECL_BIT_FIELD_REPRESENTATIVE.
* tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise.

PR middle-end/52080
PR middle-end/52097
PR middle-end/48124
* expr.c (get_bit_range): Unconditionally extract bitrange
from DECL_BIT_FIELD_REPRESENTATIVE.
(expand_assignment): Adjust call to get_bit_range.

* gcc.dg/torture/pr48124-1.c: New testcase.
* gcc.dg/torture/pr48124-2.c: Likewise.
* gcc.dg/torture/pr48124-3.c: Likewise.
* gcc.dg/torture/pr48124-4.c: Likewise.
* gnat.dg/pack16.adb: Likewise.
* gnat.dg/pack16_pkg.ads: Likewise.
* gnat.dg/pack17.adb: Likewise.
* gnat.dg/specs/pack7.ads: Likewise.
* gnat.dg/specs/pack8.ads: Likewise.
* gnat.dg/specs/pack8_pkg.ads: Likewise.

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

11 years agoruntime: Better SWIG interface for allocating Go memory from C/C++.
ian [Mon, 4 Jun 2012 05:35:10 +0000 (05:35 +0000)]
runtime: Better SWIG interface for allocating Go memory from C/C++.

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

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

11 years agoDaily bump.
gccadmin [Sun, 3 Jun 2012 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR c++/52973
jason [Sat, 2 Jun 2012 04:05:25 +0000 (04:05 +0000)]
PR c++/52973
* parser.c (cp_parser_class_head): Apply attributes here.
* semantics.c (begin_class_definition): Not here.
* cp-tree.h: Adjust.

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

11 years agoDaily bump.
gccadmin [Sat, 2 Jun 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@188132 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago PR c++/52725
jason [Fri, 1 Jun 2012 21:19:36 +0000 (21:19 +0000)]
PR c++/52725
* parser.c (cp_parser_binary_expression): Bail early if we're parsing
tentatively and the LHS has a parse error.

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

11 years ago PR c++/53137
jason [Fri, 1 Jun 2012 18:43:34 +0000 (18:43 +0000)]
PR c++/53137
* pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE.
(instantiate_decl): Don't push_to_top_level for local class methods.
(instantiate_class_template_1): Or for local classes.

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

11 years ago PR c++/53484
jason [Fri, 1 Jun 2012 18:43:23 +0000 (18:43 +0000)]
PR c++/53484
* pt.c (do_auto_deduction): Don't try to deduce from a
type-dependent initializer.

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

11 years ago PR middle-end/53501
ebotcazou [Fri, 1 Jun 2012 17:03:19 +0000 (17:03 +0000)]
PR middle-end/53501
* fold-const.c (fold_binary_loc): Refine previous change.
testsuite/
* c-c++-common/restrict-2.c: Revert previous change.

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

11 years ago2012-06-01 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 1 Jun 2012 15:08:24 +0000 (15:08 +0000)]
2012-06-01  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53521
        * trans.c (gfc_deallocate_scalar_with_status): Properly
        handle the case size == 0.

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

11 years ago PR ada/53517
ebotcazou [Fri, 1 Jun 2012 07:34:05 +0000 (07:34 +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@188101 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoDaily bump.
gccadmin [Fri, 1 Jun 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@188093 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 23:04:02 +0000 (23:04 +0000)]
Backport from mainline
2012-03-27  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/52667
* config/sh/sh.c (find_barrier): Add equality check of last_got to
avoid going above orig insn.  Update comments.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 23:01:13 +0000 (23:01 +0000)]
Backport from mainline
2012-03-21  Kaz Kojima  <kkojima@gcc.gnu.org>

PR target/52642
* config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of
prologue for unwinder and profiler.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:58:49 +0000 (22:58 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.md (abssi2): Add TARGET_SH1 condition.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:56:44 +0000 (22:56 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.c (sh_dwarf_register_span): Don't apply
DBX_REGISTER_NUMBER.

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

11 years ago Backport from mainline
olegendo [Thu, 31 May 2012 22:54:21 +0000 (22:54 +0000)]
Backport from mainline
2012-03-03  Kaz Kojima  <kkojima@gcc.gnu.org>

* config/sh/sh.c (shiftcosts): Return MAX_COST when the first
operand is CONST_INT.  Take COSTS_N_INSNS into account.
(sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value of
shiftcosts.

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

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 19:00:58 +0000 (19:00 +0000)]
2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/52007
        * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
        * configure: Regenerated.

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

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 18:59:34 +0000 (18:59 +0000)]
2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/52007
        * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
        * configure: Regenerated.

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

11 years ago2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 31 May 2012 18:57:56 +0000 (18:57 +0000)]
2012-05-31  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/52007
        * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
        * configure: Regenerated.

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

11 years ago * config/avr/avr.opt (-msp8): Document it.
gjl [Thu, 31 May 2012 17:51:49 +0000 (17:51 +0000)]
* config/avr/avr.opt (-msp8): Document it.
* doc/invoke.texi (AVR Options): Copy from trunk docu.

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

11 years ago PR c++/53500
jason [Thu, 31 May 2012 14:28:41 +0000 (14:28 +0000)]
PR c++/53500
PR c++/52905
* call.c (joust): Handle comparing list and non-list ctors.

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

11 years ago2012-05-31 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 31 May 2012 11:02:29 +0000 (11:02 +0000)]
2012-05-31  Richard Guenther  <rguenther@suse.de>

PR middle-end/48493
* expr.c (expand_assignment): Do not use movmisalign on
non-memory.

* gcc.dg/torture/pr48493.c: New testcase.

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

11 years agoDaily bump.
gccadmin [Thu, 31 May 2012 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

11 years agocompiler: Don't crash for invalid constant types for && or ||.
ian [Wed, 30 May 2012 23:04:57 +0000 (23:04 +0000)]
compiler: Don't crash for invalid constant types for && or ||.

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

11 years ago PR target/52999
danglin [Wed, 30 May 2012 23:03:59 +0000 (23:03 +0000)]
PR target/52999
* config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define.
(pa_section_type_flags): New.
(pa_legitimate_constant_p): Revert previous change.

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

11 years ago Backport from mainline
aldyh [Wed, 30 May 2012 22:13:43 +0000 (22:13 +0000)]
    Backport from mainline
        2012-05-25  Aldy Hernandez  <aldyh@redhat.com>
        PR middle-end/53008
        * trans-mem.c (ipa_tm_create_version_alias): Output new_node if
        accessed indirectly.
        (ipa_tm_create_version): Same.

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

11 years ago PR c++/53356
jason [Wed, 30 May 2012 14:52:02 +0000 (14:52 +0000)]
PR c++/53356
* tree.c (stabilize_init): Side effects make the init unstable.

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

11 years ago PR c++/53220
jason [Wed, 30 May 2012 14:51:54 +0000 (14:51 +0000)]
PR c++/53220
gcc/
* c-typeck.c (array_to_pointer_conversion): Give -Wc++-compat warning
about array compound literals.
gcc/cp/
* call.c (convert_like_real) [ck_list]: Take array address directly.
* typeck.c (decay_conversion): Reject decay of an array compound
literal.

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

11 years ago2012-05-30 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 30 May 2012 12:32:10 +0000 (12:32 +0000)]
2012-05-30  Richard Guenther  <rguenther@suse.de>

PR middle-end/53501
* fold-const.c (fold_binary_loc): Make sure to call
fold_plusminus_mult_expr with the original sign of operands.

* gcc.dg/torture/pr53501.c: New testcase.
* c-c++-common/restrict-2.c: Adjust.

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

11 years ago * explow.c (probe_stack_range): Restore simple control flow and stop
ebotcazou [Wed, 30 May 2012 08:53:13 +0000 (08:53 +0000)]
* explow.c (probe_stack_range): Restore simple control flow and stop
again when the probe cannot be generated if HAVE_check_stack.

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

11 years ago PR rtl-optimization/53519
jakub [Wed, 30 May 2012 06:58:00 +0000 (06:58 +0000)]
PR rtl-optimization/53519
* combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx
instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR.

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

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

11 years agoDaily bump.
gccadmin [Wed, 30 May 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2012-05-29 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 29 May 2012 14:44:08 +0000 (14:44 +0000)]
2012-05-29  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53516
* tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject
bitfield accesses.
* tree-vect-data-refs.c (vect_analyze_data_refs): Likewise.

* gcc.dg/torture/pr53516.c: New testcase.

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

11 years ago/cp
paolo [Tue, 29 May 2012 10:56:53 +0000 (10:56 +0000)]
/cp
2012-05-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53491
* tree.c (stabilize_expr): Handle exp of void type.

/testsuite
2012-05-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53491
* g++.dg/parse/crash60.C: New.

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

11 years agoDaily bump.
gccadmin [Tue, 29 May 2012 00:17:34 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago PR tree-optimization/53505
jakub [Mon, 28 May 2012 14:28:42 +0000 (14:28 +0000)]
PR tree-optimization/53505
* c-c++-common/torture/pr53505.c: New test.

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

11 years ago2012-05-28 Bill Schmidt <wschmidt@linux.ibm.com>
wschmidt [Mon, 28 May 2012 13:58:18 +0000 (13:58 +0000)]
2012-05-28  Bill Schmidt  <wschmidt@linux.ibm.com>

Backport from mainline
        2012-05-23  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53438
* tree-sra.c (analyze_access_subtree): Correct bitfield exclusion.

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

11 years agogcc/cp
paolo [Mon, 28 May 2012 12:11:04 +0000 (12:11 +0000)]
gcc/cp
2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53503
* semantics.c (potential_constant_expression_1): Handle LTGT_EXPR.

libstdc++-v3
2012-05-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53503
* testsuite/26_numerics/headers/cmath/53503.cc: New.

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

11 years agoDaily bump.
gccadmin [Mon, 28 May 2012 00:17:40 +0000 (00:17 +0000)]
Daily bump.

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

11 years agoDaily bump.
gccadmin [Sun, 27 May 2012 00:17:32 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago Backport from mainline
ebotcazou [Sat, 26 May 2012 13:55:46 +0000 (13:55 +0000)]
Backport from mainline
2012-03-10  Chung-Lin Tang  <cltang@codesourcery.com>

PR rtl-optimization/52528
* combine.c (can_combine_p): Add setting of subst_low_luid
before call to expand_field_assignment().

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

11 years ago * gcc-interface/decl.c (variant_desc): Rename 'record' to 'new_type'.
ebotcazou [Sat, 26 May 2012 10:43:13 +0000 (10:43 +0000)]
* gcc-interface/decl.c (variant_desc): Rename 'record' to 'new_type'.
(build_variant_list): Adjust to above renaming.
(gnat_to_gnu_entity) <E_Record_Subtype>: Likewise.  Give a unique name
to the type of the variant containers.
(create_variant_part_from): Likewise.  Give a unique name to the type
of the variant part.

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

11 years ago2012-05-26 Martin Jambor <mjambor@suse.cz>
jamborm [Sat, 26 May 2012 09:37:17 +0000 (09:37 +0000)]
2012-05-26  Martin Jambor  <mjambor@suse.cz>

* ipa-inline-analysis.c (inline_merge_summary): Free operand_map.

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

11 years agoDaily bump.
gccadmin [Sat, 26 May 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@187905 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoruntime: More efficient implementation of trampolines.
ian [Fri, 25 May 2012 21:51:45 +0000 (21:51 +0000)]
runtime: More efficient implementation of trampolines.

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

11 years agocompiler: Don't create a closure if not needed.
ian [Fri, 25 May 2012 21:14:50 +0000 (21:14 +0000)]
compiler: Don't create a closure if not needed.

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

11 years agolibgcc/:
ian [Fri, 25 May 2012 20:49:17 +0000 (20:49 +0000)]
libgcc/:
* config/i386/morestack.S (__morestack_non_split): Check whether
caller is varargs and needs %bp to hold the stack frame on return.
gcc/testsuite/:
* gcc.dg/split-6.c: New test.

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

11 years ago PR lto/52178
ebotcazou [Fri, 25 May 2012 20:28:10 +0000 (20:28 +0000)]
PR lto/52178
* tree-inline.c (remap_gimple_op_r): Fix handling of FIELD_DECL.
* tree.c (RETURN_TRUE_IF_VAR): Do not return true for PLACEHOLDER_EXPR.

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

11 years agoruntime: Fix cast error in print.c on 32-bit systems.
ian [Fri, 25 May 2012 18:22:14 +0000 (18:22 +0000)]
runtime: Fix cast error in print.c on 32-bit systems.

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

11 years ago2012-05-25 Alexander Ivchenko <alexander.ivchenko@intel.com>
kyukhin [Fri, 25 May 2012 13:34:07 +0000 (13:34 +0000)]
2012-05-25  Alexander Ivchenko  <alexander.ivchenko@intel.com>

        PR target/53435
        * config/i386/i386.c (ix86_expand_vec_perm): Use correct op.
        (ix86_expand_vec_perm): Use int mode instead of float.

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

11 years ago PR ada/52362
ebotcazou [Fri, 25 May 2012 10:07:23 +0000 (10:07 +0000)]
PR ada/52362
* config.gcc (i[34567]86-*-mingw* | x86_64-*-mingw*): Set gas and
gnu_ld variables to yes.
* configure.ac (HAVE_GNU_LD): Move to after config.gcc inclusion.
(HAVE_GNU_AS): Likewise.
* config.in: Regenerate.
* configure: Likewise.
ada/
* link.c (__gnat_object_file_option): Set to "-Wl,@" for GNU linker.
(__gnat_using_gnu_linker): Delete.
* gnatlink.adb (Gnatlink): Declare Object_File_Option_Ptr here...
Declare Object_File_Option string constant and Using_GNU_response_file
boolean constant.
(Process_Binder_File): ...instead of here.  Delete Using_GNU_Linker,
Opening and Closing local variables.  Do not handle the GNU linker
specially.
(Write_RF): New procedure to write into the response file.  Escape some
characters if a GNU response file is used.  Keep track of error status.
Invoke Write_RF to write into the response file.  Delete the file only
if the link was successful.
* mlib-utl.adb: Do not `with' package System.
(Gcc): Likewise.  Declare Object_File_Option string constant and
Using_GNU_response_file boolean constant.
(Write_RF): Take a string instead of address and length.  Escape some
characters if a GNU response file is used.
Invoke Write_RF to write into the response file.  Delete the file only
if the link was successful.  Do not warn if it cannot be deleted.

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

11 years ago2012-05-25 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
ramana [Fri, 25 May 2012 09:57:57 +0000 (09:57 +0000)]
2012-05-25  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

Backport from mainline
        2012-03-12  Richard Guenther  <rguenther@suse.de>
* config/arm/arm.c (neon_dereference_pointer): Do not call
covert during RTL expansion.

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

11 years agoDaily bump.
gccadmin [Fri, 25 May 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@187864 138bc75d-0d04-0410-961f-82ee72b054a4

11 years agoruntime: Make runtime.Stack actually work.
ian [Thu, 24 May 2012 21:07:30 +0000 (21:07 +0000)]
runtime: Make runtime.Stack actually work.

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

11 years agoruntime: Correct definition of __go_file_line to match declaration.
ian [Thu, 24 May 2012 20:47:20 +0000 (20:47 +0000)]
runtime: Correct definition of __go_file_line to match declaration.

From Rainer Orth.

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

11 years agoruntime: Copy runtime_printf from other Go library.
ian [Thu, 24 May 2012 20:45:16 +0000 (20:45 +0000)]
runtime: Copy runtime_printf from other Go library.

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

11 years ago libgcc/
hainque [Thu, 24 May 2012 14:59:38 +0000 (14:59 +0000)]
    libgcc/
        * Makefile.in: Move dependency on install-unwind_h from
        "install-leaf" to "install".

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

11 years ago2012-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Thu, 24 May 2012 13:54:16 +0000 (13:54 +0000)]
2012-05-24  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
        2012-05-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/53385
* config/rs6000/rs6000.c (print_operand): Revise code that unsafely
relied on signed overflow behavior.

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

11 years ago2012-05-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 May 2012 12:50:15 +0000 (12:50 +0000)]
2012-05-24  Richard Guenther  <rguenther@suse.de>

PR middle-end/53460
* tree-profile.c (tree_profiling): Cleanup the CFG if
execute_fixup_cfg requests it.

* g++.dg/tree-prof/pr53460.C: New testcase.

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

11 years ago PR tree-optimization/53465
jakub [Thu, 24 May 2012 11:53:29 +0000 (11:53 +0000)]
PR tree-optimization/53465
* tree-vrp.c (extract_range_from_cond_expr): First copy_value_range
vr0 into *vr, then vrp_meet that.
(vrp_meet): If one vr type is VR_UNDEFINED, ensure the result doesn't
have any equivalences.
(vrp_visit_phi_node): Call copy_value_range instead of vrp_meet the
first time.

* gcc.c-torture/execute/pr53465.c: New test.

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

11 years agoDaily bump.
gccadmin [Thu, 24 May 2012 00:18:19 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago * gimple.c (gimple_types_compatible_p_1) <ARRAY_TYPE>: Remove bogus
ebotcazou [Wed, 23 May 2012 19:09:04 +0000 (19:09 +0000)]
* gimple.c (gimple_types_compatible_p_1) <ARRAY_TYPE>: Remove bogus
size handling.
(gimple_canonical_types_compatible_p) <ARRAY_TYPE>: Likewise.
(iterative_hash_gimple_type): Adjust comment.
(iterative_hash_canonical_type): Likewise.  Hash the bounds of the
domain for an array type instead of the domain type itself.

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

11 years ago2012-05-23 Tobias Burnus <burnus@net-b.de>
burnus [Wed, 23 May 2012 19:08:52 +0000 (19:08 +0000)]
2012-05-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53389
        * trans-array.c (gfc_add_loop_ss_code): Don't evaluate
        * expression, if
        ss->is_alloc_lhs is set.

2012-05-23  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53389
        * gfortran.dg/realloc_on_assign_15.f90: New.

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

11 years ago Backport from 2012-05-23 mainline r187803
gjl [Wed, 23 May 2012 15:28:05 +0000 (15:28 +0000)]
Backport from 2012-05-23 mainline r187803
PR target/53448
* config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1.
* config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use
ASM_OUTPUT_ALIGN.

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

11 years agoGenerate fma3 instructions by default for 'march=native' in AMD processors that suppo...
vekumar [Wed, 23 May 2012 08:25:38 +0000 (08:25 +0000)]
Generate fma3 instructions by default for 'march=native' in AMD processors that support both fma3 and fma4

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

11 years agoDaily bump.
gccadmin [Wed, 23 May 2012 00:18:16 +0000 (00:18 +0000)]
Daily bump.

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

11 years agoruntime: Tweak runtime.Callers for Go 1 compatibility.
ian [Tue, 22 May 2012 21:53:14 +0000 (21:53 +0000)]
runtime: Tweak runtime.Callers for Go 1 compatibility.

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

11 years agoruntime: Use getcontext, not setjmp, to save regs for GC.
ian [Tue, 22 May 2012 16:57:35 +0000 (16:57 +0000)]
runtime: Use getcontext, not setjmp, to save regs for GC.

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

11 years ago2012-05-22 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 22 May 2012 10:46:21 +0000 (10:46 +0000)]
2012-05-22  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/53408
* tree-vect-loop.c (vectorizable_induction): Properly check
the restriction that we cannot handle induction results from
the inner loop outside of the outer loop.

* gcc.dg/torture/pr53408.c: New testcase.

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

11 years ago2012-05-22 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 22 May 2012 09:28:38 +0000 (09:28 +0000)]
2012-05-22  Richard Guenther  <rguenther@suse.de>

PR middle-end/51071
* gcc.dg/torture/pr51071-2.c: New testcase.

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

11 years agoDaily bump.
gccadmin [Tue, 22 May 2012 00:18:21 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR tree-optimization/53436
jakub [Mon, 21 May 2012 21:06:13 +0000 (21:06 +0000)]
PR tree-optimization/53436
* omp-low.c (omp_build_component_ref): New function.
(build_receiver_ref, build_sender_ref, create_task_copyfn): Use it.

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

11 years ago PR tree-optimization/53366
jakub [Mon, 21 May 2012 21:03:42 +0000 (21:03 +0000)]
PR tree-optimization/53366
* tree-vect-slp.c (vect_supported_load_permutation_p): Don't shortcut
tests if complex_numbers == 2, but there are non-complex number loads
too.

* gcc.dg/torture/pr53366-1.c: New test.
* gcc.dg/torture/pr53366-2.c: New test.
* gcc.target/i386/pr53366-1.c: New test.
* gcc.target/i386/pr53366-2.c: New test.

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

11 years ago PR tree-optimization/53409
jakub [Mon, 21 May 2012 21:02:40 +0000 (21:02 +0000)]
PR tree-optimization/53409
* tree-vect-loop.c (vect_analyze_loop_operations): Don't check
vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop.

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

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

11 years ago PR tree-optimization/53410
jakub [Mon, 21 May 2012 21:00:43 +0000 (21:00 +0000)]
PR tree-optimization/53410
* fold-const.c (fold_binary_loc): Use build_zero_cst (type)
instead of build_int_cst (type, 0) where vector types might be
involved.

* gcc.c-torture/compile/pr53410-1.c: New test.
* gcc.c-torture/compile/pr53410-2.c: New test.

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

11 years agoRemove svn:mergeinfo property.
jakub [Mon, 21 May 2012 20:59:22 +0000 (20:59 +0000)]
Remove svn:mergeinfo property.

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

11 years ago2012-05-21 Andrew Pinski <apinski@cavium.com>
pinskia [Mon, 21 May 2012 19:02:11 +0000 (19:02 +0000)]
2012-05-21  Andrew Pinski  <apinski@cavium.com>

        PR bootstrap/53183
        * configure.ac: Define the default includes to being none.
        * configure: Regenerate.

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

11 years ago2012-05-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 21 May 2012 18:14:01 +0000 (18:14 +0000)]
2012-05-21  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/52700
* configure.ac: Allow gnu, gnu-versioned-namespace for
--enable-symvers arguments.
* configure: Regenerate.

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

11 years ago PR c/53418
jsm28 [Mon, 21 May 2012 16:47:32 +0000 (16:47 +0000)]
PR c/53418
* c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
from folded operands before wrapping another around the
conditional expression.

testsuite:
* gcc.c-torture/compile/pr53418-1.c,
gcc.c-torture/compile/pr53418-2.c: New tests.

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

11 years ago2012-05-21 Dave Boutcher <daveboutcher@gmail.com>
pmarlier [Mon, 21 May 2012 15:15:51 +0000 (15:15 +0000)]
2012-05-21  Dave Boutcher  <daveboutcher@gmail.com>
    Patrick Marlier  <patrick.marlier@gmail.com>

* trans-mem.c (ipa_tm_transform_clone): Transform functions with
indirect calls.

testsuite/
2012-05-21  Patrick Marlier  <patrick.marlier@gmail.com>

* gcc.dg/tm/indirect-2.c: New test.

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

11 years agoUse unspec_volatile on rdrand<mode>_1
hjl [Mon, 21 May 2012 13:07:11 +0000 (13:07 +0000)]
Use unspec_volatile on rdrand<mode>_1

gcc/

Backport from mainline
PR target/53416
* config/i386/i386.md (UNSPEC_RDRAND): Renamed to ...
(UNSPECV_RDRAND): This.
(rdrand<mode>_1): Updated.

gcc/testsuite/

Backport from mainline
PR target/53416
* gcc.target/i386/pr53416.c: New file.

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

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

11 years agoAdd RDRND, F16C and FSGSBASE support to -march=native
hjl [Sun, 20 May 2012 23:10:57 +0000 (23:10 +0000)]
Add RDRND, F16C and FSGSBASE support to -march=native

Backport from mainline
* config/i386/driver-i386.c (host_detect_local_cpu): Support
RDRND, F16C and FSGSBASE.

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

11 years ago * gcc-interface/utils.c (gnat_write_global_declarations): Put a name
ebotcazou [Sun, 20 May 2012 09:46:42 +0000 (09:46 +0000)]
* gcc-interface/utils.c (gnat_write_global_declarations): Put a name
on the dummy global variable.

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

11 years agoDaily bump.
gccadmin [Sun, 20 May 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@187687 138bc75d-0d04-0410-961f-82ee72b054a4

11 years ago Backport from mainline
ebotcazou [Sat, 19 May 2012 23:16:33 +0000 (23:16 +0000)]
Backport from mainline
2012-05-14  Eric Botcazou  <ebotcazou@adacore.com>

* tree-ssa-pre.c (can_value_number_call): Delete.
(compute_avail): Skip all statements with side effects.
<GIMPLE_CALL>: Skip calls to internal functions.

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

11 years ago2012-05-19 Eric Botcazou <ebotcazou@adacore.com>
ebotcazou [Sat, 19 May 2012 09:34:06 +0000 (09:34 +0000)]
2012-05-19  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.

Backport from mainline
2012-05-15  Javier Miranda  <miranda@adacore.com>

* exp_ch3.adb (Build_Offset_To_Top): Modify the
expansion of the offset_to_top functions to ensure that their
profile is conformant with the profile specified in Ada.Tags. No
change in functionality.

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