- 30 May, 2007 16 commits
-
-
* gcc.target/arm/pr27387.C: Move and rename to ... * g++.dg/inherit/thunk8.C: ... here. From-SVN: r125197
Kazu Hirata committed -
gcc/ * config.gcc (arm-wrs-vxworks): Remove dbxelf.h from tm_file. Add vx-common.h. Include vxworks.h between vx-common.h and arm/vxworks.h. * config/vx-common.h (DWARF2_UNWIND_INFO): Undefine before redefining. * config/vxworks.h (TARGET_ASM_CONSTRUCTOR): Likewise. (TARGET_ASM_DESTRUCTOR): Likewise. * config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Check arm_arch_xscale instead of arm_is_xscale. Use VXWORKS_OS_CPP_BUILTINS. (OVERRIDE_OPTIONS, SUBTARGET_CPP_SPEC): Define. (CC1_SPEC): Add -tstrongarm. Line up backslashes. (VXWORKS_ENDIAN_SPEC): Define. (ASM_SPEC): Add VXWORKS_ENDIAN_SPEC. (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Redefine to their VXWORKS_* equivalents. (LINK_SPEC): Likewise, but add VXWORKS_ENDIAN_SPEC. (ASM_FILE_START): Delete. (TARGET_VERSION): Reformat. (FPUTYPE_DEFAULT, FUNCTION_PROFILER): Define. (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define. * config/arm/t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Define. (FPBIT, DPBIT): Define. (fp-bit.c, dp-bit.c): New rules. (MULTILIB_OPTIONS): Add strongarm, -mrtp and -mrtp/-fPIC multilibs. (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Define. * config/arm/arm-protos.h (arm_emit_call_insn): Declare. * config/arm/arm.h: Include vxworks-dummy.h. * config/arm/arm.c (arm_elf_asm_constructor, arm_elf_asm_destructor): Mark with ATTRIBUTE_UNUSED. (arm_override_options): Do not allow VxWorks RTP PIC to be used for Thumb. Force r9 to be the PIC register for VxWorks RTPs and make it incompatible with -msingle-pic-base. (arm_function_ok_for_sibcall): Return false for calls that might go through a VxWorks PIC PLT entry. (require_pic_register): New function, split out from... (legitimize_pic_address): ...here. Do not use GOTOFF accesses for VxWorks RTPs. (arm_load_pic_register): Handle the VxWorks RTP initialization sequence. Use pic_reg as a shorthand for cfun->machine->pic_reg. (arm_emit_call_insn): New function. (arm_assemble_integer): Do not use GOTOFF accesses for VxWorks RTP. * config/arm/arm.md (UNSPEC_PIC_OFFSET): New unspec number. (pic_offset_arm): New pattern. (call, call_value): Use arm_emit_call_insn. (call_internal, call_value_internal): New expanders. * config/arm/lib1funcs.asm (__PLT__): Define to empty for VxWorks unless __PIC__. From-SVN: r125196
Richard Sandiford committed -
2007-05-30 H.J. Lu <hongjiu.lu@intel.com> PR libjava/32098 * configure: Regenerated. From-SVN: r125195
H.J. Lu committed -
2007-05-30 H.J. Lu <hongjiu.lu@intel.com> PR libjava/32098 * configure.ac: Add AC_CONFIG_AUX_DIR(../..). * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. From-SVN: r125194
H.J. Lu committed -
2007-05-30 H.J. Lu <hongjiu.lu@intel.com> PR libjava/32098 * libtool.m4 (_LT_LANG_GCJ_CONFIG): Use gcc to test gcj features. From-SVN: r125193
H.J. Lu committed -
2007-05-30 Eric Christopher <echristo@gmail.com> * genrecog.c: Include regs.h in generated file. * genemit.c: Ditto. Fix up formatting. * config/mn10300/constraints.md: New. * config/mn10300/mn10300.md: Include. * config/mn10300/mn10300.c(mn10300_secondary_reload_class): Fix up for removed macro. * config/mn10300/predicates.md (call_address_operand): Ditto. * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Delete. (CONST_OK_FOR_I): Ditto. (CONST_OK_FOR_J): Ditto. (CONST_OK_FOR_K): Ditto. (CONST_OK_FOR_L): Ditto. (CONST_OK_FOR_M): Ditto. (CONST_OK_FOR_N): Ditto. (CONST_DOUBLE_OK_FOR_LETTER_P): Ditto. (OK_FOR_Q): Ditto. (OK_FOR_R): Ditto. (OK_FOR_T): Ditto. (EXTRA_CONSTRAINT): Ditto. From-SVN: r125192
Eric Christopher committed -
2007-05-30 Richard Guenther <rguenther@suse.de> * MAINTAINERS (Various Maintainers): Add myself as auto-vectorizer maintainer. From-SVN: r125191
Richard Guenther committed -
* config/i386/i386.h (MASK_64BIT, MASK_MMX, MASK_3DNOW*, MASK_SSE*): Remove defines. * config/i386/biarch.h (TARGET_64BIT_DEFAULT): Define to OPTION_MASK_ISA_64BIT. * config/i386/i386.c: Rename MASK_* macros to OPTION_MASK_ISA_*. From-SVN: r125189
Uros Bizjak committed -
2007-05-30 Richard Guenther <rguenther@suse.de> PR middle-end/32152 * gimplify.c (gimplify_omp_atomic_pipeline): Use correct types for comparison. * fold-const.c (fold_comparison): Call maybe_canonicalize_comparison with original typed arguments. * config/i386/i386.c (ix86_gimplify_va_arg): Fix type mismatches. From-SVN: r125187
Richard Guenther committed -
PR tree-optimization/31769 * except.c (duplicate_eh_regions): Clear prev_try if ERT_MUST_NOT_THROW region is inside of ERT_TRY region. * g++.dg/gomp/pr31769.C: New test. From-SVN: r125183
Jakub Jelinek committed -
PR bootstrap/29382 * configure.in: Don't use -fkeep-inline-functions for GCC < 3.3.1. * configure: Rebuilt. From-SVN: r125182
Jakub Jelinek committed -
* tree-scalar-evolution.c (scev_const_prop): Do not create labels. * tree-ssa-sink.c (statement_sink_location): Return basic block and bsi of the location where statements should be inserted. (sink_code_in_bb): Take bsi from statement_sink_location. * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use bsi_after_labels instead of bsi_start. * tree-profile.c (tree_gen_ic_func_profiler): Pass BSI_NEW_STMT to bsi_insert_after. * tree-cfg.c (bsi_move_after): Pass BSI_NEW_STMT to bsi_insert_after. (bsi_move_before): Document inconsistency with bsi_move_after. (tree_redirect_edge_and_branch): Do not create labels if not necessary. From-SVN: r125181
Zdenek Dvorak committed -
* config/i386/i386.h (TARGET_ABM): New define. (TARGET_POPCNT): Ditto. (TARGET_64BIT, TARGET_MMX, TARGET_3DNOW, TARGET_3DNOW_A, TARGET_SSE*): New temporary defines to redefine from OPTION_ISA_* defines. (MASK_64BIT, MASK_MMX, MASK_3DNOW, MASK_3DNOW_A, MASK_SSE*): New temporary defines to redefine from OPTION_MASK_ISA_* defines. (ix86_isa_flags): New extern int declaration. (TARGET_SUBTARGET_DEFAULT): New define. (TARGET_SUBTARGET_ISA_DEFAULT): Ditto. (TARGET_SUBTARGET32_DEFAULT): Ditto. (TARGET_SUBTARGET32_ISA_DEFAULT): Ditto. (TARGET_SUBTARGET64_ISA_DEFAULT): Ditto. * config/i386/unix.h: Undef TARGET_SUBTARGET_DEFAULT before define. * config/i386/darwin.h: Change TARGET_64BIT define to OPTION_ISA_64BIT. * config/i386/i386.opt (m3dnowa): Define as undocumented option using existing "ix86_isa_flags" varible. (m32, m64): Use existing "ix86_isa_flags" variable. (mmmx, m3dnow): Ditto. (msse, msse2, msse3, mssse3, msse4.1, msse4a): Ditto. (mabm): Define as non-negative option using "x86_abm" variable. (mpopcnt): Define as non-negative option using "x86_popcnt" variable. * config/i386/i386.c (ix86_arch_features) [X86_ARCH_CMOVE]: Rewrite feature test bitmap. (ix86_isa_flags): New initialized global int varible. (ix86_isa_flags_explicit): New static int variable. (ix86_handle_option): Set "ix86_isa_flags_explicit" when mmmx, m3dnow, msse, msse2, msse3, msse4.1 and msse4a option is processed. Change i86_isa_flags and ix86_isa_flags_explicit, not target_flags and target_flags_explicit. (override_options): Remove "target_enable" and "target_disable" fields from "struct ptt". Update processor_target_table accordingly. Remove PTA_PREFETCH_SSE from processor_alias_table entry if PTE_SSE is defined and rearrange PTA_* bits. Use "ix86_isa_flags" instead of "target_flags" and "ix86_isa_flags_explicit" instead of "target_flags_explicit" when masked with MASK_64BIT, MASK_MMX, MASK_3DNOW, MASK_3DNOW_A or MASK_SSE*. Set "x86_abm" to true when PTA_ABM is set in processor_alias_table flags entry. Set "x86_popcnt" to true when either of PTA_POPCNT or PTA_ABM is set in processor_alias_table flags entry. Set "x86_prefetch_sse" to true when either of PTA_PREFETCH_SSE or PTA_SSE is set in processor_alias_table flags entry. Remove handling of "target_enable" and "target_disable" fields of processor_target_table. Mask "target_flags" with TARGET_SUBTARGET32_DEFAULT for 32-bit targets or with TARGET_SUBTARGET64_DEFAULT for 64-bit targets. Mask "ix86_isa_flags" with TARGET_SUBTARGET32_ISA_DEFAULT for 32-bit targets or with TARGET_SUBTARGET64_ISA_DEFAULT for 64-bit targets. (def_builtin): Mask "mask" variable with "ix86_isa_flags", not "target_flags". (TARGET_DEFAULT_TARGET_FLAGS): Do not include TARGET_64BIT_DEFAULT. From-SVN: r125180
Uros Bizjak committed -
2007-05-28 Razya Ladelsky <razya@il.ibm.com> * gcc.dg/matrix: New directory. From-SVN: r125179
Razya Ladelsky committed -
PR gcc/31975 * config/mips/mips.c (mips_output_mi_thunk): Emit NOTE_INSN_PROLOGUE_END at beginning of the thunk. From-SVN: r125178
David Daney committed -
From-SVN: r125176
GCC Administrator committed
-
- 29 May, 2007 13 commits
-
-
i386.c (ix86_function_regparm): Added checking of ix86_force_align_arg_pointer to determine the number of... * config/i386/i386.c (ix86_function_regparm): Added checking of ix86_force_align_arg_pointer to determine the number of register parameters. * gcc.target/i386/stack-realign.c: New. From-SVN: r125173
Hui-May Chang committed -
* tree-vectorizer.h (DR_MISALIGNMENT): Cast aux to integer. (SET_DR_MISALIGNMENT): New. * tree-vect-analyze.c (vect_compute_data_ref_alignment, vect_update_misalignment_for_peel, vect_enhance_data_refs_alignment): Use SET_DR_MISALIGNMENT. * tree-predcom.c (split_data_refs_to_components): Cast dr->aux from pointer. * tree-data-ref.c (create_data_ref, compute_all_dependences, find_loop_nest): Export. * tree-data-ref.h (struct data_reference): Change aux field to pointer. (create_data_ref, compute_all_dependences, find_loop_nest): Declare. * tree-ssa-loop-prefetch.c: Include tree-data-ref.h. (L1_CACHE_SIZE_BYTES, L2_CACHE_SIZE_BYTES, NONTEMPORAL_FRACTION): New macros. (struct mem_ref): Add field reuse_distance. (find_or_create_group, record_ref): Use XNEW instead of xcalloc. Initialize reuse_distance field. (issue_prefetch_ref): Select temporality of prefetch according to reuse_distance. (volume_of_references, volume_of_dist_vector, add_subscript_strides, self_reuse_distance, determine_loop_nest_reuse): New functions. (loop_prefetch_arrays): Call determine_loop_nest_reuse. (tree_ssa_prefetch_arrays): Dump L2 cache size. * Makefile.in (tree-ssa-loop-prefetch.o): Add TREE_DATA_REF_H dependency. * gcc.dg/tree-ssa/prefetch-6.c: New test. From-SVN: r125172
Zdenek Dvorak committed -
2007-05-29 Daniel Franke <franke.daniel@gmail.com> * gfortran.h: Renamed 'enum gfc_generic_isym_id' to 'enum gfc_isym_id', added missing GFC_ISYM_* enumerators, ordered alphabetically. (struct gfc_intrinsic_sym): Renamed 'generic_id' to 'id'. (gfc_find_subroutine): New prototype. * intrinsic.c (add_sym, add_sym_*): Added argument 'id' and changed all callers. (find_subroutine): Renamed to 'gfc_find_subroutine', removed static. * dependency.c: Changed usage of isym->generic_id to isym->id. * openmp.c: Likewise. * resolve.c: Likewise. * trans-array.c: Likewise. * trans-expr.c: Likewise. * trans-intrinsic.c: Likewise. * trans-openmp.c: Likewise. From-SVN: r125168
Daniel Franke committed -
2007-05-29 H.J. Lu <hongjiu.lu@intel.com> * configure.ac: Don't include ../config/confsubdir.m4. * aclocal.m4: Regenerated. * configure: Likewise. From-SVN: r125164
H.J. Lu committed -
2007-05-29 Paolo Carlini <pcarlini@suse.de> * aclocal.m4: Regenerate. * testsuite/17_intro/headers/c++1998/c++_for_c.tar: Remove. * testsuite/17_intro/headers/c++1998/c++.tar: Likewise. From-SVN: r125163
Paolo Carlini committed -
2007-05-29 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-alias.c: Add aliasing overview. From-SVN: r125162
Daniel Berlin committed -
2007-05-28 Tobias Schlter <tobi@gcc.gnu.org> fortran/ * gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIZEOF. * intrinsic.c (add_functions): Add stuff for SIZEOF intrinsic. * intrinsic.h (gfc_check_sizeof): Add prototype of ... * check.c (gfc_check_sizeof): .. new function. * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): New function. (gfc_conv_intrinsic_strcmp): Whitespace fix. (gfc_conv_intrinsic_array_transfer): Remove double initialization, use fold_build. where appropriate. (gfc_conv_intrinsic_function): Add case for SIZEOF. * intrinsic.texi: Add documentation for SIZEOF. testsuite/ * gfortran.dg/sizeof.f90: New. From-SVN: r125161
Tobias Schlüter committed -
libgcc PR target/29498 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file. * config/i386/t-crtfm: Compile crtfastmath.o with -minline-all-stringops. gcc PR target/29498 * config/i386/t-crtfm: Compile crtfastmath.o with -minline-all-stringops. * config/i386/cygwin.h (ENDFILE_SPECS): Add crtfastmath.o. * config/i386/mingw32.h (ENDFILE_SPECS): Add crtfastmath.o. Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net> From-SVN: r125160
Zuxy Meng committed -
From-SVN: r125159
Brooks Moses committed -
* doc/md.texi: Document constraints on HP PA-RISC. From-SVN: r125158
John David Anglin committed -
* pa/constraints.md: New file. * pa.md: Include constraints.md. * pa.c (cint_ok_for_move): Avoid using CONST_OK_FOR_LETTER_P. (integer_store_memory_operand, ldil_cint_p): New functions. * pa-protos.h (integer_store_memory_operand, ldil_cint_p): Declare. * pa.h (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, IS_RELOADING_PSEUDO_P, EXTRA_CONSTRAINT): Remove. * pa32-regs.h (REG_CLASS_FROM_LETTER): Remove. * pa64-regs.h (REG_CLASS_FROM_LETTER): Remove. From-SVN: r125157
John David Anglin committed -
2007-05-28 Andrew Pinski <Andrew_pinski@playstation.sony.com> PR c/31339 * c-typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <Andrew_pinski@playstation.sony.com> PR c++/31339 * typeck.c (build_unary_op <case PREINCREMENT_EXPR, case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, case POSTDECREMENT_EXPR>): Return the error_mark_node if either the real or imaginary parts would an error_mark_node. 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR c/31339 * gcc.dg/boolcomplex-1.c: New test. PR c++/31339 * g++.dg/ext/boolcomplex-1.c: New test From-SVN: r125156
Andrew Pinski committed -
From-SVN: r125154
GCC Administrator committed
-
- 28 May, 2007 11 commits
-
-
From-SVN: r125149
Mark Mitchell committed -
2007-05-28 Tobias Burnus <burnus@net-b.de> PR fortran/32124 * gfortran.dg/allocate_stat_1.f90: New. From-SVN: r125148
Tobias Burnus committed -
2007-05-28 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA name when we remove it from a call. From-SVN: r125147
Daniel Berlin committed -
From-SVN: r125146
Kazu Hirata committed -
* langhooks-def.h: Remove the prototype for hook_get_alias_set_0. * langhooks.c (hook_get_alias_set_0): Remove. From-SVN: r125145
Kazu Hirata committed -
* targhooks.c (default_narrow_bitfield): Remove. * targhooks.h: Remove the prototype for default_narrow_bitfield. From-SVN: r125144
Kazu Hirata committed -
From-SVN: r125143
Brooks Moses committed -
PR fortran/31972 * transfer_hollerith_1.f90: New test. From-SVN: r125142
Brooks Moses committed -
PR 31972/fortran * target-memory.c (gfc_target_expr_size): Add handling for size of BT_HOLLERITH variables. * check.c (gfc_check_transfer): Reject BT_HOLLERITH variables in MOLD argument of TRANSFER. From-SVN: r125141
Brooks Moses committed -
2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32100 * fold-const.c (tree_expr_nonnegative_warnv_p): Don't return true when truth_value_p is true and the type is of signed:1. 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> PR tree-opt/32100 * gcc.c-torture/execute/vrp-7.c: New test. From-SVN: r125139
Andrew Pinski committed -
From-SVN: r125138
Brooks Moses committed
-