- 16 Dec, 2004 7 commits
-
-
PR target/19028 * config/i386/i386.md (sse compare splitter): Test for SF and DFmode explicitly instead of using VALID_SSE_REG_MODE. From-SVN: r92251
Richard Henderson committed -
PR target/19005 * config/i386/i386.md (swaphi_1): Swap with swaphi_2, allow with optimize_size. (swapqi_1): Rename from swapqi. Enable only for no partial reg stall and optimize_size. (swapqi_2): New. (swaphi_1, swaphi_2, swapqi_1): Add athlon_decode. (swapsi, swaphi_1, swaphi_2, swapqi_1, swapdi): Remove modrm override. From-SVN: r92250
Richard Henderson committed -
* config/i386/i386.md (*floathisf2_i387, *floathidf2_i387): Also enable for TARGET_MIX_SSE_I387. From-SVN: r92249
Uros Bizjak committed -
* config/i386/i386.md (sqrt{s,d}f2_1, sqrt{s,d}f2_1_sse_only, sqrt{s,d}f2_i387): Unify enable constraint with respect to TARGET_SSE, TARGET_SSE2, TARGET_USE_FANCY_MATH_387, TARGET_SSE_MATH and TARGET_MIX_SSE_I387. (sqrt{s,d}f2_1): Rename to *sqrt{s,d}f2_mixed. (sqrt{s,d}f2_1_sse_only): Rename to *sqrt{s,d}f2_sse. (sqrt{s,d}f2_i387): Rename to *sqrt{s,d}f2_i387. (*sqrtextendsfdf2): Also enable for TARGET_MIX_SSE_I387. (*sqrtextend?f?f2): Rename to *sqrtextendsfdf2_i387. From-SVN: r92247
Uros Bizjak committed -
*fop_?f_1_{,sse,nosse}, *fop_{d,x}f_{2,3,4,5,6}): Unify enable constraint with respect to TARGET_80387, TARGET_SSE, TARGET_SSE2, TARGET_SSE_MATH and TARGET_MIX_SSE_I387. (*fop_?f_{comm,1}): Rename to *fop_?f_{comm,1}_mixed. (*fop_?f_{comm,1}_nosse): Rename to *fop_?f_{comm,1}_i387. (*fop_{d,x}f_{2,3,4,5,6}): Rename to *fop_{d,x}f_{2,3,4,5,6}_i387. From-SVN: r92246
Uros Bizjak committed -
[gcc/objc/ChangeLog] 2004-12-15 Ziemowit Laski <zlaski@apple.com> * objc-act.c (build_private_template): Change to return 'void'; do not set ivar_context, uprivate_record or objc_instance_type. (objc_comptypes, gen_type_name_0): For types 'id' and 'Class', retrieve protocol list from the pointee rather than the pointer itself; check TYPE_HAS_OBJC_INFO(...) precondition before accessing TYPE_OBJC_PROTOCOL_LIST. (objc_get_protocol_qualified_type): For types 'id' and 'Class', construct a variant of the pointee as well as the pointer, and store protocol information in the former. When creating variants of RECORD_TYPEs, clone their TYPE_LANG_SPECIFIC fields and propagate TYPE_OBJC_INTERFACE information. (objc_declare_class): If a TYPE_DECL is looked up, retrieve the underlying RECORD_TYPE to check for presence of TYPE_OBJC_INTERFACE; for newly-created RECORD_TYPEs, create a tentative TYPE_OBJC_INTERFACE holding an IDENTIFIER_NODE. (objc_finish_message_expr): Check TYPE_HAS_OBJC_INFO(...) before accessing TYPE_OBJC_PROTOCOL_LIST; Use TYPE_OBJC_INTERFACE instead of calling lookup_interface(); allow for TYPE_OBJC_INTERFACE holding an IDENTIFIER_NODE (meaning a @class forward-declaration only). (objc_is_public): Check TYPE_OBJC_INTERFACE instead of calling lookup_interface(). (continue_class): For @implementations, set ivar_context, uprivate_record and objc_instance_type, for @interfaces, call build_private_template(). (encode_pointer): Check TYPE_HAS_OBJC_INFO(...) before accessing TYPE_OBJC_INTERFACE. (objc_types_are_equivalent): Check TYPE_HAS_OBJC_INFO(...) before accessing TYPE_OBJC_PROTOCOL_LIST. * objc-act.h (OBJC_INFO_SLOT_ELTS, TYPE_OBJC_INFO, INIT_TYPE_OBJC_INFO, DUP_TYPE_OBJC_INFO, ALLOC_OBJC_TYPE_LANG_SPECIFIC, SIZEOF_OBJC_TYPE_LANG_SPECIFIC): New macros. (TYPE_OBJC_INTERFACE): Replaces TREE_STATIC_INSTANCE and now points to an actual @interface; stored in TYPE_LANG_SPECIFIC(...). (TYPE_OBJC_PROTOCOL_LIST): Replaces TYPE_PROTOCOL_LIST; stored in TYPE_LANG_SPECIFIC(...). (TREE_STATIC_INSTANCE, TYPE_PROTOCOL_LIST): Delete. (IS_ID, IS_CLASS, IS_PROTOCOL_QUALIFIED_UNTYPED, IS_SUPER, TYPED_OBJECT): Check for POINTER_TYPE rather than POINTER_TYPE_P; adjust for use of TYPE_OBJC_INTERFACE and TYPE_OBJC_PROTOCOL_LIST instead of TREE_STATIC_INSTANCE and TYPE_PROTOCOL_LIST. From-SVN: r92239
Ziemowit Laski committed -
From-SVN: r92237
GCC Administrator committed
-
- 15 Dec, 2004 30 commits
-
-
2004-12-15 H.J. Lu <hongjiu.lu@intel.com> PR target/18153 * configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports -Bstatic/-Bdynamic option. * config.in: Regenerated. * configure: Likewise. * gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static -lunwind if possible. From-SVN: r92229
H.J. Lu committed -
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po, sv.po, tr.po: Update. From-SVN: r92227
Joseph Myers committed -
From-SVN: r92224
Joseph Myers committed -
2004-12-15 Daniel Berlin <dberlin@dberlin.org> * cfgloop.c (flow_loops_dump): Don't print out levels. (flow_loops_find): Don't set loop->levels. (flow_loops_level_compute): Make void. * cfgloop.h (struct loops): Remove levels member. Add comment about loops in parray possibly being NULL. From-SVN: r92222
Daniel Berlin committed -
* reload.c (SMALL_REGISTER_CLASS_P): New. (push_secondary_reload, find_reusable_reload, find_reloads): Use it instead of testing only the class size. From-SVN: r92221
Alexandre Oliva committed -
* scanner.c (skip_fixed_comments): Fix typo in comment preceding function. From-SVN: r92211
Tobias Schlüter committed -
PR c++/17972 * tree-inline.c (expand_call_inline): Set TREE_SIDE_EFFECTS on the STMT_EXPR wrapping up the inlined body. From-SVN: r92210
Eric Botcazou committed -
fortran/ PR fortran/18993 * match.c (gfc_match_if): Don't explicitly skip optional whitespace. (gfc_match_nullify): Make sure that ')' is in front of the end of statement. testsuite/ PR fortran/18993 * gfotran.dg/nullify_1.f: New test. From-SVN: r92209
Tobias Schlüter committed -
2004-12-15 Vladimir Makarov <vmakarov@redhat.com> Steven Bosscher <stevenb@suse.de> PR middle end/17340 * global.c: Update comments in a few places. (check_earlyclobber): Return true if there are early clobber classes. (calculate_local_reg_bb_info): Do not try to mark earlyclobber regs if there are none. (bb_info, allocate_bb_info, free_bb_info, modify_reg_pav, make_accurate_live_analysis): Rename pavin, pavout to live_pavin, live_pavout. (modify_bb_reg_pav): Remove. (calculate_reg_pav): Use code from modify_bb_reg_pav. (temp_bitmap): New variable. (calculate_reg_pav): Allocate/deallocate temp_bitmap. Co-Authored-By: Steven Bosscher <stevenb@suse.de> From-SVN: r92206
Vladimir Makarov committed -
PR target/19010 * config/i386/i386.c (ix86_must_pass_in_stack): Don't return true for TImode vectors. (gen_reg_or_parallel): New. (function_arg): Use it. (ix86_hard_regno_mode_ok): Test SSE1 and SSE2 separately, MMX and 3DNOW separately. (ix86_rtx_costs): Simplify FLOAT_EXTEND case. (ix86_vector_mode_supported_p): Test SSE1 and SSE2 separately. * config/i386/i386.h (VALID_SSE2_REG_MODE): Move SSE2 cases from ... (VALID_SSE_REG_MODE): ... here. * gcc.target/i386/i386.exp: New harness. * gcc.target/i386/vect-args.c: New. From-SVN: r92205
Richard Henderson committed -
From-SVN: r92202
David Edelsohn committed -
From-SVN: r92201
David Edelsohn committed -
PR c++/18825 * pt.c (instantiate_class_template): Set input_location for friend function. (tsubst_friend_function): Don't set input_location here. Make sure the context is complete if necessary. * g++.dg/template/friend32.C: New test. From-SVN: r92200
Kriang Lerdsuwanakij committed -
* config/arm/arm.c (arm_xscale_rtx_costs): Increase cost of COMPARE of MULT. * config/arm/arm.md (mulsi3_compare0): Don't check arm_arch_xscale. (mulsi_compare0_scratch, mulsi3_addsi_compare0): Likewise. (mulsi3addsi_compare0_scratch): Likewise. From-SVN: r92199
Ian Lance Taylor committed -
From-SVN: r92196
Eric Botcazou committed -
PR preprocessor/15167 * files.c (destroy_cpp_file): New function. (should_stack_file): Make a new file if the compared file is still stacked. From-SVN: r92194
Eric Botcazou committed -
2004-12-15 Bud Davis <bdavis9659@comcast.net> Steven G. Kargl <kargls@comcast.net> PR fortran/17597 * io/list_read.c (read_real): do not push back a comma when it delimits a real value without a decimal point 2004-12-15 Bud Davis <bdavis9659@comcast.net> Steven G. Kargle <kargls@comcast.net> PR fortran/17597 * gfortran.dg/list_read_3.f90: New test. Co-Authored-By: Steven G. Kargl <kargls@comcast.net> Co-Authored-By: Steven G. Kargl <kargls@comcast.net> From-SVN: r92190
Bud Davis committed -
PR other/18665 * libgcc-std.ver (GCC_3.4.4): Inherit from GCC_3.4.2. Export __absvti2, __addvti3, __mulvti3, __negvti2 and __subvti3. * libgcc2.c (__addvsi3): Rename to __addvSI3. New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC. (__addvdi3): Rename to __addvDI3. (__subvsi3): Rename to __subvSI3. Use word type for the result. New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC. (__subvdi3): Rename to __subvDI3. (_mulvsi3): Rename to _mulvSI3. New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC. (_mulvdi3): Rename to _mulvDI3. (__negvsi2): Rename to __negvSI2. New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC. (__negvdi2): Rename to __negvDI2. (__absvsi2): Rename to __absvSI2. New version if COMPAT_SIMODE_TRAPPING_ARITHMETIC. (__absvdi2): Rename to __absvDI2. * libgcc2.h (64-bit targets): Define COMPAT_SIMODE_TRAPPING_ARITHMETIC. (__absvSI2, __addvSI3, __subvSI3, __mulvSI3, __negvSI2, __absvDI2, __addvDI3, __subvDI3, __mulvDI3, __negvDI2): Define to the appropriate symbol and declare. (__absvsi2, __addvsi3, __subvsi3, __mulvsi3, __negvsi2): Declare if COMPAT_SIMODE_TRAPPING_ARITHMETIC. From-SVN: r92187
Eric Botcazou committed -
config/m32r.c (m32r_legitimize_pic_address): Changed to support GOTOFF relocation. config/m32r.md (UNSPEC_GOTOFF): New. (gotoff_load_addr): New. From-SVN: r92186
Kazuhiro Inaoka committed -
From-SVN: r92185
Kazuhiro Inaoka committed -
cp: PR c++/18981 * parser.c (cp_parser_lookup_name): Remove unneeded TYPENAME_TYPE flag setting. testsuite: PR 18981 * g++.dg/template/typename9.C: New test. From-SVN: r92184
Nathan Sidwell committed -
mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned. * config/mips/mips.c (mips_arg_info): Use FUNCTION_ARG_BOUNDARY to decide whether an argument is double-word aligned. From-SVN: r92182
Richard Sandiford committed -
From-SVN: r92180
Richard Henderson committed -
gcc/ 2004-12-15 Jan Beulich <jbeulich@novell.com> * mklibgcc.in (libgcc2_c_dep): Add dependency on libgcc2.h. From-SVN: r92179
Jan Beulich committed -
*floatsisf2_i387, *floatsisf2_sse, floatdisf2, *floatdisf2_i387_only, *floatdisf2_i387, *floatdisf2_sse, floathidf2, *floathidf2_1, *floatsidf2_i387, *floatsidf2_sse, floatdidf2, *floatdidf2_i387_only, *floatdidf2_i387, *floatdidf2_sse, floatunssisf2, floatunsdisf2, floatunsdidf2): Unify enable constraint with respect to TARGET_80387, TARGET_SSE, TARGET_SSE2, TARGET_64BIT, TARGET_SSE_MATH and TARGET_MIX_SSE_I387. (*float?i?f_i387): Rename to *float?i?f2_mixed. (*float?i?f2_1): Rename to *float?i?f2_i387. (*float?i?f2_i387_only): Rename to *float?i?f2_i387. (float?ixf2): Penalize integer register operand. From-SVN: r92178
Uros Bizjak committed -
PR c++/17242 * configure.ac: Add GAS check for HP-UX .nsubspa comdat. * configure, config.in: Rebuilt. * config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY): Delete defines. * config/pa/pa.c (pa_select_section): Allow uninitialized variables in one-only (comdat) subspaces. * config/pa/som.h (SUPPORTS_SOM_COMDAT): New define. (SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT are true. (MAKE_DECL_ONE_ONLY): Place uninitialized variables in common. From-SVN: r92177
John David Anglin committed -
* gfortran.h (gfc_expr.function.name): Make const. (gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. (gfc_get_string): Update prototype. * iresolve.c: Include tree.h. (string_node, HASH_SIZE, string_head, hash): Remove. (gfc_get_string): Use vsnprintf, get_identifier. (free_strings, gfc_iresolve_init_1, gfc_iresolve_done_1): Remove. * misc.c (gfc_init_1): Don't call gfc_iresolve_init_1. (gfc_done_1): Don't call gfc_iresolve_done_1. * module.c (mio_allocated_string): Take and return const char *, instead of modifying char**. (mio_expr): Update to match. * resolve.c (pure_function): Constify name argument. (resolve_function): Constify name. * trans-intrinsic.c (gfc_conv_intrinsic_function): Likewise. From-SVN: r92176
Richard Henderson committed -
combine.c (combine_validate_cost): Consider cost of undobuf.other_insn rather than always allowing the... * combine.c (combine_validate_cost): Consider cost of undobuf.other_insn rather than always allowing the recombination if it is set. From-SVN: r92173
Ian Lance Taylor committed -
PR c++/18738 * decl.c (make_typename_type): Do not handle namespace-scoped names here. (tag_name): Handle typename_type. (check_elaborated_type_specifier): Handle typenames. * parser.c (cp_parser_diagnose_invalid_type_name): Improve comment. (cp_parser_elaborated_type_specifier): Use cp_parser_diagnose_invalid_type_name. PR c++/18738 * g++.dg/template/typename8.C: New test. * g++.dg/parse/friend2.C: Tweak error message. From-SVN: r92172
Mark Mitchell committed -
From-SVN: r92170
GCC Administrator committed
-
- 14 Dec, 2004 3 commits
-
-
* pa-host.c (MAP_FAILED): Define if not defined. (pa_gt_pch_use_address): Handle short reads. From-SVN: r92166
John David Anglin committed -
PR target/17990 * config/i386/i386.c (x86_use_bt): New. (ix86_expand_unary_operator): Use MEM_P. (ix86_expand_fp_absneg_operator): New. * config/i386/i386.h (x86_use_bt): Declare. (TARGET_USE_BT): New. * config/i386/i386-protos.h: Update. * config/i386/i386.md (negsf2): Use ix86_expand_fp_absneg_operator. (negdf2, negxf2, abssf2, absdf2, absxf2): Likewise. (negsf2_memory, negsf2_ifs, negsf2_if, negdf2_memory, negdf2_ifs, negdf2_ifs_rex64, negdf2_if, negdf2_if_rex64, negxf2_if, abssf2_memory, abssf2_ifs, abssf2_if, absdf2_memory, absdf2_ifs, absdf2_ifs_rex64, absdf2_if, absxf2_if): Remove. (absnegsf2_mixed, absnegsf2_sse, absnegsf2_i387, absnegdf2_mixed, absnegdf2_sse, absnegdf2_i387, absnegxf2_i387): New. Merge all neg and abs splitters. Handle DFmode in general regs in 64-bit mode. (negextendsfdf2, absextendsfdf2): Disable for non-mixed sse math. (btsq, btrq, btcq): New. Add peepholes as well. (movv4sf_internal splitter): Postpone til after reload. (movv2di_internal splitter): Likewise. * config/i386/predicates.md (const_0_to_63_operand): New. (absneg_operator): New. From-SVN: r92165
Richard Henderson committed -
pa.h (REGNO_OK_FOR_INDEX_P, [...]): Check register number and that reg_renumber is nonzero before using it. * pa.h (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_FP_P): Check register number and that reg_renumber is nonzero before using it. From-SVN: r92164
John David Anglin committed
-