Ian Lance Taylor
af710874e9
re PR bootstrap/54732 (Installation failure: libbacktrace rebuilds upon install when built with "make bootstrap-lean")
...
PR bootstrap/54732
* configure.ac: Add no-dependencies to AM_INIT_AUTOMAKE.
* Makefile.am: Add dependencies for all objects.
* configure, aclocal.m4, Makefile.in: Rebuild.
From-SVN: r191819
2012-09-28 06:13:00 +00:00
GCC Administrator
694f741409
Daily bump.
...
From-SVN: r191816
2012-09-28 00:18:37 +00:00
Ian Lance Taylor
588f4f8fc1
re PR other/54726 (libbacktrace segfaults on gcc_asserts with stripped gcc)
...
PR other/54726
* elf.c (backtrace_initialize): Set *fileln_fn, not
state->fileln_fn.
From-SVN: r191811
2012-09-27 19:20:49 +00:00
Dehao Chen
2f13f2de1f
tree.h (tree_constructor): Remove IS_UNKNOWN_LOCATION.
...
2012-09-27 Dehao Chen <dehao@google.com>
* tree.h (tree_constructor): Remove IS_UNKNOWN_LOCATION.
(extern void protected_set_expr_location): Likewise.
(function_args_iter_next): Likewise.
(inlined_function_outer_scope_p): Likewise.
* input.h (IS_UNKNOWN_LOCATION): Likewise.
* fold-const.c (expr_location_or): Likewise.
* lto-cgraph.c (output_node_opt_summary): Likewise.
* dwarf2out.c (add_src_coords_attributes): Likewise.
* tree-eh.c (lower_try_finally_dup_block): Likewise.
* profile.c (branch_prob):
* cfgexpand.c (expand_gimple_cond): Likewise.
(expand_gimple_basic_block): Likewise.
(construct_exit_block): Likewise.
(gimple_expand_cfg): Likewise.
* cfgcleanup.c (try_forward_edges): Likewise.
* tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
(dump_scope_block): Likewise.
* ipa-prop.c (ipa_write_jump_function): Likewise.
* rtl.h (extern void rtl_check_failed_flag): Likewise.
* gimple.h (gimple_set_location): Likewise.
(gimple_has_location): Likewise.
* cfgrtl.c (unique_locus_on_edge_between_p): Likewise.
(force_nonfallthru_and_redirect): Likewise.
(fixup_reorder_chain): Likewise.
(cfg_layout_merge_blocks): Likewise.
From-SVN: r191810
2012-09-27 17:06:22 +00:00
Meador Inge
33adc2a325
gcc-ar.c (main): Handle the returning of the sub-process error code correctly.
...
2012-09-27 Meador Inge <meadori@codesourcery.com>
* gcc-ar.c (main): Handle the returning of the sub-process error
code correctly.
From-SVN: r191809
2012-09-27 16:05:38 +00:00
Janis Johnson
207f3d820a
* gcc.target/arm/unsigned-extend-1.c: Omit -march option.
...
From-SVN: r191808
2012-09-27 15:49:41 +00:00
Paolo Carlini
fb95b3dfae
re PR libstdc++/54727 (error: declaration of ‘UINT64_C’ must be available)
...
2012-09-27 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/54727
* config/cpu/i486/opt/bits/opt_random.h: Avoid UINT64_C.
From-SVN: r191806
2012-09-27 12:53:46 +00:00
Ulrich Weigand
c2c47e8ff4
lower-subreg.c (enum classify_move_insn): Rename SIMPLE_PSEUDO_REG_MOVE to DECOMPOSABLE_SIMPLE_MOVE.
...
ChangeLog:
* lower-subreg.c (enum classify_move_insn): Rename
SIMPLE_PSEUDO_REG_MOVE to DECOMPOSABLE_SIMPLE_MOVE.
(find_decomposable_subregs): Update.
(decompose_multiword_subregs): Add DECOMPOSE_COPIES parameter.
Only mark pseudo-to-pseudo copies as DECOMPOSABLE_SIMPLE_MOVE
if that parameter is true.
(rest_of_handle_lower_subreg): Call decompose_multiword_subregs
with DECOMPOSE_COPIES false.
(rest_of_handle_lower_subreg2): Call decompose_multiword_subregs
with DECOMPOSE_COPIES true.
testsuite/ChangeLog:
* gcc.dg/lower-subreg-1.c: Disable on arm-*-* targets.
From-SVN: r191805
2012-09-27 11:10:08 +00:00
Marek Polacek
9472dcecc7
Fix a typo in gcov.texi.
...
From-SVN: r191804
2012-09-27 11:06:38 +00:00
Jakub Jelinek
e1f10dd972
init.c (build_new_1): Don't test TREE_CONSTANT of INTEGER_CST.
...
* init.c (build_new_1): Don't test TREE_CONSTANT
of INTEGER_CST.
From-SVN: r191803
2012-09-27 13:01:17 +02:00
Jakub Jelinek
6b74529d9b
re PR target/54703 (_mm_sub_pd is incorrectly substituted with vandnps)
...
PR target/54703
* simplify-rtx.c (simplify_binary_operation_1): Perform
(x - (x & y)) -> (x & ~y) optimization only for integral
modes.
* gcc.target/i386/pr54703.c: New test.
From-SVN: r191801
2012-09-27 12:48:07 +02:00
Marc Glisse
e481cda684
re PR middle-end/53024 (Support vector_size that is not a power of 2)
...
2012-09-27 Marc Glisse <marc.glisse@inria.fr>
PR c/53024
PR c++/54427
* gcc/doc/extend.texi (Vector Extensions): C++ improvements.
Power of 2 size requirement.
From-SVN: r191800
2012-09-27 10:06:23 +00:00
Richard Guenther
e649d346e7
re PR lto/54709 (r191713 breaks Firefox build)
...
2012-09-27 Richard Guenther <rguenther@suse.de>
PR lto/54709
* lto-symtab.c (resolution_guessed_p): Remove.
(set_resolution_guessed): Likewise.
(lto_symtab_register_decl): Remove assert.
(lto_symtab_resolve_symbols): Do not alter symbol resolutions
and return the prevailing symbol, checking for multiple prevailing
symbols here.
(lto_symtab_merge_decls_1): Use the result from
lto_symtab_resolve_symbols. Do not alter symbol resolutions.
* gcc.dg/lto/pr54709_0.c: New testcase.
* gcc.dg/lto/pr54709_1.c: Likewise.
From-SVN: r191798
2012-09-27 09:11:18 +00:00
Ian Lance Taylor
a80f7a710e
compiler: Better error for missing comma in composite literal.
...
From-SVN: r191795
2012-09-27 05:41:29 +00:00
Ian Lance Taylor
e75d8ec9c0
Makefile.in (LIBBACKTRACE): New variable.
...
* gcc-interface/Makefile.in (LIBBACKTRACE): New variable.
(LIBS): Add $(LIBBACKTRACE).
(LIBDEPS): Add $(LIBBACKTRACE).
(TOOLS_LIBS): Add ../../../libbacktrace/.libs/libbacktrace.a.
From-SVN: r191793
2012-09-27 05:00:45 +00:00
Paolo Carlini
8054b82ee5
random: Add include checks for c++11 and <cstdint>.
...
2012-09-26 Paolo Carlini <paolo.carlini@oracle.com>
* include/ext/random: Add include checks for c++11 and <cstdint>.
From-SVN: r191792
2012-09-27 01:04:30 +00:00
GCC Administrator
238ccc1e5d
Daily bump.
...
From-SVN: r191791
2012-09-27 00:17:50 +00:00
Benjamin Kosnik
957ea7ba30
re PR libstdc++/54314 (undefined references to 'construction vtable for std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >')
...
2012-09-26 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/54314
* config/abi/pre/gnu.ver: Add vtable exports.
* config/abi/pre/gnu-versioned-namespace.ver: Same.
From-SVN: r191788
2012-09-27 00:05:03 +00:00
Benjamin Kosnik
3b7f9f50be
Correct truncation on last checkin.
...
From-SVN: r191787
2012-09-27 00:00:46 +00:00
Janis Johnson
95c01db1e9
* gcc.target/arm/div64-unwinding.c: XFAIL for GNU/Linux.
...
From-SVN: r191786
2012-09-26 23:57:31 +00:00
Janis Johnson
8fb9e4ae69
* gcc.target/arm/mmx-2.c: Specify -mcpu=iwmmxt.
...
From-SVN: r191785
2012-09-26 23:56:43 +00:00
Akira Takahashi
e80d3fda8e
re PR libstdc++/53515 (InputIterator version std::advance needs negative check)
...
2012-09-26 Akira Takahashi <faithandbrave@gmail.com>
PR libstdc++/53515
* include/bits/stl_iterator_base_funcs.h (__advance(_InputIterator&,
_Distance, input_iterator_tag)): Add _GLIBCXX_DEBUG_ASSERT(__n >= 0).
From-SVN: r191784
2012-09-26 23:56:39 +00:00
Janis Johnson
ef13e9de0c
* gcc.target/arm/combine-movs.c: Use effective target arm_thumb2.
...
From-SVN: r191783
2012-09-26 23:55:53 +00:00
Janis Johnson
c70bc52a66
* gcc.target/arm/pr42879.c: Handle big-endian.
...
From-SVN: r191782
2012-09-26 23:55:00 +00:00
Steve Ellcey
5f11ec71ca
re PR web/54711 (Fix --target_board examples on test.html page)
...
2012-09-26 Steve Ellcey <sellcey@mips.com>
PR web/54711
* doc/install.texi: Fix example.
From-SVN: r191781
2012-09-26 22:47:22 +00:00
Joern Rennecke
f3633f55aa
contrib-list.mk (LIST): Remove arm-freebsd6, arm-linux, arm-ecos-elf, arm-rtems, arm-elf and arm-wince-pe.
...
* contrib-list.mk (LIST): Remove arm-freebsd6, arm-linux,
arm-ecos-elf, arm-rtems, arm-elf and arm-wince-pe.
Use --enable-obsolete for picochip-elf.
From-SVN: r191780
2012-09-26 23:03:44 +01:00
Dehao Chen
6040bb5fd3
tree-ssa-live.c (clear_unused_block_pointer): Use explicitit (void) for function parameter.
...
2012-09-26 Dehao Chen <dehao@google.com>
* tree-ssa-live.c (clear_unused_block_pointer): Use explicitit (void)
for function parameter.
(remove_unused_locals): Don't use LOCATION_BLOCK if it is NULL.
From-SVN: r191779
2012-09-26 22:02:36 +00:00
Joseph Myers
9c7f5544cb
* sv.po: Update.
...
From-SVN: r191776
2012-09-26 22:47:46 +01:00
Joseph Myers
0526ab6a99
* sv.po: Update.
...
From-SVN: r191775
2012-09-26 22:47:28 +01:00
Oleg Endo
a104e60b67
extend.texi (bswap Builtins): Change signed types to unsigned types.
...
* doc/extend.texi (bswap Builtins): Change signed types to unsigned
types.
From-SVN: r191774
2012-09-26 20:51:20 +00:00
Steve Ellcey
db9f539414
re PR c/37303 (const compound initializers in structs are written to .data instead of .rodata)
...
2012-09-26 Steve Ellcey <sellcey@mips.com>
PR c/37303
* gcc.dg/pr37303.c: Check for rdata or rodata.
From-SVN: r191772
2012-09-26 20:33:28 +00:00
Ian Lance Taylor
a67a73fd0c
* diagnostic.c (bt_callback): Cast pc when calling fprintf.
...
From-SVN: r191766
2012-09-26 17:49:38 +00:00
Bill Schmidt
502514254f
re PR tree-optimization/54674 (ICE in build2_stat, at tree.c:3835)
...
2012-09-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR tree-optimization/54674
* gimple-ssa-strength-reduction.c (analyze_increments): Don't
introduce a multiplication with a pointer operand.
From-SVN: r191765
2012-09-26 16:49:32 +00:00
Georg-Johann Lay
5bfed9a91f
re PR middle-end/54635 (Add addr_space_t argument to TARGET_MODE_DEPENDENT_ADDRESS_P)
...
PR middle-end/54635
* doc/tm.texi.in (TARGET_MODE_DEPENDENT_ADDRESS_P): Document new
parameter addrspace.
* doc/tm.texi: Regenerate.
* target.def (mode_dependent_address_p): Add addr_space_t parameter.
* targhooks.h (default_mode_dependent_address_p): Ditto.
* targhooks.c (default_mode_dependent_address_p): Ditto.
* expr.c (convert_move): Pass address space to mode_dependent_address_p.
* combine.c (combine_simplify_rtx): Ditto.
(make_extraction): Ditto.
(simplify_shift_const_1): Ditto.
(gen_lowpart_for_combine): Ditto.
* lower-subreg.c (simple_move_operand): Ditto.
* recog.c (simplify_while_replacing): Ditto.
(offsettable_address_addr_space_p): Ditto.
(mode_dependent_address_p): Ditto.
* simplify-rtx.c (simplify_unary_operation_1): Ditto.
(simplify_subreg): Ditto.
* config/m68k/m68k.md: Ditto.
* config/vax/vax.md: Ditto.
* config/vax/constraints.md (Q): Ditto.
* config/vax/predicates.md (indexed_memory_operand): Ditto.
* config/alpha/alpha.c (alpha_mode_dependent_address_p): Add
unused addr_space_t parameter.
* config/avr/avr.c (avr_mode_dependent_address_p): Ditto.
* config/h8300/h8300.c (h8300_mode_dependent_address_p): Ditto.
* config/m32r/m32r.c (m32r_mode_dependent_address_p): Ditto.
* config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): Ditto.
* config/rx/rx.c (rx_mode_dependent_address_p): Ditto.
* config/sparc/sparc.c (sparc_mode_dependent_address_p): Ditto.
* config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
Ditto.
* config/vax/vax.c (vax_mode_dependent_address_p): Ditto.
* config/xtensa/xtensa.c (xtensa_mode_dependent_address_p): Ditto.
From-SVN: r191761
2012-09-26 13:46:29 +00:00
Christophe Lyon
1df855ce35
tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.
...
2012-09-26 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* tree-ssa-math-opts.c (bswap_stats): Add found_16bit field.
(execute_optimize_bswap): Add support for builtin_bswap16.
gcc/testsuite/
* gcc.target/arm/builtin-bswap16-1.c: New testcase.
From-SVN: r191760
2012-09-26 15:42:47 +02:00
Richard Guenther
eeca434ab6
tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
...
2012-09-26 Richard Guenther <rguenther@suse.de>
* tree.h (DECL_IS_BUILTIN): Compare LOCATION_LOCUS.
From-SVN: r191759
2012-09-26 13:16:07 +00:00
Ulrich Drepper
48c7b524c1
Optimize bulk mode for normal_distribution<double> for SSE3.
...
2012-09-26 Ulrich Drepper <drepper@gmail.com>
Optimize bulk mode for normal_distribution<double> for SSE3.
* configure.host: Define cpu_opt_bits_random.
* configure.ac: Substitute CPU_OPT_BITS_RANDOM.
* include/Makefile.am (bits_headers): Add ${bits_host_headers}.
(bits_host_headers): Define.
* include/bits/random.tcc: Move __details::_Power_of_2 to...
* include/bits/random.h: ...here.
* include/std/random: Include <bits/opt_random.h>.
* config/cpu/i486/opt/bits/opt_random.h: New file.
* config/cpu/generic/opt/bits/opt_random.h: New file.
* configure: Regenerated.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* doc/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* po/Makefile.in: Regenerated.
* python/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* src/c++11/Makefile.in: Regenerated.
* src/c++98/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* config/cpu/generic/opt/ext/opt_random.h: Fix comment.
From-SVN: r191758
2012-09-26 13:10:26 +00:00
Ian Lance Taylor
d83697f4f0
Makefile.def: Make all-gcc depend on all-libbacktrace.
...
./: * Makefile.def: Make all-gcc depend on all-libbacktrace.
* Makefile.in: Rebuild.
gcc/:
* diagnostic.c: Include "demangle.h" and "backtrace.h".
(bt_stop): New static array.
(bt_callback, bt_err_callback): New static functions.
(diagnostic_action_after_output): Call backtrace_full for DK_ICE.
* Makefile.in (BACKTRACE): New variable.
(BACKTRACEINC, LIBBACKTRACE): New variables.
(BACKTRACE_H): New variable.
(LIBDEPS, LIBS): Add $(LIBBACKTRACE).
(INCLUDES): Add $(BACKTRACEINC).
(diagnostic.o): Depend upon $(DEMANGLE_H) and $(BACKTRACE_H).
From-SVN: r191757
2012-09-26 12:38:08 +00:00
Segher Boessenkool
ba45a61315
re PR target/51274 (Starting with GCC 4.5, powerpc generated different code for x != 0.)
...
gcc/
PR target/51274
PR target/53087
* config/rs6000/rs6000.md (ne0si): Remove unnecessary
earlyclobber. Merge with...
(ne0di): ... to...
(ne0_<mode>): New.
(plus_ne0si): Merge with...
(plus_ne0di): ... to...
(plus_ne0_<mode>): New.
(compare_plus_ne0si): Merge with...
(compare_plus_ne0di)... to...
(compare_plus_ne0_<mode>): New.
(compare_plus_ne0_<mode>_1): New.
(plus_ne0si_compare): Merge with...
(plus_ne0di_compare)... to...
(plus_ne0_<mode>_compare): New.
gcc/testsuite/
PR target/51274
PR target/53087
* gcc.target/powerpc/ppc-ne0-1.c: New.
From-SVN: r191752
2012-09-26 07:18:43 +02:00
GCC Administrator
eecd08500a
Daily bump.
...
From-SVN: r191750
2012-09-26 00:17:45 +00:00
Dehao Chen
ec6e039992
re PR middle-end/54704 (three-fold increase in compile-time between r191483 and r191569)
...
libcpp:
2012-09-25 Dehao Chen <dehao@google.com>
PR middle-end/54704
* line-map.c (location_adhoc_data_hash): Fix the hash function.
From-SVN: r191747
2012-09-25 21:32:29 +00:00
Oleg Endo
780405350c
re PR target/54089 ([SH] Refactor shift patterns)
...
PR target/54089
* config/sh/constraints.md (Jhb): New constraint.
* config/sh/predicates.md (negt_reg_shl31_operand): New predicate.
* config/sh/sh.md (rotrsi3): New expander.
(rotrsi3_1, *rotrsi3_1, *rotlsi3_1): New insns.
(rotlsi3, rotlhi3): Use const_int_operand predicate instead of
immediate_operand and remove CONST_INT_P checks in expansion code.
(*rotcr): Cleanup variable usage. Handle preceding nott insn. Add
split with swapped operands.
(*rotcr_neg_t, *movt_msb, *negt_msb): New insns and splits.
PR target/54089
* gcc.target/sh/pr54089-1.c (test_15, test_16, test_17, test_18,
test_19, test_20, test_21, test_22, test_23): New functions.
* gcc.target/sh/pr54089-4.c: New.
* gcc.target/sh/pr54089-5.c: New.
* gcc.target/sh/pr54089-6.c: New.
* gcc.target/sh/pr54089-7.c: New.
From-SVN: r191743
2012-09-25 19:06:28 +00:00
Aldy Hernandez
91cad09b08
re PR middle-end/53850 (ICE: in expand_call_tm, at trans-mem.c:2289 with -fgnu-tm -O3)
...
PR middle-end/53850
* trans-mem.c (expand_call_tm): Handle late built built-ins.
From-SVN: r191742
2012-09-25 18:47:35 +00:00
Georg-Johann Lay
5139232eef
* Tippo
...
From-SVN: r191717
2012-09-25 16:24:24 +00:00
Georg-Johann Lay
b70c0a2de5
re PR other/54701 (double_int conversion breaks avr build)
...
PR other/54701
* config/avr/avr-log.c (avr_double_int_pop_digit): Reerite using
double_int::udivmod.
From-SVN: r191716
2012-09-25 16:19:43 +00:00
Georg-Johann Lay
b1bdc68d43
avr.c (avr_set_current_function): Check cfun->machine to be non-NULL.
...
* config/avr/avr.c (avr_set_current_function): Check cfun->machine
to be non-NULL.
From-SVN: r191715
2012-09-25 16:17:02 +00:00
Georg-Johann Lay
c24057756d
re PR target/54641 (Wrong warning flags for building avr-c.o, fails to build)
...
PR target/54641
* config/avr/t-avr: Use ALL_COMPILERFLAGS instead of ALL_CFLAGS
for sources compiled with COMPILER.
From-SVN: r191714
2012-09-25 16:02:20 +00:00
Richard Guenther
7e17f52deb
re PR lto/54625 (lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123)
...
2012-09-25 Richard Guenther <rguenther@suse.de>
PR lto/54625
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Do not merge
cgraph nodes for builtins.
* gcc.dg/lto/pr54702_0.c: New testcase.
* gcc.dg/lto/pr54702_1.c: Likewise.
* gcc.dg/lto/pr54625-1_0.c: Likewise.
* gcc.dg/lto/pr54625-1_1.C: Likewise.
* gcc.dg/lto/pr54625-2_0.c: Likewise.
* gcc.dg/lto/pr54625-2_1.C: Likewise.
From-SVN: r191713
2012-09-25 15:06:17 +00:00
Paolo Carlini
5677bc1fe9
re PR c++/54526 ([C++11] <:: is incorrectly treated as digraph <: followed by colon)
...
/cp
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54526
* parser.c (cp_parser_template_id): In C++11 mode simply accept
X<::A>.
/testsuite
2012-09-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54526
* g++.dg/cpp0x/parse2.C: New.
* g++.dg/parse/error11.C: Adjust.
* g++.dg/parse/error12.C: Likewise.
From-SVN: r191712
2012-09-25 14:44:52 +00:00
Joseph Myers
c985a8e929
* vi.po: Update.
...
From-SVN: r191709
2012-09-25 15:01:17 +01:00