- 12 Jan, 2012 13 commits
-
-
PR c++/48051 * mangle.c (write_expression): Mangle BASELINK scope if BASELINK_QUALIFIED_P. * search.c (adjust_result_of_qualified_name_lookup): Set BASELINK_QUALIFIED_P. * tree.c (cp_tree_equal) [BASELINK]: Compare BASELINK_QUALIFIED_P. * parser.c (cp_parser_postfix_dot_deref_expression): Don't call adjust_result_of_qualified_name_lookup for non-qualified names. From-SVN: r183133
Jason Merrill committed -
PR c++/51403 * pt.c (unify): Handle error_mark_node. From-SVN: r183132
Jason Merrill committed -
From-SVN: r183130
Georg-Johann Lay committed -
PR target/51756 * config/avr/avr.c (avr_encode_section_info): Test for absence of DECL_EXTERNAL when checking for initializers of progmem variables. From-SVN: r183129
Georg-Johann Lay committed -
PR tree-optimization/51799 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check that the last operation is a type demotion. From-SVN: r183126
Ira Rosen committed -
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Remove check for fdopen. * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for fdopen. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r183124
Janne Blomqvist committed -
* config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template. (x86_shift<mode>_adj_1): Remove operand constraint from operand 3. From-SVN: r183123
Uros Bizjak committed -
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR libfortran/51803 * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or is not available. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r183122
Janne Blomqvist committed -
2012-01-12 Dominique d'Humieres <dominiq@lps.ens.fr> Tobias Burnus <burnus@net-b.de> PR fortran/51057 PR fortran/51616 * lib/target-supports.exp (check_effective_target_fortran_largest_fp_has_sqrt): New. * gfortran.dg/quad_2.f90: Use it, add pattern for IBM's real(16). Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r183121
Dominique d'Humieres committed -
PR c++/51565 * call.c (standard_conversion): For ptrmemfuncs, compare the static_fn_types. From-SVN: r183120
Jason Merrill committed -
* go-lang.c (go_langhook_init): Initialize void_list_node before calling go_create_gogo. From-SVN: r183119
Ian Lance Taylor committed -
From-SVN: r183118
Ian Lance Taylor committed -
From-SVN: r183117
GCC Administrator committed
-
- 11 Jan, 2012 25 commits
-
-
From-SVN: r183112
Ian Lance Taylor committed -
re PR bootstrap/51796 (internal compiler error: in distribute_notes, at combine.c:13285 for libgomp/alloc.c on m68k-linux) PR bootstrap/51796 * combine.c (distribute_notes): If i3 is a noreturn call, allow old_size to be equal to args_size and make sure the noreturn call gets REG_ARGS_SIZE note. * expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes on noreturn calls even when the delta is 0. * gcc.dg/pr51796.c: New test. From-SVN: r183111
Jakub Jelinek committed -
From-SVN: r183109
Ian Lance Taylor committed -
From-SVN: r183108
Jason Merrill committed -
PR c++/51818 * mangle.c (find_substitution): A type is only a substitution match if we're looking for a type. (write_nested_name): Use decl_mangling_context. From-SVN: r183107
Jason Merrill committed -
From-SVN: r183106
Jason Merrill committed -
* gcov.c (STRING_SIZE): Remove. (generate_results): Erase annotations for source files with no coverage information. (read_line): New. (output_lines): Use it. From-SVN: r183105
Nathan Sidwell committed -
* gimple.h (gimplify_body): Remove first argument. * gimplify.c (copy_if_shared): Add DATA argument. Do not create the pointer set here, instead just pass DATA to walk_tree. (unshare_body): Remove BODY_P argument and adjust. Create the pointer set here and invoke copy_if_shared on the size trees of DECL_RESULT. (unvisit_body): Likewise, but with unmark_visited. (gimplify_body): Remove BODY_P argument and adjust. (gimplify_function_tree): Adjust call to gimplify_body. * omp-low.c (finalize_task_copyfn): Likewise. From-SVN: r183104
Eric Botcazou committed -
From-SVN: r183103
Nathan Sidwell committed -
* tree.h (build_function_decl_skip_args): Add boolean parameter. (build_function_type_skip_args): Delete. * tree.c (build_function_type_skip_args): Make static and add SKIP_RETURN parameter. Fix thinko in the handling of variants. (build_function_decl_skip_args): Add SKIP_RETURN parameter and pass it to build_function_type_skip_args. * cgraph.h (cgraph_function_versioning): Add boolean parameter. (tree_function_versioning): Likewise. * cgraph.c (cgraph_create_virtual_clone): Adjust call to build_function_decl_skip_args. * cgraphunit.c (cgraph_function_versioning): Add SKIP_RETURN parameter and pass it to build_function_decl_skip_args/tree_function_versioning. (cgraph_materialize_clone): Adjust call to tree_function_versioning. * ipa-inline-transform.c (save_inline_function_body): Likewise. * trans-mem.c (ipa_tm_create_version): Likewise. * tree-sra.c (modify_function): Ditto for cgraph_function_versioning. * tree-inline.c (declare_return_variable): Remove always-true test. (tree_function_versioning): Add SKIP_RETURN parameter. If the function returns non-void and SKIP_RETURN, create a void-typed RESULT_DECL. * ipa-split.c (split_function): Skip the return value for the split part if it doesn't return. From-SVN: r183102
Eric Botcazou committed -
re PR tree-optimization/49642 (constant part of a macro not optimized away as expected due to splitter) gcc: 2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/49642 * ipa-split.c (forbidden_dominators): New variable. (check_forbidden_calls): New function. (dominated_by_forbidden): Likewise. (consider_split): Check for forbidden dominators. (execute_split_functions): Initialize and free forbidden dominators info; call check_forbidden_calls. gcc/testsuite: 2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/49642 * gcc.dg/tree-ssa/pr49642-1.c: New test. * gcc.dg/tree-ssa/pr49642-2.c: New test. From-SVN: r183101
Bill Schmidt committed -
From-SVN: r183100
Jason Merrill committed -
PR c++/51613 * pt.c (resolve_overloaded_unification): Compare types with same_type_p, not decls_match. From-SVN: r183099
Jason Merrill committed -
From-SVN: r183098
Ian Lance Taylor committed -
From-SVN: r183097
Andreas Tobler committed -
re PR rtl-optimization/57105 (ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g) 2012-01-11 Bruce Korb <bkorb@gnu.org> Steven G. Kargl <kargl@gcc.gnu.org> Andreas Tobler <andreast@fgznet.ch> PR bootstrap/57105 PR preprocessor/51776 * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]]. * fixincl.x: Regenerate. * tests/base/sys/cdefs.h: Update. * genfixes: Remove the 'Ver.' from the version check. Co-Authored-By: Andreas Tobler <andreast@fgznet.ch> Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org> From-SVN: r183096
Bruce Korb committed -
* gcc/config/arm/arm.md (mov_notscc): Use MVN for false condition. * gcc/testsuite/gcc.c-torture/execute/20120110-1.c: New testcase. From-SVN: r183095
Matthew Gretton-Dann committed -
2012-01-11 Tobias Burnus <burnus@net-b.de> * runtime/main.c (store_exe_path): Fix absolute path detection for Windows. From-SVN: r183094
Tobias Burnus committed -
From-SVN: r183093
Nick Clifton committed -
2012-01-11 Richard Guenther <rguenther@suse.de> * doc/extend.texi (malloc attribute): Adjust according to implementation. From-SVN: r183092
Richard Guenther committed -
2012-01-11 Janne Blomqvist <jb@gcc.gnu.org> Mike Stump <mikestump@comcast.net> PR libfortran/51803 * runtime/main.c (store_exe_path): Handle getcwd failure and lack of the function better. Co-Authored-By: Mike Stump <mikestump@comcast.net> From-SVN: r183090
Janne Blomqvist committed -
* go-gcc.cc (Gcc_backend::type_size): New function. (Gcc_backend::type_alignment): New function. (Gcc_backend::type_field_alignment): New function. (Gcc_backend::type_field_offset): New function. * go-backend.c (go_type_alignment): Remove. * go-c.h (go_type_alignment): Don't declare. From-SVN: r183089
Ian Lance Taylor committed -
PR c++/51614 * class.c (build_base_path): Diagnose ambiguous base. From-SVN: r183088
Jason Merrill committed -
From-SVN: r183087
Jason Merrill committed -
From-SVN: r183085
GCC Administrator committed
-
- 10 Jan, 2012 2 commits
-
-
* cp-demangle.c (d_print_comp) [DEMANGLE_COMPONENT_OPERATOR]: Omit a trailing space in the operator name. From-SVN: r183072
Jason Merrill committed -
PR middle-end/51516 * trans-mem.c (get_cg_data): Traverse aliases if requested. (ipa_tm_scan_calls_block): Update parameters to get_cg_data. (ipa_tm_note_irrevocable): Same. (ipa_tm_scan_irr_block): Same. (ipa_tm_decrement_clone_counts): Same. (ipa_tm_scan_irr_function): Same. (ipa_tm_create_version_alias): Same. (ipa_tm_create_version): Same. (ipa_tm_transform_calls_redirect): Same. (ipa_tm_transform_calls): Same. (ipa_tm_transform_transaction): Same. (ipa_tm_execute): Same. Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com> From-SVN: r183070
Aldy Hernandez committed
-