summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-18 James A. Morrison <phython@gcc.gnu.org>phython2005-09-186-81/+92
| | | | | | | | | | | | | | | | | * builtins.c (max_builtin, min_builtin, abs_builtin, java_build_function_call_expr): Use fold_buildN. * class.c (layout_class_method): Likewise. * expr.c (java_truthvalue_conversion, build_java_jsr, build_java_arrayaccess, expand_java_arrayload, expand_iinc, build_java_binop, build_field_ref, expand_compare, build_known_method_ref, build_invokevirtual, process_jvm_instruction): Likewise. * parse.y (patch_binop, patch_exit_expr): Likewise. * typeck.c (convert_ieee_real_to_integer): Likewise. (convert): Don't call fold after convert_ieee_real_to_integer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104407 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in: Make check-fortran alias for check-gfortran.fxcoudert2005-09-182-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104406 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.hubicka2005-09-182-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104405 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (output_constant): Do not abort on conversions to unionebotcazou2005-09-182-2/+10
| | | | | | | types between different sizes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104404 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Paul Thomas <pault@gcc.gnu.org>pault2005-09-182-0/+37
| | | | | | | | PR fortran/19181 * gfortran.dg/derived_pointer_null_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104403 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Richard Guenther <rguenther@suse.de>rguenth2005-09-184-1/+17
| | | | | | | | | | | PR middle-end/23944 * gimplify.c (fold_indirect_ref_rhs): Fix thinko in fallback. * gcc.c-torture/compile/pr23944.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104402 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Paolo Carlini <pcarlini@suse.de>paolo2005-09-182-19/+26
| | | | | | | | | PR libstdc++/23417 (cont) * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member initialization list for -Weffc++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104401 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Andreas Jaeger <aj@suse.de>aj2005-09-182-0/+5
| | | | | | | * module.c (read_module): Add missed line from last patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104391 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Erik Edelmann <erik.edelmann@iki.fi>pault2005-09-184-1/+33
| | | | | | | | | | | | | | PR fortran/15975 * resolve.c (resolve_symbol): Don't assign default initializer to pointers. 2005-09-18 Erik Edelmann <erik.edelmann@iki.fi> PR fortran/15975 * gfortran.dg/der_pointer_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104389 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Paul Thomas <pault@gcc.gnu.org>pault2005-09-184-6/+58
| | | | | | | | | | | | | | PR fortran/16861 * module.c (read_module): Give symbols from module procedures different true_name entries to those from the module proper. 2005-09-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/16861 * gfortran.dg/nested_modules_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104388 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-09-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104385 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-18 Paul Brook <paul@codesourcery.com>pbrook2005-09-182-1/+5
| | | | | | | * config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104383 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change.rth2005-09-186-27/+12
| | | | | | | | | * tree-ssa-loop.c (pass_vect_dce): Remove. * passes.c (init_optimization_passes): Add pass_dce as a sub-pass of pass_vectorize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104382 138bc75d-0d04-0410-961f-82ee72b054a4
* Add comment to expand_mult max_cost change.dje2005-09-171-4/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104379 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/18368reichelt2005-09-172-0/+14
| | | | | | | * g++.dg/other/semicolon.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104378 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-pass.h (pass_vect_dce): Declare.rth2005-09-176-40/+72
| | | | | | | | | | | | * passes.c (init_optimization_passes): Add it. * tree-flow.h (tree_ssa_dce): Declare. * tree-ssa-dce.c (tree_ssa_dce): Export. * tree-ssa-loop.c (tree_vectorize): Move current_loops check ... (gate_tree_vectorize): ... here. (pass_vect_dce): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104376 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-17 Jan Hubicka <jh@suse.cz>rguenth2005-09-172-38/+82
| | | | | | | | | | | | | | | | | | * except.c (struct eh_status): Turn region_array into vec. (expand_resx_expr, collect_eh_region_array, remove_unreachable_regions, convert_from_eh_region_ranges, find_exception_handler_labels, current_function_has_exception_handlers, assign_filter_values, build_post_landing_pads, dw2_build_landing_pads, sjlj_find_directly_reachable_regions, sjlj_mark_call_sites, sjlj_emit_dispatch_table, remove_eh_handler, for_each_eh_region, foreach_reachable_handler, can_throw_internal_1, convert_to_eh_region_ranges, verify_eh_tree): Update uses of region_array. (duplicate_eh_region_1): Update region_array. (duplicate_eh_regions): Resize region_array and avoid recomputing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104375 138bc75d-0d04-0410-961f-82ee72b054a4
* PR middle-end/22067dje2005-09-172-2/+9
| | | | | | | | * expmed.c (expand_mult): Substitute simple register for op0 when computing max_cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104373 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/15586fxcoudert2005-09-1720-5421/+9417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * arith.c (gfc_arith_error): Add translation support for error messages. * array.c (gfc_match_array_ref): Likewise. (gfc_match_array_spec): Likewise. * check.c (must_be): Add msgid convention to third argument. (same_type_check): Add translation support for error message. (rank_check): Likewise. (kind_value_check): Likewise. (gfc_check_associated): Correct typo. (gfc_check_reshape): Add translation support for error message. (gfc_check_spread): Likewise. * error.c (error_printf): Add nocmsgid convention to argument. (gfc_warning, gfc_notify_std, gfc_warning_now, gfc_warning_check) (gfc_error, gfc_error_now): Likewise. (gfc_status): Add cmsgid convention to argument. * expr.c (gfc_extract_int): Add translation support for error messages. (gfc_check_conformance): Add msgid convention to argument. (gfc_check_pointer_assign): Correct tabbing. * gfortran.h: Include intl.h header. Remove prototype for gfc_article. * gfortranspec.c: Include intl.h header. (lang_specific_driver): Add translation support for --version. * io.c (check_format): Add translation support for error message. (format_item_1): Likewise. (data_desc): Likewise. * matchexp.c: Likewise. * misc.c (gfc_article): Remove function. * module.c (bad_module): Use msgid convention. Add translation support for error messages. (require_atom): Add translation support for error messages. * parse.c (gfc_ascii_statement): Likewise. (gfc_state_name): Likewise. * primary.c (match_boz_constant): Reorganise error messages for translations. * resolve.c (resolve_entries): Likewise. (resolve_operator): Add translation support for error messages. (gfc_resolve_expr): Use msgid convention. Reorganise error messages for translations. (resolve_symbol): Add translation support for error messages. * symbol.c (gfc_add_procedure): Remove use of gfc_article function. * trans-const.c (gfc_build_string_const): Use msgid convention. * exgettext: Add a new nocmsgid convention for arguments that should be marked as no-c-format. * gcc.pot: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104372 138bc75d-0d04-0410-961f-82ee72b054a4
* * expr.c (emit_move_via_integer): Add force argument, pass it onrth2005-09-173-10/+37
| | | | | | | | | | | to emit_move_change_mode. Update callers. (emit_move_complex): Pass true to new force argument. * function.c (expand_function_end): Move expand_eh_return call earlier. Merge sub-word complex values into a pseudo before copying to the return hard register. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-17 H.J. Lu <hongjiu.lu@intel.com>hjl2005-09-172-1/+12
| | | | | | | | * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Use libjava_find_lib to find the proper libgcj. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104370 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (output_constant): Do not abort on VIEW_CONVERT_EXPRsebotcazou2005-09-172-2/+8
| | | | | | | between different sizes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104368 138bc75d-0d04-0410-961f-82ee72b054a4
* Correction. Committed wrong patch earlier today.green2005-09-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104367 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-09-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104364 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/warn/huge-val1.C: Disable tests on values of HUGE_VAL,jsm282005-09-172-0/+7
| | | | | | | HUGE_VALF and HUGE_VALL unless __GLIBC__ is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104361 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/20198green2005-09-162-3/+16
| | | | | | | | * java/net/URLClassLoader.java (FileURLLoader.getResource): File resources should all have canonicalized names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104360 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:janis2005-09-162-0/+43
| | | | | | | New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104358 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/23914mmitchel2005-09-164-0/+26
| | | | | | | | | | | * parser.c (cp_parser_enclosed_template_argument_list): Make sure skip_evaluation is false when processing template arguments. PR c++/23914 * g++.dg/template/static18.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104350 138bc75d-0d04-0410-961f-82ee72b054a4
* * MAINTAINERS: Add self as java maintainer.tromey2005-09-162-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104348 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/21514mmitchel2005-09-165-12/+24
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104344 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-16 Paolo Bonzini <bonzini@gnu.org>bonzini2005-09-162-4/+9
| | | | | | | | | | PR 23903 * passes.c (init_optimization_passes): Register dump files for IPA passes first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104343 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-16 Andreas Krebbel <krebbel1@de.ibm.com>krebbel2005-09-164-0/+59
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104342 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-16 Richard Guenther <rguenther@suse.de>rguenth2005-09-164-0/+12
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104341 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/23357jason2005-09-163-2/+15
| | | | | | | | * cp-tree.def (SIZEOF_EXPR, ALIGNOF_EXPR): Change code class to tcc_expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104340 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-16 Paul Brook <paul@codesourcery.com>pbrook2005-09-164-2/+24
| | | | | | | | | | | | PR fortran/23906 fortran/ * dependency.c (transform_sections): Divide by correct value. Elaborate comment. testsuite/ * gfortran.dg/dependency_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104339 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/23896mmitchel2005-09-164-5/+37
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104336 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2005-09-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104333 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/gc_locks.h (GC_test_and_set): Change thekazu2005-09-152-1/+6
| | | | | | | constraint of the first operand to '0'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104329 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m32c/m32c-lib1.S (__m32c_eh_return): Fix typo.dj2005-09-152-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104328 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/16032:tromey2005-09-155-16/+101
| | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104325 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-15 Paolo Bonzini <bonzini@gnu.org>bonzini2005-09-152-11/+30
| | | | | | | | | * optabs.c (expand_binop): Use swap_commutative_operands_with_target to order operands. (swap_commutative_operands_with_target): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104324 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR libgcj/23288:tromey2005-09-152-10/+57
| | | | | | | | | * java/net/URLClassLoader.java (definePackage): Correctly order arguments to definePackage. Look up per-entry Attributes. (getAttributeValue): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104320 138bc75d-0d04-0410-961f-82ee72b054a4
* fixincludes:jsm282005-09-156-7/+270
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104315 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2005-09-156-7/+84
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104314 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-15 Paolo Carlini <pcarlini@suse.de>paolo2005-09-154-24/+244
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104313 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-15 Daniel Berlin <dberlin@dberlin.org>dberlin2005-09-154-10/+35
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104312 138bc75d-0d04-0410-961f-82ee72b054a4
* * pt.c (check_explicit_instantiation_namespace): Fix typo.mmitchel2005-09-152-1/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104311 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/13140mmitchel2005-09-159-14/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104310 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-14 Bryce McKinlay <mckinlay@redhat.com>bryce2005-09-154-35/+36
| | | | | | | | | | | | | | | | | | 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104305 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/23725nathan2005-09-152-1/+6
| | | | | | | * error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104302 138bc75d-0d04-0410-961f-82ee72b054a4