- 18 Nov, 2009 6 commits
-
-
gcc/ChangeLog: PR debug/41926 * tree-vect-loop.c (vect_loop_kill_debug_uses): New. (vect_transform_loop): Call it. gcc/testsuite/ChangeLog: PR debug/41926 * gcc.dg/vect/vect-debug-pr41926.c: New. From-SVN: r154281
Alexandre Oliva committed -
* tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of released SSA names. From-SVN: r154280
Alexandre Oliva committed -
PR debug/41888 PR debug/41886 * graphite-scop-detection.c (stmt_simple_for_scop_p): Debug stmts are ok. * graphite-sese-to-poly.c (graphite_stmt_p): Likewise. (try_generate_gimple_bb): Skip debug stmts when finding data refs. * sese.c (sese_build_liveouts_bb): Skip debug stmts. (sese_bad_liveouts_use): New. (sese_reset_debug_liveouts_bb): New. (sese_build_liveouts): Use it. (rename_variables_in_stmt): Reset debug stmts rather than creating new vars for them. (expand_scalar_variable_stmt): Likewise. From-SVN: r154279
Alexandre Oliva committed -
* df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns. (df_ref_remove): Likewise. From-SVN: r154278
Alexandre Oliva committed -
From-SVN: r154277
Alexandre Oliva committed -
From-SVN: r154276
GCC Administrator committed
-
- 17 Nov, 2009 19 commits
-
-
2009-11-17 Benjamin Kosnik <bkoz@redhat.com> * include/profile/impl/profiler.h: Remove namespace markup. From-SVN: r154272
Benjamin Kosnik committed -
* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile info. From-SVN: r154271
Jan Hubicka committed -
2009-11-17 Benjamin Kosnik <bkoz@redhat.com> * include/profile/bitset: Tweak doxygen markup. * include/profile/deque: Same. * include/profile/list: Same. * include/profile/map.h: Same. * include/profile/multimap.h: Same. * include/profile/multiset.h: Same. * include/profile/set.h: Same. * include/profile/unordered_map: Same. * include/profile/vector: Same. * include/profile/impl/profiler_container_size.h: Use namespace __gnu_profile instead of __cxxprof_impl. * include/profile/impl/profiler.h: Same. (_GLIBCXX_PROFILE_IMPL_REENTRANCE_GUARD): To _GLIBCXX_PROFILE_REENTRANCE_GUARD. Remove namespace __cxxprof_guard. (__reentrance_guard): De-templatize. (__reentrance_guard::__inside_cxxprof_impl): To __reentrance_guard::_S_get_in. * include/profile/impl/profiler_hash_func.h: Use namespace __gnu_profile instead of __cxxprof_impl. * include/profile/impl/profiler_hashtable_size.h: Same. * include/profile/impl/profiler_map_to_unordered_map.h: Same. * include/profile/impl/profiler_node.h: Same. * include/profile/impl/profiler_state.h: Same. * include/profile/impl/profiler_trace.h: Same. * include/profile/impl/profiler_vector_size.h: Same. * include/profile/impl/profiler_vector_to_list.h: Same. * doc/xml/manual/profile_mode.xml: Update. From-SVN: r154269
Benjamin Kosnik committed -
2009-11-17 Benjamin Kosnik <bkoz@redhat.com> * include/debug/bitset: Add doxygen markup. * include/debug/deque: Same. * include/debug/list: Same. * include/debug/map.h: Same. * include/debug/multimap.h: Same. * include/debug/set.h: Same. * include/debug/multiset.h: Same. * include/debug/unordered_map: Same. * include/debug/unordered_set: Same. * include/debug/string: Same. * include/debug/vector: Same. From-SVN: r154268
Benjamin Kosnik committed -
cp/ 2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42058 * typeck2.c (digest_init_r): Check init for error_operand_p. * decl.c (reshape_init_class): Check return value of reshape_init_r for error_mark_node. testsuite/ 2009-11-17 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42058 * testsuite/g++.dg/init/array26.C: New. * testsuite/g++.dg/init/array27.C: Likewise. * testsuite/g++.old-deja/g++.benjamin/13478.C: Adjust dg-errors. From-SVN: r154267
Paolo Carlini committed -
2009-11-17 Andrew Haley <aph@redhat.com> * posix-threads.cc (park): Rewrite code to handle time. Move mutex lock before the call to compare_and_swap to avoid a race condition. Add some assertions. (unpark): Add an assertion. (init): Move here from posix-threads.h. * include/posix-threads.h (destroy): removed. From-SVN: r154265
Andrew Haley committed -
* toplev.c (process_options): Remove dead code. * doc/invoke.texi (-frename-registers): Mention -fpeel-loops. From-SVN: r154259
Eric Botcazou committed -
2009-11-17 Rafael Avila de Espindola <espindola@google.com> * lto-symtab.c (lto_symtab_resolve_symbols): Always initialize the nodes. From-SVN: r154258
Rafael Avila de Espindola committed -
PR tree-optimization/41857 * tree-ssa-address.c (move_hint_to_base): Use void pointer to TYPE's address space instead of pointer to TYPE. From-SVN: r154255
Ulrich Weigand committed -
From-SVN: r154253
Ulrich Weigand committed -
2009-11-17 Rafael Avila de Espindola <espindola@google.com> * lto-elf.c (lto_file_init): Add offset argument. (lto_elf_file_open): Record the offset. * lto.c (lto_resolution_read): Change file_name into a lto_file argument. Check offsets. (lto_file_read): Update call to lto_resolution_read. * lto.h (lto_file_struct): Add the offset field. From-SVN: r154251
Rafael Avila de Espindola committed -
* config/spu/spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC registers in leaf functions if possible. From-SVN: r154245
Ulrich Weigand committed -
From-SVN: r154243
Maxim Kuvyrkov committed -
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not access removed node. * cgraphunit.c (verify_cgraph_node): Verify frequencies for match. From-SVN: r154242
Jan Hubicka committed -
* config/i386/predicates.md (x86_64_szext_general_operand): Do not nest ior expressions. (x86_64_szext_nonmemory_operand): Ditto. (call_insn_operand): Ditto. From-SVN: r154241
Uros Bizjak committed -
PR c++/42061 * call.c (reference_binding): Return NULL for initializer list with error operand inside of it. * g++.dg/cpp0x/initlist27.C: New test. From-SVN: r154238
Jakub Jelinek committed -
PR c++/42059 * typeck.c (cp_build_modify_expr): For initializer list call check_array_initializer to make sure lhs isn't a VLA. * g++.dg/cpp0x/initlist26.C: New test. From-SVN: r154237
Jakub Jelinek committed -
PR c++/189, c++/9937, c++/13950, DR 176 * g++.dg/tc1/dr176.C: Adjust. From-SVN: r154235
Jason Merrill committed -
From-SVN: r154232
GCC Administrator committed
-
- 16 Nov, 2009 15 commits
-
-
PR c++/13950, DR 176 * search.c (lookup_field_r): Allow lookup to find the injected-class-name from a template base. (template_self_reference_p): Remove. * decl.c (make_typename_type): Diagnose ambiguity. Use maybe_get_template_decl_from_type_decl. * parser.c (cp_parser_template_name): Pass true to is_template rather than use maybe_get_template_decl_from_type_decl. (cp_parser_lookup_name): Use maybe_get_template_decl_from_type_decl. * pt.c (maybe_get_template_decl_from_type_decl): Handle ambiguity. Use DECL_SELF_REFERENCE_P. * parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Avoid duplicate ambiguity error. * error.c (dump_decl): Don't say "typedef" for injected-class-name. * pt.c (convert_template_argument): Tweak logic. From-SVN: r154223
Jason Merrill committed -
* Makefile.def: Restore host and target settings for gmp. * Makefile.in: Rebuild. From-SVN: r154217
Alexandre Oliva committed -
2009-11-16 Rafael Avila de Espindola <espindola@google.com> * lto-elf.c (lto_elf_file_open): Use strtoll to parse the offset. From-SVN: r154215
Rafael Avila de Espindola committed -
From-SVN: r154214
Alexandre Oliva committed -
tree-cfg.c (gimple_redirect_edge_and_branch): Create the decl label for the new dest block on demand. * tree-cfg.c (gimple_redirect_edge_and_branch) <case GIMPLE_ASM>: Create the decl label for the new dest block on demand. Require a fallthrough edge if no asm labels were redirected. From-SVN: r154213
Alexandre Oliva committed -
* config/i386/i386.md (cbranchsi4): Use nonimmediate_operand for operand 1 predicate. (cstoresi4): Ditto for operand 2. (cbranch<mode>4): Macroize expander from cbranch{qi,hi,si,di,ti}4 patterns using SDWIM mode iterator. (cstore<mode>4): Macroize expander from cstore{qi,hi,si,di}4 patterns using SWIM mode iterator. (cmpdi_1): Rename from cmpdi_1_rex64. (cmp<mode>_1): Macroize expander from cmp{si,di}_1 patterns using SWI48 mode iterator. (*cmp<mode>_1): Macroize insn from *cmp{qi,hi,si,di}_1_insn using SWI mode iterator. (*cmp<mode>_ccno_1): Ditto from *cmp{qi,hi,si,di}_ccno_1. (*cmp<mode>_minus_1): Ditto from *cmp{qi,hi,si,di}_minus_1. (*cmpqi_ext_3_insn): Make private. (*cmpqi_ext_3_insn_rex64): Make private. (cmpstrnsi): Update for renamed cmpdi_1_rex64. * config/i386/predicates.md (cmpsi_operand): Remove. From-SVN: r154212
Uros Bizjak committed -
* configure.ac: Add libelf to host_libs. Enable in-tree configury of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. From-SVN: r154211
Alexandre Oliva committed -
From-SVN: r154210
Ben Elliston committed -
2009-11-16 Paul Brook <paul@codesourcery.com> gcc/ * doc/invoke.texi: Document ARM VFPv4 based FPUs. * config/arm/arm.c (all_fpus): Add VFPv4 entries. From-SVN: r154207
Paul Brook committed -
* cgraphbuild.c (compute_call_stmt_bb_frequency): Use proper ENTRY_BLOCK_PTR. * cgraph.c (cgraph_clone_edge): Avoid freq_scale 0 to completely zero out all callees. * cgraphunit.c (verify_cgraph_node): Verify cgraph nodes for frequency and count match. * ipa-inline.c (update_noncloned_frequencies): New function. (cgraph_clone_inlined_nodes): Use it. * tree-inline.c (copy_bb): Fix frequency scaling; output diagnostic on frequency mismatches to dump file. (initialize_cfun): Do not scale frequency; fix count scaling; initialize entry and exit block frequencies; copy profile info. (copy_cfg_body): Use frequency_scale as argument; fix count scaling. (copy_body): Use frequency_scale as argument. (expand_call_inline): Compute frequency scale and output diagnostic to dump file. (delete_unreachable_blocks_update_callgrah): Remove checking that has to be done after edge redirection. (tree_function_versioning): Update initialize_cfun and copy_body call. From-SVN: r154205
Jan Hubicka committed -
cp/ 2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42055 * pt.c (determine_specialization): Assign to candidates the return value of the chainon called before print_candidates. testsuite/ 2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42055 * testsuite/g++.dg/template/crash92.C: New. From-SVN: r154202
Paolo Carlini committed -
* cgraph.c (cgraph_release_function_body): Update use of ipa_transforms_to_apply. (cgraph_remove_node): Remove ipa_transforms_to_apply. * cgraph.h (struct cgraph_node): Add ipa_transforms_to_apply. * cgraphunit.c (save_inline_function_body): Clear ipa_transforms for copied body. (cgraph_materialize_clone): Remove original if dead. * lto-streamer-in.c (lto_read_body): Remove FIXME and ipa_transforms_to_apply hack. * function.h (struct function): Add ipa_transforms_to_apply. * ipa.c (cgraph_remove_unreachable_nodes): Handle dead clone originals. * tree-inline.c (copy_bb): Update sanity check. (initialize_cfun): Do not copy ipa_transforms_to_apply. (expand_call_inline): remove dead clone originals. (tree_function_versioning): Merge transformation queues. * passes.c (add_ipa_transform_pass): Remove. (execute_one_ipa_transform_pass): Update ipa_transforms_to_apply tracking. (execute_all_ipa_transforms): Update. (execute_one_pass): Update. * lto.c (read_cgraph_and_symbols): Set also ipa_transforms_to_apply. From-SVN: r154200
Jan Hubicka committed -
cp/ 2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/32056 * decl.h (enum decl_context): Add TPARM enumerator. * decl.c (grokdeclarator): Per 14.1/2, error out if a storage class is specified in a template parameter declaration. * parser.c (cp_parser_template_parameter): Call grokdeclarator with TPARM as third argument. testsuite/ 2009-11-16 Paolo Carlini <paolo.carlini@oracle.com> PR c++/32056 * testsuite/g++.dg/template/error44.C: New. From-SVN: r154198
Paolo Carlini committed -
2009-11-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gcc.c-torture/execute/pr41919.c: Mark chars explicitely as signed. From-SVN: r154197
Andreas Krebbel committed -
From-SVN: r154195
GCC Administrator committed
-