aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-04-04re PR classpath/26990 (SecurityManager.checkExit() problem)Tom Tromey6-5/+40
PR libgcj/26990: * prims.cc (_Jv_RunMain): Use exitNoChecksAccessor. * gnu/java/lang/natMainThread.cc (call_main): Use exitNoChecksAccessor. * testsuite/libjava.lang/pr26990.out: New file. * testsuite/libjava.lang/pr26990.java: New file. * java/lang/Runtime.java (exitNoChecks): New method. (exitNoChecksAccessor): Likewise. (exit): Call exitNoChecks. From-SVN: r112685
2006-04-04i386.c (machopic_output_stub): Output \t between instructions and operands.Eric Christopher5-46/+57
2006-04-04 Eric Christopher <echristo@apple.com> * config/i386/i386.c (machopic_output_stub): Output \t between instructions and operands. 2006-04-04 Eric Christopher <echristo@apple.com> * gcc.target/i386/387-1.c: Allow regexp to match darwin stubs. * gcc.target/i386/387-5.c: Ditto. From-SVN: r112683
2006-04-04gen-classlist.sh.in: Correct handle generated files.Tom Tromey5-41/+86
* lib/gen-classlist.sh.in: Correct handle generated files. 2006-04-04 Mark Wielaard <mark@klomp.org> * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2 as temporary file name. 2006-04-04 Tom Tromey <tromey@redhat.com> * lib/split-for-gcj.sh: Updated for multi-field format. * lib/Makefile.am (CLEANFILES): Added classes.2. * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and classes.2 using multiple fields. From-SVN: r112677
2006-04-04rs6000.c (num_insns_constant_wide): Change satisfies_constraint_[IL] to ↵David Edelsohn2-2/+8
explicit tests on value. * config/rs6000/rs6000.c (num_insns_constant_wide): Change satisfies_constraint_[IL] to explicit tests on value. From-SVN: r112676
2006-04-04tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, [...]): Use ↵Sebastian Pop3-3/+11
build_int_cst instead of build_int_cst_type. * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, set_nb_iterations_in_loop): Use build_int_cst instead of build_int_cst_type. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Use build_int_cst instead of convert. From-SVN: r112673
2006-04-04tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming.Carlos O'Donell8-9/+208
gcc/ 2006-04-04 Carlos O'Donell <carlos@codesourcery.com> * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document new value 2 for incoming. * function.c (expand_function_start): Call struct_value_rtx with incoming as 2. * config/sparc/sparc.md: Comment updated_return. * config/sparc/sparc.opt: Add -mstd-struct-return option. * config/sparc/sparc.c (sparc_struct_value_rtx): Use standard struct return if sparc_std_struct_return and incoming is 2. (print_operand): Do not adjust return if sparc_std_struct_return. gcc/testsuite/ 2006-04-04 Carlos O'Donell <carlos@codesourcery.com> * gcc.target/sparc/struct-ret-check.c: New test. From-SVN: r112672
2006-04-04Temporarily reverting previous patch due to build-breaking bug.Tom Tromey5-77/+39
From-SVN: r112671
2006-04-04builtins.c (fold_builtin_sprintf): Use fold_convert instead of convert in ↵Roger Sayle4-36/+47
the middle-end. * builtins.c (fold_builtin_sprintf): Use fold_convert instead of convert in the middle-end. * expr.c (store_expr, store_constructor, get_inner_reference, expand_expr_real_1, string_constant, try_casesi, try_tablejump): Likewise. * tree.c (build_range_type): Likewise. From-SVN: r112670
2006-04-04* doc/install.texi (Prerequisites): Mention jar.Tom Tromey2-0/+8
From-SVN: r112666
2006-04-04tree-ssa.texi (Preserving the virtual ssa form): New subsection.Daniel Berlin2-0/+25
2006-04-04 Daniel Berlin <dberlin@dberlin.org> * doc/tree-ssa.texi (Preserving the virtual ssa form): New subsection. From-SVN: r112665
2006-04-04[multiple changes]Tom Tromey5-39/+77
2006-04-04 Mark Wielaard <mark@klomp.org> * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2 as temporary file name. 2006-04-04 Tom Tromey <tromey@redhat.com> * lib/split-for-gcj.sh: Updated for multi-field format. * lib/Makefile.am (CLEANFILES): Added classes.2. * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and classes.2 using multiple fields. From-SVN: r112664
2006-04-04MAINTAINERS: Add Richard Henderson as libgomp maintainer.Gerald Pfeifer2-3/+9
* MAINTAINERS: Add Richard Henderson as libgomp maintainer. Rearrange the entries of other libraries to have them in one place. From-SVN: r112658
2006-04-04fmt_zero_digits.f90: New test for no error when zero decimal digits ↵Jerry DeLisle2-0/+15
specified in format. 2006-04-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/fmt_zero_digits.f90: New test for no error when zero decimal digits specified in format. From-SVN: r112657
2006-04-04write.c (output_float): Update condition to not error when decimal precision ↵Jerry DeLisle2-1/+6
in format specifier is zero. 2006-04-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/write.c (output_float): Update condition to not error when decimal precision in format specifier is zero. From-SVN: r112656
2006-04-04Makefile.in: Rebuilt.Tom Tromey37-16663/+76
fastjar Removed libjava * Makefile.in: Rebuilt. * Makefile.am (ZIP): Removed. (libgcj-$(gcc_version).jar): Use $(JAR). (src.zip): Likewise. * configure: Rebuilt. * configure.ac: Check for jar. Removed code to set ZIP. From-SVN: r112654
2006-04-04extend.texi (Function Attributes): Rewrite visibility attribute documentation.Geoffrey Keating3-28/+88
* doc/extend.texi (Function Attributes): Rewrite visibility attribute documentation. * doc/invoke.texi (C++ Dialect Options): Rewrite -fvisibility-inlines-hidden documentation to describe something entirely different, although in practise compatible. (Code Gen Options): Warn about system headers in -fvisibiltity= documentation. From-SVN: r112653
2006-04-04Daily bump.GCC Administrator1-1/+1
From-SVN: r112651
2006-04-03Makefile.in (unprotoize.o): Same dependencies as for protoize.o.Matthias Klose2-4/+8
2006-04-04 Matthias Klose <doko@debian.org> * Makefile.in (unprotoize.o): Same dependencies as for protoize.o. From-SVN: r112647
2006-04-03extend.texi (Other Builtins): Document that __builtin_nan is a compile-time ↵Geoffrey Keating2-2/+9
constant only when... * doc/extend.texi (Other Builtins): Document that __builtin_nan is a compile-time constant only when its argument is valid. From-SVN: r112646
2006-04-03simplify-rtx.c (simplify_unary_operation_1): When trying to remove TRUNCATE ↵Adam Nemet2-1/+8
check if all bits outside the new mode are... * simplify-rtx.c (simplify_unary_operation_1) <TRUNCATE>: When trying to remove TRUNCATE check if all bits outside the new mode are identical to the sign bit. From-SVN: r112643
2006-04-03tree-ssa-dom.c (propagate_rhs_into_lhs): Avoid useless folding and operand ↵Jeff Law2-10/+50
scanning in some common cases. * tree-ssa-dom.c (propagate_rhs_into_lhs): Avoid useless folding and operand scanning in some common cases. From-SVN: r112642
2006-04-03re PR libgcj/26858 (NullPointerException not generated for large classes...)Andrew Haley2-1/+8
2006-04-03 Andrew Haley <aph@redhat.com> PR java/26858 * expr.c (build_field_ref): Don't check the field offset if flag_syntax_only. From-SVN: r112640
2006-04-03fix changelog entryPaolo Bonzini1-1/+1
From-SVN: r112638
2006-04-03re PR target/19653 (x87 reg allocated for constants for -mfpmath=sse)Paolo Bonzini8-85/+191
2005-08-08 Paolo Bonzini <bonzini@gnu.org> Dale Johannesen <dalej@apple.com> PR target/19653 * regclass.c (struct reg_pref): Update documentation. (regclass): Set prefclass to NO_REGS if memory is the best option. (record_reg_classes): Cope with a prefclass set to NO_REGS. * reload.c (find_reloads): Take PREFERRED_OUTPUT_RELOAD_CLASS into account. For non-registers, equate an empty preferred reload class to a `!' in the constraint; move the if clause to do so after those that reject the insn. (push_reload): Allow PREFERRED_*_RELOAD_CLASS to liberally return NO_REGS. (find_dummy_reload): Likewise. * doc/tm.texi (Register Classes): Document what it means if PREFERRED_*_RELOAD_CLASS return NO_REGS. * config/i386/i386.c (ix86_preferred_reload_class): Force using SSE registers (and return NO_REGS for floating-point constants) if math is done with SSE. (ix86_preferred_output_reload_class): New. * config/i386/i386-protos.h (ix86_preferred_output_reload_class): New. * config/i386/i386.h (PREFERRED_OUTPUT_RELOAD_CLASS): New. * config/i386/i386.md: Remove # register preferences. Co-Authored-By: Dale Johannesen <dalej@apple.com> From-SVN: r112637
2006-04-03Float_2.java: New file.Andrew Haley3-0/+142
2006-04-03 Andrew Haley <aph@redhat.com> * testsuite/libjava.lang/Float_2.java: New file. From-SVN: r112636
2006-04-03re PR tree-optimization/26992 (Internal Compiler Error in dwarf2out.c:7607 ↵Sebastian Pop3-23/+46
build_polynomial_chrec) PR bootstrap/26992 * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, chrec_is_positive, set_nb_iterations_in_loop): Use a variable for the type of nb_iter. (instantiate_parameters_1): Convert the operands before calling chrec_fold_minus, chrec_fold_plus, or chrec_fold_multiply. * tree-data-ref.c (can_use_analyze_subscript_affine_affine): Same. From-SVN: r112635
2006-04-03re PR testsuite/26981 (g++.old-deja/g++.other/init18.C fails)Paul Thomas13-143/+316
2006-04-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/26981 * trans.h : Prototype for gfc_conv_missing_dummy. * trans-expr (gfc_conv_missing_dummy): New function (gfc_conv_function_call): Call it and tidy up some of the code. * trans-intrinsic (gfc_conv_intrinsic_function_args): The same. PR fortran/26976 * array.c (gfc_array_dimen_size): If available, return shape[dimen]. * resolve.c (resolve_function): If available, use the argument shape for the function expression. * iresolve.c (gfc_resolve_transfer): Set shape[0] = size. 2006-04-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/26981 * gfortran.dg/missing_optional_dummy_1.f90: New test. PR fortran/26976 * gfortran.dg/compliant_elemental_intrinsics_1.f90: New test. * gfortran.dg/initialization_1.f90: Make assignment compliant. * gfortran.dg/transfer_array_intrinsic_1.f90: Simplify. * gfortran.dg/transfer_array_intrinsic_2.f90: Make assignments compliant and detect bigendian-ness. From-SVN: r112634
2006-04-03builtins.c (dummy_object): Use build_int_cst instead of convert.Roger Sayle9-43/+58
* builtins.c (dummy_object): Use build_int_cst instead of convert. * tree-ssa-ccp.c (maybe_fold_stmt_addition): Use fold_convert instead of convert. * dojump.c (do_jump): Likewise. * expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE, ARGS_SIZE_TREE): Likewise. * gimplify.c (gimple_boolify, gimplify_init_constructor, gimplify_boolean_expr): Likewise. * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. * varasm.c (array_size_for_constructor): Likewise. * tree-object-size.c (compute_object_offset): Likewise. From-SVN: r112633
2006-04-03Daily bump.GCC Administrator1-1/+1
From-SVN: r112631
2006-04-02re PR middle-end/26977 (ICE in emit_move_insn)Roger Sayle2-6/+18
PR middle-end/26977 * expr.c (emit_group_store): Check whether simplify_gen_subreg returns NULL_RTX, indicating it couldn't create a valid paradoxical subreg. From-SVN: r112626
2006-04-02trans-array.c (gfc_trans_dealloc_allocated): Take a tree representation of ↵Erik Edelmann6-11/+29
the array to be deallocated as argument instead... 2006-04-02 Erik Edelmann <eedelman@gcc.gnu.org> * trans-array.c (gfc_trans_dealloc_allocated): Take a tree representation of the array to be deallocated as argument instead of its gfc_symbol. (gfc_trans_deferred_array): Update call to gfc_trans_dealloc_allocated. * trans-array.h (gfc_trans_dealloc_allocated): Update prototype. * trans-expr.c (gfc_conv_function_call): Update call to gfc_trans_dealloc_allocated, get indirect reference to dummy arguments. 2006-04-02 Erik Edelmann <eedelman@gcc.gnu.org> * gfortran.dg/allocatable_dummy_1.f90: Also check that allocatable dummy arguments work when the actual argument is itself a dummy argument of the caller. From-SVN: r112625
2006-04-02re PR tree-optimization/26939 (loop number of iterations analysis not working)Sebastian Pop2-1/+6
PR tree-optimization/26939 * tree-chrec.c (chrec_merge): Use eq_evolutions_p. From-SVN: r112623
2006-04-02tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument at_stmt.Sebastian Pop5-89/+167
* tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument at_stmt. Convert the type of operands before calling build_polynomial_chrec. (add_to_evolution): Pass an extra argument at_stmt. Adjust the call to add_to_evolution_1. (follow_ssa_edge_in_rhs): Adjust call to add_to_evolution. (instantiate_parameters_1): Convert the type of operands before calling build_polynomial_chrec. * tree-chrec.c (chrec_fold_poly_cst, chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly, chrec_replace_initial_condition, reset_evolution_in_loop): Insert asserts to check the types of the operands. (chrec_type): Moved... (eq_evolutions_p): Use operand_equal_p. * tree-chrec.h (build_polynomial_chrec): Insert an assert to check the types of the operands. (chrec_type): ...here. * tree-data-ref.c (create_data_ref): Convert the operands before calling chrec_replace_initial_condition. (same_access_functions, analyze_subscript_affine_affine, analyze_miv_subscript, all_chrecs_equal_p): Use eq_evolutions_p. (compute_subscript_distance, analyze_ziv_subscript, analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_1_2, analyze_miv_subscript): Convert the operands before calling chrec_fold_minus or chrec_fold_plus. From-SVN: r112621
2006-04-02tree-data-ref.c (compute_all_dependences): Use a pointer to the ↵Sebastian Pop2-4/+11
dependence_relations vector. * tree-data-ref.c (compute_all_dependences): Use a pointer to the dependence_relations vector. (compute_data_dependences_for_loop): Adjust call to compute_all_dependences. From-SVN: r112620
2006-04-02gimplify.c (gimplify_scan_omp_clauses): Call gimple_boolify on the condition ↵Roger Sayle2-1/+11
before calling gimplify_expr. * gimplify.c (gimplify_scan_omp_clauses) <OMP_CLAUSE_IF>: Call gimple_boolify on the condition before calling gimplify_expr. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r112619
2006-04-02Daily bump.GCC Administrator1-1/+1
From-SVN: r112617
2006-04-01re PR libfortran/24685 (real(16) formatted input is broken for huge values ↵Eric Botcazou2-1/+6
(gfortran.dg/default_format_2.f90)) PR libfortran/24685 * gfortran.dg/large_real_kind_form_io_2.f90: XFAIL on SPARC/Solaris. From-SVN: r112611
2006-04-01fpu-387.h: Use previously added SSE code in all cases, as it really is the ↵Francois-Xavier Coudert2-10/+5
right thing to do. * config/fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. From-SVN: r112610
2006-04-01re PR fortran/25270 (testcases fail with a type mismatch)Roger Sayle2-7/+17
PR fortran/25270 * trans-array.c (gfc_trans_allocate_array_storage): In array index calculations use gfc_index_zero_node and gfc_index_one_node instead of integer_zero_node and integer_one_node respectively. (gfc_conv_array_transpose): Likewise. (gfc_conv_ss_startstride): Likewise. (gfc_trans_dummy_array_bias): Likewise. From-SVN: r112608
2006-04-01dependency.c (gfc_is_inside_range): Delete.Roger Sayle4-46/+122
* dependency.c (gfc_is_inside_range): Delete. (gfc_check_element_vs_section): Significant rewrite. * gfortran.dg/dependencency_17.f90: New test case. From-SVN: r112607
2006-04-01dependency.c (gfc_dep_compare_expr): Strip parentheses and unary plus ↵Roger Sayle6-14/+184
operators when comparing expressions. * dependency.c (gfc_dep_compare_expr): Strip parentheses and unary plus operators when comparing expressions. Handle comparisons of the form "X+C vs. X", "X vs. X+C", "X-C vs. X" and "X vs. X-C" where C is an integer constant. Handle comparisons of the form "P+Q vs. R+S" and "P-Q vs. R-S". Handle comparisons of integral extensions specially (increasing functions) so extend(A) > extend(B), when A>B. (gfc_check_element_vs_element): Move test later, so that we ignore the fact that "A < B" or "A > B" when A or B contains a forall index. * gfortran.dg/dependency_14.f90: New test case. * gfortran.dg/dependency_15.f90: Likewise. * gfortran.dg/dependency_16.f90: Likewise. From-SVN: r112605
2006-04-01lib1funcs.asm: Rename abi_entry/abi_return macros to leaf_entry/leaf_return.Bob Wilson4-207/+216
* config/xtensa/lib1funcs.asm: Rename abi_entry/abi_return macros to leaf_entry/leaf_return. Change leaf_entry to add 16 bytes to the frame size. Update to use the new macros. * config/xtensa/ieee754-sf.S: Use new leaf_entry/leaf_return macros. * config/xtensa/ieee754-df.S: Likewise. From-SVN: r112604
2006-03-31tree-cfg.c (make_ctrl_stmt_edges, [...]): Merge into...Richard Henderson2-152/+102
* tree-cfg.c (make_ctrl_stmt_edges, make_exit_edges): Merge into... (make_edges): ... here. Control fallthru creation with a local variable. Do not play with fake edges. (make_omp_sections_edges): Don't set EDGE_ABNORMAL. (make_goto_expr_edges): Don't play with fake edges. Make for_call a boolean. From-SVN: r112603
2006-04-01dwarf2.h (DW64_CIE_ID): Define.Joseph Myers3-5/+26
* dwarf2.h (DW64_CIE_ID): Define. * dwarf2out.c (DWARF_CIE_ID): Define. (output_call_frame_info): Output 0xffffffff before standard 8-byte length header. Use DWARF_CIE_ID. (value_format): Use DW_FORM_data4 or DW_FORM_data8 for dw_val_class_loc_list depending on DWARF_OFFSET_SIZE. From-SVN: r112601
2006-04-01Daily bump.GCC Administrator1-1/+1
From-SVN: r112599
2006-04-01re PR fortran/25358 (vector assignment to assumed-size Cray Pointee error)Asher Langton4-1/+23
2006-03-31 Asher Langton <langton2@llnl.gov> PR fortran/25358 *expr.c (gfc_check_assign): Allow cray pointee to be assumes-size. 2006-03-31 Asher Langton <langton2@llnl.gov> PR fortran/25358 gfortran.dg/cray_pointers_6.f90: New test. From-SVN: r112594
2006-03-31linux-atomic.asm: New file.Kaz Kojima3-1/+144
* config/sh/linux-atomic.asm: New file. * config/sh/t-linux (LIB2FUNCS_EXTRA): Add linux-atomic.asm. From-SVN: r112593
2006-03-31pex-win32.c (<errno.h>): Include.Mark Mitchell2-258/+335
* pex-win32.c (<errno.h>): Include. (fix_argv): Remove. (argv_to_cmdline): New function. (std_suffixes): New variable. (no_suffixes): Likewise. (find_executable): New function. (win32_spawn): Likewise. (spawn_script): Use win32_spawn instead of _spawnv[p]. (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls. (pex_win32_wait): Likewise. From-SVN: r112592
2006-03-31cond.md: Set condition flags properly throughout.DJ Delorie13-35/+367
* config/m32c/cond.md: Set condition flags properly throughout. * config/m32c/minmax.md: Likewise. * config/m32c/prologue.md: Likewise. * config/m32c/bitops.md: Likewise. * config/m32c/muldiv.md: Likewise. * config/m32c/mov.md: Likewise. * config/m32c/addsub.md: Likewise. * config/m32c/m32c.md: Likewise. * config/m32c/jump.md: Likewise. * config/m32c/shift.md: Likewise. * config/m32c/cond.md (cmp<mode>): Call m32c_output_compare to conditionally output the pattern for this. * config/m32c/m32c.c (flags_needed_for_conditional): New. (m32c_compare_redundant): New. (m32c_output_compare): New. * config/m32c/m32c-protos.h (m32c_output_compare): New. * config/m32c/m32c.c (m32c_prepare_shift): Fix logic to clobber dest, not src. Allow other 4-byte modes. From-SVN: r112591
2006-03-31posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.Andreas Tobler2-1/+5
2006-03-31 Andreas Tobler <a.tobler@schweiz.ch> * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. From-SVN: r112587