- 08 Mar, 2007 24 commits
-
-
* decContext.c, decContext.h, decDPD.h, decimal128.c, decimal128.h, decimal32.c, decimal32.h, decimal64.c, decimal64.h, decLibrary.c, decNumber.c, decNumber.h, decNumberLocal.h, decRound.c, decRound.h, decUtility.c, decUtility.h: Add libgcc-style license exception clause. From-SVN: r122722
Ben Elliston committed -
2007-03-08 Daniel Franke <franke.daniel@gmail.com> PR fortran/30947 * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with integer arguments. From-SVN: r122716
Daniel Franke committed -
2007-03-08 Daniel Franke <franke.daniel@gmail.com> PR fortran/30947 * check.c (gfc_check_alarm_sub): Added check for default integer kind of status argument. * iresolve.c (gfc_resolve_alarm_sub): Removed conversion of status argument. * intrinsic.texi (ALARM): Extended documentation. From-SVN: r122715
Daniel Franke committed -
* builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl, llceil, llceilf, llceill, llfloor, llfloorf, llfloorl): Mark with ATTR_CONST_NOTHROW_LIST. * fold-const.c (tree_expr_nonnegative_warnv_p): Handle FIX_TRUNC_EXPR. testsuite: * gcc.dg/builtins-55.c: Test *lceil* and *lfloor*. * gcc.dg/torture/builtin-attr-1.c: Likewise. * gcc.dg/torture/builtin-convert-1.c: Likewise. Also test *lrint* and *lround*. * gcc.dg/torture/builtin-convert-2.c: Test ceil->lceil and floor->lfloor. * gcc.dg/torture/builtin-convert-3.c: Test *lceil* and *lfloor*. * gcc.dg/torture/builtin-integral-1.c: Likewise. * gcc.dg/torture/builtin-minmax-1.c: Likewise. Also test *lrint* and *lround*. Correct macro names. * gcc.dg/torture/builtin-nonneg-1.c: Test *lceil* and *lfloor*. * gcc.dg/torture/builtin-rounding-1.c: Likewise. From-SVN: r122713
Kaveh R. Ghazi committed -
2007-03-08 Daniel Franke <franke.daniel@gmail.com> * intrinsic.texi (GERROR, ISATTY, TTYNAM): New. (ABORT, FLUSH, FNUM, IRAND, MALLOC, SIGNAL, SRAND): Fixed typo. * intrinsic.c (add_subroutines): Adjusted dummy argument names of GERROR and TTYNAM. From-SVN: r122712
Daniel Franke committed -
* doc/tree-ssa.texi: Remove documentation for V_MUST_DEF. From-SVN: r122710
Diego Novillo committed -
PR 31013 * gccspec.c (lang_specific_driver): Do nothing when NEXT_OBJC_RUNTIME is declared. * config/darwin.h (REAL_LIBGCC_SPEC): When -fgnu-runtime is passed, use shared libgcc. From-SVN: r122709
Geoffrey Keating committed -
tree-eh.c (do_return_redirection): Call build_gimple_modify_stmt instead of calling build2 with a GIMPLE_MODIFY_STMT. * tree-eh.c (do_return_redirection): Call build_gimple_modify_stmt instead of calling build2 with a GIMPLE_MODIFY_STMT. (honor_protect_cleanup_actions, lower_try_finally_switch): Likewise. * tree-if-conv.c (replace_phi_with_cond_gimple_modify_stmt, ifc_temp_var): Likewise. * tree-inline.c (setup_one_parameter): Likewise. * tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for): Likewise. * tree-nested.c (init_tmp_var, save_tmp_var, finalize_nesting_tree_1): Likewise. * tree-outof-ssa.c (insert_copy_on_edge, insert_backedge_copies): Likewise. * tree-profile.c (tree_gen_edge_profiler, tree_gen_ic_profiler): Likewise. * tree-scalar-evolution.c (scev_const_prop): Likewise. * tree-sra.c (sra_build_assignment): Likewise. * tree-ssa-loop-im.c (determine_invariantness_stmt): Likewise. * tree-ssa-math-opts.c (insert_reciprocals, execute_cse_sincos_1): Likewise. * tree-tailcall.c (adjust_accumulator_values, adjust_return_value): Likewise. * tree-vect-patterns.c (vect_pattern_recog_1): Likewise. * tree-vect-transform.c (vect_create_data_ref_ptr, bump_vector_ptr, vect_init_vector, get_initial_def_for_induction, vect_create_epilog_for_reduction, vectorizable_reduction, vectorizable_call, vectorizable_conversion, vectorizable_assignment, vectorizable_operation, vectorizable_type_demotion, vect_gen_widened_results_half, vect_permute_store_chain, vectorizable_store, vect_setup_realignment, vect_permute_load_chain, vectorizable_load, vectorizable_condition, vect_create_cond_for_align_checks): Likewise. * tree-vrp.c (build_assert_expr_for): Likewise. From-SVN: r122707
Roger Sayle committed -
./: * tree-vrp.c: Include "intl.h". (usable_range_p): New static function. (compare_values_warnv): Don't test TYPE_OVERFLOW_UNDEFINED for overflowed values, juts set *strict_overflow_p. (compare_values): Only return -2 if one of the operands is not a constant. (compare_ranges): Call usable_range_p. (compare_range_with_value): Likewise. (vrp_evaluate_conditional_warnv): Rename from vrp_evaluate_conditional. Make static. Change all callers. (vrp_evaluate_conditional): New function. (simplify_div_or_mod_using_ranges): Issue warning about reliance on signed overflow. (simplify_abs_using_ranges): Likewise. (simplify_stmt_for_jump_threading): Add within_stmt parameter. * tree-ssa-dom.c (simplify_stmt_for_jump_threading): Add within_stmt parameter. * tree-ssa-propagate.c (fold_predicate_in): Update call to vrp_evaluate_conditional. * tree-ssa-threadedge.c (record_temporary_equivalences_from_stmts_at_dest): Change simplify parameter to take a second tree parameter. (simplify_control_stmt_condition): Likewise. (thread_across_edge): Likewise. * tree-flow.h (vrp_evaluate_conditional): Update declaration. (thread_across_edge): Likewise. * gcc/Makefile.in (tree-vrp.o): Depend upon intl.h. testsuite/: * gcc.dg/no-strict-overflow-5.c: New test. * gcc.dg/no-strict-overflow-6.c: New test. * gcc.dg/Wstrict-overflow-11.c: New test. * gcc.dg/Wstrict-overflow-12.c: New test. * gcc.dg/Wstrict-overflow-13.c: New test. * gcc.dg/Wstrict-overflow-14.c: New test. * gcc.dg/Wstrict-overflow-15.c: New test. From-SVN: r122706
Ian Lance Taylor committed -
* config/i386/i386.h (TARGET_SAHF): New define. * config/i386/i386.c (ix86_tune_features) [X86_TUNE_USE_SAHF]: Also enable for m_K8, m_AMDFAM10 and m_CORE2. (x86_sahf): New global variable. (override_options): Add PTA_NO_SAHF to pta_flags enum. Recode pta_flags masks using shifts. Add PTA_NO_SAHF to x86_64 and nocona processor flags. Set x86_sahf when PTA_NO_SAHF is not set in processor flags. Do not unconditionally disable TARGET_USE_SAHF for 64-bit. (ix86_fp_comparison_sahf_cost): Return high value for !TARGET_SAHF. (ix86_expand_fp_compare): Check for TARGET_CMOVE or TARGET_SAHF when expanding fcomi/sahf based tests. (ix86_emit_fp_unordered_jump): Check for TARGET_SAHF when expanding sahf based alternative. Emit sahf based sequence when optimizing for code size. * config/i386/i386.md (x86_sahf_1): Do not disable for TARGET_64BIT, enable for TARGET_SAHF. From-SVN: r122705
Uros Bizjak committed -
gcc/testsuite/ * gcc.c-torture/execute/strcmp-1.x: New file. XFAIL execution for VxWorks kernel mode. * gcc.c-torture/execute/strncmp-1.x: Likewise. From-SVN: r122703
Richard Sandiford committed -
gcc/testsuite/ * gcc.c-torture/execute/ieee/hugeval.x: XFAIL for VxWorks kernel mode. From-SVN: r122702
Richard Sandiford committed -
gcc/testsuite/ * gcc.c-torture/execute/builtins/memmove-lib.c: Include lib/bzero.c and lib/bfill.c on VxWorks targets. * gcc.c-torture/execute/builtins/memmove-2-lib.c: Likewise. * gcc.c-torture/execute/builtins/strchr-lib.c: Include lib/bzero.c, lib/bfill.c and lib/memmove.c on VxWorks targets. * gcc.c-torture/execute/builtins/strrchr-lib.c: Likewise. * gcc.c-torture/execute/builtins/memops-asm-lib.c: Include lib/bfill.c on VxWorks targets. * gcc.c-torture/execute/builtins/lib/bzero.c: New file. * gcc.c-torture/execute/builtins/lib/bfill.c: Likewise. From-SVN: r122701
Richard Sandiford committed -
2007-03-08 Gary Benson <gbenson@redhat.com> PR classpath/30983: * gnu/xml/dom/ls/DomLSParser.java (getInputSource): Do not use the entity resolver to resolve the top-level document. From-SVN: r122700
Gary Benson committed -
2007-07-08 Tobias Burnus <burnus@net-b.de> * module.c (gfc_match_use): Support renaming of operators in USE statements. * gfortran.texi (Fortran 2003 Status): Document support of renaming of operators. 2007-03-08 Tobias Burnus <burnus@net-b.de> * gfortran.dg/use_5.f90: New test. * gfortran.dg/use_6.f90: Ditto. * gfortran.dg/use_7.f90: Ditto. From-SVN: r122699
Tobias Burnus committed -
2007-03-08 Tobias Burnus <burnus@net-b.de> PR fortran/30973 * module.c (read_module): Always import module name as symbol. (gfc_match_use): Disallow module name in the only clause of a use statement. 2007-03-08 Tobias Burnus <burnus@net-b.de> PR fortran/30973 * gfortran.dg/use_4.f90: New test. * gfortran.dg/used_dummy_types_7.f90: Correct ambiguous symbol. From-SVN: r122696
Tobias Burnus committed -
From-SVN: r122693
Joseph Myers committed -
* src/powerpc/ffi.c (flush_icache): Fix left-over from previous patch. (ffi_prep_closure_loc): Remove unneeded casts. Add needed ones. From-SVN: r122692
Alexandre Oliva committed -
spurious whitespace from error message. From-SVN: r122690
Martin Michlmayr committed -
2007-03-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31011 * expr.c (find_array_section): Correct arithmetic for section size. 2007-03-08 Paul Thomas <pault@gcc.gnu.org> PR fortran/31011 * gfortran.dg/parameter_array_section_2.f90: New test. From-SVN: r122689
Paul Thomas committed -
PR c++/30852 * c-common.c (fold_offsetof_1): Handle COMPOUND_EXPR. * semantics.c (finish_offsetof): Handle COMPOUND_EXPR. * g++.dg/ext/offsetof1.C: Add cases with volatile. From-SVN: r122686
Volker Reichelt committed -
PR c++/30534 * pt.c (any_template_arguments_need_structural_equality_p): Robustify. * g++.dg/template/arg5.C: New test. From-SVN: r122685
Volker Reichelt committed -
gcc/ChangeLog: * c-decl.c (grokdeclarator): Disable warnings for anonymous bitfields. * tree-sra.c (instantiate_element): Propagate disabled warnings from the element itself to the created variable. gcc/cp/ChangeLog: * decl.c (grokdeclarator): Disable warnings for anonymous bitfields. From-SVN: r122684
Alexandre Oliva committed -
From-SVN: r122680
GCC Administrator committed
-
- 07 Mar, 2007 16 commits
-
-
* configure: Rebuilt. * configure.ac: Clear vm-tools-packages. From-SVN: r122677
Tom Tromey committed -
From-SVN: r122674
Brooks Moses committed -
From-SVN: r122670
Eric Botcazou committed -
PR target/30848 * reg-stack.c (emit_swap_insn): If a malformed asm was seen, silently fix up the stack in the case of a missing register. From-SVN: r122669
Richard Henderson committed -
* java/lang/Win32Process.java: Added nested class EOFInputStream. * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY enum and implementation. (startProcess): Use redirect flag. * classpath/lib/java/lang/Win32Process.class: Regenerated. * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. * gcj/javaprims.h: Regenerated. * java/lang/Win32Process$EOFInputStream.h: New. From-SVN: r122668
Mohan Embar committed -
From-SVN: r122667
Joseph Myers committed -
From-SVN: r122666
Joseph Myers committed -
2007-03-07 Andrew Haley <aph@redhat.com> * libgcj_bc.c (JvRunMainName): Declare. From-SVN: r122663
Andrew Haley committed -
2007-03-07 Gary Benson <gbenson@redhat.com> * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: New file. 2007-03-07 Gary Benson <gbenson@redhat.com> * sources.am, Makefile.in: Rebuilt. From-SVN: r122661
Gary Benson committed -
From-SVN: r122660
Mohan Embar committed -
* configure: Regenerate. config/: * acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside AC_MSG_RESULT. From-SVN: r122659
Andreas Schwab committed -
gcc: 2007-03-07 Paul Brook <paul@codesourcery.com> * config/arm/libunwind.S: Add .arch/.object_arch for armv4 builds. gcc: 2007-03-07 Joseph Myers <joseph@codesourcery.com> * config/arm/unwind-arm.c (struct wmmxd_regs, struct wmmxc_regs): New. (phase1_vrs): Use them. (DEMAND_SAVE_WMMXD, DEMAND_SAVE_WMMXC): New. (__gnu_Unwind_Save_WMMXD, __gnu_Unwind_Restore_WMMXD, __gnu_Unwind_Save_WMMXC, __gnu_Unwind_Restore_WMMXC): Declare. (restore_non_core_regs): Call __gnu_Unwind_Restore_WMMXD and __gnu_Unwind_Restore_WMMXC if required. (_Unwind_VRS_Pop): Implement iWMMXt support. * config/arm/libunwind.S (gnu_Unwind_Restore_WMMXD, gnu_Unwind_Save_WMMXD, gnu_Unwind_Restore_WMMXC, gnu_Unwind_Save_WMMXC): Define. gcc/testsuite: 2007-03-07 Joseph Myers <joseph@codesourcery.com> * g++.dg/eh/arm-iwmmxt-unwind.C: New test. From-SVN: r122658
Joseph Myers committed -
gcc/ * config/vxworks.h (vxworks_override_options): Declare. (VXWORKS_OVERRIDE_OPTIONS): Use it. * config/vxworks.c: Include target.h and toplev.h. (vxworks_override_options): New function. * config/t-vxworks (vxworks.o): Depend on $(TARGET_H) and toplev.h. From-SVN: r122657
Richard Sandiford committed -
2007-03-07 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/var-expand1.c: Add newline at end of file. From-SVN: r122656
Paolo Bonzini committed -
s390.c (override_options): Don't emit an error when -mstack-size is used without providing -mstack-guard. 2007-03-07 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (override_options): Don't emit an error when -mstack-size is used without providing -mstack-guard. (s390_emit_prologue): Choose stack_guard value automatically if not provided via command line. * doc/invoke.texi: Adjust description of -mstack-guard and -mstack-size. From-SVN: r122655
Andreas Krebbel committed -
gcc/ * config/i386/i386.c (output_set_got): Add a GOT initialization sequence for VxWorks PIC. (legitimate_pic_address_disp_p): Allow UNSPEC_GOT wrappers around labels as well as symbols. Use gotoff_operand instead of local_symbolic_operand. (legitimize_pic_address): Use gotoff_operand instead of local_symbolic_operand. Use @GOT accesses for labels as well as symbols. (ix86_output_addr_diff_elt): Use PC-relative rather than GP-relative offsets for VxWorks PIC. (ix86_expand_move): Pass NULL_RTX to legitimize_pic_address unless no_new_pseudos. Check whether the returned register is op0. * config/i386/i386.md (tablejump): Use PC-relative rather than GP-relative offsets for VxWorks PIC. * config/i386/predicates.md (gotoff_operand): New predicate. From-SVN: r122654
Richard Sandiford committed
-