- 02 Jul, 2009 14 commits
-
-
* pt.c (struct spec_entry): New type. (decl_specializations, type_specializations): New hash tables. (register_specialization, retrieve_specialization): Use them. (reregister_specialization, lookup_template_class): Use them. (eq_specializations, hash_tmpl_and_args, hash_specialization): New. (iterative_hash_template_arg): New. (init_template_processing): New (process_partial_specialization): Don't look to see if we already have this partial specialization. (maybe_process_partial_specialization): Handle reassigning full specializations when we get an explicit specialization of the partial instantiation. (tsubst_friend_function): Adjust specialization reassignment code. (instantiate_template): Only do one lookup. (instantiate_decl): Don't do any lookup. * cp-tree.h: Declare init_template_processing. * decl.c (duplicate_decls): Pass args to reregister_specialization. From-SVN: r149188
Jason Merrill committed -
From-SVN: r149182
Rainer Orth committed -
2009-07-02 Richard Guenther <rguenther@suse.de> PR bootstrap/40617 * tree-ssa-structalias.c (new_var_info): Initialize is_restrict_var. From-SVN: r149179
Richard Guenther committed -
re PR fortran/32131 (knowing that stride==1 when using allocated arrays and escaping allocatable arrays) fortran/ PR fortran/32131 * trans-array.c (gfc_conv_descriptor_stride_get): Return constant one for strides in the first dimension of ALLOCATABLE arrays. testsuite/ PR fortran/32131 * gfortran.dg/pr32921.f: Adjust. From-SVN: r149178
Michael Matz committed -
* gcc.dg/tree-ssa/local-pure-const.c: New testcase. * ipa-pure-const.c (check_op): Use PTA info to see if indirect_ref is local. From-SVN: r149176
Jan Hubicka committed -
2009-07-02 Paolo Bonzini <bonzini@gnu.org> * expmed.c (emit_cstore, emit_store_flag_1): Accept target_mode instead of recomputing it. Adjust calls. (emit_store_flag): Adjust recursive calls. From-SVN: r149171
Paolo Bonzini committed -
2009-07-02 Richard Guenther <rguenther@suse.de> * tree-ssa-live.c (remove_unused_locals): Do not remove heap variables. * tree-ssa-structalias.c (handle_lhs_call): Delay setting of DECL_EXTERNAL for HEAP variables. (compute_points_to_sets): Set DECL_EXTERNAL for escaped HEAP variables. Do not adjust RESTRICT vars. (find_what_var_points_to): Nobody cares if something points to READONLY. From-SVN: r149170
Richard Guenther committed -
From-SVN: r149169
Nick Clifton committed -
unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Move pc_low and pc_high declarations to the top of the function. * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Move pc_low and pc_high declarations to the top of the function. From-SVN: r149167
Ben Elliston committed -
From-SVN: r149166
Jason Merrill committed -
pt.c (register_specialization): Use duplicate_decls to merge the argument with a previous specialization. * pt.c (register_specialization): Use duplicate_decls to merge the argument with a previous specialization. (check_explicit_specialization): Call register_specialization to merge the TEMPLATE_DECL with a previous version. (determine_specialization): Return the args even if fn is a template. From-SVN: r149165
Jason Merrill committed -
* config/mep/mep.c (mep_handle_option): Leave IVC2 control registers as fixed. (mep_interrupt_saved_reg): Save appropriate IVC2 control registers. * config/mep/mep-ivc2.cpu: Add VOLATILE to insns that make unspecified accesses to control registers. * config/mep/intrinsics.md: Regenerate. * config/mep/intrinsics.h: Regenerate. * config/mep/mep-intrin.h: Regenerate. From-SVN: r149164
DJ Delorie committed -
From-SVN: r149163
Anthony Green committed -
From-SVN: r149162
GCC Administrator committed
-
- 01 Jul, 2009 22 commits
-
-
PR bootstrap/40347 * function.c (reposition_prologue_and_epilogue_notes): If epilogue contained no insns, reposition note before last insn. From-SVN: r149158
Richard Henderson committed -
PR debug/40431 * dwarf2out.c (def_cfa_1): Revert 2009-06-11 change for DW_CFA_def_cfa_offset and DW_CFA_def_cfa. From-SVN: r149157
Richard Henderson committed -
Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com> Co-Authored-By: Revital Eres <eres@il.ibm.com> From-SVN: r149155
Michael Meissner committed -
* combine.c (force_to_mode): Handle TRUNCATE. Factor out truncation from operands in binary operations. testsuite/ * gcc.target/mips/truncate-4.c: New testcase. From-SVN: r149154
Adam Nemet committed -
revert: expmed.c (store_bit_field_1): Properly truncate the paradoxical subreg of op0 to the original op0. Revert: 2009-01-11 Adam Nemet <anemet@caviumnetworks.com> * expmed.c (store_bit_field_1): Properly truncate the paradoxical subreg of op0 to the original op0. * expmed.c (store_bit_field_1): Use a temporary as the destination instead of a paradoxical subreg when we need to truncate the result. From-SVN: r149153
Adam Nemet committed -
From-SVN: r149152
Eric Botcazou committed -
* config/mep/mep-ivc2.cpu (cmov, cmovc, cmovh): Add intrinsic names to VLIW variants. (ivc2rm, ivc2crn): Make data type consistent with non-VLIW variants. * config/mep/intrinsics.md: Regenerate. * config/mep/intrinsics.h: Regenerate. * config/mep/mep-intrin.h: Regenerate. From-SVN: r149151
DJ Delorie committed -
re PR debug/40462 (ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2773 while compiling mlib-tgt.adb) PR debug/40462 * jump.c (returnjump_p): Revert last patch. * dwarf2out.c (dwarf2out_begin_epilogue): Handle SEQUENCEs. From-SVN: r149150
Jakub Jelinek committed -
libffi/ * testsuite/lib/libffi-dg.exp (libffi-init): Set ld_library_path to "" before adding paths. (This reinstates an assignment that was removed by my 2009-06-30 commit, but changes the initial value from "." to "".) From-SVN: r149149
Richard Sandiford committed -
* gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements): Split this huge method into... (defineElements1, defineElements2, defineElements3, defineElements4, defineElements5, defineElements6): ... these smaller methods. From-SVN: r149148
Jakub Jelinek committed -
From-SVN: r149147
Ian Lance Taylor committed -
PR ada/40609 init.c (__gnat_error_handler): Add ATTRIBUTE_UNUSED to ucontext argument. From-SVN: r149146
John David Anglin committed -
2009-07-01 H.J. Lu <hongjiu.lu@intel.com> PR testsuite/40601 * testsuite/lib/libffi-dg.exp (libffi-init): Properly set gccdir. Adjust ld_library_path for gcc only if gccdir isn't empty. From-SVN: r149145
H.J. Lu committed -
PR target/40575 * pa.md (casesi32p): Use jump table label to determine the offset of the jump table. (casesi64p): Likewise. From-SVN: r149144
John David Anglin committed -
* pa.c (forward_branch_p): Return bool type. Use instruction addresses when available. Assert that INSN has a jump label. (pa_adjust_insn_length): Don't call forward_branch_p if INSN doesn't have a jump label. From-SVN: r149141
John David Anglin committed -
2009-07-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/19831 * tree-ssa-dce.c (propagate_necessity): Calls to functions that only act as barriers do not make any previous stores necessary. * tree-ssa-structalias.c (handle_lhs_call): Delay making HEAP variables global, do not add a constraint from nonlocal. (find_func_aliases): Handle escapes through return statements. (compute_points_to_sets): Make escaped HEAP variables global. * gcc.dg/tree-ssa/20041122-1.c: Enable TBAA, scan FRE dump, make allocated memory escape. Un-XFAIL. * gcc.dg/vect/pr21591.c: Make allocated memory escape. * gcc.dg/vect/pr31699.c: Likewise. * gcc.dg/tree-ssa/ssa-dce-7.c: New testcase. libmudflap/ * testsuite/libmudflap.c/fail11-frag.c: Make allocated memory escape. * testsuite/libmudflap.c/fail12-frag.c: Likewise. * testsuite/libmudflap.c/fail16-frag.c: Likewise. * testsuite/libmudflap.c/fail31-frag.c: Likewise. From-SVN: r149140
Richard Guenther committed -
2009-07-01 Tobias Grosser <grosser@fim.uni-passau.de> * MAINTAINERS: Move myself to the Graphite Reviewers. From-SVN: r149138
Tobias Grosser committed -
2009-07-01 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/40597 * expmed.c (emit_store_flag): Perform a conversion if necessary, after reducing a DImode cstore to SImode. From-SVN: r149137
Paolo Bonzini committed -
expr.c (expand_expr_real_1): Reinstate fallthrough to TRUTH_ANDIF_EXPR if do_store_flag returns NULL. 2009-07-01 Paolo Bonzini <bonzini@gnu.org> * expr.c (expand_expr_real_1): Reinstate fallthrough to TRUTH_ANDIF_EXPR if do_store_flag returns NULL. From-SVN: r149136
Paolo Bonzini committed -
From-SVN: r149135
Eric Botcazou committed -
* config/vax/vax.h (TARGET_BSD_DIVMOD): New macro. Set to 1. * config/vax/linux.h (TARGET_BSD_DIVMOD): New macro. Redefine the to 0. * config/vax/vax.c (vax_init_libfuncs): Only redefine udiv_optab and umod_optab if TARGET_BSD_DIVMOD. * config/vax/lib1funcs.asm: New file. * config/vax/t-linux: New file. * config.gcc (vax-*-linux*): Set tmake_file to vax/t-linux. From-SVN: r149128
Maciej W. Rozycki committed -
From-SVN: r149126
GCC Administrator committed
-
- 30 Jun, 2009 4 commits
-
-
PR c++/40566 * convert.c (convert_to_integer) <case COND_EXPR>: Don't convert to type arguments that have void type. * g++.dg/parse/cond5.C: New test. From-SVN: r149121
Jakub Jelinek committed -
PR debug/40573 * dwarf2out.c (gen_formal_parameter_die): Call equate_decl_number_to_die if node is different from origin. From-SVN: r149120
Jakub Jelinek committed -
* gcc.dg/tree-ssa/gen-vect-25.c (n): New variable. (main): Pass n to main_1 instead. * gcc.dg/tree-ssa/gen-vect-28.c (off): New variable. (main_1): New function, split off from... (main): ...here. Pass `off' to main_1 instead. From-SVN: r149119
Nathan Froyd committed -
PR c++/40595 * pt.c (tsubst_pack_expansion): Handle unexpanded packs in an EXPR_PACK_EXPANSION. From-SVN: r149117
Jason Merrill committed
-