summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* * include/bits/memoryfwd.h: New. Centralize forward declarations.bkoz2013-03-0817-83/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/algorithmfwd.h: Consistent comments. * include/bits/localefwd.h: Same. * include/ext/vstring_fwd.h: Same. * include/parallel/algorithmfwd.h: Same. * include/parallel/numericfwd.h: Same. * include/std/iosfwd: Same. * include/bits/alloc_traits.h: Include memoryfwd.h, remove allocator forward decl. * include/ext/alloc_traits.h: Remove allocator forward decl. * include/bits/stl_construct.h: Same. * include/bits/stringfwd.h: Include memoryfwd.h, remove allocator forward decl. Consistent comments. * doc/doxygen/user.cfg.in (TEMPLATE_RELATIONS): To NO. * include/Makefile.am (bits_headers): Add memoryfwd.h. * include/Makefile.in: Regenerate. * configure: Same. e enter the commit message for your changes. Lines starting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196559 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-08 François Dumont <fdumont@gcc.gnu.org>fdumont2013-03-0812-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/vector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation when memory can be reused. * testsuite/23_containers/vector/allocator/minimal.cc: Insert elements to really challenge C++11 allocator integration. * testsuite/23_containers/vector/allocator/copy.cc: Likewise. * testsuite/23_containers/vector/allocator/copy_assign.cc: Likewise. * testsuite/23_containers/vector/allocator/move_assign.cc: Likewise. * testsuite/23_containers/vector/allocator/swap.cc: Likewise and swap vector back before checks on memory/personality mapping are performed. * testsuite/23_containers/forward_list/allocator/minimal.cc: Insert element to really challenge C++11 allocator integration. * testsuite/23_containers/forward_list/allocator/copy.cc: Likewise. * testsuite/23_containers/forward_list/allocator/copy_assign.cc: Likewise. * testsuite/23_containers/forward_list/allocator/move_assign.cc: Likewise. * testsuite/23_containers/forward_list/allocator/swap.cc: Likewise and swap forward_list back before checks on memory/personality mapping are performed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196557 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link againstjakub2013-03-082-2/+6
| | | | | | | libasan_preinit.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196554 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/52183jason2013-03-081-1/+1
| | | | | | Correct PR tag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196552 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/51884jason2013-03-083-0/+39
| | | | | | | * class.c (modify_all_vtables): Mangle the vtable name before entering dfs_walk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196551 138bc75d-0d04-0410-961f-82ee72b054a4
* * semantics.c (lambda_expr_this_capture): In unevaluated context,jason2013-03-083-0/+21
| | | | | | just return the nearest 'this'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196550 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/51494jason2013-03-086-17/+86
| | | | | | | | | | | | | PR c++/51884 PR c++/56222 * tree.c (maybe_dummy_object): Don't capture 'this'. * semantics.c (maybe_resolve_dummy): New. (finish_non_static_data_member): Use it. (finish_qualified_id_expr): Don't test is_dummy_object. * cp-tree.h: Declare maybe_resolve_dummy. * call.c (build_new_method_call_1): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196549 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/56567jason2013-03-083-0/+23
| | | | | | | * semantics.c (apply_deduced_return_type): Don't allow returning std::initializer_list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196548 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56478mpolacek2013-03-084-29/+99
| | | | | | | | | | * predict.c (is_comparison_with_loop_invariant_p): Change the type of loop_step to tree. (predict_loops): Adjust. (predict_iv_comparison): Perform the computations on double_ints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196547 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-08 Richard Biener <rguenther@suse.de>rguenth2013-03-083-1/+18
| | | | | | | | | | | PR tree-optimization/56570 * tree-cfg.c (verify_expr_location_1): Verify locations for DECL_DEBUG_EXPR. * tree-sra.c (create_access_replacement): Strip locations from DECL_DEBUG_EXPRs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196546 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c-torture/execute/builtins/builtins.exp: Add for mingwktietz2013-03-082-1/+5
| | | | | | | | targets linker option --allow-multiple-definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196545 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typoktietz2013-03-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196544 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-08 Richard Biener <rguenther@suse.de>rguenth2013-03-083-1/+9
| | | | | | | | | * tree-inline.c (expand_call_inline): Do not associate a BLOCK with the location in BLOCK_SOURCE_LOCATION. * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196542 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr14092-1.c: Mark intptr_t typedef to use extension.ktietz2013-03-0818-14/+52
| | | | | | | | | | | | | | | | | | | | | | | * gcc.dg/pr24683.c: Avoid warning about casting constant string. * gcc.dg/pr52549.c: Add LLP64 case. * gcc.dg/pr53701.c: Use for uintptr_t typedef __UINTPTR_TYPE__. * gcc.dg/pr56510.c: Adjust for LLP64 targets. * gcc.dg/torture/pr51071-2.c: Likewise. * gcc.dg/tree-ssa/vrp72.c: Likewise. * gcc.dg/tree-ssa/vrp73.c: Likewise. * gcc.dg/tree-ssa/vrp75.c: Likewise. * gcc.dg/torture/pr53922.c: Skike for mingw-targets. * gcc.dg/weak/weak-1.c: Likewise. * gcc.dg/weak/weak-2.c: Likewise. * gcc.dg/weak/weak-3.c: Likewise. * gcc.dg/weak/weak-4.c: Likewise. * gcc.dg/weak/weak-5.c: Likewise. * gcc.dg/weak/weak-15.c: Likewise. * gcc.dg/weak/weak-16.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196540 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-08 Richard Biener <rguenther@suse.de>rguenth2013-03-082-11/+17
| | | | | | | | | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location or block changes with -Og. Fix for location / block encoding changes and PHI arguments with locations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196539 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-c++-common/pr54486.c: Skip test for mingw-targets.ktietz2013-03-082-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196538 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/52123ebotcazou2013-03-082-4/+10
| | | | | | | | * seh_init.c (Raise_From_Signal_Handler): Declare as no-return. (__gnat_SEH_error_handler): Likewise. Remove final return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196536 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-07 Sriraman Tallam <tmsriram@google.com>tmsriram2013-03-082-0/+6
| | | | | | | | | | * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for sandybridge processors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196532 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-03-081-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196531 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/closures.c (is_emutramp_enabled [!FFI_MMAP_EXEC_EMUTRAMP_PAX]):davek2013-03-072-2/+9
| | | | | | | | Move default definition outside enclosing #if scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196527 138bc75d-0d04-0410-961f-82ee72b054a4
* * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INTsteven2013-03-072-17/+40
| | | | | | | | | | | | | | | for all counters. (struct output_info): Likewise. (register_overhead): Remove bad gcc_assert. (bitmap_find_bit): If there is only a single bitmap element, do not count a miss as a search. (print_statistics): Update for counter type changes. (dump_bitmap_statistics): Likewise. Print headers such that they are properly lined up with the printed counters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196525 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.jakub2013-03-0710-2/+116
| | | | | | | | | | | | | | | * config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise. * config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196523 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56559jakub2013-03-074-1/+25
| | | | | | | | | | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, check that it has only a single use. * gcc.dg/tree-ssa/reassoc-26.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196520 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/pr31490.c: Fix last change.schwab2013-03-072-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-07 Richard Biener <rguenther@suse.de>rguenth2013-03-072-9/+10
| | | | | | | | * doc/invoke.texi (fwhole-program): Discourage use in combination with -flto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196518 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libquadmath/55473jakub2013-03-072-0/+13
| | | | | | | * quadmath.h: Add 'extern "C"' block for C++ use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196517 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-03-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196516 138bc75d-0d04-0410-961f-82ee72b054a4
* /cppaolo2013-03-065-7/+21
| | | | | | | | | | | | | | | | | | 2013-03-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56534 * parser.c (cp_parser_elaborated_type_specifier): Don't call check_elaborated_type_specifier when TREE_CODE (decl) != TYPE_DECL. * decl.c (check_elaborated_type_specifier): Tidy. /testsuite 2013-03-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56534 * g++.dg/template/crash115.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196513 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def.jakub2013-03-062-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196512 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/56539jakub2013-03-064-3/+20
| | | | | | | | | | | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT instead of GSI_CONTINUE_LINKING as last argument to force_gimple_operand_gsi. * gcc.c-torture/compile/pr56539.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196511 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.dg/lto/20090914-2_0.c: Skip for mingw and cygwinktietz2013-03-065-4/+15
| | | | | | | | | | | targets. * gcc.dg/lto/20091013-1_1.c: Set x64-mingw as xfail. * gcc.dg/lto/20091013-1_2.c: Likewise. * gcc.dg/pr31490.c: Adjust for LLP64 targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196508 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/trans.c (Attribute_to_gnu): Abort instead of erroringebotcazou2013-03-062-7/+7
| | | | | | | out for an unimplemented attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196507 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/decl.c (gnat_to_gnu_field): Remove the wrapper aroundebotcazou2013-03-064-2/+43
| | | | | | | a misaligned integral type if a size is specified for the field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196506 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/trans.c (Raise_Error_to_gnu) <CE_Index_Check_Failed>:ebotcazou2013-03-065-1/+39
| | | | | | | Record the unpadded type of the index type on the RCI stack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196504 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/trans.c (emit_range_check): Assert that the range typeebotcazou2013-03-062-7/+16
| | | | | | | is a numerical type and remove useless local variables. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196500 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Addjakub2013-03-062-0/+6
| | | | | | | aarch64-cores.def. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196499 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/56548jakub2013-03-064-20/+48
| | | | | | | | | | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in promoted mode, convert the result back to the original mode. * gcc.dg/pr56548.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196498 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/56461jakub2013-03-064-8/+30
| | | | | | | | | | | | | | * internal.h (struct cpp_buffer): Add to_free field. (_cpp_pop_file_buffer): Add third argument. * files.c (_cpp_stack_file): Set buffer->to_free. (_cpp_pop_file_buffer): Add to_free argument. Free to_free if non-NULL, and if equal to file->buffer_start, also clear file->buffer{,_start,_valid}. * directives.c (_cpp_pop_buffer): Pass buffer->to_free to _cpp_pop_file_buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196497 138bc75d-0d04-0410-961f-82ee72b054a4
* thunk1.C bikesheddingjason2013-03-061-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196496 138bc75d-0d04-0410-961f-82ee72b054a4
* fix dg-skip-if in thunk1.Cjason2013-03-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196495 138bc75d-0d04-0410-961f-82ee72b054a4
* PR debug/53363jason2013-03-062-0/+8
| | | | | | * g++.dg/debug/dwarf2/thunk1.C: Skip on darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196493 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/56543jakub2013-03-064-1/+23
| | | | | | | | | * tree.c (strip_typedefs): Don't copy args if they are NULL. * g++.dg/template/typename20.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196491 138bc75d-0d04-0410-961f-82ee72b054a4
* Use thr_stksegment to determine Solaris stack basero2013-03-063-20/+68
| | | | | | | | | | | | | | | * os_dep.c [SOLARIS_STACKBOTTOM] (GC_solaris_stack_base): New function. [!BEOS && !AMIGA && !MSWIN32 && !MSWINCE && !OS2 && !NOSYS && !ECOS] (GC_get_stack_base): Use it. * include/private/gcconfig.h [SPARC && SUNOS5] (SOLARIS_STACKBOTTOM): Define. (STACKBOTTOM, HEURISTIC2): Remove. [I386 && SUNOS5] (SOLARIS_STACKBOTTOM): Define. (STACKBOTTOM): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196490 138bc75d-0d04-0410-961f-82ee72b054a4
* Filter out basever symbols on Solarisro2013-03-068-31/+23
| | | | | | | | | | | | | * scripts/extract_symvers.pl: Omit symbols bound to base versions. * scripts/extract_symvers.in: Likewise. * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate. * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196489 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-06 Richard Biener <rguenther@suse.de>rguenth2013-03-062-0/+26
| | | | | | | | | | | PR middle-end/56294 * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. (insert_updated_phi_nodes_compare_uids): New function. (update_ssa): Sort symbols_to_rename after UID before traversing it to insert PHI nodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-06 Richard Biener <rguenther@suse.de>rguenth2013-03-063-44/+51
| | | | | | | | | | | | | | | | | | | | | | PR middle-end/50494 * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. Revert 2013-02-13 Richard Biener <rguenther@suse.de> PR lto/50494 * varasm.c (output_constant_def_1): Get the decl representing the constant as argument. (output_constant_def): Wrap output_constant_def_1. (make_decl_rtl): Use output_constant_def_1 with the decl representing the constant. (build_constant_desc): Optionally re-use a decl already representing the constant. (tree_output_constant_def): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196487 138bc75d-0d04-0410-961f-82ee72b054a4
* contrib/burnus2013-03-065-28/+81
| | | | | | | | | | | | | | | | 2013-03-06 Tobias Burnus <burnus@net-b.de> * make-obstacks-texi.pl: New. libiberty/ 2013-03-06 Tobias Burnus <burnus@net-b.de> * libiberty.texi: Update comment, remove lowersections. * obstacks.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196486 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-03-06 Joey Ye <joey.ye@arm.com>jye22013-03-062-4/+61
| | | | | | | | | PR lto/50293 * gcc.c (convert_white_space): New function. (main): Handles white space in function name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196485 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/56529olegendo2013-03-066-8/+53
| | | | | | | | | | | | | | | | | | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy to SH_DIV_CALL_TABLE for TARGET_SH2. * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib list. * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, call-table options. PR target/56529 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to inclusion list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196484 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2013-03-061-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196483 138bc75d-0d04-0410-961f-82ee72b054a4