Age | Commit message (Collapse) | Author |
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113814 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113813 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4549340
* stor-layout.c (layout_decl): Fix typo.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113812 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4529651
Tweak man page a bit more for -fast.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113575 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113541 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113534 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113511 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* doc/invoke.texi (Optimize Options): Improve -fast documentation
a little.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113510 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/doc/invoke.texi: Document -mlong-branch.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113433 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4454599
Radar 4481146
* stor-layout.c (update_alignment_for_field): Unconditionalize
ms_bitfield_layout_p code. Handle non-bitfield fields. Remove
extra alignment code.
(place_field): Don't realign if ms_bitfield_layout_p. Unconditionalize
ms_bitfield_layout_p code. Rewrite handling of structure fields.
Rewrite bitfield reversal handling.
2006-04-28 Eric Christopher <echristo@apple.com>
Radar 4454599
* gcc.apple/bitreverse-13.c: Remove.
* gcc.apple/bitreverse-19.c: Ditto.
* gcc.apple/bitreverse-2.c: Ditto.
* gcc.apple/bitreverse-20.c: Ditto.
* gcc.apple/bitreverse-21.c: Ditto.
* gcc.apple/bitreverse-24.c: Ditto.
* gcc.apple/bitreverse-27.c: Ditto.
* gcc.apple/bitreverse-4.c: Ditto.
* gcc.apple/bitreverse-5.c: Ditto.
* gcc.apple/bitreverse-6.c: Ditto.
* gcc.apple/bitreverse-7.c: Ditto.
* gcc.apple/bitreverse-8.c: Ditto.
* gcc.apple/bitreverse-18.c: Add #pragma ms_struct
to locations where we turn on pragma reverse_bitfields.
* gcc.apple/bitreverse-3.c: Ditto.
* gcc.apple/bitreverse-11.c: Ditto.
* gcc.apple/bitreverse-15.c: Ditto.
* gcc.apple/bitreverse-12.c: Ditto.
* gcc.apple/bitreverse-16.c: Ditto.
* gcc.apple/bitreverse-25.c: Ditto.
* gcc.apple/bitreverse-1.c: Ditto.
* gcc.apple/bitreverse-9.c: Ditto.
* gcc.apple/bitreverse-17.c: Ditto.
* gcc.apple/bitreverse-22.c: Ditto.
* gcc.apple/bitreverse-26.c: Ditto.
* gcc.apple/bitreverse-10.c: Ditto.
* gcc.apple/bitreverse-14.c: Ditto.
* g++.dg/bitreverse-10.C: Ditto.
* g++.dg/bitreverse-23.C: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113361 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4314956
Revert 2006-04-26 patch.
Import from mainline:
2005-08-31 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for
fp return matching.
* g++.dg/sibcall-opt.C: Remove.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113357 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.target/i386/m64-1.c: Update line numbers in dg-warning.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113336 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4529978
* target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket
with #ifndef/#endif.
* config/darwin-c.c (darwin_ms_struct): New.
(darwin_pragma_ms_struct): Ditto.
(darwin_set_default_type_attributes): Ditto.
* config/darwin-protos.h (darwin_pragma_ms_struct): Declare.
* config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS):
Register ms_struct pragma.
* config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare.
(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto.
* config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call
darwin_set_default_type_attributes if TARGET_MACHO.
2006-04-25 Eric Christopher <echristo@apple.com>
Radar 4529978
* gcc.dg/pragma-ms_struct.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113335 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113334 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (pointer_int_sum): Only form ARRAY_REF for ARRAY_TYPEs.
(iasm_maybe_force_mem): Ensure that we only use DECL_HARD_REGISTER on
VAR_DECLs.
* c-typeck.c (iasm_c_build_component_ref): Move [eax].16 code up,
to avoid calling lookup_name on [eax].
testsuite:
* g++.apple/asm-block-50.C: Expect warning for [ptr][4].
* gcc.apple/asm-block-50.c: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113333 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple/200605-release@113326 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple/gcc-5338@113294 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-04-26 Hui-May Chang <hm.chang@apple.com>
Radar 4491613
* loop.c (general_induction_var) : If an induction variable
may trap, it shouldn't be a general induction variable.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113293 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* doc/invoke.texi (-fobjc-gc): Eliminate bogus reference.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113292 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113286 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Import from mainline:
2005-08-31 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for
fp return matching.
* g++.dg/sibcall-opt.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113285 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (iasm_x86_canonicalize_operands): Fix movzx handling.
testsuite:
* g++.apple/asm-block-51.C: Add.
* gcc.apple/asm-block-51.c: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113282 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-04-25 Geoffrey Keating <geoffk@apple.com>
Radar 4498201
* dwarf2out.c (size_of_locs): Don't fill dw_loc_addr if there
are no branches.
Radar 4498201
* dwarf2asm.c (dw2_asm_output_data): Don't generate RTL just
to print an integer.
2006-04-24 Geoffrey Keating <geoffk@apple.com>
Radar 4498201
* dwarf2out.c (verify_marks_clear): New.
(prune_unused_types): Call verify_marks_clear initially, not
prune_unmark_dies.
2006-04-21 Geoffrey Keating <geoffk@apple.com>
Radar 4498201
* dwarf2out.c (struct die_struct): Document that die_sib makes
a circular linked list.
(FOR_EACH_CHILD): New.
(reverse_die_lists): Delete.
(reverse_all_dies): Delete.
(add_dwarf_attr): Correct documentation.
(remove_child_with_prev): New.
(remove_child_TAG): Update for change to die_struct, use
remove_child_with_prev.
(add_child_die): Update for change to die_struct.
(splice_child_die): Use remove_child_with_prev and add_child_die.
(print_die): Use FOR_EACH_CHILD.
(die_checksum): Likewise.
(assign_symbol_names): Likewise.
(output_location_lists): Likewise.
(build_abbrev_table): Likewise.
(calc_die_sizes): Likewise.
(mark_dies): Likewise.
(unmark_dies): Likewise.
(unmark_all_dies): Likewise.
(output_die): Likewise.
(prune_unused_types_mark): Likewise.
(prune_unused_types_walk): Likewise.
(same_die_p): Update for change to die_struct.
(break_out_includes): Likewise.
(prune_unused_types_prune): Likewise.
(add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
(prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
it's already clear.
(dwarf2out_finish): Don't call reverse_all_dies.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113280 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (iasm_print_operand): Fix .machine all for ppc64.
(iasm_addr): Add.
(pointer_int_sum): Handle ptr+4 correctly.
(iasm_stmt): Set up the line number correctly for C.
(IASM_VALID_PIC): Add.
(iasm_type_for): Move to i386.h
(iasm_maybe_force_mem): Add.
(iasm_print_operand): Split code out to new functions.
Add warnings for non-pic code when in PIC mode.
Add ARRAY_REF handling.
* i386/i386-protos.h (iasm_raise_reg): Add
* i386/i386.c:
Rename x86_canonicalize_operands to iasm_x86_canonicalize_operands.
(iasm_type_for): Add.
(iasm_raise_reg): Add.
(iasm_default_conv): Add.
(iasm_is_offset): Imrove support for ADDR_EXPR.
(iasm_canonicalize_bracket_1): Handle constants better.
Ensure that stack based addresses occur as one argument to the asm.
Ensure that expressions form adderess exrepssions.
(iasm_indirect): Add.
(iasm_add): Add.
(iasm_canonicalize_bracket): Split out code.
Ensure that stack based addresses occur as one argument to the asm.
Ensure that expressions form adderess exrepssions.
(iasm_x86_canonicalize_operands): Handle ARRAY_REF.
(iasm_warn_extra_reg): Add.
(iasm_print_op): Don't indirect here.
Handle address constant memory expressions.
Add warnings for extra registers.
Handle ADDR_EXPR better.
* i386/i386.h (IASM_VALID_PIC): Add.
Rename cw_ to iasm_:
* c-common.c:
Rename flag_cw_asm_blocks to flag_iasm_blocks.
Rename cw_asm_states to iasm_states.
Rename cw_asm_state to iasm_state.
Rename cw_asm_in_decl to iasm_in_decl.
Rename inside_cw_asm_block to inside_iasm_block.
Rename cw_asm_at_bol to iasm_at_bol.
Rename cw_asm_in_operands to iasm_in_operands.
Rename cw_split_next to iasm_split_next.
Rename cw_asm_buffer to iasm_buffer.
Rename cw_asm_labels to iasm_labels.
Rename cw_asm_labels_uniq to iasm_labels_uniq.
Rename cw_asm_identifier to iasm_identifier.
Rename cw_memory_clobber to iasm_memory_clobber.
Rename get_cw_asm_label to iasm_get_label.
Rename cw_get_mode to iasm_get_mode.
Rename cw_ptr_conv to iasm_ptr_conv.
Rename cw_build_bracket to iasm_build_bracket.
Rename cw_asm_default_function_conversion to iasm_default_function_conversion.
Rename cw_is_pseudo to iasm_is_pseudo.
Rename cw_op_constraint to iasm_op_constraint.
Rename TARGET_CW_OP_CONSTRAINT to TARGET_IASM_OP_CONSTRAINT.
Rename cw_op_comp to iasm_op_comp.
Rename TARGET_CW_REORDER_ARG to TARGET_IASM_REORDER_ARG.
Rename CW_SYNTH_CONSTRAINTS to IASM_SYNTH_CONSTRAINTS.
Rename cw_constraint_for to iasm_constraint_for.
Rename cw_process_arg to iasm_process_arg.
Rename CW_CANONICALIZE_OPERANDS to IASM_CANONICALIZE_OPERANDS.
Rename CW_IS_PREFIX to IASM_IS_PREFIX.
Rename CW_PRINT_PREFIX to IASM_PRINT_PREFIX.
Rename cw_is_prefix to iasm_is_prefix.
Rename cw_num_constraints_1 to iasm_num_constraints_1.
Rename cw_num_constraints to iasm_num_constraints.
Rename cw_set_constraints_1 to iasm_set_constraints_1.
Rename cw_set_constraints to iasm_set_constraints.
Rename CW_MAX_CLOBBERS to IASM_MAX_CLOBBERS.
Rename cw_op_clobber to iasm_op_clobber.
Rename cw_op_clobber_comp to iasm_op_clobber_comp.
Rename TARGET_CW_EXTRA_CLOBBERS to TARGET_IASM_EXTRA_CLOBBERS.
Rename cw_extra_clobbers to iasm_extra_clobbers.
Rename cw_asm_stmt to iasm_stmt.
Rename cw_asm_field_offset to iasm_field_offset.
Rename cw_simple_expr to iasm_simple_expr.
Rename cw_asm_expr_val to iasm_expr_val.
Rename TARGET_CW_PRINT_OP to TARGET_IASM_PRINT_OP.
Rename CW_IMMED_PREFIX to IASM_IMMED_PREFIX.
Rename CW_OFFSET_PREFIX to IASM_OFFSET_PREFIX.
Rename CW_HIDE_REG to IASM_HIDE_REG.
Rename CW_SEE_IMMEDIATE to IASM_SEE_IMMEDIATE.
Rename CW_SEE_NO_IMMEDIATE to IASM_SEE_NO_IMMEDIATE.
Rename CW_FUNCTION_MODIFIER to IASM_FUNCTION_MODIFIER.
Rename cw_force_constraint to iasm_force_constraint.
Rename print_cw_asm_operand to iasm_print_operand.
Rename cw_asm_get_register_var to iasm_get_register_var.
Rename cw_asm_reg_name to iasm_reg_name.
Rename cw_asm_label to iasm_label.
Rename cw_get_identifier to iasm_get_identifier.
Rename clear_cw_asm_labels to iasm_clear_labels.
Rename cw_ha16 to iasm_ha16.
Rename cw_hi16 to iasm_hi16.
Rename cw_lo16 to iasm_lo16.
Rename cw_do_id to iasm_do_id.
Rename cw_asm_build_register_offset to iasm_build_register_offset.
Rename cw_asm_entry to iasm_entry.
* c-lex.c: Likewise
Rename cw_skip_to_eol to iasm_skip_to_eol.
Rename cw_asm_saved_token to iasm_saved_token.
Rename cw_insert_saved_token to iasm_insert_saved_token.
* c-parse.in: Likewise.
Rename CW_ASM_KEYWORD to IASM_ASM_KEYWORD.
Rename CW_ASM_BOL to IASM_BOL.
Rename CW_ASM_EOL to IASM_EOL.
Rename cw_asm_lineno to iasm_lineno.
Rename CW_SEE_OPCODE to IASM_SEE_OPCODE.
Rename c_parse_cw_maybe_prefix to c_parse_iasm_maybe_prefix.
Rename cw_save_location to iasm_save_location.
Rename cw_asm_stmt_nobol to iasm_stmt_nobol.
Rename cw_asm_stmt_list to iasm_stmt_list.
Rename cw_maybe_comment to iasm_maybe_comment.
Rename cw_identifier to iasm_identifier.
Rename cw_identifier1 to iasm_identifier1.
Rename cw_maybe_prefix to iasm_maybe_prefix.
Rename single_cw_asm_stmt to single_iasm_stmt.
Rename cw_asm_stmts to iasm_stmts.
Rename cw_asm_compstmt_start to iasm_compstmt_start.
Rename cw_asm_compstmt to iasm_compstmt.
Rename cw_asm_compstmt_nostart to iasm_compstmt_nostart.
Rename cw_asm_compstmt_contents_nonempty to iasm_compstmt_contents_nonempty.
Rename cw_asm_operands to iasm_operands.
Rename cw_nonnull_asm_operands to iasm_nonnull_operands.
Rename cw_asm_operand to iasm_operand.
Rename cw_asm_expr_no_commas to iasm_expr_no_commas.
Rename cw_asm_unary_expr to iasm_unary_expr.
Rename cw_asm_primary to iasm_primary.
Rename cw_asm_specbit to iasm_asm_specbit.
Rename cw_asm_typename_or_reserved to iasm_typename_or_reserved.
Rename cw_asm_c_build_component_ref to iasm_c_build_component_ref.
* config/asm.h: Likewise.
Rename cw_asm_none to iasm_none.
Rename cw_asm_decls to iasm_decls.
Rename cw_asm_asm to iasm_asm.
Rename CW_MAX_ARG to IASM_MAX_ARG.
Rename TARGET_CW_EXTRA_INFO to TARGET_IASM_EXTRA_INFO.
Rename cw_md_Extra_info to iasm_md_Extra_info.
Rename cw_md_extra_info to iasm_md_extra_info.
* config/darwin-protos.h: Likewise.
Rename CW_ASM_SPECIAL_LABEL to IASM_SPECIAL_LABEL.
* config/darwin.c: Likewise.
Rename darwin_cw_asm_special_label to darwin_iasm_special_label.
* i386/darwin.h: Likewise.
Rename CW_ASM_REGISTER_NAME to IASM_REGISTER_NAME.
* i386/i386-protos.h: Likewise.
* i386/i386.c: Likewise.
Rename cw_reg_comp to iasm_reg_comp.
Rename i386_cw_asm_register_name to i386_iasm_register_name.
Rename cw_x86_needs_swapping to iasm_x86_needs_swapping.
Rename x86_swap_operands to iasm_x86_swap_operands.
Rename cw_is_offset to iasm_is_offset.
Rename cw_combine_type to iasm_combine_type.
Rename cw_canonicalize_bracket_1 to iasm_canonicalize_bracket_1.
Rename cw_canonicalize_bracket to iasm_canonicalize_bracket.
Rename x86_canonicalize_operands to iasm_x86_canonicalize_operands.
Rename CW_PREFIX_SEP to IASM_PREFIX_SEP.
Rename x86_cw_print_prefix to iasm_x86_print_prefix.
Rename cw_print_op to iasm_print_op.
* i386/i386.h: Likewise.
* rs6000/rs6000-protos.h: Likewise.
* rs6000/rs6000.c: Likewise.
Rename rs6000_cw_asm_register_name to rs6000_iasm_register_name.
* rs6000/rs6000.h: Likewise.
* rs6000/rs6000.md: Likewise.
* function.c: Likewise.
* function.h: Likewise.
Rename cw_asm_function to iasm_asm_function.
Rename cw_asm_noreturn to iasm_noreturn.
Rename cw_asm_frame_size to iasm_frame_size.
* gimple-low.c: Likewise.
* global.c: Likewise.
* print-tree.c: Likewise.
* reload1.c: Likewise.
* scan-decls.c: Likewise.
* stmt.c: Likewise.
* tree-inline.c: Likewise.
* tree.h: Likewise.
Rename cw_asm_function_flag to iasm_asm_function_flag.
Rename cw_asm_noreturn_flag to iasm_noreturn_flag.
cp:
Radar 4505741
Rename cw_ to iasm_:
See ../ChangeLog.apple-ppc for additional changes.
* cp-tree.h: Rename ds_cw_asm to ds_iasm_asm.
* decl.c: Likewise.
Rename cw_asm_p to iasm_p.
* parser.c: Likewise.
Rename cp_lexer_cw_bol to cp_lexer_iasm_bol.
Rename cp_parser_cw_asm_compound_statement to cp_parser_iasm_compound_statement.
Rename cp_parser_cw_asm_top_statement to cp_parser_iasm_top_statement.
Rename cp_parser_cw_asm_declaration_seq_opt to cp_parser_iasm_declaration_seq_opt.
Rename cp_parser_cw_asm_line_seq_opt to cp_parser_iasm_line_seq_opt.
Rename cp_parser_cw_asm_line to cp_parser_iasm_line.
Rename cp_parser_cw_skip_to_eol to cp_parser_iasm_skip_to_eol.
Rename cp_parser_cw_maybe_skip_comments to cp_parser_iasm_maybe_skip_comments.
Rename cp_parser_cw_asm_statement_seq_opt to cp_parser_iasm_statement_seq_opt.
Rename cw_build_identifier_string to iasm_build_identifier_string.
Rename cp_parser_cw_identifier to cp_parser_iasm_identifier.
Rename cp_parser_cw_identifier_or_number to cp_parser_iasm_identifier_or_number.
Rename cp_parser_cw_asm_maybe_prefix to cp_parser_iasm_maybe_prefix.
Rename cp_parser_cw_asm_statement to cp_parser_iasm_statement.
Rename cp_parser_cw_skip_to_next_asm to cp_parser_iasm_skip_to_next_asm.
Rename cp_parser_cw_asm_operands to cp_parser_iasm_operands.
Rename cp_parser_cw_asm_operand to cp_parser_iasm_operand.
Rename cp_parser_cw_asm_relative_branch to cp_parser_iasm_relative_branch.
Rename cp_parser_cw_asm_postfix_expression to cp_parser_iasm_postfix_expression.
* semantics.c: Likewise.
Rename cw_asm_cp_build_component_ref to iasm_cp_build_component_ref.
testsuite:
Radar 4505741
* gcc.apple/asm-block-46.c: Fix warning line.
* g++.apple/asm-block-31.C: Add -mdynamic-no-pic to silence warning.
* gcc.apple/asm-block-31.c: Likwise.
* g++.apple/asm-block-35.C: Likwise.
* gcc.apple/asm-block-35.c: Likwise.
* g++.apple/asm-block-50.C: Add.
* gcc.apple/asm-block-50.c: Add.
libcpp:
Radar 4505741
* lex.c: Rename cw_asm_states to iasm_states.
Rename cw_asm_in_operands to iasm_in_operands.
Rename cw_asm_state to iasm_state.
Rename cw_asm_label_follows to iasm_label_follows.
Rename flag_cw_asm_blocks to flag_iasm_blocks.
* macro.c: Likewise.
* makedepend.c: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113279 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113277 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/mmintrin.h (__m64): Update def.
* gcc.target/i386/m64-1.c: New.
* gcc.target/i386/m64-2.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113258 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4525014
* config/rs6000/rs6000.c (TARGET_MS_BITFIELD_LAYOUT_P): Define.
(TARGET_USE_MS_BITFIELD_LAYOUT): Ditto.
(rs6000_handle_struct_attribute): New.
(rs6000_ms_bitfield_layout_p): Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113231 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113166 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4506160
Bring in Joern Rennecke's fix from mainline:
PR middle-end/23135
* reload.c (find_reloads_subreg_address): Pass down TYPE
unchanged. Change all callers except find_reloads_toplev.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113164 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4522168
* dwarf2out.c (free_AT): Delete.
(remove_AT): Update string ref counts.
(remove_child_TAG): Don't call free_die.
(free_die): Delete.
(break_out_includes): Don't call free_die on DW_TAG_GNU_BINCL
or DW_TAG_GNU_EINCL.
(prune_unused_types_walk_attribs): Reset string refcounts.
(prune_unused_types_update_strings): New.
(prune_unused_types_prune): Don't make unnecessary stores. Don't
call free_die. Do call prune_unused_types_update_strings.
(prune_unused_types): Empty debug_str_hash.
2006-04-10 Geoffrey Keating <geoffk@apple.com>
Radar 4522168
* dwarf2out.c (struct dw_attr_struct): Remove dw_attr_next.
Declare VECs of this type.
(struct die_struct): Make field die_attr a VEC of dw_attr_struct.
(remove_children): Delete.
(add_dwarf_attr): Use VEC routines.
(add_AT_flag): Update for changes to add_dwarf_attr.
(add_AT_int): Likewise.
(add_AT_unsigned): Likewise.
(add_AT_long_long): Likewise.
(add_AT_vec): Likewise.
(add_AT_string): Likewise.
(add_AT_die_ref): Likewise.
(add_AT_fde_ref): Likewise.
(add_AT_loc): Likewise.
(add_AT_loc_list): Likewise.
(add_AT_addr): Likewise.
(add_AT_lbl_id): Likewise.
(add_AT_lineptr): Likewise.
(add_AT_macptr): Likewise.
(add_AT_offset): Likewise.
(add_AT_range_list): Likewise.
(get_AT): Use VEC_iterate.
(remove_AT): Use VEC_ordered_remove.
(free_die): Fold remove_children into here; have it use VEC_iterate.
(print_die): Use VEC_iterate on attrs.
(reverse_die_lists): Don't reverse attr lists.
(die_checksum): Use VEC_iterate on attrs.
(same_die_p): Likewise.
(output_location_lists): Likewise.
(build_abbrev_table): Likewise.
(size_of_die): Likewise.
(unmark_all_dies): Likewise.
(output_abbrev_section): Likewise.
(output_die): Likewise.
(prune_unused_types_walk_attribs): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113134 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/rs6000/rs6000.c (rs6000_initialize_trampoline): Use
pmode for SYMBOL_REFs.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113092 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4516827
* tree-ssa-loop-ivopts.c (find_interesting_uses_address):
Apply Zdenek's fix from mainline (PR 26643).
2006-04-18 Dale Johannesen <dalej@apple.com>
Radar 4516827
* gcc.apple/4516827.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113083 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113070 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New.
* config/t-darwin (crt3.o): Use it.
* config/rs6000/rs6000.md (call_indirect_nonlocal_sysv,
call_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
call_value_nonlocal_sysv, sibcall_nonlocal_sysv,
sibcall_value_nonlocal_sysv): Use the P macro for 32/64 support.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113067 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113059 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-ssa-forwprop.c (all_uses_are_replacable): Processing of one
worklist stmt may remove casts from another worklist item.
* g++.dg/R4475058.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113052 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-lex.c (lex_string): Enable pascal strings for wchars.
[cp]
* parser.c (cp_parser_string_literal): Enable pascal strings for
wchars.
[libcpp]
* charset.c (cpp_interpret_string): Enable pascal strings for wchars.
[testsuite]
* gcc.apple/R4499790.c: New.
* gcc.apple/R4499790-2.c: New.
* gcc.apple/pascal-strings-2.c: Update.
* g++.dg/pascal-strings-2.C: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113024 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@113018 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (cw_is_pseudo): Add.
(cw_asm_stmt): Handle _emit, opword and .machine better.
(print_cw_asm_operand): Handle .machine better.
* config/asm.h (struct cw_md_Extra_info, no_label_map): Add
(cw_is_pseudo): Add.
* i386/i386.c (cw_x86_needs_swapping): Handle pseduo instructions better.
(x86_canonicalize_operands): Likewise.
* i386/i386.h (TARGET_CW_EXTRA_INFO): Add.
(CW_IMMED_PREFIX): Handle pseduo instructions better.
(TARGET_CW_OP_CONSTRAINT): Add missing cmp.*{pd,ps,sd,ss} instructions.
cp:
Radar 4477426 4466768
* parser.c (cw_build_identifier_string): Handle pseudo instructions bettter.
testsuite:
Radar 4477426 4466768
* g++.apple/asm-block-49.C: Add.
* gcc.apple/asm-block-49.c: Add.
Radar 4498501
* gcc.apple/asm-block-13.C: Update.
* g++.apple/asm-block-13.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112905 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112760 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/config/i386/i386.md (gen_fix_trunc<mode>_i386_fisttp):
Remove 4209085 peephole.
* gcc.apple/4499627.c: New.
* gcc.apple/4209085.c: Remove.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112756 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/darwin-crt3.c (atexit): Pass &__dso_handle rather than
NULL for dso parameter to atexit_common.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112716 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* doc/extend.texi (Function Attributes): Rewrite visibility
attribute documentation.
* doc/invoke.texi (C++ Dialect Options): Rewrite
-fvisibility-inlines-hidden documentation to describe something
entirely different, although in practise compatible.
(Code Gen Options): Warn about system headers in -fvisibility=
documentation.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112713 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4419200
2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/emmintrin.h (_mm_cvtsd_f64): Add missing Intel
intrinsic.
(_mm_cvtsi128_si64): Likewise.
(_mm_cvtsd_si64): Likewise.
(_mm_cvttsd_si64): Likewise.
(_mm_cvtsi64_sd): Likewise.
(_mm_cvtsi64_si128): Likewise.
* config/i386/mmintrin.h (_m_from_int64): Likewise.
(_mm_cvtsi64_m64): Likewise.
(_m_to_int64): Likewise.
(_mm_cvtm64_si64): Likewise.
* config/i386/xmmintrin.h (_mm_cvtss_si64): Likewise.
(_mm_cvttss_si64): Likewise.
(_mm_cvtsi64_ss): Likewise.
(_mm_cvtss_f32): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112681 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112566 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-opts.c (c_common_handle_option): Ignore -fsave-repository
when not using STABS.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112560 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with
!Zdynamiclib.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112559 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112520 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* asm-block-2.C, asm-block-3.C, asm-block-4.C, asm-block-5.C: Likwise.
* asm-block-6.C, asm-block-7.C, asm-block-8.C, asm-block-9.C: Likwise.
* asm-block-10.C, asm-block-11.C, asm-block-12.C: Likewise.
* asm-block-13.C, asm-block-14.C, asm-block-15.C: Likewise.
* asm-block-16.C, asm-block-17.C, asm-block-18.C: Likewise.
* asm-block-19.C, asm-block-20.C, asm-block-21.C: Likewise.
* asm-block-22.C, asm-block-23.C, asm-block-24.C: Likewise.
* asm-block-25.C, asm-block-26.C, asm-block-27.C: Likewise.
* asm-block-28.C, asm-block-29.C, asm-block-30.C: Likewise.
* asm-block-31.C, asm-block-32.C, asm-block-33.C: Likewise.
* asm-block-34.C, asm-block-35.C, asm-block-36.C: Likewise.
* asm-block-37.C, asm-block-38.C, asm-block-39.C: Likewise.
* asm-block-40.C, asm-block-41.C, asm-block-42.C: Likewise.
* asm-block-43.C, asm-block-44.C, asm-block-45.C: Likewise.
* asm-block-46.C, asm-block-47.C: Likewise.
* asm-block-48.C, asm-block-dot-align.C, asm-function-1.C: Likewise.
* asm-function-2.C, asm-function-3.C, asm-function-4.C: Likewise.
* asm-function-5.C, asm-function-6.C, asm-function-7.C: Likewise.
* asm-function-8.C, asm-function-9.C, asm-function-10.C: Likewise.
* asm-function-11.C, asm-function-12.C, asm-function-13.C: Likewise.
* asm-function-14.C, asm-function-15.C, asm-function-16.C: Likewise.
* asm-function-17.C, asm-function-18.C, asm-function-19.C: Likewise.
* asm-function-20.C, asm-nested-struct-1.C: Likewise.
* asm-static-entry-1.C: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112473 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* doc/include/sourcecode.texi (Source Code): Rewrite for Subversion.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112471 138bc75d-0d04-0410-961f-82ee72b054a4
|