- 16 Sep, 2005 9 commits
-
-
From-SVN: r104348
Tom Tromey committed -
PR c++/21514 * pt.c (check_instantiated_args): Treat uses of anonymous types as causing type-deduction failure. PR c++/21514 * g++.dg/template/crash19.C: Remove dg-error marker. * g++.dg/template/local4.C: New test. From-SVN: r104344
Mark Mitchell committed -
2005-09-16 Paolo Bonzini <bonzini@gnu.org> PR 23903 * passes.c (init_optimization_passes): Register dump files for IPA passes first. From-SVN: r104343
Paolo Bonzini committed -
2005-09-16 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390-protos.h (s390_overlap_p): Prototype added. * config/s390/s390.c (s390_overlap_p): New function. * config/s390/s390.md ("*mvc" peephole2, "*nc" peephole2, "*oc" peephole2, "*xc" peephole2): Added overlap check to the peephole2 condition. From-SVN: r104342
Andreas Krebbel committed -
2005-09-16 Richard Guenther <rguenther@suse.de> * ipa-pure-const.c (static_execute): Free auxiliar information. * ipa-type-escape.c (discover_unique_type): Free temporary key. * tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap. From-SVN: r104341
Richard Guenther committed -
PR c++/23357 * cp-tree.def (SIZEOF_EXPR, ALIGNOF_EXPR): Change code class to tcc_expression. From-SVN: r104340
Jason Merrill committed -
re PR fortran/23906 (inappropriate branch condition in function "transform_sections" in "dependency.c") 2005-09-16 Paul Brook <paul@codesourcery.com> PR fortran/23906 fortran/ * dependency.c (transform_sections): Divide by correct value. Elaborate comment. testsuite/ * gfortran.dg/dependency_1.f90: New test. From-SVN: r104339
Paul Brook committed -
PR c++/23896 * pt.c (tsubst_aggr_type): Make sure skip_evaluation is false when processing template arguments. PR c++/23896 * g++.dg/template/static17.C: New test. From-SVN: r104336
Mark Mitchell committed -
[[Split portion of a mixed commit.]] From-SVN: r104333.2
GCC Administrator committed
-
- 15 Sep, 2005 19 commits
-
-
* include/private/gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'. From-SVN: r104329
Kazu Hirata committed -
From-SVN: r104328
DJ Delorie committed -
PR libgcj/16032: * interpret.cc (AVAL1U): Resolve pool entry when not direct threaded. (AVAL2U): Likewise. (compile): Handle 'ldc class' specially. (_Jv_InterpMethod::run): Added special 'ldc class' instruction. * verify.cc (check_constant): Handle 'ldc class' for 1.5 classes. * defineclass.cc (handleCodeAttribute): Set new field. (MAJOR_1_1, MINOR_1_1, MAJOR_1_2, MINOR_1_2, MAJOR_1_3, MINOR_1_3, MAJOR_1_4, MINOR_1_4, MAJOR_1_5, MINOR_1_5): New defines. (parse): Check version numbers. (_Jv_ClassReader::is_15): New field. (_Jv_ClassReader): Initialize it. * include/java-interp.h (_Jv_InterpMethod::is_15): New field. From-SVN: r104325
Tom Tromey committed -
2005-09-15 Paolo Bonzini <bonzini@gnu.org> * optabs.c (expand_binop): Use swap_commutative_operands_with_target to order operands. (swap_commutative_operands_with_target): New. From-SVN: r104324
Paolo Bonzini committed -
* java/net/URLClassLoader.java (definePackage): Correctly order arguments to definePackage. Look up per-entry Attributes. (getAttributeValue): New method. From-SVN: r104320
Tom Tromey committed -
fixincludes: PR c++/23139 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New fixes. * fixincl.x: Regenerate. * tests/base/bits/huge_val.h: New file. gcc/testsuite: * g++.dg/warn/huge-val1.C: New test. From-SVN: r104315
Joseph Myers committed -
2005-09-15 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/21674 PR libstdc++/22205 PR libstdc++/22222 * include/bits/c++config: Set _GLIBCXX_STD regardless of __GXX_WEAK__. Add in check for __NO_INLINE__ for warning. * testsuite/lib/dg-options.exp (dg-require-debug-mode): New. * testsuite/lib/libstdc++.exp (check_v3_target_debug_mode): New. * testsuite/21_strings/basic_string/element_access/char/21674.cc: Use it. * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: Use it. From-SVN: r104314
Benjamin Kosnik committed -
2005-09-15 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23875 * include/std/std_ostream.h (operator<<(short), operator<<(unsigned short), operator<<(int), operator<<(unsigned int), operator<<(float)): Don't call operator<<(long), operator<<(unsigned long), or operator<<(double), do the work mandated by the resolution of DR117... * include/bits/ostream.tcc (operator<<(short), operator<<(unsigned short), operator<<(int), operator<<(unsigned int), operator<<(float)): ... here. * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New. From-SVN: r104313
Paolo Carlini committed -
2005-09-15 Daniel Berlin <dberlin@dberlin.org> * tree-data-ref.c (analyze_array_indexes): Add estimate_only parameter. Update callers. (estimate_iters_using_array): New function. * tree-data-ref.h (estimate_iters_using_array): Prototype * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Use estimate_iters_using_array instead of analyze_array. From-SVN: r104312
Daniel Berlin committed -
From-SVN: r104311
Mark Mitchell committed -
PR c++/13140 * decl.c (check_class_member_definition_namespace): New function. (grokfndecl): Use it. (grokvardecl): Likewise. (grokdecl): Improve documentation. * pt.c (check_explicit_instantiation_namespace): New function. (register_specialization): Call check_specialization_namespace when replacing an implicitly instantiated function. (check_explicit_specialization): Ensure that DECL_CONTEXT is set correctly for namespace-scope specializations. (do_decl_instantiation): Use check_explicit_instantiation_namespace. (do_type_instantiation): Likewise. PR c++/13140 * g++.dg/parse/class2.C: New test. * g++.dg/template/explicit8.C: Likewise. * g++.dg/template/spec25.C: Likewise. * testsuite/testsuite_character.h: Specialize character<> templates in __gnu_cxx, not in __gnu_test. From-SVN: r104310
Mark Mitchell committed -
2005-09-14 Bryce McKinlay <mckinlay@redhat.com> PR java/23891 * parse.y (maybe_create_class_interface_decl): Set TYPE_PACKAGE for the newly created type. Set import lists here, not in create_class. (jdep_resolve_class): Set current_class. (do_resolve_class): Use current_class's TYPE_PACKAGE to determine the current package context, not ctxp->package. (cicp_cache): Removed. (class_in_current_package): Simplify implementation using TYPE_PACKAGE. * jcf-parse.c (give_name_to_class): Set TYPE_PACKAGE. * java-tree.h (TYPE_PACKAGE): New macro. (struct lang_type): New member 'package'. From-SVN: r104305
Bryce McKinlay committed -
PR c++/23725 * error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE. From-SVN: r104302
Nathan Sidwell committed -
* tree-nested.c (get_frame_type): Mark the "non-local frame structure" as addressable. From-SVN: r104300
Eric Botcazou committed -
From-SVN: r104298
Michael Matz committed -
2005-09-14 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/23835 * tree-ssa-alias.c (sort_pointers_by_pt_vars): New function. (create_name_tags): Rewrite to be not O(num_ssa_names^2). From-SVN: r104296
Daniel Berlin committed -
* pex-win32.c: Include "windows.h". (backslashify): New function. (fix_argv): Use backslashify to convert path to windows format. Allocate one more place in new argv for potential executable from '#!' parsing. (tack_on_executable): New function. Conditional on USE_MINGW_MSYS (openkey): Ditto. (mingw_rootify): Ditto. (msys_rootify): Ditto. (spawn_script): New function. (pex_win32_exec_child): Save translated argv in newargv. Pass to spawn_script if spawnv* fails. (main): New function. Conditional on MAIN. Useful for testing. From-SVN: r104292
Christopher Faylor committed -
[[Split portion of a mixed commit.]] From-SVN: r104289.2
GCC Administrator committed -
* config/ia64/vect.md (addv2sf3, subv2sf3): Rewrite as expand. (addv2sf3_1, addv2sf3_2, subv2sf3_1, subv2sf3_2): New. From-SVN: r104287
Richard Henderson committed
-
- 14 Sep, 2005 12 commits
-
-
2005-09-14 Andrew Pinski <pinskia@physics.uc.edu> * config/i386/i386.c (contains_128bit_aligned_vector_p): Add break in the ARRAY_TYPE case. From-SVN: r104286
Andrew Pinski committed -
PR middle-end/23584 * gcc.dg/pr23584.c: New test. From-SVN: r104284
Josh Conner committed -
2005-09-14 Jerry DeLisle <jvdelisle@verizon.net> PR fortran/21875 Internal Unit Array I/O, NIST * gfortran.dg/arrayio_1.f90: New test. * gfortran.dg/arrayio_1.f90: New test. * gfortran.dg/arrayio_1.f90: New test. * gfortran.dg/arrayio_1.f90: New test. * gfortran.dg/arrayio_1.f90: New test. From-SVN: r104278
Jerry DeLisle committed -
2005-09-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/21875 Internal Unit Array I/O, NIST * fortran/trans-io.c (gfc_build_io_library_fndecls): Add field for array descriptor to IOPARM structure. * fortran/trans-io.c (set_internal_unit): New function to generate code to store the character (array) and the character length for an internal unit. * fortran/trans-io (build_dt): Use the new function set_internal_unit. From-SVN: r104277
Paul Thomas committed -
2005-09-14 Jerry DeLisle <jvdelisle@verizon.net PR fortran/21875 Internal Unit Array I/O, NIST * libgfortran.h: Add run time error code for array stride. * runtime/error.c (translate_error): Add error message for array stride. * io/io.h: Add array descriptor pointer to IOPARM structure. Add prtotypes for two new functions. * io/transfer.c (data_transfer_init): Removed initialization and moved to unit.c (get_unit) * io/transfer.c (next_record_r): Include internal unit read functionality. * io/transfer.c (next_record_w): Include internal unit write functionality, including padding of character array records. * io/unit.c (get_array_unit_len): New function to return the number of records in the character array 'file' from the array descriptor. * io/unit.c (get_unit): Gathered initialization code from init_data_transfer for internal units and added initialization of character array unit. * io/unit.c (is_array_io): New function to determine if internal unit is an array. * io/unix.c (mem_alloc_w_at): Add error checks for bad record length and end of file. From-SVN: r104276
Jerry DeLisle committed -
From-SVN: r104271
Eric Botcazou committed -
2005-09-14 Uros Bizjak <uros@kss-loka.si> PR middle-end/22480 * tree-vect-transform.c (vectorizable_operation): Return false for scalar shift operations and for vector shift operations with non-invariant shift arguments. Use scalar tree operand op1 as a shift operand when vector shift insn pattern uses scalar shift operand. * Makefile.in (tree-vect-transform.o): Depend on recog.h. From-SVN: r104264
Uros Bizjak committed -
* gimplify.c (gimplify_init_ctor_eval): Don't discard a zero-sized value if it has side-effects. From-SVN: r104262
Olivier Hainque committed -
2005-09-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/19358 * trans-array.c (gfc_trans_dummy_array_bias): correct the typo which uses dim[i].upper for lbound, rather than dim[i].lower. 2005-09-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/19358 * gfortran.fortran-torture/assumed_dummy_1.f90: New test. From-SVN: r104259
Paul Thomas committed -
2005-09-13 Jonathan Wakely <cow@compsoc.man.ac.uk> Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/21674 * testsuite/21_strings/basic_string/element_access/char/21674.cc: New. * testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: New. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r104256
Jonathan Wakely committed -
PR target/22068 * config/rs6000/rs6000.md (muldi3): Add mulli alternative. From-SVN: r104255
David Edelsohn committed -
PR c++/23180 * g++.dg/init/struct2.C: New test. * g++.dg/init/struct3.C: New test. From-SVN: r104254
Josh Conner committed
-