- 18 Apr, 2006 1 commit
-
-
From-SVN: r113022
GCC Administrator committed
-
- 17 Apr, 2006 15 commits
-
-
PR libgcj/27171: * testsuite/libjava.lang/pr27171.java: New file. * testsuite/libjava.lang/pr27171.out: New file. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Return true if we've seen a high surrogate. (write): Handle high surrogates at the end of the stream. Properly emit isolated low surrogates. From-SVN: r113013
Tom Tromey committed -
* dwarf2out.c (free_AT): Delete. (remove_AT): Update string ref counts. (remove_child_TAG): Don't call free_die. (free_die): Delete. (break_out_includes): Don't call free_die on DW_TAG_GNU_BINCL or DW_TAG_GNU_EINCL. (prune_unused_types_walk_attribs): Reset string refcounts. (prune_unused_types_update_strings): New. (prune_unused_types_prune): Don't make unnecessary stores. Don't call free_die. Do call prune_unused_types_update_strings. (prune_unused_types): Empty debug_str_hash. From-SVN: r113012
Geoffrey Keating committed -
2006-04-17 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.lang/stringconst2.java: Print a stack trace in case of failure. From-SVN: r113011
Andreas Tobler committed -
PR c++/26114, c++/26115 * typeck.c (cxx_mark_addressable): Restore check for extra_warnings. * class.c (check_field_decls): Ditto. From-SVN: r113010
Janis Johnson committed -
expr.c (expand_assignment): Optimize away no-op moves where the source and destination are equal and have... * expr.c (expand_assignment): Optimize away no-op moves where the source and destination are equal and have no side-effects. From-SVN: r113009
Roger Sayle committed -
From-SVN: r113008
Volker Reichelt committed -
2006-04-17 Richard Guenther <rguenther@suse.de> PR target/26826 * reload.c (push_reload): Guard calls to get_secondary_mem for memory subregs. From-SVN: r113007
Richard Guenther committed -
* cgraph.h (cgraph_edge_p): New. Update the prototype of cgraph_function_versioning. * cgraphunit.c (cgraph_copy_node_for_versioning, cgraph_function_versioning): Use VEC instead of VARRAY. * ipa-cp.c (ipcp_insert_stage): Likewise. From-SVN: r113006
Kazu Hirata committed -
* alias.c (alias_sets): Change the type to VEC(alias_set_entry,gc) *. (get_alias_set_entry, new_alias_set, record_alias_subset): Use VEC instead of VARRAY. (last_alias_set): Remove. From-SVN: r113005
Kazu Hirata committed -
* alias.c (reg_base_value, old_reg_base_value): Change the type to VEC(rtx,gc) *. (REG_BASE_VALUE, find_base_value, record_set, init_alias_analysis): Use VEC instead of VARRAY. From-SVN: r113004
Kazu Hirata committed -
PR target/26961 * fold-const.c (fold_ternary): When converting "A ? B : C" into either "A op B" or "A op C", we may need to convert A to the type of B and C. * gcc.dg/fold-cond-1.c: New test case. * gcc.dg/pr26961-1.c: Likewise. From-SVN: r113001
Roger Sayle committed -
2006-04-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27138 * gfortran.dg/read_bad_advance.f90: New test. From-SVN: r113000
Jerry DeLisle committed -
2006-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27138 * io/list_read.c (eat_line): New function. (parse_repeat): Use new function and free_saved. (read_logical): Same. (read_integer): Use new function. (parse_real): Use nml_bad_return and new function. (read_complex): Use new function and free_saved. (read_real): Same. From-SVN: r112999
Jerry DeLisle committed -
* target.h (struct gcc_target): Add mode_rep_extended. * rtlanal.c (num_sign_bit_copies_in_rep): New global. (init_num_sign_bit_copies_in_rep): Initialize it using mode_rep_extended. (truncate_to_mode): Use it. (init_rtlanal): Call init_num_sign_bit_copies_in_rep. * targhooks.h (default_mode_rep_extended): Declare it. * targhooks.c (default_mode_rep_extended): Define it. * target-def.h (TARGET_MODE_REP_EXTENDED): New macro. Default to default_mode_rep_extended. (TARGET_INITIALIZER): Include it. * doc/tm.texi (Misc): Document it. * config/mips/mips.c (TARGET_TRUNCATED_TO_MODE): Override it. (mips_truncated_to_mode): New function. From-SVN: r112998
Adam Nemet committed -
From-SVN: r112995
GCC Administrator committed
-
- 16 Apr, 2006 10 commits
-
-
PR middle-end/25474 * expr.c (compress_float_constant): Copy the narrow constant into a new pseudo before extending it to its final width. From-SVN: r112991
Roger Sayle committed -
re PR target/24076 ((vector char){x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x} code gen is not that good) 2006-04-15 Roger Sayle <roger@eyesopen.com> Andrew Pinski <pinskia@gcc.gnu.org> Dale Johannesen <dalej@apple.com> PR target/24076 * config/i386/i386.c (ix86_expand_vector_init_duplicate): Add special case code to implement V8HImode and V16QImode with SSE2. * gcc.target/i386/vecinit-3.c: New testcase. * gcc.target/i386/vecinit-4.c: Likewise. * gcc.target/i386/sse-18.c: Likewise. * gcc.target/i386/sse-19.c: Likewise. Co-Authored-By: Andrew Pinski <pinskia@gcc.gnu.org> Co-Authored-By: Dale Johannesen <dalej@apple.com> From-SVN: r112990
Roger Sayle committed -
2006-04-16 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26017 * trans-array.c(gfc_array_init_size): Introduce or_expr which is true if the size along any dimension is negative. Create a temporary variable with base name size. If or_expr is true, set the temporary to 0, to the normal size otherwise. 2006-04-16 Thomas Koenig <Thomas.Koenig@online.de> * gfortran.dg/allocate_zerosize_1.f90: New test. From-SVN: r112988
Thomas Koenig committed -
PR c++/26365 * typeck.c (finish_class_member_access_expr): Robustify PR c++/26365 * g++.dg/template/crash45.C: New test. From-SVN: r112986
Mark Mitchell committed -
2006-04-16 Paolo Carlini <pcarlini@suse.de> PR libstdc++/6702 (again) * acinclude.m4 (GLIBCXX_ENABLE_C99): Don't check non-C99 wchar_t functions... (GLIBCXX_ENABLE_WCHAR_T): ... do that here. * configure.ac: Adjust order of checks. * configure: Regenerate. From-SVN: r112983
Paolo Carlini committed -
i386.c (ix86_va_start): Ensure all integer constant trees are constructed with a suitable tree type. * config/i386/i386.c (ix86_va_start): Ensure all integer constant trees are constructed with a suitable tree type. From-SVN: r112982
Roger Sayle committed -
2006-04-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/26822 * intrinsic.c (add_functions): Mark LOGICAL as elemental. PR fortran/26787 * expr.c (gfc_check_assign): Extend scope of error to include assignments to a procedure in the main program or, from a module or internal procedure that is not that represented by the lhs symbol. Use VARIABLE rather than l-value in message. PR fortran/27096 * trans-array.c (gfc_trans_deferred_array): If the backend_decl is not a descriptor, dereference and then test and use the type. PR fortran/25597 * trans-decl.c (gfc_trans_deferred_vars): Check if an array result, is also automatic character length. If so, process the character length. PR fortran/18803 PR fortran/25669 PR fortran/26834 * trans_intrinsic.c (gfc_walk_intrinsic_bound): Set data.info.dimen for bound intrinsics. * trans_array.c (gfc_conv_ss_startstride): Pick out LBOUND and UBOUND intrinsics and supply their shape information to the ss and the loop. PR fortran/27124 * trans_expr.c (gfc_trans_function_call): Add a new block, post, in to which all the argument post blocks are put. Add this block to se->pre after a byref call or to se->post, otherwise. 2006-04-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/26787 * gfortran.dg/proc_assign_1.f90: New test. * gfortran.dg/procedure_lvalue.f90: Change message. * gfortran.dg/namelist_4.f90: Add new error. PR fortran/27096 * gfortran.dg/auto_pointer_array_result_1.f90 PR fortran/27089 * gfortran.dg/specification_type_resolution_1.f90 PR fortran/18803 PR fortran/25669 PR fortran/26834 * gfortran.dg/bounds_temporaries_1.f90: New test. PR fortran/27124 * gfortran.dg/array_return_value_1.f90: New test. From-SVN: r112981
Paul Thomas committed -
* tree.c (integer_zerop): Ignore TREE_CONSTANT_OVERFLOW. (integer_onep): Likewise. (integer_all_onesp): Likewise. (integer_pow2p): Likewise. (integer_nonzerop): Likewise. (real_zerop): Likewise. (real_onep): Likewise. (real_twop): Likewise. (real_minus_onep): Likewise. (int_size_in_bytes): Likewise. (host_integerp): Likewise. From-SVN: r112980
Roger Sayle committed -
From-SVN: r112979
Kazu Hirata committed -
From-SVN: r112977
GCC Administrator committed
-
- 15 Apr, 2006 8 commits
-
-
From-SVN: r112972
Kazu Hirata committed -
* cfgcleanup.c, config/dfp-bit.c, expr.c, fold-const.c, jump.c, mips-tfile.c, omp-low.c, sched-int.h, tree-ssa-loop-prefetch.c, tree-vrp.c: Fix comment typos. From-SVN: r112971
Kazu Hirata committed -
* pa.md (output_bb patterns): Shorten long branch alternatives by 4. (output_bvb patterns): Likewise. * pa.c (output_bb): Use 'bb' insn for long branch case. (output_bvb): Likewise use '{bvb|bb}' for long branch case. (output_dbra): Use '{comb|cmpb}' for long branch case for alternative 1. Correct length operand for alternatives 1 and 2. (output_movb): Use '{comb|cmpb}' for long branch case for alternatives 1, 2 and 3. Correct length operand for alternatives 1, 2 and 3. From-SVN: r112970
John David Anglin committed -
* Make-lang.in (cp/pt.o): Depend on vecprim.h. * pt.c: Include vecprim.h. (inline_parm_levels): Change the type to VEC(int,heap) *. (inline_parm_levels_used): Remove. (maybe_begin_member_template_processing, maybe_end_member_template_processing): Use VEC instead of VARRAY. From-SVN: r112969
Kazu Hirata committed -
trans-io.c (set_string): Use fold_build2 and build_int_cst instead of build2 and convert to construct "x... * trans-io.c (set_string): Use fold_build2 and build_int_cst instead of build2 and convert to construct "x < 0" rather than "x <= -1". From-SVN: r112968
Roger Sayle committed -
2006-04-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/25336 * gfortran/dg/g77/20030115-1.f: Delete duplicate test. From-SVN: r112967
Jerry DeLisle committed -
tree-cfg.c (make_edges, [...]): Reinstate RTH's changes from r112935 that were accidentally reverted by r112959. * tree-cfg.c (make_edges, make_omp_sections_edges, move_stmt_r, is_ctrl_altering_stmt): Reinstate RTH's changes from r112935 that were accidentally reverted by r112959. From-SVN: r112966
Roger Sayle committed -
From-SVN: r112964
GCC Administrator committed
-
- 14 Apr, 2006 6 commits
-
-
PR middle-end/26823 * except.h (eh_region_outermost): New prototype. * except.c (eh_region_outermost): New function. * tree-cfg.c (find_outermost_region_in_block): Use it. * g++.dg/gomp/pr26823-1.C: New test. * g++.dg/gomp/pr26823-2.C: New test. From-SVN: r112959
Jakub Jelinek committed -
2006-04-14 Douglas Gregor <dgregor@cs.indiana.edu> PR libstdc++/27162 * include/bits/stl_algo.h (__search_n(,,,, _BinaryPredicate, std::forward_iterator_tag)): Use __binary_pred, not ==. From-SVN: r112957
Douglas Gregor committed -
* local-alloc.c (rest_of_handle_local_alloc): Use VEC instead of VARRAY. * reload1.c (reg_equiv_memory_loc_varray): Rename to reg_equiv_memory_loc_vec. Change the type to VEC(rtx,gc) *. (init_reload, reload): Use VEC instead of VARRAY. * reload.h: Update the prototype for reg_equiv_memory_loc_varray. From-SVN: r112955
Kazu Hirata committed -
* config/sparc/sparc.c (emit_and_preserve): Allocate space for the register save area. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r112950
Alexey Starovoytov committed -
PR middle-end/27134 * builtins.c (expand_builtin_int_roundingfn): Use expand_normal() to expand fallback builtin function call. testsuite/ChangeLog: PR middle-end/27134 * gcc.dg/pr27314.c: New test. From-SVN: r112949
Uros Bizjak committed -
PR middle-end/27095 * builtins.c: (expand_builtin_memset): Stabilize args before expansion and emit libcall here in case the builtin fails. (expand_builtin_strcmp): Always emit the libcall here on failure. From-SVN: r112948
Alan Modra committed
-