aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2006-02-03re PR c++/25979 (incorrect codegen for conditional [SVO issue])Jason Merrill5-2/+120
PR c++/25979 * gimplify.c (gimplify_modify_expr_rhs): Disable *& optimization for now. PR middle-end/25977 * gimplify.c (gimplify_modify_expr_rhs): It's not always safe to do RVO on the return slot if it's an NRV. From-SVN: r110565
2006-02-03Add the PR fortran number to the previous commit.Steven G. Kargl2-0/+2
From-SVN: r110561
2006-02-03tree-ssa-loop-ivopts.c (enum use_type): Remove USE_OUTER.Zdenek Dvorak2-225/+18
* tree-ssa-loop-ivopts.c (enum use_type): Remove USE_OUTER. (dump_use, add_derived_ivs_candidates, determine_use_iv_cost, rewrite_use): Do not handle USE_OUTER. (find_interesting_uses_outer_or_nonlin, find_interesting_uses_outer, add_iv_outer_candidates, may_replace_final_value, determine_use_iv_cost_outer, rewrite_use_outer): Removed. (find_interesting_uses_op): Functionality of find_interesting_uses_outer_or_nonlin moved here. (find_interesting_uses_outside): Use find_interesting_uses_op. From-SVN: r110556
2006-02-03[multiple changes]Steven G. Kargl6-7/+58
2006-02-03 Steven G. Kargl <kargls@comcast.net> Paul Thomas <pault@gcc.gnu.org> * resolve.c (resolve_symbol): Default initialization of derived type component reguires the SAVE attribute. 2006-02-03 Steven G. Kargl <kargls@comcast.net> * gfortran.dg/char_result_11.f90: Add SAVE. * gfortran.dg/der_pointer_4.f90: Ditto. * gfortran.dg/default_initialization.f90: New test. From-SVN: r110554
2006-02-03gcc-dg.exp (cleanup-rtl-dump): Fix dump file regexp to handle more than 100 ↵Jeff Law4-23/+35
dump files. * lib/gcc-dg.exp (cleanup-rtl-dump): Fix dump file regexp to handle more than 100 dump files. (cleanup-tree-dump, cleanup-ipa-dump): Likewise. * lib/scantree.exp (scan-tree-dump): Likewise. (scan-tree-dump-times, scan-tree-dump-not): Likewise. (scan-tree-dump-dem, scan-tree-dump-dem-not): Likewise. * lib/scanipa.exp (scan-ipa-dump): Likewise. (scan-ipa-dump-times, scan-ipa-dump-not): Likewise. (scan-ipa-dump-dem, scan-ipa-dump-dem-not): Likewise. From-SVN: r110553
2006-02-03pr25990.c: Replace with pre-processed version.Diego Novillo2-79/+100
* gcc.dg/gomp/pr25990.c: Replace with pre-processed version. From-SVN: r110550
2006-02-03name-lookup.c (do_class_using_decl): Use IDENTIFIER_TYPENAME_P, not ↵Mark Mitchell4-1/+17
IDENTIFIER_OPNAME_P. * name-lookup.c (do_class_using_decl): Use IDENTIFIER_TYPENAME_P, not IDENTIFIER_OPNAME_P. * g++.dg/template/using12.C: New test. From-SVN: r110546
2006-02-03java-gimplify.c: Use gcc_assert and gcc_unreachable throughout.Ben Elliston15-158/+116
* java-gimplify.c: Use gcc_assert and gcc_unreachable throughout. * typeck.c: Likewise. * verify-impl.c: Likewise. * class.c: Likewise. * decl.c: Likewise. * jcf-parse.c: Likewise. * constants.c: Likewise. * check-init.c: Likewise. * jcf-write.c: Likewise. * verify-glue.c: Likewise. * mangle.c: Likewise. * expr.c: Likewise. * lang.c: Likewise. * boehm.c: Likewise. From-SVN: r110541
2006-02-03re PR target/25960 (__gcc_qadd doesn't handle -0.0L properly)Alan Modra4-1/+32
PR target/25960 gcc/ * config/rs6000/darwin-ldouble.c (__gcc_qadd): Preserve -0.0 result. gcc/testsuite/ * gcc.target/powerpc/pr25960.c: New test. From-SVN: r110540
2006-02-03re PR target/25864 (Enable IBM long double format in 32-bit PowerPC Linux)Andreas Krebbel10-147/+794
2006-02-03 Andreas Krebbel <krebbel1@de.ibm.com> Ulrich Weigand <uweigand@de.ibm.com> PR target/25864 * config/s390/2084.md ("x_fsimptf", "x_fmultf", "x_fdivtf", "x_floadtf", "x_ftrunctf", "x_ftruncdf"): New insn reservations. * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): New functions. * config/s390/s390.c (struct processor_costs): Add mxbr, sqxbr, dxbr and dxr fields. (z900_cost, z990_cost, z9_109_cost): Values for the new fields added. (s390_rtx_costs): Use the new fields to calculate rtx costs. (s390_secondary_input_reload_class, s390_secondary_output_reload_class): Define secondary reloads for TFmode moves. (constant_modes): Add TFmode. (NR_C_MODES): Set to 8. * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): Add __LONG_DOUBLE_128__ builtin define. (LONG_DOUBLE_TYPE_SIZE): Set to 128 or 64. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE, WIDEST_HARDWARE_FP_SIZE): Define. (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS, CANNOT_CHANGE_MODE_CLASS): Consider TFmode. * config/s390/s390.md ("type" attribute): Add fsimptf, floadtf, fmultf, fdivtf, fsqrttf, ftrunctf, ftruncdf as possible values. (FPR mode macro): Add TFmode. (DSF mode macro): New. (<de>, <dee> mode attributes): Removed. (<xde>, <xdee>, <RRe>, <RXe>, <Rf> mode attributes): New. ("*cmp<mode>_ccs_0", "*cmp<mode>_ccs_0_ibm", "*cmp<mode>_ccs", "*cmp<mode>_ccs_ibm", "fix_trunc<FPR:mode><GPR:mode>2_ieee", "floatdi<mode>2", "floatsi<mode>2_ieee", "*add<mode>3", "*add<mode>3_cc", "*add<mode>3_cconly", "*add<mode>3_ibm", "*sub<mode>3", "*sub<mode>3_cc", "*sub<mode>3_cconly", "*sub<mode>3_ibm", "*mul<mode>3_ibm", "*fmadd<mode>", "*fmsub<mode>", "*div<mode>3", "*div<mode>3_ibm", "*neg<mode>2_cc", "*neg<mode>2_cconly", "*neg<mode>2", "*neg<mode>2_ibm", "*abs<mode>2_cc", "*abs<mode>2_cconly", "*abs<mode>2", "*abs<mode>2_ibm", "*negabs<mode>2_cc", "*negabs<mode>2_cconly", "*negabs<mode>2", "sqrt<mode>2"): Changed <de> to <xde>. R constraint replaced by <Rf>. ("*mul<mode>3"): Changed <dee> to <xdee>. R constraint replaced by <Rf>. ("fix_trunc<FPR:mode>di2"): 'FPR:' removed. ("*fmadd<mode>", "*fmsub<mode>"): FPR mode replaced by DSF. ("*movtf_64", "*movtf_31"): New insn definitions followed by 5 splitters. ("movtf", "reload_outtf", "reload_intf", "trunctfdf2", "trunctfsf2", "extenddftf2", "extendsftf2"): New expanders. ("*trunctfdf2_ieee", "*trunctfdf2_ibm", "*trunctfsf2_ieee", "*trunctfsf2_ibm", "*extenddftf2_ieee", "*extenddftf2_ibm", "*extendsftf2_ieee", "*extendsftf2_ibm"): New insn patterns. * config/s390/s390.opt (mlong-double-128, mlong-double-64): New options. * config/s390/t-crtstuff (TARGET_LIBGCC2_CFLAGS): Macro defined. * config/s390/libgcc-glibc.ver (__divtc3, __multc3, __powitf2, __fixtfti, __fixunstfti, __floattitf, __fixtfdi, __fixunstfdi, __floatditf): Add a GCC_4.1.0 symbol version tag. * doc/invoke.texi (-mlong-double-128, -mlong-double-64): Document the new options. Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com> From-SVN: r110539
2006-02-02re PR target/25377 (weakref sibcalled with -fPIC)Andrew Pinski2-1/+7
2006-02-02 Andrew Pinski <pinskia@physics.uc.edu> PR target/25377 * config/i386/i386.c (ix86_function_ok_for_sibcall): Use targetm.binds_local_p instead of TREE_PUBLIC. From-SVN: r110537
2006-02-03tree.h (TYPE_STRING_FLAG): Document that this field may be used on ↵Roger Sayle4-19/+21
INTEGER_TYPEs to indicate that it... * tree.h (TYPE_STRING_FLAG): Document that this field may be used on INTEGER_TYPEs to indicate that it denotes a character type. * tree.c (build_common_tree_nodes): Set TYPE_STRING_FLAG on signed_char_type_node, unsigned_char_type_node and char_type_node. * dwarf2out.c (base_type_die): Treat CHAR_TYPE identically to INTEGER_TYPE. Use TYPE_STRING_FLAG to decide whether to emit a DW_ATE_[un]signed_char instead of a DW_ATE_[un]signed. From-SVN: r110536
2006-02-03tree-tailcall.c (arg_needs_copy_p): New function.Zdenek Dvorak3-70/+142
2006-02-02 Zdenek Dvorak <dvorakz@suse.cz> Daniel Berlin <dberlin@dberlin.org> * tree-tailcall.c (arg_needs_copy_p): New function. (eliminate_tail_call): Use arg_needs_copy_p. (tree_optimize_tail_calls_1): Ditto. Also call add_virtual_phis. (add_virtual_phis): New function. Co-Authored-By: Daniel Berlin <dberlin@dberlin.org> From-SVN: r110530
2006-02-03Daily bump.GCC Administrator1-1/+1
From-SVN: r110528
2006-02-02sparc.c (sparc_output_scratch_registers): Use #ignore instead of #scratch ↵Jakub Jelinek2-1/+9
for %g7 .register directive. * config/sparc/sparc.c (sparc_output_scratch_registers): Use #ignore instead of #scratch for %g7 .register directive. From-SVN: r110522
2006-02-02freebsd.h (ENDFILE_SPEC): Add space to separate object files.Andreas Tobler2-4/+9
2006-02-02 Andreas Tobler <a.tobler@schweiz.ch> * config/sparc/freebsd.h (ENDFILE_SPEC): Add space to separate object files. From-SVN: r110520
2006-02-02re PR fortran/24958 (ICE on invalid nullify)Steven G. Kargl4-4/+29
2006-02-02 Steven G. Kargl <kargls@comcast> PR fortran/24958 match.c (gfc_match_nullify): Free the list from head not tail. PR fortran/25072 * match.c (match_forall_header): Fix internal error caused by bogus gfc_epxr pointers. gfortran.dg/nullify_2.f90: New test. From-SVN: r110517
2006-02-02flow.c (calculate_global_regs_live): Assert that there aren't any EDGE_FAKE ↵Bernd Schmidt2-1/+10
edges. * flow.c (calculate_global_regs_live): Assert that there aren't any EDGE_FAKE edges. From-SVN: r110515
2006-02-02tree-flow-inline.h (bsi_after_labels): Rewrite, return what its name says.Paolo Bonzini6-39/+29
2006-02-02 Paolo Bonzini <bonzini@gnu.org> * tree-flow-inline.h (bsi_after_labels): Rewrite, return what its name says. * lambda-code.c (perfect_nestify): Use bsi_insert_before on bsi_after_labels iterator. * tree-if-conv.c (find_phi_replacement_condition, replace_phi_with_cond_modify_expr): Likewise. * tree-scalar-evolution.c (scev_const_prop): Likewise. * tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Likewise. From-SVN: r110514
2006-02-02tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes.Diego Novillo2-1/+6
* tree-inline.c (copy_tree_r): Also copy OMP_CLAUSE nodes. From-SVN: r110513
2006-02-02Commit testcase for PR25990.Diego Novillo1-0/+244
From-SVN: r110512
2006-02-02re PR middle-end/25990 (gomp ICE with -fopenmp)Diego Novillo3-8/+20
PR 25990 * tree-cfg.c (move_block_to_fn): Clear out the basic block array after growing it. testsuite/ PR 25990 * gcc.dg/gomp/pr25990.c: New test. From-SVN: r110511
2006-02-02Daily bump.GCC Administrator1-1/+1
From-SVN: r110493
2006-02-02re PR middle-end/24901 (Misaligned data in fold_checksum_tree ↵Steve Ellcey2-5/+10
(--enable-checking=all)) PR middle-end/24901 * fold-const.c (fold_checksum_tree): Change type of buf. From-SVN: r110487
2006-02-01reload.c (push_secondary_reload): Initialize t_icode.Bernd Schmidt2-2/+7
* reload.c (push_secondary_reload): Initialize t_icode. From-SVN: r110485
2006-02-01sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For -msoft-float -mlong-double-128 ↵Jakub Jelinek2-6/+9
only issue a warning... * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For -msoft-float -mlong-double-128 only issue a warning, but don't swich to DFmode long double. From-SVN: r110484
2006-02-01cse.c (fold_rtx): When arg1 has a constant equivalent...Hans-Peter Nilsson2-0/+58
* cse.c (fold_rtx) <case RTX_COMM_COMPARE, RTX_COMPARE>: When arg1 has a constant equivalent, iterate over equivalents for arg0, calling simplify_relational_operation and if there's a result cheaper than X, apply fold_rtx and return the result. From-SVN: r110481
2006-02-01opts.c (no_unit_at_a_time_default): New global variable.Jan Hubicka6-2/+23
2006-02-01 Jan Hubicka <jh@suse.cz> * opts.c (no_unit_at_a_time_default): New global variable. (decode_options): Use it. * opts.h (no_unit_at_a_time_default): Declare. java/ * decl.c (end_java_method): Kill hack disabling unit-at-a-time. * lang.c (java_init_options): Set no_unit_at_a_time_default. From-SVN: r110479
2006-02-01function.c (assign_parm_setup_reg): Use function argument promotion rules.Paul Brook3-2/+12
2006-02-01 Paul Brook <paul@codesourcery.com> * function.c (assign_parm_setup_reg): Use function argument promotion rules. * expr.c (expand_expr_real_1): Use function argument promotion rules for PARM_DECLs. From-SVN: r110477
2006-02-01* gcc.c (process_command): Change j to 'unsigned int'.Steve Ellcey2-1/+5
From-SVN: r110476
2006-02-01re PR c++/25342 (internal compiler error: in lookup_member, at cp/search.c:1209)Mark Mitchell5-122/+195
PR c++/25342 * cp-tree.h (DECL_TEMPLATE_SPECIALIZATIONS): Revise documentation. * pt.c (determine_specialization): Use INNERMOST_TEMPLATE_PARMS, not TREE_VALUE. (instantiate_class_template): Simplify. (verify_class_unification): Remove. (unify): Document parameters. Use INNERMOST_TEMPLATE_ARGS to permit multiple levels of template arguments. (more_specialized_class): Simplify. (get_class_bindings): Pass full arguments to unify. Fold verify_class_unification into this function. Return full arguments. (most_specialized_class): Adjust for changes to get_class_bindings. Issue errors here for ambiguity. Return the fully deduced arguments for the most specialized class, in addition to the partial specialization. PR c++/25342 * g++.gd/template/partial4.C: New test. From-SVN: r110466
2006-01-31re PR middle-end/26001 (expand uses the wrong part of the string for array ↵Andrew Pinski4-10/+53
accesses) 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/26001 * gfortran.dg/data_char_2.f90: New. 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/26001 * expr.c (expand_expr_real_1) <case ARRAY_REF>: Use the corrected index for the character out of the string constant. From-SVN: r110465
2006-01-31mode-switching.c (optimize_mode_switching): Fix size allocated for ↵Andrew Pinski2-1/+6
bb_info[n_entities]. 2006-01-31 Andrew Pinski <pinskia@physics.uc.edu> * mode-switching.c (optimize_mode_switching): Fix size allocated for bb_info[n_entities]. From-SVN: r110464
2006-02-01Daily bump.GCC Administrator1-1/+1
From-SVN: r110462
2006-01-31gcc.c (main): Correct type that is allocated for explicit_link_files.Andrew Pinski2-1/+6
2006-01-31 Andrew Pinski <pinskia@physics.uc.edu> * gcc.c (main): Correct type that is allocated for explicit_link_files. From-SVN: r110455
2006-01-31re PR fortran/26039 (ICE with maxval)Thomas Koenig5-2/+72
2006-01-31 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26039 expr.c (gfc_check_conformance): Reorder error message to avoid plural. check.c(gfc_check_minloc_maxloc): Call gfc_check_conformance for checking arguments array and mask. (check_reduction): Likewise. 2006-01-31 Thomas Koenig <Thomas.Koenig@online.de> PR fortran/26039 maxval_maxloc_conformance_1.f90: New test. From-SVN: r110453
2006-01-31s390.c (init_alignment_context): Set ALIAS_SET_MEMORY_BARRIER on the MEM.Jakub Jelinek3-0/+8
* config/s390/s390.c (init_alignment_context): Set ALIAS_SET_MEMORY_BARRIER on the MEM. * config/sparc/sparc.c (sparc_expand_compare_and_swap_12): Likewise. From-SVN: r110451
2006-01-31re PR middle-end/25933 (memory leaks)Uttam Pawar3-3/+14
2006-01-31 Uttam Pawar <uttamp@us.ibm.com> PR middle-end/25933 * loop-unroll.c (unroll_loop_runtime_iterations): Free dom_bbs pointer. * tree-ssa-live.c (type_var_init): Allocate bitmap after call to tpa_init. From-SVN: r110449
2006-01-31tree-vrp.c: Use XNEW/XCNEW allocation wrappers.Marcin Dalecki125-534/+633
2006-01-31 Marcin Dalecki <martin@dalecki.de> * tree-vrp.c: Use XNEW/XCNEW allocation wrappers. * regrename.c: Ditto. * tree-ssa-loop-im.c: Ditto. * tree-dump.c: Ditto. * tree-complex.c: Ditto. * genrecog.c: Ditto. * tree-ssa-threadupdate.c: Ditto. * tracer.c: Ditto. * java/class.c: Ditto. * java/jcf-parse.c: Ditto. * java/resource.c: Ditto. * java/except.c: Ditto. * java/jvspec.c: Ditto. * java/jcf-write.c: Ditto. * java/jcf-path.c: Ditto. * java/gjavah.c: Ditto. * java/zextract.c: Ditto. * java/jcf-io.c: Ditto. * java/jcf.h: Ditto. * java/buffer.c: Ditto. * java/lang.c: Ditto. * java/parse-scan.y: Ditto. * java/lex.c: Ditto. * java/lex.h: Ditto. * cfgloopmanip.c: Ditto. * postreload-gcse.c: Ditto. * tree-ssa-loop-manip.c: Ditto. * postreload.c: Ditto. * tree-ssa-loop-ch.c: Ditto. * loop.c: Ditto. * ipa-cp.c: Ditto. * cppspec.c: Ditto. * diagnostic.c: Ditto. * final.c: Ditto. * genoutput.c: Ditto. * gcc.c: Ditto. * cfghooks.c: Ditto. * cfgloopanal.c: Ditto. * objc/objc-act.c: Ditto. * gcov.c: Ditto. * genextract.c: Ditto. * genautomata.c: Ditto. * pretty-print.c: Ditto. * genemit.c: Ditto. * cgraphunit.c: Ditto. * flow.c: Ditto. * df-scan.c: Ditto. * haifa-sched.c: Ditto. * dominance.c: Ditto. * dbxout.c: Ditto. * tree-ssa-loop-ivopts.c: Ditto. * df-core.c: Ditto. * mode-switching.c: Ditto. * modulo-sched.c: Ditto. * graph.c: Ditto. * ipa-pure-const.c: Ditto. * cse.c: Ditto. * fix-header.c: Ditto. * web.c: Ditto. * tree-stdarg.c: Ditto. * ipa-utils.c: Ditto. * loop-init.c: Ditto. * ipa-inline.c: Ditto. * cfganal.c: Ditto. * global.c: Ditto. * alloc-pool.c: Ditto. * dwarf2out.c: Ditto. * opts.c: Ditto. * genattrtab.c: Ditto. * tree-ssa-loop-ivcanon.c: Ditto. * predict.c: Ditto. * timevar.c: Ditto. * lcm.c: Ditto. * fortran/gfortranspec.c: Ditto. * regmove.c: Ditto. * local-alloc.c: Ditto. * langhooks.c: Ditto. * function.c: Ditto. * tree-vectorizer.c: Ditto. * gcse.c: Ditto. * ipa-type-escape.c: Ditto. * alias.c: Ditto. * tree-if-conv.c: Ditto. * profile.c: Ditto. * ipa.c: Ditto. * tree-data-ref.c: Ditto. * loop-unroll.c: Ditto. * treelang/treetree.c: Ditto. * calls.c: Ditto. * bt-load.c: Ditto. * ggc-common.c: Ditto. * except.c: Ditto. * coverage.c: Ditto. * cselib.c: Ditto. * tree-cfgcleanup.c: Ditto. * tree-ssa-pre.c: Ditto. * cfgcleanup.c: Ditto. * loop-invariant.c: Ditto. * loop-iv.c: Ditto. * ipa-prop.c: Ditto. * print-tree.c: Ditto. * conflict.c: Ditto. * ggc-page.c: Ditto. * sched-deps.c: Ditto. * regclass.c: Ditto. * tree-object-size.c: Ditto. * combine.c: Ditto. * bb-reorder.c: Ditto. * resource.c: Ditto. * var-tracking.c: Ditto. * cfgloop.c: Ditto. * df-problems.c: Ditto. * reg-stack.c: Ditto. * tlink.c: Ditto. * gccspec.c: Ditto. * sched-rgn.c: Ditto. * tree-ssa-structalias.c: Ditto. * tree-ssa-reassoc.c: Ditto. * config/darwin-c.c: Ditto. * config/darwin.c: Ditto. * config/arm/arm.c: Ditto. * cfgrtl.c: Ditto. * collect2.c: Ditto. * reload1.c: Ditto. From-SVN: r110446
2006-01-31arm.md (smaxsi3): Make aware of smax_m1.Nicolas Pitre2-1/+15
* arm.md (smaxsi3): Make aware of smax_m1. (smax_m1): New. From-SVN: r110443
2006-01-31* gcc/config/m68k/lb1sf68.asm: Use moveq to load small constants.Nathan Sidwell2-44/+48
From-SVN: r110440
2006-01-31invoke.texi (-msselibm): Document.Richard Guenther17-2/+384
2006-01-31 Richard Guenther <rguenther@suse.de> * doc/invoke.texi (-msselibm): Document. * target.h (expand_library_builtin): New target hook. * builtins.c (expand_builtin): Use expand_library_builtin. (default_expand_library_builtin): New function. * gcc.c (LINK_GCC_MATH_SPEC): Define. (LINK_COMMAND_SPEC): Handle %(link_gcc_math). (link_gcc_math_spec): Declare. (static_specs): Add link_gcc_math_spec. * expr.h (default_expand_library_builtin): Declare. * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define. (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN. * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC. * config/i386/i386.opt (msselibm): New target option. * config/i386/i386.c (ix86_builtin_function_variants): New array. (ix86_init_sse_abi_builtins): New function. (ix86_expand_library_builtin): Likewise. (TARGET_EXPAND_LIBRARY_BUILTIN): Define. (override_options): Handle error conditions wrt -msselibm. (ix86_builtins): Add function codes for SSE2 ABI builtins. (ix86_init_builtins): Call ix86_init_sse_abi_builtins. * doc/extend.texi (__builtin_sse2_*): Document new target specific builtins. * gcc.target/i386/sselibm-1.c: New testcase. * gcc.target/i386/sselibm-2.c: Likewise. * gcc.target/i386/sselibm-3.c: Likewise. * gcc.target/i386/sselibm-4.c: Likewise. * gcc.target/i386/sselibm-5.c: Likewise. From-SVN: r110439
2006-01-31Makefile.def (target_modules): Add libgcc-math target module.Richard Guenther2-0/+9
2006-01-31 Richard Guenther <rguenther@suse.de> Paolo Bonzini <bonzini@gnu.org> * Makefile.def (target_modules): Add libgcc-math target module. * configure.in (target_libraries): Add libgcc-math target library. (--enable-libgcc-math): New configure switch. * Makefile.in: Re-generate. * configure: Re-generate. * libgcc-math: New toplevel directory. * doc/install.texi (--disable-libgcc-math): Document. libgcc-math/ * configure.ac: New file. * Makefile.am: Likewise. * configure: New generated file. * Makefile.in: Likewise. * aclocal.m4: Likewise. * libtool-version: New file. * include/ieee754.h: New file. * include/libc-symbols.h: Likewise. * include/math_private.h: Likewise. * i386/Makefile.am: New file. * i386/Makefile.in: New generated file. * i386/sse2.h: New file. * i386/endian.h: Likewise. * i386/sse2.map: Linker script for SSE2 ABI math intrinsics. * flt-32/: Import from glibc. * dbl-64/: Likewise. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r110434
2006-01-31expr.h (expand_normal): new inline function.Marcin Dalecki15-225/+218
2006-01-30 Marcin Dalecki <martin@dalecki.de> * expr.h (expand_normal): new inline function. * builtins.c: use it, use EXPAND_NORMAL explicitely. * dojump.c: use it. * dwarf2out.c: use it. * expr.c: use it. * calls.c: use it. * expmed.c: use it. * except.c: use it. * config/sparc/sparc.c: use it. * config/i386/i386.c: use it. * config/rs6000/rs6000.c: use it. * config/arm/arm.c: use it. * config/mips/mips.c: use it. * stmt.c: use it, use EXPAND_NORMAL explicitely. From-SVN: r110428
2006-01-31cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast argv to the appropriate type.Roger Sayle2-2/+7
* config/i386/cygwin.h (GCC_DRIVER_HOST_INITIALIZATION): Cast argv to the appropriate type. From-SVN: r110427
2006-01-31tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove unreachable code.Zdenek Dvorak2-10/+6
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Remove unreachable code. From-SVN: r110426
2006-01-31re PR target/26018 (Assembler errors with -march=z900 compiling glibc)Ulrich Weigand2-1/+17
PR target/26018 * config/s390/s390.c (struct machine_function): New flag decomposed_literal_pool_addresses_ok_p. (s390_reorg): Set it before final stage of literal pool transforms. (s390_decompose_address): Only accept displacements of the form (minus (label_ref ...) (label_ref ...)) if that flag is set. From-SVN: r110422
2006-01-31Daily bump.GCC Administrator1-1/+1
From-SVN: r110420
2006-01-31* mangle.c: Comment fix.Ben Elliston2-1/+5
From-SVN: r110413
2006-01-30re PR fortran/24266 (ICE when writing to array of strings that is an ↵Erik Edelmann4-1/+29
elements of a user defined type) fortran/ 2005-01-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/24266 * trans-io.c (set_internal_unit): Check the rank of the expression node itself instead of its symbol. testsuite/ 2005-01-30 Erik Edelmann <eedelman@gcc.gnu.org> PR fortran/24266 * gfortran.dg/arrayio_derived_2.f90: New. From-SVN: r110412