aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2007-09-12re PR target/32338 (Error: .prologue within prologue)Jakub Jelinek5-1/+110
PR target/32338 * config/ia64/ia64.c (ia64_expand_epilogue): Emit blockage before sp restoration even when total_size is 0, but frame_pointer_needed. * gcc.dg/pr32338-1.c: New test. * gcc.dg/pr32338-2.c: New test. From-SVN: r128446
2007-09-12target-supports.exp (check_effective_target_sync_int_long): Revert change to ↵Bob Wilson2-4/+8
add xtensa. * lib/target-supports.exp (check_effective_target_sync_int_long): Revert change to add xtensa. (check_effective_target_sync_char_short): Likewise. From-SVN: r128444
2007-09-12xtensa.c (machine_function): Add vararg_a7_copy.Bob Wilson2-5/+19
* config/xtensa/xtensa.c (machine_function): Add vararg_a7_copy. (xtensa_copy_incoming_a7): Use start_sequence instead of push_to_sequence. Stash insns in vararg_a7_copy for builtin_saveregs. (xtensa_builtin_saveregs): Place code from vararg_a7_copy at the start of the saveregs sequence. From-SVN: r128443
2007-09-12re PR ada/26797 (ACATS cxh1001 fails)Eric Botcazou2-15/+19
PR ada/26797 PR ada/32407 * utils.c (unchecked_convert): Use a subtype as the intermediate type in the special VIEW_CONVERT_EXPR case. From-SVN: r128441
2007-09-12c-tree.h (grokfield): Add a "tree *" argument.Richard Sandiford4-18/+39
gcc/ * c-tree.h (grokfield): Add a "tree *" argument. * c-decl.c (grokdeclarator): Take a pointer to the decl's attributes. Chain nested decl attributes to it. Don't call decl_attributes here. (groktypename): Pass grokdeclarator a pointer to the attribute list. (start_decl, grokparm, push_parm_decl, start_function): Likewise. (grokfield): Take a pointer to the decl's attributes and pass it to grokdeclarator. * c-parser.c (c_parser_struct_declaration): Update the calls to grokfield. Call decl_attributes for anonymous struct and union fields. From-SVN: r128437
2007-09-12Minor reformatting.Arnaud Charlet1-9/+4
From-SVN: r128436
2007-09-12Update header/comments.Arnaud Charlet2-3/+3
From-SVN: r128435
2007-09-12Minor reformatting.Arnaud Charlet4-8/+14
From-SVN: r128434
2007-09-12Remove s-crtl-vms64.ads, no longer used.Arnaud Charlet2-190/+0
From-SVN: r128433
2007-09-12New tests.Arnaud Charlet3-0/+44
From-SVN: r128432
2007-09-12Resync.Arnaud Charlet1-0/+83
From-SVN: r128431
2007-09-12a-extiti.ads (Timer): The discriminant is a "not null access constant" in ↵Arnaud Charlet7-34/+64
the Reference Manual. * a-extiti.ads (Timer): The discriminant is a "not null access constant" in the Reference Manual. (Cancel_Handler): Cancelled is an out parameter in the Reference Manual. * a-swuwha.adb: Remove junk RM header * g-bytswa-x86.adb (Swap2, Swap4, Swap8): Remove explicit "in" mode indicator * g-bytswa.ads: Minor reformatting * g-soccon-solaris-64.ads, g-soccon-hpux-ia64.ads: Add new constant Thread_Blocking_IO, always True by default, set False on a per-runtime basis. (Need_Netdb_Buffer): New constant. * s-dsaser.ads (Get_Local_Partition_Id, Get_Passive_Partition_Id): Added renames for corresponding functions in System.Partition_Interface. * Makefile.in: Remove VMS specific System.CRTL packages which are no longer needed. * s-crtl-vms64.ads: Removed. From-SVN: r128430
2007-09-12bindusg.adb (Display): Correct comment for switch -X.Hristian Kirtchev3-1/+16
2007-09-12 Hristian Kirtchev <kirtchev@adacore.com> * bindusg.adb (Display): Correct comment for switch -X. Add a line for the usage of switch -y. * switch-b.adb (Scan_Binder_Switches): Set flag Leap_Seconds_Support when switch -y is present. * opt.ads: Add binder flag Leap_Seconds_Support used to enable/disable leap seconds in Ada.Calendar and its children. From-SVN: r128429
2007-09-12g-thread.ads: Document use of "with GNAT.Threads" to ensure loading the ↵Robert Dewar2-9/+17
tasking version of... 2007-09-12 Robert Dewar <dewar@adacore.com> * g-thread.ads: Document use of "with GNAT.Threads" to ensure loading the tasking version of the Ada run time when foreign threads are present and there are no explicit Ada tasks or tasking constructs. * gnat_rm.texi: Clarify documentation of GNAT.Threads. From-SVN: r128428
2007-09-12sem_aggr.adb (Resolve_Record_Aggregate): An others association with a box ↵Ed Schonberg1-0/+7
need not correspond to any component. 2007-09-12 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Resolve_Record_Aggregate): An others association with a box need not correspond to any component. From-SVN: r128427
2007-09-12types.ads, [...]: Minor reformatting.Robert Dewar83-940/+1269
2007-09-12 Robert Dewar <dewar@adacore.com> * types.ads, a-charac.ads, freeze.adb: Minor reformatting. * a-except.adb, g-hesora.adb, g-speche.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb, s-assert.adb, s-carun8.adb, s-casuti.adb, s-crc32.adb, s-exctab.adb, s-htable.adb, s-imgenu.adb, s-mastop.adb, s-memory.adb, s-memory.ads, s-secsta.adb, s-soflin.adb, s-sopco3.adb, s-sopco4.adb, s-sopco5.adb, s-stache.adb, s-stalib.adb, s-stoele.adb, s-strcom.adb, s-strops.adb, s-traceb.adb, s-traent.adb, s-wchcnv.adb, s-wchcon.adb, s-wchjis.adb, s-addope.adb, s-except.adb, s-os_lib.adb, s-string.adb, s-utf_32.adb, a-chlat1.ads, a-elchha.ads, a-except.ads, g-hesora.ads, g-htable.ads, g-speche.ads, par-prag.adb, restrict.adb, restrict.ads, s-assert.ads, s-carun8.ads, s-casuti.ads, s-crc32.ads, sem_ch11.adb, sem_prag.adb, s-exctab.ads, s-htable.ads, s-imgenu.ads, s-mastop.ads, snames.adb, snames.ads, snames.h, s-purexc.ads, s-secsta.ads, s-soflin.ads, s-sopco3.ads, s-sopco4.ads, s-sopco5.ads, s-stache.ads, s-stalib.ads, s-stoele.ads, s-strcom.ads, s-strops.ads, s-traceb.ads, s-traent.ads, s-unstyp.ads, s-wchcnv.ads, s-wchcon.ads, s-wchjis.ads, s-addope.ads, s-except.ads, s-os_lib.ads, s-string.ads, s-utf_32.ads: Implement pragma Compiler_Unit and adds it to relevant library units. From-SVN: r128426
2007-09-12decl.c (gnat_to_gnu_entity): For a subtype with discriminant constraints...Olivier Hainque4-4/+43
2007-09-12 Olivier Hainque <hainque@adacore.com> ada/ * decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: For a subtype with discriminant constraints, generalize the code for BIT_FIELDs to PACKED fields of constant size and propagate DECL_PACKED. testsuite/ * gnat.dg/packed_subtype.adb: New test. From-SVN: r128425
2007-09-12re PR fortran/33297 (SIZE intrinsic crashes gfortran on invalid usage)Tobias Burnus4-39/+67
2007-09-12 Tobias Burnus <burnus@net-b.de> PR fortran/33297 * check.c (scalar_check): Move up in the file. (kind_check): Call scalar_check. (dim_check): If optional, do not call nonoptional_check; use bool for optional. (gfc_check_all_any,gfc_check_count,gfc_check_cshift,gfc_check_eoshift, gfc_check_lbound,gfc_check_minloc_maxloc,check_reduction, gfc_check_spread,gfc_check_ubound): Use true/false instead of 0/1 for dim_check; honor changed meaning of optional. (gfc_check_int): Replace checks by kind_check. (gfc_check_size): Replace checks by dim_check. 2007-09-12 Tobias Burnus <burnus@net-b.de> PR fortran/33297 * gfortran.dg/intrinsic_size.f90: New. From-SVN: r128424
2007-09-12re PR fortran/33284 (ENTRY and INTRINSIC with same name)Tobias Burnus4-1/+40
2007-09-12 Tobias Burnus <burnus@net-b.de> PR fortran/33284 PR fortran/33310 * symbol.c (check_conflict): Add conflict between INTRINSIC and ENTRY and between BIND(C) and PARAMETER. 2007-09-12 Tobias Burnus <burnus@net-b.de> PR fortran/33284 PR fortran/33310 * gfortran.dg/conflicts_2.f90: New. From-SVN: r128423
2007-09-12trans-expr.c (gfc_conv_initializer): Fix expr == NULL check.Tobias Burnus2-1/+6
2007-09-12 Tobias Burnus <burnus@net-b.de> * trans-expr.c (gfc_conv_initializer): Fix expr == NULL check. From-SVN: r128422
2007-09-12c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.Jan Hubicka6-17/+13
* c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. * f95-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. * treetree.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. (treelang_expand_function): Kill. From-SVN: r128421
2007-09-12tree-vect-analyze.c (vect_analyze_data_ref_dependence): Distinguish between ↵Ira Rosen10-17/+111
positive and negative dependence distance using DDR_REVERSED_P. * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Distinguish between positive and negative dependence distance using DDR_REVERSED_P. From-SVN: r128420
2007-09-12re PR middle-end/33382 (internal compiler error: in ↵Richard Guenther3-0/+122
get_constraint_for_component_ref, at tree-ssa-structalias.c:2454) 2007-09-12 Richard Guenther <rguenther@suse.de> PR middle-end/33382 * gcc.c-torture/compile/pr33382.c: New testcase. * gcc.c-torture/execute/pr33382.c: Likewise. From-SVN: r128419
2007-09-12re PR fortran/33395 ([ISO_C_BINDING ?] ICE (segfault) in gfc_conv_initializer)Christopher D. Rickett4-4/+71
2007-09-12 Christopher D. Rickett <crickett@lanl.gov> PR fortran/33395 * trans-expr.c (gfc_conv_initializer): Remove unnecessary test for intmod_sym_id and use derived symbol to set new kind of C_NULL_PTR and C_NULL_FUNPTR expressions. 2007-09-12 Christopher D. Rickett <crickett@lanl.gov> PR fortran/33395 * gfortran.dg/c_ptr_tests_12.f03: New test case. From-SVN: r128418
2007-09-12fix log formatChristian Bruel1-0/+1
From-SVN: r128416
2007-09-12re PR tree-optimization/33373 (ICE in vectorizable_type_demotion, at ↵Dorit Nuzman4-3/+23
tree-vect-transform.c:4098) PR tree-optimization/33373 * tree-vect-analyze (vect_determine_vectorization_factor): Call TREE_INT_CST_LOW when comparing TYPE_SIZE_UNIT. From-SVN: r128415
2007-09-12re PR target/33393 (floatsisf2_sse_vector_nointernunit doesn't work on 32bit)Jan Hubicka2-5/+14
PR target/33393 * i386.md (floatsisf2_mixed_memory, floatsisf2_sse_memory): Disable for !SSE_MATH From-SVN: r128414
2007-09-12sh.h (SH_DBX_REGISTER_NUMBER): Added fpscr, fixed sr/gbr regs.Christian Bruel3-4/+10
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00945.html 2007-09-12 Christian Bruel <christian.bruel@st.com> * sh.h (SH_DBX_REGISTER_NUMBER): Added fpscr, fixed sr/gbr regs. * linux-unwind.h (SH_DWARF_FRAME_GBR): fixed. From-SVN: r128413
2007-09-12tree-vect-transform.c (vect_get_slp_defs): Don't build a vector for oprnd1 ↵Ira Rosen2-10/+19
if not required. * tree-vect-transform.c (vect_get_slp_defs): Don't build a vector for oprnd1 if not required. (vectorizable_operation): Use scalar operand in SLP in case of shift with scalar argument. From-SVN: r128412
2007-09-12params.def (PARAM_MIN_VECT_LOOP_BOUND): Change default and minimum to 1.Ira Rosen2-1/+6
* params.def (PARAM_MIN_VECT_LOOP_BOUND): Change default and minimum to 1. From-SVN: r128411
2007-09-11defaults.h (DWARF2_UNWIND_INFO): Don't define if TARGET_UNWIND_INFO is defined.James E Wilson3-13/+9
2007-09-11 James E. Wilson <wilson@specifix.com> * defaults.h (DWARF2_UNWIND_INFO): Don't define if TARGET_UNWIND_INFO is defined. * config/ia64/ia64.h (INCOMING_RETURN_ADDR_RTX): Delete undef after definition. From-SVN: r128409
2007-09-12sh.c (calc_live_regs): Use current_function_saves_all_registers instead of...Kaz Kojima4-5/+15
* config/sh/sh.c (calc_live_regs): Use current_function_saves_all_registers instead of current_function_has_nonlocal_label. (sh_allocate_initial_value): Likewise. (sh_get_pr_initial_val): Likewise. * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): Likewise. * config/sh/sh.md (load_ra): Likewise. From-SVN: r128408
2007-09-12* config/cris/t-linux (LIMITS_H_TEST): Only define if not inhibit_libc.Hans-Peter Nilsson2-0/+4
From-SVN: r128407
2007-09-12re PR target/33360 (cris build failure)Hans-Peter Nilsson2-1/+7
PR target/33360 * config/cris/cris.c (cris_expand_pic_call_address): Fix typo in GET_CODE (x) == CONST_INT to CONST_INT_P (x) transformation. From-SVN: r128406
2007-09-12target-supports.exp (check_effective_target_vect_no_double): Remove unused proc.Ben Elliston2-17/+5
* lib/target-supports.exp (check_effective_target_vect_no_double): Remove unused proc. From-SVN: r128405
2007-09-12spu.c (spu_emit_branch_or_set): Handle NaN values as operands to DFmode GE ↵Ben Elliston4-10/+86
or LE compares. * config/spu/spu.c (spu_emit_branch_or_set): Handle NaN values as operands to DFmode GE or LE compares. testsuite/ * gcc.target/spu/dfcgt-nan.c: New test. From-SVN: r128404
2007-09-12Daily bump.GCC Administrator1-1/+1
From-SVN: r128402
2007-09-11Add missing '>' from last commit.John David Anglin1-1/+1
From-SVN: r128398
2007-09-11bfin.h (enum reg_class, [...]): Add P0REGS.Bernd Schmidt3-0/+19
* config/bfin/bfin.h (enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add P0REGS. (REGNO_REG_CLASS): Return it where appropriate. (REG_CLASS_FROM_CONSTRAINT): Add 'qA'. (CLASS_LIKELY_SPILLED_P): P0REGS is likely_spilled. * doc/md.texi (Blackfin family): Document 'q' constraints. From-SVN: r128397
2007-09-11linux-unwind.h: Guard with inhibit_libc.Steve Kenton3-0/+13
* pa/linux-unwind.h: Guard with inhibit_libc. * pa/hpux-unwind.h: Likewise. From-SVN: r128396
2007-09-11* gcc.dg/cpp/trad/include.c: Don't run for newlib targets.Hans-Peter Nilsson2-2/+7
From-SVN: r128394
2007-09-11invoke.texi: Document new MIPS -mllsc and -mno-llsc options.David Daney8-40/+179
* doc/invoke.texi: Document new MIPS -mllsc and -mno-llsc options. * doc/install.texi: Document new --with-llsc and --without-llsc options. * config.gcc: Handle --with-llsc and --without-llsc configure options. * config/mips/mips.md (sync, memory_barrier): Wrap sync instrunction in %| and %- operand codes. Depend on GENERATE_SYNC instead of ISA_HAS_SYNC. (sync_compare_and_swap<mode>, sync_add<mode>, sync_sub<mode>, sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>, sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>, sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>, sync_new_nand<mode>, sync_lock_test_and_set<mode>): Depend on GENERATE_LL_SC instead of ISA_HAS_LL_SC. * config/mips/mips.opt (mllsc): New option. * config/mips/mips.c (mips_llsc): Define variable. (mips_handle_option): Handle mllsc option. (override_options): Set mips_print_operand_punct for '|' and '-'. (print_operand): Add new %| and %- operand codes. * config/mips/mips.h (mips_llsc_setting): New enum type. (mips_llsc): Declare. (OPTION_DEFAULT_SPECS): Add llsc handling. (GENERATE_SYNC): New macro. (GENERATE_LL_SC): New macro. (MIPS_COMPARE_AND_SWAP, MIPS_SYNC_OP, MIPS_SYNC_OLD_OP, MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE): Wrap instructions in %| and %- operand codes. From-SVN: r128392
2007-09-11tree-ssa-structalias.c (push_fields_onto_fieldstack): Deal with ↵Eric Botcazou6-31/+70
TYPE_NONALIASED_COMPONENT like with DECL_NONADDRESSABLE_P. * tree-ssa-structalias.c (push_fields_onto_fieldstack): Deal with TYPE_NONALIASED_COMPONENT like with DECL_NONADDRESSABLE_P. ada/ * decl.c (array_type_has_nonaliased_component): New predicate. (gnat_to_gnu_field) <E_Array_Type>: Invoke the above predicate to set the TYPE_NONALIASED_COMPONENT flag on the type. <E_Array_Subtype>: Likewise. * gigi.h (type_for_nonaliased_component_p): Declare. * utils.c (type_for_nonaliased_component_p): New predicate. (create_field_decl): Invoke the above predicate to set the DECL_NONADDRESSABLE_P flag on the field. From-SVN: r128391
2007-09-11Removed, noever used.Arnaud Charlet1-126/+0
From-SVN: r128386
2007-09-11re PR fortran/33040 ([ISO_C_BINDING] ICE in gfc_trans_structure_assign)Christopher D. Rickett5-6/+95
2007-09-11 Christopher D. Rickett <crickett@lanl.gov> PR fortran/33040 * trans-expr.c (gfc_trans_structure_assign): Convert component C_NULL_PTR and C_NULL_FUNPTR component initializers to (void *). * trans-types.c (gfc_get_derived_type): Create a backend_decl for the c_address field of C_PTR and C_FUNPTR and ensure initializer is of proper type/kind for (void *). 2007-09-11 Christopher D. Rickett <crickett@lanl.gov> PR fortran/33040 * gfortran.dg/c_ptr_tests_11.f03: New test case. From-SVN: r128385
2007-09-11add pr numberJason Merrill1-0/+1
From-SVN: r128381
2007-09-11re PR middle-end/27945 (Packed struct of variable length has wrong size)Jason Merrill3-11/+39
PR middle-end/27945 * stor-layout.c (layout_decl): Do pack variable size fields. From-SVN: r128380
2007-09-11predicates.md (movsi_const0_operand, [...]): New predicates.Maxim Kuvyrkov7-265/+1591
* config/m68k/predicates.md (movsi_const0_operand, non_symbolic_call_operand): New predicates. * config/m68k/constraints.md: (Cs, Ci, C0, Cj, CQ, CW, CZ, CS, Ap, Ac): New constraints. * doc/md.texi (Constraints for Particular Machines: Motorola 680x0): Document constraints N, O, P, R, S, T, Q, U, W, Cs, Ci, C0, Cj, CQ, CW, CZ, CS, Ap and Ac. * config/m68k/m68k.md (UNSPEC_IB): New constant. (constraints.md): New include. (cpu, type, type1, opx, opy, opx_type, opy_type, size, opx_access, opx_mem, opy_mem, op_mem, guess, split): New attributes. (movdf_internal): Name pattern. Fix to use alternatives. Add split. Specify attributes. (pushdi): Add split. (tstsi_internal): Name pattern. Fix to use alternatives. Specify attributes. Split tstsi_internal_68020_cf from it. (tstsi_internal_68020_cf): New pattern. (tsthi_internal, tstqi_internal): Name pattern. Specify attributes. (tst<mode>_cf): Specify attributea. (cmpsi_cf): Name pattern. Specify attributes. (cmp<mode>_68881, cmp<mode>_cf): Specify type attribute. (pushexthisi_const): Fix to use alternatives. Specify attributes. (movsi_const0): Split movsi_const0_68000_10 and movsi_const0_68040_60 from it. Fix to use alternatives. Specify attributes. (movsi_const0_68040_10, movsi_const0_68040_60): New patterns. (movsi_cf, movstrictqi_cf): Fix to use alternatives. Specify attributes. (movsf_cf_soft): Specify attributes. (movdf_cf_soft): Add split. (pushasi, zero_extendhisi2_cf, zero_extendqisi2_cfv4, cfv4_extendhisi2, 68k_extendhisi2, extendqihi2, cfv4_extendqisi2, 68k_extendqisi2, truncdfsf2_cf): Specify attributes. (truncdfsf2_68881): Name pattern. Specify attributes. (floatsi<mode>2_cf, floathi<mode>2_68881, floathi<mode>2_cf, floatqi<mode>2_68881, floatqi<mode>2_cf, ftrunc<mode>2_cf, fix<mode>qi2_cf, fix<mode>hi2_cf, fix<mode>si2_cf, adddi_dishl32): Specify attributes. (addsi3_5200): Fix to use alternatives. Specify attributes. Add splits. (add<mode>3_cf, subdi_dishl32): Specify attributes. (subsi3): Add alternative for subq.l. Specify attributes. (sub<mode>3_cf, mulhi3, mulhisi3): Specify attributes. (mulhisisi3_s, mulsi3_68020, mulsi3_cf): Name pattern. Specify attributes. (umulhisi3): Specify attributes. (mulhisisi3_z): Name pattern. Specify attributes. (fmul<mode>3_cf, div<mode>3_cf, negsi2_internal, negsi2_5200, sqrt<mode>2_68881, clzsi2, one_cmplsi2_5200, subreghi1ashrdi_const32, subregsi1ashrdi_const32, ashrsi3, subreg1lshrdi_const32, lshrsi3, bsetmemqi): Specify attributes. (bsetmemqi_ext): Name pattern. Specify attributes. (bclrmemqi): Specify attributes. (bclrmemqi_ext, scc, sls): Name pattern. Specify attributes. (beq, bne, bgt, bgtu, blt, bltu, bge, bgeu, ble, bleu): Specify attributes. (beq2, bne2, bgt2, bgtu2, blt2, bltu2, bge2, bgeu2, ble2, bleu2): Name pattern. Specify attributes. (jump): Specify attributes. (tablejump_internal): Name pattern. Specify attributes. (call_value): Split into non_symbolic_call_value, symbolic_call_value_jsr, symbolic_call_value_bsr. Fix to use alternatives. Specify attributes. (non_symbolic_call_value, symbolic_call_value_jsr, symbolic_call_value_bsr): New patterns. (nop, return, unlink, indirect_jump): Specify attributes. (trap): Fix condition. Specify attributes. (ib): New pattern. * config/m68k/m68k.c (m68k_symbolic_call_var): New variable. (override_options): Initialize it. Initialize m68k_sched_cpu. (CONST_METHOD): Rename to M68K_CONST_METHOD, move to m68k.h. (const_method): Make global, rename to m68k_const_method. (const_int_cost, output_move_const_into_data_reg): Update. (output_move_double): Parametrize to emit rtl code, rename to handle_move_double. (output_reg_adjust, emit_reg_adjust, output_compadr, output_movsi, emit_movsi): New static functions. (output_move_double): New function with semantics of old output_move_double. (m68k_emit_move_double): New function. (m68k_sched_cpu): New variable. (attr_op_type): New enum. (sched_guess_p): New variable. (sched_address_type, sched_operand_type, sched_attr_op_type): New static functions. (m68k_sched_attr_opx_type, m68k_sched_attr_opy_type, m68k_sched_attr_size, m68k_sched_attr_op_mem): New functions. (sched_branch_type): New static variable. (m68k_sched_branch_type): New function. * config/m68k/m68k.h (M68K_SYMBOLIC_CALL): New enum. (m68k_symbolic_call_var): Declare. (M68K_CONST_METHOD): Rename from CONST_METHOD. Move here from m68k.c. (m68k_const_method, m68k_emit_move_double, m68k_sched_cpu, m68k_sched_attr_opx_type, m68k_sched_attr_opy_type, m68k_sched_attr_size, m68k_sched_attr_op_mem, m68k_sched_branch_type): Declare. From-SVN: r128377
2007-09-11builtins.def (BUILT_IN_VA_ARG_PACK_LEN): New builtin.Jakub Jelinek8-0/+324
* builtins.def (BUILT_IN_VA_ARG_PACK_LEN): New builtin. * builtins.c (expand_builtin) <case BUILT_IN_VA_ARG_PACK_LEN>: Issue error if __builtin_va_arg_pack_len () wasn't optimized out during inlining. * tree-inline.c (copy_bb): Replace __builtin_va_arg_pack_len () with the number of inline's anonymous arguments. * doc/extend.texi: Document __builtin_va_arg_pack_len (). * gcc.dg/va-arg-pack-len-1.c: New test. * g++.dg/va-arg-pack-len-1.C: New test. From-SVN: r128376
2007-09-11fold-const.c (extract_muldiv_1): Do not simplify var * c * c to var.Zdenek Dvorak2-1/+7
* fold-const.c (extract_muldiv_1): Do not simplify var * c * c to var. From-SVN: r128375