Age | Commit message (Collapse) | Author |
|
Radar 4448096
* gcc/config/i386/i386.md (fixuns_truncdfsi2,
fixuns_truncsfsi2, floatunsdidf2): Disable for 4-byte aligned stack.
* gcc/config/i386/i386.c (override_options): Set 4-byte
aligned stack for -fapple-kext.
(ix86_expand_convert_DF2SI_sse, ix86_expand_convert_SF2SI_sse,
ix86_expand_convert_DI2DF_sse): assert a 16-byte aligned stack.
* gcc/doc/invoke.texi (-fapple-kext): Document new
-fapple-kext behavior.
2006-02-27 Stuart Hastings <stuart@apple.com>
Radar 4448096
* testsuite/gcc.target/i386/4448096-1.c: New.
* testsuite/g++.dg/4448096-2.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111502 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
* doc/invoke.texi (C++ Dialect Options): Document
-fno-use-cxa-get-exception-ptr.
* configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
* configure: Regenerate.
* c.opt (fuse-cxa-get-exception-ptr): New.
* c-opts.c (c_common_handle_option): Handle
OPT_fuse_cxa_get_exception_ptr.
* c-common.c (flag_use_cxa_atexit): Update documentation.
(flag_use_cxa_get_exception_ptr): New.
* c-common.h (flag_use_cxa_get_exception_ptr): New.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
documentation.
(C_COMMON_OVERRIDE_OPTIONS): New.
Index: gcc/testsuite/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* g++.dg/eh/uncaught1.C: Add dg-options for ppc-darwin.
* g++.dg/eh/uncaught2.C: New.
* g++.dg/eh/uncaught3.C: New.
Index: gcc/cp/ChangeLog
2006-02-24 Geoffrey Keating <geoffk@apple.com>
Radar 4086777
* except.c (expand_start_catch_block): Handle
flag_use_cxa_get_exception_ptr.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111492 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111439 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (print_cw_asm_operand): Revert change from
Radar 4399388 as it breaks C++ ppc.
* gcc.apple/asm-block-48.c: Add.
* g++.dg/asm-block-48.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111426 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.h (TARGET_CW_OP_CONSTRAINT): Improve fdivr,
fiadd, ficom, ficomp, fidiv, fidivr fild, fimul, fist, fistp,
fisttp, fisub, fisubr, fmul, idiv, inc, lds, les, lfs, lgs, lss.
Remove fildl, fildll, fistpll, fisttpll.
* config/i386/i386.c (x86_canonicalize_operands): Add DImode
support. Allow mov to be used on floats.
* c-common.c (m1, m2, m4, m2m4): Remove.
(m64, m16m32, m16m32m64, r16r32, r16r32r64): Add.
(rm64, rm8rm16rm32rm64): Add.
(print_cw_asm_operand, case INDIRECT_REF): Handle all
INDIRECT_REFs uniformly.
* g++.dg/asm-block-47.C: Add.
* g++.dg/asm-block-13.C: Update.
* gcc.apple/asm-block-13.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111422 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-21 Geoffrey Keating <geoffk@apple.com>
Radar 4439051
* config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
Index: testsuite/ChangeLog
2006-02-21 Geoffrey Keating <geoffk@apple.com>
Radar 4439051
* g++.dg/eh/spbp.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111346 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111207 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (cw_build_bracket): Add support for [word ptr esi].
(cw_ptr_conv): Likewise.
* config/i386/i386.c (cw_canonicalize_bracket): Likewise.
(cw_canonicalize_bracket_1): Likewise.
(cw_combine_type): Add.
(x86_canonicalize_operands): Don't add a modifier for
fstcw/fnstcw.
* gcc.apple/asm-block-45.c: Add.
* gcc.apple/asm-block-46.c: Add.
* g++.dg/asm-block-45.C: Add.
* g++.dg/asm-block-46.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111171 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (x86_canonicalize_operands): Don't add a
modifier for movq/movntq.
* gcc.apple/asm-block-44.c: Add.
* g++.dg/asm-block-44.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111008 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2006-02-14 Eric Christopher <echristo@apple.com>
Radar 4331439
* config/rs6000/rs6000.c (rs6000_handle_longcall_attribute):
Disable for 64-bit Mach-O.
* config/rs6000/darwin.h (SUBTARGET_OPTIONS): Disable longcall
only for Mach-O.
==> gcc/testsuite/ChangeLog.apple-ppc <==
2006-02-14 Eric Christopher <echristo@apple.com>
Radar 4385016 4331438
* gcc.apple/altivec-maltivec-1.c: xfail for 64bit.
* gcc.apple/altivec-faltivec-1.c: Ditto.
* gcc.apple/altivec-faltivec-2.c: Ditto.
* gcc.apple/default-cpu-1.c: Skip for 64bit.
* gcc.apple/default-cpu-2.c: Ditto.
* gcc.apple/align-test-5c: Ditto.
* gcc.apple/asm-test-nofralloc.c: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@111007 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c: (additional_names): Add.
(cw_reg_comp): Add.
(i386_cw_asm_register_name): Add support for upper case register
names.
* gcc.apple/asm-block-43.c: Add.
* g++.dg/asm-block-43.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110996 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR target/25376
* gcc/varasm.c (function_section): Don't call select_section if a
section name is present.
* testsuite/gcc.dg/pr25376: New test.
* testsuite/lib/target-supports.exp (check_named_sections_available):
Only compile named-sections test -- don't assemble.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110987 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dwarf2out.c (base_type_die): Don't add AT_name here.
(subrange_type_die): Don't add AT_name here.
(modified_type_die): Rearrange code flow. Do add AT_name here.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110951 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110878 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110869 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110844 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4430139 4431496
* tree.h: Remove reversed_flag.
(record_layout_info_s): Add among_reversed_bitfields,
reversed_bitfield_type_size, reversed_bitfield_bitpos.
* stor-layout.c (place_field): Rewrite
reversed-bitfield logic to use them.
2006-02-10 Dale Johannesen <dalej@apple.com>
Radar 4430139 4431496
* gcc.apple/bitreverse-10.c: Return from main.
* gcc.apple/bitreverse-18.c: New.
* gcc.apple/bitreverse-19.c: New.
* gcc.apple/bitreverse-20.c: New.
* gcc.apple/bitreverse-21.c: New.
* gcc.apple/bitreverse-22.c: New.
* gcc.apple/bitreverse-24.c: New.
* gcc.apple/bitreverse-25.c: New.
* gcc.apple/bitreverse-26.c: New.
* gcc.apple/bitreverse-27.c: New.
* g++.dg/bitreverse-10.C: Return from main.
* g++.dg/bitreverse-23.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110843 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110839 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (cw_canonicalize_bracket_1): Add.
(cw_canonicalize_bracket): Improve.
(cw_is_offset): Add NEGATE_EXPR support.
(cw_print_op): Improve BRACKET_EXPR handling.
* c-common.c (print_cw_asm_operand): Add parens around
NEGATE_EXPR.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110828 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.apple/asm-block-41.c: Add.
* g++.dg/asm-block-41.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110770 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-lex.c (c_lex_with_flags): Only recognize "offset" when doing
x86 assembly.
* parser.c (cp_parser_unary_operator): Only recognize "offset"
when doing x86 assembly.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110762 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (ix86_delegitimize_address): Support Darwin
PIC addresses.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110737 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Oked by Mike.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110726 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110680 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.dg/vect/vect-align-1.c: Update.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110658 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110622 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-common.c (pointer_int_sum): Strip NOPs for C++.
* g++.dg/asm-block-38.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110566 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc.apple/asm-block-38.c: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110559 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (x86_canonicalize_operands): A movz with 2
operands of the same size is converted to a normal mov.
Radar 4432782
* gcc.apple/asm-block-39.c: Add.
* g++.dg/asm-block-39.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110558 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110545 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110533 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4433955
* c-common.c (cw_asm_get_register_var): Remove static.
(pointer_int_sum): Build up ARRAY_REFs when possible.
* config/i386/i386.c (cw_canonicalize_bracket): Let forms with
pointer types through to optimizer and print_operand.
(cw_print_op): Likewise.
* config/asm.h (cw_asm_get_register_var): Add.
2006-02-02 Mike Stump <mrs@apple.com>
Radar 4433955
* gcc.apple/asm-block-37.c: Add.
* g++.dg/asm-block-37.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110532 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110521 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110486 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-vectorizer.c (vect_print_dump_info): Add vect_dump check.
* gcc.dg/R4208007.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110480 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
s/APPLE LOCAL FILE/APPLE LOCAL file/
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110475 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* tree-data-ref.c (analyze_array, init_data_ref,
find_data_references_in_loop): Set DR_TYPE.
* tree-data-ref.h (data_ref_type): New.
(struct data_reference): New member, data reference type.
(DR_TYPE): New.
* tree-vect-analyze.c (record_ptr_differ_p,
vect_base_object_differ_p): New.
(vect_base_addr_differ_p): Check base objects.
* g++.dg/vect/R4382844.cc: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110454 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4420068
* gcc.apple/bitreverse-17.c: New.
2006-01-28 Dale Johannesen <dalej@apple.com>
Radar 4420068
* stor-layout.c (place_field): don't adjust
rli->bitpos and rli->offset after a non-bitfield
whose type is zero-sized.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110328 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/config/i386/i386.md (fixuns_trunc<mode>si2,
fixuns_truncdfhi2, fixuns_truncsfhi2): New.
(floatunsdidf2): Allow for 32-bit when optimize_size is off.
* gcc/config/i386/i386-protos.h
(ix86_expand_convert_DF2SI_sse, ix86_expand_convert_SF2SI_sse,
ix86_expand_convert_DI2DF_sse): New.
* gcc/config/i386/i386.c (ix86_expand_vector_move2,
gen_2_4_rtvec, ix86_expand_convert_DF2SI_sse,
ix86_expand_convert_SF2SI_sse, ix86_expand_convert_DI2DF_sse): New.
(x86_emit_floatuns): Call ix86_expand_convert_DI2DF_sse.
* testsuite/gcc.dg/4176531.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110306 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* dbxout.c (dbxout_init): Queue void type.
* g++.dg/stab-4334498.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110226 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* g++.old-deja/g++.other/warn4.C: Compile
with -Wconversion.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110060 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* c-decl.c (start_function): Avoid warnings about lack of return
in asm functions.
* config/i386/i386.c (ix86_save_reg): Don't save any registers for
asm functions.
(ix86_expand_prologue): Don't adjust the stack for asm functions.
(ix86_expand_epilogue): Don't generate most of the epilogue for an
asm function, but do generate a ret.
* function.c (assign_parms): Don't avoid doing work for asm
functions.
(expand_function_start): We don't need DECL_RTL for asm functions.
(expand_function_end): Use a naked return for asm functions.
(expand_function_end):
* gimple-low.c (lower_function_body): Don't generate a return; for
asm functions.
* tree-inline.c (inline_forbidden_p): Don't inline asm functions on ppc.
cp:
Radar 4381918
* decl.c (start_preparsed_function): Avoid warnings about lack of return
in asm functions.
testsuite:
Radar 4381918
* gcc.apple/asm-function-19.c: Add.
* gcc.apple/asm-function-20.c: Add.
* g++.dg/asm-function-19.C: Add.
* g++.dg/asm-function-20.C: Add.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@110046 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* g++.dg/eh/table.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109933 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* g++.old-deja/g++.warn/impint.C: Add -Wconversion.
* g++.old-deja/g++.warn/impint2.C: Ditto.
* g++.old-deja/g++.other/null1.C: Ditto.
* g++.dg/warn/conv2.C: Ditto.
* g++.dg/warn/conv4.C: New file.
2006-01-17 Eric Christopher <echristo@apple.com>
* call.c (convert_like_real): When issuing conversion
warnings, depend on warn_conversion.
* cvt.c (build_expr_type_conversion): Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109865 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109798 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109694 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* gcc/cp/typeck2.c (split_nonconstant_init): Remove APPLE LOCAL 4285232.
* gcc/testsuite/g++.dg/4386991.C: New.
* gcc/testsuite/g++.dg/4285232.C: XFAIL.
* gcc/testsuite/bugs/powerpc/g++.xfail: Ditto.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109683 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Radar 4401223 4401224
* tree.h (record_layout_info_s): Add bitfield_seen.
* stor-layout.c (start_record_layout): Initialize it.
(place_field): When reversing bitfields: consider
rli->offset when computing current alignment;
maintain rli->bitfield_seen; adjust rli->bitpos and
rli_offset after a non-bitfield, but not if we saw
a bitfield earlier.
2006-01-13 Dale Johannesen <dalej@apple.com>
Radar 4401223 4401224
* gcc.apple/bitreverse-15.c: New.
* gcc.apple/bitreverse-16.c: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109681 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109311 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Index: gcc/ChangeLog
2006-01-02 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c (have_switched_text_section): Delete.
(have_multiple_function_sections): New.
(have_location_lists): Make 'bool'.
(add_AT_loc_list): Use 'true' not '1'.
(dwarf2out_switch_text_section): Set have_multiple_function_sections.
(output_loc_list): Use have_multiple_function_sections.
(output_ranges): Likewise.
(dwarf2out_begin_function): Set have_multiple_function_sections if
necessary.
(dwarf2out_source_line): Don't fake separate_line_info_table_in_use.
Check function_section rather than DECL_SECTION_NAME.
(dwarf2out_finish): Use have_multiple_function_sections.
Don't clear have_location_lists.
Index: gcc/testsuite/ChangeLog
2006-01-02 Geoffrey Keating <geoffk@apple.com>
* g++.dg/debug/debug9.C: New.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@109283 138bc75d-0d04-0410-961f-82ee72b054a4
|