]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
13 years agoDaily bump.
GCC Administrator [Sat, 10 Dec 2011 00:18:13 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r182182

13 years agoBackport 51469
Michael Meissner [Fri, 9 Dec 2011 19:11:01 +0000 (19:11 +0000)] 
Backport 51469

From-SVN: r182172

13 years agobackport: re PR tree-optimization/51466 (ICE in gimple_rhs_has_side_effects,)
Jakub Jelinek [Fri, 9 Dec 2011 11:32:35 +0000 (12:32 +0100)] 
backport: re PR tree-optimization/51466 (ICE in gimple_rhs_has_side_effects,)

Backport from mainline
2011-12-08  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/51466
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also copy
TREE_SIDE_EFFECTS.

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

2011-11-28  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/50078
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Copy over
TREE_THIS_VOLATILE also from the old to new lhs resp. rhs.

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

From-SVN: r182157

13 years agobackport: re PR target/51408 (Miscompilation in arm.md:*minmax_arithsi)
Kazu Hirata [Fri, 9 Dec 2011 01:27:01 +0000 (01:27 +0000)] 
backport: re PR target/51408 (Miscompilation in arm.md:*minmax_arithsi)

gcc/
Backport from mainline:

2011-12-05  Kazu Hirata  <kazu@codesourcery.com>

PR target/51408
* config/arm/arm.md (*minmax_arithsi): Always require the else
clause in the MINUS case.

testsuite/
Backport from mainline:

2011-12-05  Kazu Hirata  <kazu@codesourcery.com>

PR target/51408
* gcc.dg/pr51408.c: New.

From-SVN: r182149

13 years agoDaily bump.
GCC Administrator [Fri, 9 Dec 2011 00:18:03 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r182147

13 years agore PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the...
Toon Moene [Thu, 8 Dec 2011 20:58:23 +0000 (20:58 +0000)] 
re PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the requested constant.)

2011-12-08  Toon Moene  <toon@moene.org>

PR fortran/51310
* invoke.texi: Itemize the cases for which
-finit-<type>=<constant> doesn't work.

From-SVN: r182138

13 years agore PR fortran/51448 (Compiler crash when assigning floating point values of different...
Tobias Burnus [Thu, 8 Dec 2011 20:54:57 +0000 (21:54 +0100)] 
re PR fortran/51448 (Compiler crash when assigning floating point values of different kinds)

2011-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51448
        * fortran/trans-array.c (get_std_lbound): Fix handling of
        conversion functions.

2011-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51448
        * gfortran.dg/realloc_on_assign_8.f90: New.

From-SVN: r182137

13 years agomovdi-rex64.c: Remove unnecessary unused label.
Teresa Johnson [Thu, 8 Dec 2011 17:01:49 +0000 (17:01 +0000)] 
movdi-rex64.c: Remove unnecessary unused label.

        * gcc.target/i386/movdi-rex64.c: Remove unnecessary
        unused label.

From-SVN: r182124

13 years agomovdi-rex64.c: Remove unnecessary -Wwrite-strings option.
Teresa Johnson [Thu, 8 Dec 2011 16:45:58 +0000 (16:45 +0000)] 
movdi-rex64.c: Remove unnecessary -Wwrite-strings option.

        * gcc.target/i386/movdi-rex64.c: Remove unnecessary
        -Wwrite-strings option.

From-SVN: r182122

13 years agobackport: i386.md (*movdi_internal_rex64): Use "!o" constraint instead of "!m" for...
Teresa Johnson [Thu, 8 Dec 2011 15:44:14 +0000 (15:44 +0000)] 
backport: i386.md (*movdi_internal_rex64): Use "!o" constraint instead of "!m" for operand 0, alternative 4.

        Backport from mainline:

        2011-08-05  Uros Bizjak  <ubizjak@gmail.com>

        * config/i386/i386.md (*movdi_internal_rex64): Use "!o" constraint
        instead of "!m" for operand 0, alternative 4.
        (*movdf_internal_rex64): Ditto for operand 0, alernative 6.

        * gcc.target/i386/movdi-rex64.c: New.

From-SVN: r182120

13 years agobackport: re PR debug/51410 (duplicate variable DIE)
Jakub Jelinek [Thu, 8 Dec 2011 13:39:34 +0000 (14:39 +0100)] 
backport: re PR debug/51410 (duplicate variable DIE)

Backport from mainline
2011-12-05  Jakub Jelinek  <jakub@redhat.com>

PR debug/51410
* c-decl.c (pop_scope): Don't add DECL_EXTERNAL decls
for debug info if scope is file_scope.

* gcc.dg/debug/dwarf2/pr51410.c: New test.

From-SVN: r182114

13 years agobackport: re PR c/51339 (ICE: in convert_move, at expr.c:326 with -fopenmp and parall...
Jakub Jelinek [Thu, 8 Dec 2011 13:37:44 +0000 (14:37 +0100)] 
backport: re PR c/51339 (ICE: in convert_move, at expr.c:326 with -fopenmp and parallel for)

Backport from mainline
2011-12-05  Jakub Jelinek  <jakub@redhat.com>

PR c/51339
* c-decl.c (c_finish_incomplete_decl, finish_decl): Call
relayout_decl instead of layout_decl.

* gcc.dg/gomp/pr51339.c: New test.

From-SVN: r182113

13 years agobackport: re PR middle-end/51323 (g++ confuses this with function argument in optimiz...
Jakub Jelinek [Thu, 8 Dec 2011 13:36:40 +0000 (14:36 +0100)] 
backport: re PR middle-end/51323 (g++ confuses this with function argument in optimized call)

Backport from mainline
2011-12-05  Jakub Jelinek  <jakub@redhat.com>
    Eric Botcazou  <ebotcazou@adacore.com>

PR middle-end/51323
PR middle-end/50074
* calls.c (internal_arg_pointer_exp_state): New variable.
(internal_arg_pointer_based_exp_1,
internal_arg_pointer_exp_scan): New functions.
(internal_arg_pointer_based_exp): New function.
(mem_overlaps_already_clobbered_arg_p): Use it.
(expand_call): Free internal_arg_pointer_exp_state.cache vector
and clear internal_arg_pointer_exp_state.scan_start.

2011-11-26  Joern Rennecke  <joern.rennecke@embecosm.com>

PR middle-end/50074
* calls.c (mem_overlaps_already_clobbered_arg_p):
Return false if no outgoing arguments have been stored so far.

2011-12-05  Jakub Jelinek  <jakub@redhat.com>
    Eric Botcazou  <ebotcazou@adacore.com>

PR middle-end/51323
PR middle-end/50074
* gcc.c-torture/execute/pr51323.c: New test.

From-SVN: r182112

13 years agobackport: re PR rtl-optimization/48721 (ICE: verify_flow_info failed: missing barrier...
Jakub Jelinek [Thu, 8 Dec 2011 13:33:58 +0000 (14:33 +0100)] 
backport: re PR rtl-optimization/48721 (ICE: verify_flow_info failed: missing barrier after block 6 with -foptimize-sibling-calls -fsched2-use-superblocks)

Backport from mainline
2011-11-30  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/48721
* sched-deps.c (sched_analyze_insn): For SIBLING_CALL_P set
reg_pending_barrier to TRUE_BARRIER.

* gcc.target/i386/pr48721.c: New test.

From-SVN: r182111

13 years agoFix date
Eric Botcazou [Thu, 8 Dec 2011 09:13:04 +0000 (09:13 +0000)] 
Fix date

From-SVN: r182104

13 years agore PR tree-optimization/51315 (unaligned memory accesses generated with -ftree-sra)
Eric Botcazou [Thu, 8 Dec 2011 09:12:12 +0000 (09:12 +0000)] 
re PR tree-optimization/51315 (unaligned memory accesses generated with -ftree-sra)

PR tree-optimization/51315
* tree-sra.c (tree_non_mode_aligned_mem_p): Rename to...
(tree_non_aligned_mem_p): ...this.  Add ALIGN parameter.  Look into
MEM_REFs and use get_object_or_type_alignment for them.
(build_accesses_from_assign): Adjust for above change.
(access_precludes_ipa_sra_p): Likewise.
ada/
Backport from mainline
2011-09-25  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not promote
the alignment if this doesn't prevent BLKmode access to the object.

From-SVN: r182103

13 years agoDaily bump.
GCC Administrator [Thu, 8 Dec 2011 00:18:31 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r182095

13 years agoDaily bump.
GCC Administrator [Wed, 7 Dec 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r182071

13 years agore PR fortran/51435 (Bad association status after null() of derived type component)
Tobias Burnus [Tue, 6 Dec 2011 19:26:44 +0000 (20:26 +0100)] 
re PR fortran/51435 (Bad association status after null() of derived type component)

2011-12-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51435
        * expr.c (gfc_has_default_initializer): Fix handling of
        DT with initialized pointer components.

2011-12-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51435
        * gfortran.dg/default_initialization_5.f90: New.

From-SVN: r182062

13 years agore PR tree-optimization/50622 (ICE: verify_gimple failed for std::complex<double>)
Martin Jambor [Tue, 6 Dec 2011 17:16:19 +0000 (18:16 +0100)] 
re PR tree-optimization/50622 (ICE: verify_gimple failed for std::complex<double>)

2011-12-06  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/50622
* tree-sra.c (load_assign_lhs_subreplacements): Force gimple operand
if both lacc and racc are grp_partial_lhs.

* testsuite/g++.dg/tree-ssa/pr50622.C: New test.

From-SVN: r182057

13 years agors6000.c (darwin_rs6000_override_options): Initialize rs6000_current_abi.
Iain Sandoe [Tue, 6 Dec 2011 12:25:51 +0000 (12:25 +0000)] 
rs6000.c (darwin_rs6000_override_options): Initialize rs6000_current_abi.

gcc:

* config/rs6000/rs6000.c (darwin_rs6000_override_options): Initialize
rs6000_current_abi.

From-SVN: r182046

13 years agore PR target/50906 (e500 exception unwinding under "-Os" causes SIGSEGV)
Alan Modra [Tue, 6 Dec 2011 03:47:37 +0000 (14:17 +1030)] 
re PR target/50906 (e500 exception unwinding under "-Os" causes SIGSEGV)

PR target/50906
* config/rs6000/rs6000.c (rs6000_emit_prologue <TARGET_SPE_ABI>):
Do not mark r11 setup as frame-related.  Pass correct offset to
rs6000_emit_savres_rtx.  Correct out-of-line rs6000_frame_related
arguments.  Correct sp_offset.  Remove "offset" fudge from
in-line rs6000_frame_related call.  Rename misleading variable.
Fix comments and whitespace.  Tidy some expressions.
(rs6000_emit_epilogue <TARGET_SPE_ABI>): Always set frame_reg_rtx
to r11 in out-of-line case.  Correct sp_offset.  Pass correct
offset to rs6000_emit_savres_rtx.  Rename misleading variable.
Fix comments and whitespace.  Tidy some expressions.
(rs6000_emit_epilogue <non-TARGET_SPE_ABI>): Add sp_offset
adjustment when !saving_GPRs_inline.  Correct register mode
used in address calcs.
(rs6000_emit_epilogue <non-TARGET_SPE_ABI>): Similarly when
!restoring_GPRs_inline.

From-SVN: r182040

13 years agoDaily bump.
GCC Administrator [Tue, 6 Dec 2011 00:18:14 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r182036

13 years agoDaily bump.
GCC Administrator [Mon, 5 Dec 2011 00:18:30 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181998

13 years agore PR target/51393 (Wrong parameter type for _mm256_insert_epi64 in avxintrin.h)
Uros Bizjak [Sun, 4 Dec 2011 13:23:48 +0000 (14:23 +0100)] 
re PR target/51393 (Wrong parameter type for _mm256_insert_epi64 in avxintrin.h)

PR target/51393
* config/i386/avxintrin.h (_mm256_insert_epi64): Declare second
parameter as long long.

testsuite/ChangeLog:

PR target/51393
* gcc.target/i386/pr51393.c: New test.

From-SVN: r181988

13 years agoDaily bump.
GCC Administrator [Sun, 4 Dec 2011 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181978

13 years agore PR fortran/50684 (Incorrect error for move_alloc on element inside intent(in)...
Tobias Burnus [Sat, 3 Dec 2011 12:57:38 +0000 (13:57 +0100)] 
re PR fortran/50684 (Incorrect error for move_alloc on element inside intent(in) pointer)

2011-12-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50684
        * check.c (variable_check): Fix intent(in) check.

2011-12-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50684
        * gfortran.dg/move_alloc_8.f90: New.

From-SVN: r181969

13 years agoDaily bump.
GCC Administrator [Sat, 3 Dec 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181958

13 years agore PR target/51002 (SP_H register is used even on targets that do not have it (eg...
Georg-Johann Lay [Fri, 2 Dec 2011 19:14:15 +0000 (19:14 +0000)] 
re PR target/51002 (SP_H register is used even on targets that do not have it (eg attiny26))

PR target/51002
PR target/51345
* config/avr/libgcc.S (__prologue_saves__, __epilogue_restores__):
Enclose parts using __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).
Add FIXME comments.
* config/avr/avr.md (movhi_sp_r_irq_off, movhi_sp_r_irq_on): Set
insn condition to !AVR_HAVE_8BIT_SP.
* config/avr/avr.c (output_movhi): "clr%B0" instead of "in
%B0,__SP_H__" if AVR_HAVE_8BIT_SP.
(avr_file_start): Only print "__SP_H__ = 0x3e" if !AVR_HAVE_8BIT_SP.
* config/avr/avr-devices.c (avr_mcu_types): ATtiny4313 and
AT86RF401 have a 16-bit SP (their manual is bogus).

From-SVN: r181936

13 years agoDaily bump.
GCC Administrator [Fri, 2 Dec 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181900

13 years agoDaily bump.
GCC Administrator [Thu, 1 Dec 2011 00:18:32 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181866

13 years agoDaily bump.
GCC Administrator [Wed, 30 Nov 2011 00:18:45 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181828

13 years agoconfig.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
Andreas Tobler [Tue, 29 Nov 2011 20:13:15 +0000 (21:13 +0100)] 
config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.

2011-11-29  Andreas Tobler  <andreast@fgznet.ch>

* config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
(libname_spec): Likewise.
* configure: Regenerate with autoconf -I ../../.

From-SVN: r181817

13 years agoDaily bump.
GCC Administrator [Tue, 29 Nov 2011 00:18:26 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181792

13 years agoDaily bump.
GCC Administrator [Mon, 28 Nov 2011 00:18:50 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181769

13 years agoDaily bump.
GCC Administrator [Sun, 27 Nov 2011 00:18:08 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181753

13 years agoDaily bump.
GCC Administrator [Sat, 26 Nov 2011 00:17:49 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181734

13 years agore PR fortran/50408 (ICE in transfer_expr)
Tobias Burnus [Fri, 25 Nov 2011 17:18:05 +0000 (18:18 +0100)] 
re PR fortran/50408 (ICE in transfer_expr)

2011-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50408
        * trans-decl.c (gfc_get_module_backend_decl): Also copy
        ts.u.derived from the gsym if the ts.type is BT_CLASS.
        (gfc_get_extern_function_decl): Copy also the backend_decl
        for the symbol's ts.u.{derived,cl} from the gsym.
        * trans-types.c (gfc_copy_dt_decls_ifequal): Directly
        return if "from" and "to" are the same.

2011-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/50408
        * gfortran.dg/whole_file_35.f90: New.

From-SVN: r181726

13 years agobackport: re PR debug/48190 ([regression?] Huge memory use while compiling qemu-0...
Richard Sandiford [Fri, 25 Nov 2011 10:41:17 +0000 (10:41 +0000)] 
backport: re PR debug/48190 ([regression?] Huge memory use while compiling qemu-0.4.0)

gcc/
Backport from mainline:

2011-03-29  Richard Sandiford  <richard.sandiford@linaro.org>

PR debug/48190
* dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced.
(cached_dw_loc_list_def): New structure.
(cached_dw_loc_list): New typedef.
(cached_dw_loc_list_table): New variable.
(cached_dw_loc_list_table_hash): New function.
(cached_dw_loc_list_table_eq): Likewise.
(add_location_or_const_value_attribute): Take a bool cache_p.
Cache the list when the parameter is true.
(gen_formal_parameter_die): Update caller.
(gen_variable_die): Likewise.
(dwarf2out_finish): Likewise.
(dwarf2out_abstract_function): Nullify cached_dw_loc_list_table
while generating debug info for the decl.
(dwarf2out_function_decl): Clear cached_dw_loc_list_table.
(dwarf2out_init): Initialize cached_dw_loc_list_table.
(resolve_addr): Cache the result of resolving a chain of
location lists.

From-SVN: r181716

13 years agore PR target/51287 (252.eon compfail with -march=atom)
Enkovich Ilya [Fri, 25 Nov 2011 10:29:42 +0000 (10:29 +0000)] 
re PR target/51287 (252.eon compfail with -march=atom)

2011-11-24  Enkovich Ilya  <ilya.enkovich@intel.com>

       PR target/51287
       * i386.c (distance_non_agu_define): Fix insn attr check.

From-SVN: r181714

13 years agoDaily bump.
GCC Administrator [Fri, 25 Nov 2011 00:18:30 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181705

13 years agore PR fortran/51218 (Potential optimization bug due to implicit_pure?)
Tobias Burnus [Thu, 24 Nov 2011 20:44:28 +0000 (21:44 +0100)] 
re PR fortran/51218 (Potential optimization bug due to implicit_pure?)

2011-11-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51218
        * resolve.c (pure_subroutine): If called subroutine is
        impure, unset implicit_pure.
        (resolve_function): Move impure check to simplify code.

2011-11-24  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51218
        * gfortran.dg/implicit_pure_1.f90: New.

From-SVN: r181699

13 years agore PR bootstrap/50888 (Bootstrap failure in libjava against latest git glibc)
Jakub Jelinek [Thu, 24 Nov 2011 07:21:39 +0000 (08:21 +0100)] 
re PR bootstrap/50888 (Bootstrap failure in libjava against latest git glibc)

PR bootstrap/50888
* prims.cc: Don't include ctype.h.
(c_isspace): Define.
(next_property_key, next_property_value): Use it instead
of isspace.

From-SVN: r181686

13 years agoDaily bump.
GCC Administrator [Thu, 24 Nov 2011 00:17:58 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181682

13 years ago* config.host (*-*-freebsd[12], *-*-freebsd[12].*,
Gerald Pfeifer [Wed, 23 Nov 2011 22:15:54 +0000 (22:15 +0000)] 
* config.host (*-*-freebsd[12], *-*-freebsd[12].*,

*-*-freebsd*aout*): Remove.

From-SVN: r181679

13 years agoupdate_web_docs_svn: Make $DOCSDIR group writable after creating it.
Gerald Pfeifer [Wed, 23 Nov 2011 21:24:48 +0000 (21:24 +0000)] 
update_web_docs_svn: Make $DOCSDIR group writable after creating it.

* update_web_docs_svn: Make $DOCSDIR group writable after
creating it.

From-SVN: r181678

13 years agoDaily bump.
GCC Administrator [Wed, 23 Nov 2011 00:17:26 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181647

13 years agore PR c++/51265 (ICE in finish_decltype_type, at cp/semantics.c:5244)
Paolo Carlini [Tue, 22 Nov 2011 21:37:24 +0000 (21:37 +0000)] 
re PR c++/51265 (ICE in finish_decltype_type, at cp/semantics.c:5244)

/cp
2011-11-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51265
* semantics.c (finish_decltype_type): Handle PTRMEM_CST.

/testsuite
2011-11-22  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51265
* g++.dg/cpp0x/decltype36.C: New.

From-SVN: r181641

13 years agoDaily bump.
GCC Administrator [Tue, 22 Nov 2011 00:18:22 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181605

13 years agobackport: re PR target/50678 (FAIL: c52104y on x86_64-apple-darwin10)
Iain Sandoe [Mon, 21 Nov 2011 09:04:08 +0000 (09:04 +0000)] 
backport: re PR target/50678 (FAIL: c52104y on x86_64-apple-darwin10)

gcc/ada:

Backport from mainline r181474
PR target/50678
* init.c (__gnat_error_handler) [Darwin]: Move work-around to the
bug filed as radar #10302855 from __gnat_error_handler ...
... to (__gnat_adjust_context_for_raise) [Darwin]: New.
(HAVE_GNAT_ADJUST_CONTEXT_FOR_RAISE) [Darwin]: Define.
(__gnat_error_handler) [Darwin]: Use __gnat_adjust_context_for_raise.

From-SVN: r181553

13 years agoDaily bump.
GCC Administrator [Mon, 21 Nov 2011 00:18:13 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181542

13 years agoAdditional fixes for FreeBSD-10 build:
Andreas Tobler [Sun, 20 Nov 2011 21:24:07 +0000 (22:24 +0100)] 
Additional fixes for FreeBSD-10 build:

2011-11-20  Andreas Tobler  <andreast@fgznet.ch>

Additional fixes for FreeBSD-10 build:

/: * libtool.m4: Additional FreeBSD 10 fixes.

boehm-gc/: * configure: Regenerate.
gcc/: * configure: Regenerate.
libffi/: * configure: Regenerate.
libgfortran/: * configure: Regenerate.
libgomp/: * configure: Regenerate.
libjava/: * configure.ac: Fix some more FreeBSD 10 issues..
* configure: Regenerate.
libjava/libltdl/: * acinclude.m4: Additional FreeBSD 10 fixes.
* configure: Regenerate.
libmudflap/: * configure: Regenerate.
libobjc/: * configure: Regenerate.
libquadmath/: * configure: Regenerate.
libssp/: * configure: Regenerate.
libstdc++-v3/: * configure: Regenerate.
lto-plugin/: * configure: Regenerate.
zlib/: * configure: Regenerate.

From-SVN: r181536

13 years agoDaily bump.
GCC Administrator [Sun, 20 Nov 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181520

13 years agore PR rtl-optimization/51187 (miscompilation of genrecog.c at -O2 for --target=avr)
Eric Botcazou [Sat, 19 Nov 2011 20:39:10 +0000 (20:39 +0000)] 
re PR rtl-optimization/51187 (miscompilation of genrecog.c at -O2 for --target=avr)

PR rtl-optimization/51187
* reorg.c (relax_delay_slots): Do not consider a jump useless if there
is a barrier between the jump and its target label.

From-SVN: r181514

13 years agore PR target/50493 (ICE in neon_disambiguate_copy, at config/arm/arm.c:20388)
Richard Earnshaw [Sat, 19 Nov 2011 16:47:02 +0000 (16:47 +0000)] 
re PR target/50493 (ICE in neon_disambiguate_copy, at config/arm/arm.c:20388)

PR target/50493
* arm.c (neon_disambiguate_copy): Correctly handle partial overlap
of src and dest operands.

From-SVN: r181510

13 years agoDaily bump.
GCC Administrator [Sat, 19 Nov 2011 00:18:16 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181500

13 years ago* gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__.
Joseph Myers [Fri, 18 Nov 2011 22:28:06 +0000 (22:28 +0000)] 
* gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__.

From-SVN: r181497

13 years agore PR c++/51150 ([C++11][4.6/4.7 Regression] ICE when result of -> initializes const...
Paolo Carlini [Fri, 18 Nov 2011 15:51:41 +0000 (15:51 +0000)] 
re PR c++/51150 ([C++11][4.6/4.7 Regression] ICE when result of -> initializes const variable of different type)

/cp
2011-11-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51150
* pt.c (tsubst_copy_and_build): Handle FIX_TRUNC_EXPR.

/testsuite
2011-11-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51150
* g++.dg/cpp0x/pr51150.C: New.

From-SVN: r181479

13 years agore PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)
Tristan Gingold [Fri, 18 Nov 2011 11:46:58 +0000 (11:46 +0000)] 
re PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)

gcc/ada:

2011-11-18  Tristan Gingold  <gingold@adacore.com>
    Iain Sandoe  <iains@gcc.gnu.org>

PR target/49992
* mlib-tgt-specific-darwin.adb (Archive_Indexer_Options): Remove.
* gcc-interface/Makefile.in (darwin): Remove ranlib special-casing
for Darwin.

Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
From-SVN: r181472

13 years agore PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)
Iain Sandoe [Fri, 18 Nov 2011 11:45:44 +0000 (11:45 +0000)] 
re PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)

toplevel:

PR target/49992
* configure.ac: Remove ranlib special-casing for Darwin.
* configure: Regenerate.
gcc:

PR target/49992
* configure.ac: Remove ranlib special-casing for Darwin.
* configure: Regenerate.

From-SVN: r181471

13 years agoDaily bump.
GCC Administrator [Fri, 18 Nov 2011 00:18:07 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181463

13 years agoDaily bump.
GCC Administrator [Thu, 17 Nov 2011 00:18:09 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181430

13 years agore PR libstdc++/51142 ([C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.)
Paolo Carlini [Wed, 16 Nov 2011 23:11:26 +0000 (23:11 +0000)] 
re PR libstdc++/51142 ([C++0x] map::erase(key) doesn't compile with -D_GLIBCXX_DEBUG.)

2011-11-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/51142
* include/debug/unordered_map (unordered_map<>::erase(iterator),
unordered_multimap<>::erase(iterator)): Add, consistently with
LWG 2059.
* include/debug/unordered_set (unordered_set<>::erase(iterator),
unordered_multiset<>::erase(iterator)): Likewise.
* include/debug/map.h (map<>::erase(iterator)): Likewise.
* include/debug/multimap.h (multimap<>::erase(iterator)): Likewise.
* include/profile/map.h (map<>::erase(iterator)): Likewise.
* include/profile/multimap.h (multimap<>::erase(iterator)): Likewise.
* include/bits/hashtable.h (_Hashtable<>::erase(iterator)): Likewise.
* include/bits/stl_map.h (map<>::erase(iterator)): Likewise.
* include/bits/stl_multimap.h (multimap<>::erase(iterator)): Likewise.
* include/bits/stl_tree.h (_Rb_tree<>::erase(iterator)): Likewise.
* testsuite/23_containers/unordered_map/erase/51142.cc: New.
* testsuite/23_containers/multimap/modifiers/erase/51142.cc: Likewise.
* testsuite/23_containers/set/modifiers/erase/51142.cc: Likewise.
* testsuite/23_containers/unordered_multimap/erase/51142.cc: Likewise.
* testsuite/23_containers/unordered_set/erase/51142.cc: Likewise.
* testsuite/23_containers/multiset/modifiers/erase/51142.cc: Likewise.
* testsuite/23_containers/unordered_multiset/erase/51142.cc: Likewise.
* testsuite/23_containers/map/modifiers/erase/51142.cc: Likewise.

From-SVN: r181427

13 years agore PR target/49641 (Wrong code for ARMv4T and stmia)
Richard Earnshaw [Wed, 16 Nov 2011 17:53:28 +0000 (17:53 +0000)] 
re PR target/49641 (Wrong code for ARMv4T and stmia)

2011-11-16  Richard Earnshaw  <rearnsha@arm.com>
    Bernd Schmidt <bernds@coudesourcery.com>
    Sebastian Huber <sebastian.huber@embedded-brains.de>

PR target/49641
* config/arm/arm.c (store_multiple_sequence): Avoid cases where
the base reg is stored iff compiling for Thumb1.

* gcc.target/arm/pr49641.c: New test.

Co-Authored-By: Bernd Schmidt <bernds@codesourcery.com>
Co-Authored-By: Sebastian Huber <sebastian.huber@embedded-brains.de>
From-SVN: r181418

13 years agoDaily bump.
GCC Administrator [Wed, 16 Nov 2011 00:18:08 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181398

13 years agore PR libstdc++/51133 (Incorrect implementation of std::tr1::hermite())
Jason Dick [Tue, 15 Nov 2011 10:49:20 +0000 (10:49 +0000)] 
re PR libstdc++/51133 (Incorrect implementation of std::tr1::hermite())

2011-11-15  Jason Dick  <dickphd@gmail.com>

PR libstdc++/51133
* include/tr1/poly_hermite.tcc (__poly_hermite_recursion): Fix
wrong sign in recursion relation.

From-SVN: r181382

13 years agoDaily bump.
GCC Administrator [Tue, 15 Nov 2011 00:18:13 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181375

13 years agoDaily bump.
GCC Administrator [Mon, 14 Nov 2011 00:18:15 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181344

13 years agobackport: Makefile.in (stamp-gnatlib-$(RTSDIR)): Don't link s-oscons.ads.
Iain Sandoe [Sun, 13 Nov 2011 14:25:58 +0000 (14:25 +0000)] 
backport: Makefile.in (stamp-gnatlib-$(RTSDIR)): Don't link s-oscons.ads.

ada:

Backport from mainline r181319
* gcc-interface/Makefile.in (stamp-gnatlib-$(RTSDIR)): Don't link
s-oscons.ads.
(OSCONS_CPP, OSCONS_EXTRACT): New.
(./bldtools/oscons/xoscons): New Target.
($(RTSDIR)/s-oscons.ads): New Target.
(gnatlib): Depend on  $(RTSDIR)/s-oscons.ads.
* Make-generated.in: Remove machinery to generate xoscons and
ada/s-oscons.ads.

libada:

Backport from mainline r181319
Makefile.in: Change dependency on oscons to depend on the generator
tool.

From-SVN: r181337

13 years agore PR target/48108 (lto should be containerized in a single mach-o section on darwin)
Iain Sandoe [Sun, 13 Nov 2011 13:58:43 +0000 (13:58 +0000)] 
re PR target/48108 (lto should be containerized in a single mach-o section on darwin)

gcc:

PR target/48108
Backport from mainline r180523
* config/darwin.c (top level): Amend comments concerning LTO output.
(lto_section_num): New variable.  (darwin_lto_section_e): New GTY.
(LTO_SECTS_SECTION, LTO_INDEX_SECTION): New.
(LTO_NAMES_SECTION): Rename.
(darwin_asm_named_section): Record LTO section counts and switches
in a vec of darwin_lto_section_e.
(darwin_file_start): Remove unused code.
(darwin_file_end): Put an LTO section termination label.  Handle
output of the wrapped LTO sections, index and names table.

libiberty:

PR target/48108
Backport from mainline r180523
* simple-object-mach-o.c  (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
GNU_WRAPPER_NAMES): New macros.
(simple_object_mach_o_segment): Handle wrapper scheme.
(simple_object_mach_o_write_section_header): Allow the segment name
to be supplied.
(simple_object_mach_o_write_segment): Handle wrapper scheme.  Ensure
that the top-level segment name in the load command is empty.
(simple_object_mach_o_write_to_file): Determine the number of
sections during segment output, use that in writing the header.

From-SVN: r181336

13 years agoDaily bump.
GCC Administrator [Sun, 13 Nov 2011 00:18:10 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181330

13 years agore PR target/45233 (FAIL: gcc.c-torture/compile/pr44707.c)
Iain Sandoe [Sat, 12 Nov 2011 14:14:43 +0000 (14:14 +0000)] 
re PR target/45233 (FAIL: gcc.c-torture/compile/pr44707.c)

gcc:

PR target/45233
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
Only expand a symbol ref. into an access when the entity is defined
in the TU.

From-SVN: r181316

13 years agobackport: re PR target/47997 (gcc on macosx: "ld: warning: -fwritable-strings not...
Iain Sandoe [Sat, 12 Nov 2011 14:04:58 +0000 (14:04 +0000)] 
backport: re PR target/47997 (gcc on macosx: "ld: warning: -fwritable-strings not compatible with literal CF/NSString")

gcc/objc:

Backport from mainline
2011-10-29  Iain Sandoe  <iains@gcc.gnu.org>

PR target/47997
* objc-act.c (objc_build_string_object): Remove redundant second
call to fix_string_type ().  Add a checking assert that we are,
indeed, passed a STRING_CST.

From-SVN: r181314

13 years agoobjc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective...
Iain Sandoe [Sat, 12 Nov 2011 13:57:55 +0000 (13:57 +0000)] 
objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality for Objective-C m32.

gcc/objc:

* objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality
for Objective-C m32.

From-SVN: r181313

13 years agoDaily bump.
GCC Administrator [Sat, 12 Nov 2011 00:17:39 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181305

13 years agoDaily bump.
GCC Administrator [Fri, 11 Nov 2011 00:18:16 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181277

13 years agore PR middle-end/51077 (Endless recursion with __builtin_object_size)
Jakub Jelinek [Thu, 10 Nov 2011 19:04:01 +0000 (20:04 +0100)] 
re PR middle-end/51077 (Endless recursion with __builtin_object_size)

PR middle-end/51077
* tree-object-size.c (addr_object_size): Check TREE_CODE of
MEM_REF's operand rather than code of the MEM_REF itself.

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

From-SVN: r181264

13 years agoDaily bump.
GCC Administrator [Thu, 10 Nov 2011 00:18:31 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181244

13 years agoDaily bump.
GCC Administrator [Wed, 9 Nov 2011 00:18:01 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181186

13 years agore PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and...
Jason Merrill [Tue, 8 Nov 2011 00:46:06 +0000 (19:46 -0500)] 
re PR c++/50870 ([C++0x] [4.6/4.7 Regression] ICE with decltype, operator->, and default template arguments)

PR c++/50870
* pt.c (tsubst_copy): Handle NAMESPACE_DECL.
(tsubst_copy_and_build) [COMPONENT_REF]: Handle a still-dependent
object.

From-SVN: r181140

13 years agoDaily bump.
GCC Administrator [Tue, 8 Nov 2011 00:18:22 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181137

13 years agore PR target/30282 (Optimization flag -O1 -fschedule-insns2 cause red zone to be...
Alan Modra [Mon, 7 Nov 2011 01:15:08 +0000 (11:45 +1030)] 
re PR target/30282 (Optimization flag -O1 -fschedule-insns2 cause red zone to be used when there is none)

PR target/30282
* config/rs6000/rs6000.c (rs6000_emit_stack_reset): Always emit
blockage for ABI_V4.

From-SVN: r181057

13 years agoDaily bump.
GCC Administrator [Mon, 7 Nov 2011 00:17:57 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r181052

13 years agoDaily bump.
GCC Administrator [Sun, 6 Nov 2011 00:18:02 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r181020

13 years agoDaily bump.
GCC Administrator [Sat, 5 Nov 2011 00:18:14 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180995

13 years agore PR c++/50608 (cannot apply 'offsetof' to a non-constant address)
Eric Botcazou [Fri, 4 Nov 2011 21:49:49 +0000 (21:49 +0000)] 
re PR c++/50608 (cannot apply 'offsetof' to a non-constant address)

2011-11-04  Eric Botcazou  <ebotcazou@adacore.com>

PR c++/50608
* c-parser.c (c_parser_postfix_expression) <RID_OFFSETOF>: Adjust call
to fold_offsetof.
* c-typeck.c (build_unary_op) <ADDR_EXPR>: Call fold_offsetof_1.
c-family/
* c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
(fold_offsetof_1): Make global.  Remove STOP_REF argument and adjust.
<INDIRECT_REF>: Return the argument.
<ARRAY_REF>: Remove special code for negative offset.
Call fold_build_pointer_plus instead of size_binop.
(fold_offsetof): Remove STOP_REF argument and adjust.
* c-common.h (fold_offsetof_1): Declare.
(fold_offsetof): Remove STOP_REF argument.
cp/
* semantics.c (finish_offsetof): Adjust call to fold_offsetof.
* typeck.c (cp_build_addr_expr_1): Call fold_offsetof_1.

From-SVN: r180988

13 years agore PR target/50979 (architecture mismatch: "mul32" not enabled for "smul" or "umul")
Eric Botcazou [Fri, 4 Nov 2011 17:38:29 +0000 (17:38 +0000)] 
re PR target/50979 (architecture mismatch: "mul32" not enabled for "smul" or "umul")

PR target/50979
* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=v8.

From-SVN: r180968

13 years agoDaily bump.
GCC Administrator [Fri, 4 Nov 2011 00:18:00 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180915

13 years agoi386.md (lround<X87MODEF:mode><SWI248x:mode>2, [...]): Use operands[N] instead of...
Uros Bizjak [Thu, 3 Nov 2011 20:05:09 +0000 (21:05 +0100)] 
i386.md (lround<X87MODEF:mode><SWI248x:mode>2, [...]): Use operands[N] instead of operandN.

* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2,
rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2,
btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN.

From-SVN: r180841

13 years agoDaily bump.
GCC Administrator [Thu, 3 Nov 2011 00:17:45 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r180809

13 years agore PR libstdc++/50880 (__complex_acosh() picks wrong complex branch)
Richard B. Kreckel [Wed, 2 Nov 2011 21:54:24 +0000 (21:54 +0000)] 
re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch)

2011-11-02  Richard B. Kreckel  <kreckel@ginac.de>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/50880
* include/std/complex (__complex_acosh): Fix in a better way,
use Kahan's formula.
* include/tr1/complex (__complex_acosh): Likewise.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r180804

13 years agore PR target/50945 (ICE on floating-point move with -msoft-float)
Eric Botcazou [Wed, 2 Nov 2011 20:07:26 +0000 (20:07 +0000)] 
re PR target/50945 (ICE on floating-point move with -msoft-float)

PR target/50945
* config/sparc/sparc.md (movsf_insn): Reindent constraints.
(movsf_insn_no_fpu): Likewise.
(movdf_insn_sp32): Likewise.
(movdf_insn_sp32_no_fpu): Likewise.
(movdf_insn_sp32_v9): Likewise.  Remove redundant GY constraint.
(movdf_insn_sp32_v9_no_fpu): Likewise.
(movdf_insn_sp64): Likewise.
(movdf_insn_sp64_no_fpu): Likewise.
(movtf_insn_sp32): Likewise.
(movtf_insn_sp32_no_fpu): Likewise.
(movtf_insn_sp64): Likewise.
(movtf_insn_sp64_hq): Likewise.
(movtf_insn_sp64_no_fpu): Likewise.

From-SVN: r180792

13 years agocfgcleanup.c (try_head_merge_bb): If get_condition returns NULL for a jump that is...
Bernd Schmidt [Wed, 2 Nov 2011 10:47:44 +0000 (10:47 +0000)] 
cfgcleanup.c (try_head_merge_bb): If get_condition returns NULL for a jump that is a cc0 insn...

gcc/
* cfgcleanup.c (try_head_merge_bb): If get_condition returns
NULL for a jump that is a cc0 insn, pick the previous insn for
move_before.

gcc/testsuite/
* gcc.c-torture/compile/20110907.c: New file.

From-SVN: r180766

13 years agoDaily bump.
GCC Administrator [Wed, 2 Nov 2011 00:18:04 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r180755

13 years agoi386.md (splitters for int-float conversion): Use SUBREG_REG on SUBREGs in splitter...
Uros Bizjak [Tue, 1 Nov 2011 22:59:36 +0000 (23:59 +0100)] 
i386.md (splitters for int-float conversion): Use SUBREG_REG on SUBREGs in splitter constraints.

* config/i386/i386.md (splitters for int-float conversion): Use
SUBREG_REG on SUBREGs in splitter constraints.

From-SVN: r180749

13 years agore PR rtl-optimization/47918 (noreturn discovery broke non local gotos on m68k and...
Julian Brown [Tue, 1 Nov 2011 18:38:42 +0000 (18:38 +0000)] 
re PR rtl-optimization/47918 (noreturn discovery broke non local gotos on m68k and i386)

PR rtl-optimization/47918

* reload1.c (set_initial_label_offsets): Use initial offsets
for labels on the nonlocal_goto_handler_labels chain.

From-SVN: r180740

13 years agoDaily bump.
GCC Administrator [Tue, 1 Nov 2011 00:17:50 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r180720

13 years agoDaily bump.
GCC Administrator [Mon, 31 Oct 2011 00:17:46 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r180693

13 years ago* ja.po: Update.
Joseph Myers [Sun, 30 Oct 2011 16:29:11 +0000 (16:29 +0000)] 
* ja.po: Update.

From-SVN: r180683

13 years agore PR c++/50901 (ICE: in build_new_op, at cp/call.c:5016)
Paolo Carlini [Sun, 30 Oct 2011 00:24:51 +0000 (00:24 +0000)] 
re PR c++/50901 (ICE: in build_new_op, at cp/call.c:5016)

/cp
2011-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50901
* call.c (build_new_op_1): Handle ABS_EXPR together with the
other unary EXPR.

/testsuite
2011-10-29  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50901
* g++.dg/cpp0x/pr50901.C: New.

From-SVN: r180671