gcc/cygwin-gcc.git
16 years agoUpdate xfail files for gcc-5306.apple/tags/gcc-5307
Jon Ziegler [Sat, 10 Dec 2005 05:15:21 +0000 (10 05:15 +0000)]
Update xfail files for gcc-5306.

From-SVN: r108343

16 years agoRadar 4371958
Mike Stump [Sat, 10 Dec 2005 01:09:48 +0000 (10 01:09 +0000)]
Radar 4371958

libcpp:
Radar 4371958
* macro.c (cpp_get_token): Be sure to reset the BOL flag when
injecting macro bodies, as we wouldn't want a previous value.

gcc/testsuite:
* gcc.apple/asm-block-36.c: Add.
* g++.dg/asm-block-36.C: Add.

From-SVN: r108340

16 years agoRadar 4371551
Mike Stump [Sat, 10 Dec 2005 01:00:49 +0000 (10 01:00 +0000)]
Radar 4371551

Radar 4371551
* c-common.c (print_cw_asm_operand): Handle complex operands better.
(cw_simple_expr): New.
* c-typeck.c (build_array_ref): Also handle exprs with no type.
* config/i386/i386.c (cw_canonicalize_bracket): Add support for
more complex offsets.

cp:
* parser.c (cp_parser_cw_asm_postfix_expression): Also handle
exprs with no type.

testsuite:
* gcc.apple/asm-block-35.c: Add.
* g++.dg/asm-block-35.C: Add.

From-SVN: r108339

16 years agoRadar 3791237
Zdenek Dvorak [Fri, 9 Dec 2005 23:25:35 +0000 (9 23:25 +0000)]
Radar 3791237

2005-12-09  Zdenek Dvorak <rakdver@gcc.gnu.org>
            Dale Johannesen  <dalej@apple.com>

        Radar 3791237
        * toplev.c (process_options):  Make -funroll-loops
        turn on -fweb.
        * doc/invoke.texi (-fsplit-ivs-in-unroller, -fweb,
        -funroll-loops):  Document this behavior.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r108321

16 years ago[multiple changes]
Dale Johannesen [Fri, 9 Dec 2005 18:15:19 +0000 (9 18:15 +0000)]
[multiple changes]

2005-12-09  Zdenek Dvorak <rakdver@gcc.gnu.org>

Radar 4233898
        * tree-chrec.c (chrec_fold_multiply_poly_poly): Associate chrecs
        correctly.

2005-12-09  Dale Johannesen  <dalej@apple.com>

Radar 4233898
* gcc.c-torture/execute/4233898.c: New.

From-SVN: r108312

16 years agoRadar 4299630
Stuart Hastings [Fri, 9 Dec 2005 17:51:13 +0000 (9 17:51 +0000)]
Radar 4299630

        Radar 4299630
        * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Fixed APPLE LOCAL.

From-SVN: r108311

16 years agoRadar 4285232
Dale Johannesen [Fri, 9 Dec 2005 00:22:18 +0000 (9 00:22 +0000)]
Radar 4285232

2005-12-08  Dale Johannesen  <dalej@apple.com>

Radar 4285232
* cp/typeck2.c (split_nonconstant_init):  Don't
zero out object which is fully initialized.

2005-12-08  Dale Johannesen  <dalej@apple.com>

Radar 4285232
* g++.dg/4285232.C:  New.

From-SVN: r108268

16 years agoRadar 4298879
Devang Patel [Thu, 8 Dec 2005 22:46:25 +0000 (8 14:46 -0800)]
Radar 4298879

       Radar 4298879
       * config/rs6000/darwin.h (PROCESSOR_DEFAULT): Tune for G5 instructions
       by default when not optimizing for size.
       (SUBTARGET_OVERRIDE_OPTIONS): Enable Altivec by default when deployment
       target is Mac OSX 10.5 or higher.

       * gcc.apple/default-cpu-1.c: New.
       * gcc.apple/default-cpu-2.c: New.
       * gcc.apple/default-cpu-3.c: New.

Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
From-SVN: r108254

16 years agoRadar 4333194
Devang Patel [Thu, 8 Dec 2005 04:12:09 +0000 (7 20:12 -0800)]
Radar 4333194

       * tree-vect-analyze.c (vect_compute_data_ref_alignment): Check
       misalignment where natural alignment is not reachable using loop
       peeling.

       * gcc.dg/vect/vect-align-1.c: New.

From-SVN: r108214

16 years agoRadar 4370117
Geoffrey Keating [Thu, 8 Dec 2005 02:35:20 +0000 (8 02:35 +0000)]
Radar 4370117

Radar 4370117
* config/darwin.h (DEBUG_INFO_SECTION): Mark as 'debug'.
(DEBUG_ABBREV_SECTION): Mark as 'debug'.
(DEBUG_ARANGES_SECTION): Mark as 'debug'.
(DEBUG_MACINFO_SECTION): Mark as 'debug'.
(DEBUG_LINE_SECTION): Mark as 'debug'.
(DEBUG_LOC_SECTION): Mark as 'debug'.
(DEBUG_PUBNAMES_SECTION): Mark as 'debug'.
(DEBUG_STR_SECTION): Mark as 'debug'.
(DEBUG_RANGES_SECTION): Mark as 'debug'.

From-SVN: r108213

16 years agoRadar 4137741
Devang Patel [Wed, 7 Dec 2005 19:48:55 +0000 (7 11:48 -0800)]
Radar 4137741

[gcc/ChangeLog.apple-ppc]
2005-06-19  Ziemowit Laski  <zlaski@apple.com>

        Radar 4137741
        * Makefile.in (c-lex.o): Revert langhooks.h dependency.
        (langhooks.o): Revert debug.h dependency.
        * c-lex.c: Do not include langhooks.h.
        (fe_file_change): Revert lang_hooks calls; issue debug_hooks
        calls only if defer_file_change_debug_hooks flag is cleared.
        (c_lex_with_flags): Propagate line number information for
        CPP_BINCL and CPP_EINCL tokens.
        * langhooks-def.h: Revert Radar 4133801 changes.
        * langhooks.c: Likewise.
        * langhooks.h: Likewise.

[gcc/cp/ChangeLog.apple-ppc]
2005-06-19  Ziemowit Laski  <zlaski@apple.com>

        Radar 4137741
        * cp-objcp-common.h: Revert Radar 4133801 changes.
        * cp-tree.h: Likewise.
        * decl2.c: Likewise.
        * parser.c: Likewise.
        (cp_lexer_handle_pragma): Rename to cp_lexer_handle_pragma_etc();
        handle CPP_BINCL and CPP_EINCL tokens in addition to CPP_PRAGMA.
        (cp_lexer_new_main): Set defer_file_change_debug_hooks flag
        in preprocessor.
        (cp_parser_statement, cp_parser_declaration_seq_opt,
        cp_parser_member_specification_opt, cp_parser_cw_asm_declaration_seq_opt,
        cp_parser_cw_asm_statement, cp_parser_objc_interstitial_code):
        Call cp_lexer_handle_pragma_etc() for CPP_BINCL and CPP_EINCL tokens
        also.

[libcpp/ChangeLog.apple-ppc]
2005-06-19  Ziemowit Laski  <zlaski@apple.com>

        Radar 4137741
        * directives.c (_cpp_do_file_change): If preprocessor
        defer_file_change_debug_hooks flag is set, synthesize CPP_BINCL
        and CPP_EINCL tokens.
        * init.c (cpp_create_reader): Initialize token run (and associated
        pointers) for storing CPP_EINCL tokens.
        * internal.h (struct cpp_reader): Add new fields for storing
        CPP_EINCL tokens.
        (_cpp_next_tokenrun): Add declaration.
        * lex.c (next_tokenrun): Make externally visible and rename to
        _cpp_next_tokenrun().
        (_cpp_temp_token): Call _cpp_next_tokenrun() instead of
        next_tokenrun().
        (_cpp_lex_token): Likewise; return any pending CPP_EINCL tokens
        before returning token actually read.
        * include/cpplib.h (TTYPE_TABLE): Define new CPP_BINCL and CPP_EINCL
        token types, similar to CPP_PRAGMA.
        (cpp_options): Define new defer_file_change_debug_hooks flag.

Co-Authored-By: Ziemowit Laski <zlaski@apple.com>
From-SVN: r108177

16 years agoRadar 4349512
Dale Johannesen [Wed, 7 Dec 2005 18:56:45 +0000 (7 18:56 +0000)]
Radar 4349512

2005-12-07  Dale Johannesen  <dalej@apple.com>

Radar 4349512
* tree-ssa-forwprop.c (substitute_single_use_vars):
Check that COND_EXPRs being substituted into have the
expected form.

2005-12-07  Dale Johannesen  <dalej@apple.com>

Radar 4349512
* g++.dg/4349512.C:  New.

From-SVN: r108171

16 years agoRadar 4299630
Stuart Hastings [Wed, 7 Dec 2005 17:03:46 +0000 (7 17:03 +0000)]
Radar 4299630

        Radar 4299630
        * g++.dg/apple-longcall-2.C: New.

From-SVN: r108169

16 years agobackport: darwin.h (TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT): New.
Geoffrey Keating [Wed, 7 Dec 2005 01:21:22 +0000 (7 01:21 +0000)]
backport: darwin.h (TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT): New.

Merge from trunk:
* config/darwin.h (TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT): New.
Bug #: 4311680

* config/darwin.c (machopic_select_section): It's not defined
as weak if it's only marked as weak_import.
Bug #: 4290187

* config/rs6000/host-darwin.c (segv_handler): Unblock SEGV so
we don't go into an infinite loop.
Bug #: 4240962

From-SVN: r108148

16 years agoRadar 4299630
Stuart Hastings [Wed, 7 Dec 2005 01:11:01 +0000 (7 01:11 +0000)]
Radar 4299630

Radar 4299630
        * config/rs6000/rs6000.md (longjump): New pattern.
        * config/rs6000/rs6000.h (TARGET_LONG_BRANCH): FSF definition.
        * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Use it.
        * testsuite/g++.dg (apple-longcall-2.C): Test it.

From-SVN: r108146

16 years agoRadar 4332318
Dale Johannesen [Tue, 6 Dec 2005 18:52:17 +0000 (6 18:52 +0000)]
Radar 4332318

2005-12-05  Dale Johannesen  <dalej@apple.com>

Radar 4332318
* config/i386/sse.md (sse_movhlps):  Reverse operands for
2nd and 3rd alternatives.

2005-12-05  Dale Johannesen  <dalej@apple.com>

* gcc.target/i386/sse-17.c:  New.

From-SVN: r108125

16 years agoFixup APPLE LOCAL markersr109000/tags/apple/trunk-last-merge
Mike Stump [Mon, 5 Dec 2005 20:50:43 +0000 (5 20:50 +0000)]
Fixup APPLE LOCAL markers

From-SVN: r108075

16 years agoFix a few small typos in -fnested-functions documentation.
Mike Stump [Mon, 5 Dec 2005 20:27:31 +0000 (5 20:27 +0000)]
Fix a few small typos in -fnested-functions documentation.

From-SVN: r108073

16 years agoRadar 4357979
Mike Stump [Mon, 5 Dec 2005 20:17:13 +0000 (5 20:17 +0000)]
Radar 4357979

        Radar 4357979
        * doc/invoke.texi (C Dialect Options): Improve -fnested-functions wording.
        * doc/extend.texi (Nested Functions): Note that on darwin nested
        functions are off by default.

From-SVN: r108072

16 years agoBump version to gcc-5307.
Jon Ziegler [Mon, 5 Dec 2005 06:27:17 +0000 (5 06:27 +0000)]
Bump version to gcc-5307.

From-SVN: r108041

16 years ago* lib/objc-torture.exp (objc-torture-execute): Likewise.apple/tags/gcc-5306
Mike Stump [Sat, 3 Dec 2005 09:44:55 +0000 (3 09:44 +0000)]
* lib/objc-torture.exp (objc-torture-execute): Likewise.

From-SVN: r107998

16 years agoFix typo
Mike Stump [Sat, 3 Dec 2005 09:17:04 +0000 (3 09:17 +0000)]
Fix typo

From-SVN: r107997

16 years agoc-torture.exp: Added -fnested-functions.
Mike Stump [Sat, 3 Dec 2005 09:13:58 +0000 (3 09:13 +0000)]
c-torture.exp: Added -fnested-functions.

* lib/c-torture.exp: Added -fnested-functions.
* gcc.apple/nested-func-1.c: Likewise.
* gcc.c-torture/compile/20010226-1.c: Likewise.
* gcc.c-torture/compile/20010605-1.c: Likewise.
* gcc.c-torture/compile/20010903-2.c: Likewise.
* gcc.c-torture/compile/20011023-1.c: Likewise.
* gcc.c-torture/compile/20020309-1.c: Likewise.
* gcc.c-torture/compile/20021204-1.c: Likewise.
* gcc.c-torture/compile/20030418-1.c: Likewise.
* gcc.c-torture/compile/20030716-1.c: Likewise.
* gcc.c-torture/compile/20031011-1.c: Likewise.
* gcc.c-torture/compile/20040310-1.c: Likewise.
* gcc.c-torture/compile/20040317-3.c: Likewise.
* gcc.c-torture/compile/20050119-1.c: Likewise.
* gcc.c-torture/compile/20050122-2.c: Likewise.
* gcc.c-torture/compile/920415-1.c: Likewise.
* gcc.c-torture/compile/930506-2.c: Likewise.
* gcc.c-torture/compile/951116-1.c: Likewise.
* gcc.c-torture/compile/nested-1.c: Likewise.
* gcc.c-torture/compile/nested-2.c: Likewise.
* gcc.dg/20011130-1.c: Likewise.
* gcc.dg/20021014-1.c: Likewise.
* gcc.dg/20030331-2.c: Likewise.
* gcc.dg/20031218-2.c: Likewise.
* gcc.dg/20031218-3.c: Likewise.
* gcc.dg/20050607-1.c: Likewise.
* gcc.dg/cleanup-7.c: Likewise.
* gcc.dg/debug/debug-3.c: Likewise.
* gcc.dg/debug/debug-4.c: Likewise.
* gcc.dg/debug/debug-5.c: Likewise.
* gcc.dg/declspec-10.c: Likewise.
* gcc.dg/declspec-11.c: Likewise.
* gcc.dg/declspec-9.c: Likewise.
* gcc.dg/nest.c: Likewise.
* gcc.dg/nested-func-1.c: Likewise.
* gcc.dg/nested-func-2.c: Likewise.
* gcc.dg/noncompile/label-1.c: Likewise.
* gcc.dg/pr18596-1.c: Likewise.
* gcc.dg/pr18596-2.c: Likewise.
* gcc.dg/pr18963-1.c: Likewise.
* gcc.dg/torture/nested-fn-1.c: Likewise.
* gcc.dg/trampoline-1.c: Likewise.
* gcc.dg/wtr-func-def-1.c: Likewise.
* objc.dg/nested-func-1.m: Likewise.

* gcc.c-torture/execute/20000822-1.x: Remove.
* gcc.c-torture/execute/20010209-1.x: Remove.
* gcc.c-torture/execute/20010605-1.x: Remove.
* gcc.c-torture/execute/20030501-1.x: Remove.
* gcc.c-torture/execute/20040520-1.x: Remove.
* gcc.c-torture/execute/920415-1.x: Remove.
* gcc.c-torture/execute/920428-2.x: Remove.
* gcc.c-torture/execute/920501-7.x: Remove.
* gcc.c-torture/execute/920612-2.x: Remove.
* gcc.c-torture/execute/920721-4.x: Remove.
* gcc.c-torture/execute/921017-1.x: Remove.
* gcc.c-torture/execute/921215-1.x: Remove.
* gcc.c-torture/execute/931002-1.x: Remove.
* gcc.c-torture/execute/comp-goto-2.x: Remove.
* gcc.c-torture/execute/nest-stdar-1.x: Remove.
* gcc.c-torture/execute/nestfunc-1.x: Remove.
* gcc.c-torture/execute/nestfunc-2.x: Remove.
* gcc.c-torture/execute/nestfunc-3.x: Remove.
* gcc.c-torture/execute/nestfunc-4.x: Remove.
* gcc.c-torture/execute/nestfunc-5.x: Remove.
* gcc.c-torture/execute/nestfunc-6.x: Remove.
* objc/execute/nested-1.x: Remove.
* objc/execute/nested-2.x: Remove.
* objc/execute/nested-3.x: Remove.

From-SVN: r107996

16 years agoc-parse.in (nested_function): Don't give two errors for nested functions.
Mike Stump [Sat, 3 Dec 2005 09:06:31 +0000 (3 09:06 +0000)]
c-parse.in (nested_function): Don't give two errors for nested functions.

        * c-parse.in (nested_function): Don't give two errors for nested functions.
        (notype_nested_function): Likewise.

From-SVN: r107995

16 years agoRadar 4363798
Mike Stump [Sat, 3 Dec 2005 01:24:28 +0000 (3 01:24 +0000)]
Radar 4363798

Radar 4363798
* config/i386/i386.c (x86_canonicalize_operands): Break out
bracket canonicalization from here...
* config/i386/i386.c (cw_canonicalize_bracket): to here.  Add more
canonicalizations.
(cw_is_offset): Add offsets built with PLUS_EXPR and MINUS_EXPR.

Radar 4363798
* gcc.apple/asm-block-34.c: Add.
* g++.dg/asm-block-34.C: Add.

From-SVN: r107989

16 years agoBump version to gcc-5306.
Jon Ziegler [Fri, 2 Dec 2005 04:03:10 +0000 (2 04:03 +0000)]
Bump version to gcc-5306.

From-SVN: r107868

16 years agoRadar 4350099apple/tags/gcc-5305
Dale Johannesen [Fri, 2 Dec 2005 03:02:44 +0000 (2 03:02 +0000)]
Radar 4350099

2005-12-01  Dale Johannesen  <dalej@apple.com>

Radar 4350099
* stor-layout.c (place_field):  Keep TREE_FIELDS_REVERSED
in the field nodes, not the RECORD node.
* varasm.c (output_constructor):  Ditto.

2005-12-01  Dale Johannesen  <dalej@apple.com>

Radar 4350099
* gcc.apple/bitreverse-13.c:  New.

From-SVN: r107866

16 years agoUpdate xfail file for gcc-5305.
Jon Ziegler [Fri, 2 Dec 2005 02:47:12 +0000 (2 02:47 +0000)]
Update xfail file for gcc-5305.

From-SVN: r107862

16 years agoAdd radar number to ChangeLog.apple-ppc
Mike Stump [Fri, 2 Dec 2005 01:09:39 +0000 (2 01:09 +0000)]
Add radar number to ChangeLog.apple-ppc

From-SVN: r107852

16 years agoFixup APPLE LOCAL marker
Mike Stump [Thu, 1 Dec 2005 23:43:09 +0000 (1 23:43 +0000)]
Fixup APPLE LOCAL marker

From-SVN: r107839

16 years agoRadar 4345871 ` PR middle-end/24950
Alan Modra [Thu, 1 Dec 2005 18:04:20 +0000 (1 18:04 +0000)]
Radar 4345871 ` PR middle-end/24950

2005-12-01   Alan Modra  <amodra@bigpond.net.au>

        Radar 4345871
    `   PR middle-end/24950
        * expmed.c (store_bit_field): Don't attempt to insv a field
        larger than the reg.

From-SVN: r107826

16 years agoRadar 4357979
Mike Stump [Thu, 1 Dec 2005 03:09:46 +0000 (1 03:09 +0000)]
Radar 4357979

        Radar 4357979
        * c-parse.in (nested_function): Add -fnested-functions to turn on
        nested function support.
        (notype_nested_function): Likewise.
        * c.opt (-fnested-functions): Likewise.
        * doc/invoke.texi (C Dialect Options): Likewise.
        * config/darwin.h (LINK_COMMAND_SPEC): Pass -allow_stack_execute
        when nested functions are on.

From-SVN: r107797

16 years agoconfigure.ac: Check declaration for asprintf, needed by libiberty.h.
Gabriel Dos Reis [Wed, 30 Nov 2005 22:40:49 +0000 (30 22:40 +0000)]
configure.ac: Check declaration for asprintf, needed by libiberty.h.

2005-06-03  Gabriel Dos Reis  <gdr@integrable-solutions.net>

* configure.ac: Check declaration for asprintf, needed by
libiberty.h.
* configure: Regenerate.
* config.in: Likewise.

Radar 4359987 Compiling with g++ for llvm

From-SVN: r107743

16 years agoRadar 4347034
Dale Johannesen [Wed, 30 Nov 2005 20:37:31 +0000 (30 20:37 +0000)]
Radar 4347034

2005-11-30  Dale Johannesen  <dalej@apple.com>
            Andrew Pinski  <pinskia@physics.uc.edu>

Radar 4347034
* combine.c (find_split_point):  Sign extend bitmask
when changing bitfield assignment to IOR of AND.

2005-11-30  Dale Johannesen  <dalej@apple.com>

Radar 4347034
* gcc.c-torture/compile/pr24930.c:  New.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r107735

16 years agoRadar 4358678
Mike Stump [Wed, 30 Nov 2005 20:09:16 +0000 (30 20:09 +0000)]
Radar 4358678

        Radar 4358678
        * config/i386/i386.h (TARGET_CW_OP_CONSTRAINT): Add "r" to jmp constraint.

From-SVN: r107734

16 years agoRadars 4349670, 4349690 Both provided by Chris Lattner to fix LLVM port of objective-c.
Fariborz Jahanian [Tue, 29 Nov 2005 19:43:50 +0000 (29 19:43 +0000)]
Radars 43496704349690 Both provided by Chris Lattner to fix LLVM port of objective-c.

Radars 43496704349690
Both provided by Chris Lattner to fix LLVM port of objective-c.
Merged, tested, reviewed by Fariborz. OKed by Devang.

From-SVN: r107678

16 years agovarasm.c (darwin_constant_cfstring_p): Add.
Mike Stump [Tue, 29 Nov 2005 03:18:08 +0000 (29 03:18 +0000)]
varasm.c (darwin_constant_cfstring_p): Add.

        * varasm.c (darwin_constant_cfstring_p): Add.
        * config/i386/i386.c (legitimate_constant_p): Fix C building on linux.
        (legitimate_address_p): Likewise.
        (legitimize_address): Likewise.
        (ix86_expand_move): Likewise.
        (x86_field_alignment): Likewise.
Radar 4357008

From-SVN: r107643

16 years agoRadar 4357008
Mike Stump [Tue, 29 Nov 2005 03:17:16 +0000 (29 03:17 +0000)]
Radar 4357008

Radar 4357008
        * varasm.c (darwin_constant_cfstring_p): Add.
        * config/i386/i386.c (legitimate_constant_p): Fix C building on linux.
        (legitimate_address_p): Likewise.
        (legitimize_address): Likewise.
        (ix86_expand_move): Likewise.
        (x86_field_alignment): Likewise.

From-SVN: r107642

16 years agoi386.md (*zero_extendqihi2_movzbw): Avoid partial register stalls by zero extending...
Eric Christopher [Sat, 19 Nov 2005 00:11:07 +0000 (19 00:11 +0000)]
i386.md (*zero_extendqihi2_movzbw): Avoid partial register stalls by zero extending to the full register.

2005-11-18  Eric Christopher  <echristo@apple.com>

        * config/i386/i386.md (*zero_extendqihi2_movzbw): Avoid partial
        register stalls by zero extending to the full register.

Radar 4324160

From-SVN: r107197

16 years agoStuff for generation of message_ref section for C*'s meta data.
Fariborz Jahanian [Fri, 18 Nov 2005 23:22:37 +0000 (18 23:22 +0000)]
Stuff for generation of message_ref section for C*'s meta data.

Radar 4360146.

From-SVN: r107195

16 years agoMore C* meta-data generation.
Fariborz Jahanian [Fri, 18 Nov 2005 23:09:47 +0000 (18 23:09 +0000)]
More C* meta-data generation.

Reviewed by Mike, Devang.

Radar 4360146

From-SVN: r107193

16 years agoBump version to gcc-5305.
Jon Ziegler [Fri, 18 Nov 2005 09:30:50 +0000 (18 09:30 +0000)]
Bump version to gcc-5305.

From-SVN: r107168

16 years agoUpdate gcc.xfail file for gcc-5304.apple/tags/gcc-5304
Jon Ziegler [Fri, 18 Nov 2005 09:28:56 +0000 (18 09:28 +0000)]
Update gcc.xfail file for gcc-5304.

From-SVN: r107166

16 years agoRadar 4343764
Devang Patel [Thu, 17 Nov 2005 23:00:41 +0000 (17 15:00 -0800)]
Radar 4343764

      Radar 4343764
      * objc/lang-specs.h: Process asm specs while creating symbol repository.
      * objcp/lang-specs.h: Process asm specs while creating symbol repository.
      * cp/lang-specs.h: Process asm specs while creating symbol repository.

From-SVN: r107142

16 years agoRadar 4321079
Dale Johannesen [Thu, 17 Nov 2005 22:08:20 +0000 (17 22:08 +0000)]
Radar 4321079

2005-11-17  Dale Johannesen  <dalej@apple.com>

        Radar 4321079
        * global.c (remove_invalidated_death_notes):  New.
        * reload1.c (reload):  Call it.

From-SVN: r107139

16 years agoRadar 4345760
Devang Patel [Wed, 16 Nov 2005 23:51:45 +0000 (16 15:51 -0800)]
Radar 4345760

        Radar 4345760
        * g++.dg/ss/ss.exp: Fix link test.
        * gcc.dg/ss/ss.exp: Fix link test.

From-SVN: r107108

16 years agoUpdate libgcc specs to mainline; update apple local markers to indicate that.
Geoffrey Keating [Wed, 16 Nov 2005 20:59:08 +0000 (16 20:59 +0000)]
Update libgcc specs to mainline; update apple local markers to indicate that.

As a side-effect, fix:
Bug #: 4319695

From-SVN: r107100

16 years agoFixup APPLE LOCAL markers.
Mike Stump [Wed, 16 Nov 2005 20:00:32 +0000 (16 20:00 +0000)]
Fixup APPLE LOCAL markers.

From-SVN: r107096

16 years agoc-decl.c (lookup_name_two): Add.
Mike Stump [Wed, 16 Nov 2005 02:56:36 +0000 (16 02:56 +0000)]
c-decl.c (lookup_name_two): Add.

* c-decl.c (lookup_name_two): Add.
* c-tree.h (lookup_name_two): Likewise.
* c-common.c (handle_cleanup_attribute): Use lookup_name_two instead.
* config/darwin-c.c (darwin_pragma_unused): Likewise.

cp:
* name-lookup.c (lookup_name_two): Add.
* name-lookup.h: Likewise.

testsuite:
* g++.old-deja/g++.mike/unused.C: Add.

From-SVN: r107065

16 years agoAdd radar number to ChangeLog.apple-ppc.
Mike Stump [Tue, 15 Nov 2005 23:17:48 +0000 (15 23:17 +0000)]
Add radar number to ChangeLog.apple-ppc.

From-SVN: r107048

16 years agoRadar 4344359
Mike Stump [Tue, 15 Nov 2005 23:03:07 +0000 (15 23:03 +0000)]
Radar 4344359

Radar 4344359
        * c-common.c (cw_extra_clobbers): Add.
        (struct cw_op_clobber): Add.
        (CW_MAX_CLOBBERS): Add.
        (TARGET_CW_EXTRA_CLOBBERS): Add.
        (cw_op_clobber_comp): Add.
        (cw_asm_stmt): Add call to cw_extra_clobbers.
        * config/i386/i386.h (TARGET_CW_EXTRA_CLOBBERS): Add.

From-SVN: r107047

16 years agodarwin-c.c (darwin_pragma_call_on_load): Give an error for 64-bit targets.
Dale Johannesen [Tue, 15 Nov 2005 21:03:15 +0000 (15 21:03 +0000)]
darwin-c.c (darwin_pragma_call_on_load): Give an error for 64-bit targets.

2005-11-15  Dale Johannesen  <dalej@apple.com>

        * config/darwin-c.c (darwin_pragma_call_on_load):
        Give an error for 64-bit targets.
        (darwin_pragma_call_on_unload):  Ditto.

2005-11-15  Dale Johannesen  <dalej@apple.com>

        * gcc.apple/pragma.c:  New.

From-SVN: r107042

16 years agoFix typo
Mike Stump [Tue, 15 Nov 2005 19:40:28 +0000 (15 19:40 +0000)]
Fix typo

From-SVN: r107040

16 years agoi386.c (override_options): -masm=intel isn't supported on darwin.
Mike Stump [Tue, 15 Nov 2005 19:05:00 +0000 (15 19:05 +0000)]
i386.c (override_options): -masm=intel isn't supported on darwin.

        * config/i386/i386.c (override_options): -masm=intel isn't
        supported on darwin.
        * doc/invoke.texi (i386 and x86-64 Options): Likewise.

From-SVN: r107035

16 years agofix local comment
Dale Johannesen [Tue, 15 Nov 2005 18:08:04 +0000 (15 18:08 +0000)]
fix local comment

From-SVN: r107034

16 years agocfghooks.c (split_block): Copy loop_father.
Dale Johannesen [Tue, 15 Nov 2005 17:52:40 +0000 (15 17:52 +0000)]
cfghooks.c (split_block): Copy loop_father.

2005-11-15  Dale Johannesen  <dalej@apple.com>

        * cfghooks.c (split_block):  Copy loop_father.
        * cfgloopmanip.c (create_loops_notes):  Create preheaders.

From-SVN: r107033

16 years agoexpmed.c (store_bit_field): Add offset unconditionally for memory targets.
Dale Johannesen [Tue, 15 Nov 2005 01:26:33 +0000 (15 01:26 +0000)]
expmed.c (store_bit_field): Add offset unconditionally for memory targets.

2005-11-14  Dale Johannesen  <dalej@apple.com>

        * expmed.c (store_bit_field):  Add offset unconditionally for
        memory targets.
        (extract_bit_field):  Don't force extzv or extv operand into
        a register if field is too big.

2005-11-14  Dale Johannesen  <dalej@apple.com>

        * gcc.c-torture/execute/20051113-1.c:  New.

From-SVN: r106925

16 years agoFixed couple of new C* messaging bug reported.
Fariborz Jahanian [Tue, 15 Nov 2005 00:24:22 +0000 (15 00:24 +0000)]
Fixed couple of new C* messaging bug reported.

Radar 4332768

OKed by Mike.

From-SVN: r106917

16 years agoRadar 4053179
Devang Patel [Mon, 14 Nov 2005 19:22:13 +0000 (14 11:22 -0800)]
Radar 4053179

        Radar 4053179
        * gcc.dg/tree-ssa-vect/pr16105.c: Remove.
        * gcc.dg/tree-ssa-vect/ifc-01.c: Remove.
        * gcc.dg/tree-ssa-vect/ifc-02.c: Remove.
        * gcc.dg/tree-ssa-vect/tree-ssa-vect-31.c: Remove.
        * gcc.dg/tree-ssa-vect/tree-vect.h: Remove.
        * gcc.dg/tree-ssa-vect/tree-ssa-vect-35.c: Remove.
        * gcc.dg/tree-ssa-vect/tree-ssa-vect.exp: Remove.
        * gcc.dg/tree-ssa-vect : Remove.

From-SVN: r106896

16 years agoFix APPLE LOCAL markers
Mike Stump [Sat, 12 Nov 2005 17:16:49 +0000 (12 17:16 +0000)]
Fix APPLE LOCAL markers

From-SVN: r106826

16 years agoImprove documentation.
Mike Stump [Sat, 12 Nov 2005 05:12:41 +0000 (12 05:12 +0000)]
Improve documentation.

From-SVN: r106820

16 years agoCleanup code some.
Mike Stump [Sat, 12 Nov 2005 01:19:15 +0000 (12 01:19 +0000)]
Cleanup code some.

From-SVN: r106819

16 years agoAdded more of apple local markers.
Fariborz Jahanian [Sat, 12 Nov 2005 00:12:00 +0000 (12 00:12 +0000)]
Added more of apple local markers.

From-SVN: r106810

16 years agoobjc new messaging - part 2 Radar 4332768.
Fariborz Jahanian [Fri, 11 Nov 2005 23:43:00 +0000 (11 23:43 +0000)]
objc new messaging - part 2 Radar 4332768.

objc new messaging - part 2
Radar 4332768.
Oked by Mike

From-SVN: r106808

16 years agofix APPLE LOCAL markers (from big 4321079 checkin)
Dale Johannesen [Fri, 11 Nov 2005 23:18:02 +0000 (11 23:18 +0000)]
fix APPLE LOCAL markers (from big 4321079 checkin)

From-SVN: r106805

16 years agoRadar 4299173
Evan Cheng [Fri, 11 Nov 2005 17:40:40 +0000 (11 17:40 +0000)]
Radar 4299173

2005-11-11  Evan Cheng  <evan.cheng@apple.com>

Radar 4299173
* loop-invariant.c (find_invariant_insn): Find more loop
invariant insns.

From-SVN: r106789

16 years agoBump version to gcc-5304.
Jon Ziegler [Fri, 11 Nov 2005 02:31:37 +0000 (11 02:31 +0000)]
Bump version to gcc-5304.

From-SVN: r106776

16 years ago4300193 MS asm: unable to find register to spillapple/tags/gcc-5303
Mike Stump [Fri, 11 Nov 2005 00:56:21 +0000 (11 00:56 +0000)]
4300193  MS asm: unable to find register to spill

From-SVN: r106773

16 years agoFix spacing...
Mike Stump [Fri, 11 Nov 2005 00:45:11 +0000 (11 00:45 +0000)]
Fix spacing...

From-SVN: r106771

16 years agoRadar 4321079
Dale Johannesen [Thu, 10 Nov 2005 23:14:25 +0000 (10 23:14 +0000)]
Radar 4321079

2005-11-10  Dale Johannesen  <dalej@apple.com>

        Radar 4321079
        * local-alloc.c (block_alloc):  Disable local RA for vectors.
        * global.c (pseudo_preferences):  New.
        (TEST_PSEUDO_PREF):  New.
        (SET_PSEUDO_PREF):  New.
        (CLEAR_PSEUDO_PREF):  New.
        (global_alloc):  Allocate, free pseudo_preferences.  Mark pseudo-
        preferenced regs as nonconflicting when each is assigned to just once.
        (expand_preferences):  Apply transitive property to pseudo_preferences.
        (find_reg):  Propagate pseudo_preferences when a pseudo is assigned a
        register.
        (mirror_conflicts):  Make pseudo_preferences symmetrical, like conflicts.
        (set_preference):  Look under SUBREG for vector-vector copies.  Treat
        these as creating a preference.
        (find_tied_stack_pseudo):  New.
        (dump_conflicts):  Dump pseudo_preferences and copy preferences.
        * reload1.c (from_global):  New.
        (reload):  Save it.
        (alter_reg):  Use it.  Ask GRA for a stack slot already used by a
        pseudo-preferenced register, before creating a new one.

From-SVN: r106759

16 years agoRadar 4321079
Dale Johannesen [Thu, 10 Nov 2005 23:12:48 +0000 (10 23:12 +0000)]
Radar 4321079

2005-11-10  Dale Johannesen  <dalej@apple.com>

        Radar 4321079
        * cfgloopmanip.c:  Include option.h.
        (straighten_blocks):  New.
        (create_loop_notes): Call it.  Look for and straighten
        a specific 2-block loop pattern.
        * Makefile.in (cfgloopmanip.o):  Add options.h dependency.

From-SVN: r106758

16 years agoFixup Apple local markers.
Mike Stump [Thu, 10 Nov 2005 01:13:45 +0000 (10 01:13 +0000)]
Fixup Apple local markers.

From-SVN: r106726

16 years agoRadar 4330422.
Fariborz Jahanian [Tue, 8 Nov 2005 22:45:12 +0000 (8 22:45 +0000)]
Radar 4330422.

Oked by Mike.

From-SVN: r106663

16 years agoAdd APPLE LOCAL markers.
Eric Christopher [Tue, 8 Nov 2005 22:38:56 +0000 (8 22:38 +0000)]
Add APPLE LOCAL markers.

From-SVN: r106660

16 years agoAdded apple local marker.
Fariborz Jahanian [Tue, 8 Nov 2005 17:25:33 +0000 (8 17:25 +0000)]
Added apple local marker.

From-SVN: r106645

16 years ago2005-11-07 Dale Johannesen <dalej@apple.com>
Dale Johannesen [Tue, 8 Nov 2005 00:36:59 +0000 (8 00:36 +0000)]
2005-11-07  Dale Johannesen  <dalej@apple.com>

        gcc.dg/darwin64-abi.c:  Fix to test for
        correct location of rightmost bits of
        struct pararmeters.

From-SVN: r106630

16 years agoNew messagin calls.
Fariborz Jahanian [Tue, 8 Nov 2005 00:09:34 +0000 (8 00:09 +0000)]
New messagin calls.
Reviewed by Mike, Devang.

From-SVN: r106619

16 years agoFixed APPLE LOCAL markers.
Evan Cheng [Mon, 7 Nov 2005 19:34:27 +0000 (7 19:34 +0000)]
Fixed APPLE LOCAL markers.

From-SVN: r106606

16 years agoMissed -O2 from dg-options.
Evan Cheng [Mon, 7 Nov 2005 19:05:17 +0000 (7 19:05 +0000)]
Missed -O2 from dg-options.

From-SVN: r106604

16 years agoBump version to gcc-5303.
Jon Ziegler [Sun, 6 Nov 2005 01:05:09 +0000 (6 01:05 +0000)]
Bump version to gcc-5303.

From-SVN: r106552

16 years agoImport from mainline:apple/tags/gcc-5302
Eric Christopher [Fri, 4 Nov 2005 23:39:43 +0000 (4 23:39 +0000)]
Import from mainline:

2005-11-01  Joseph S. Myers  <joseph@codesourcery.com>

        * gcc_update: Include revision number in LAST_UPDATED.

2005-10-30  Steven Bosscher  <stevenb@suse.de>

        * gcc_build: Use gcc.gnu.org as the default server.  Set up
        SVN_REPOSITORY correctly.  Add support for checking out branches.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_update: When svn update is called and
        --silent is used, pass -q.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_update: Remove the -q from svn invocation.

2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>

        * gcc_build: Remove -d from the call to gcc_update.

2005-10-28  Daniel Berlin  <dberlin@dberlin.org>
            Ben Elliston <bje@au1.ibm.com>

        * gcc_update: Update for svn.
        * newcvsroot: Ditto.
        * gcc_build: Ditto.

From-SVN: r106511

16 years ago4319887 MS asm: call to named function fails
Mike Stump [Fri, 4 Nov 2005 22:07:10 +0000 (4 22:07 +0000)]
4319887  MS asm: call to named function fails

From-SVN: r106508

16 years ago4319881 MS asm: variable in asm memory reference
Mike Stump [Fri, 4 Nov 2005 18:32:48 +0000 (4 18:32 +0000)]
4319881  MS asm: variable in asm memory reference

From-SVN: r106500

16 years ago4300108 MS asm: OFFSET on label
Mike Stump [Fri, 4 Nov 2005 17:43:05 +0000 (4 17:43 +0000)]
4300108  MS asm: OFFSET on label

From-SVN: r106498

16 years ago4300108 DT P1: ADOBE XCode 2.2: MS asm: OFFSET on label
Mike Stump [Fri, 4 Nov 2005 02:54:19 +0000 (4 02:54 +0000)]
4300108  DT P1: ADOBE XCode 2.2: MS asm: OFFSET on label

From-SVN: r106477

16 years ago4300108 MS asm: OFFSET on label
Mike Stump [Fri, 4 Nov 2005 02:24:11 +0000 (4 02:24 +0000)]
4300108  MS asm: OFFSET on label

From-SVN: r106475

16 years agoMore APPLE LOCAL markers.
Evan Cheng [Fri, 4 Nov 2005 01:35:58 +0000 (4 01:35 +0000)]
More APPLE LOCAL markers.

From-SVN: r106470

16 years agoFix APPLE LOCAL markers.
Evan Cheng [Fri, 4 Nov 2005 01:18:52 +0000 (4 01:18 +0000)]
Fix APPLE LOCAL markers.

From-SVN: r106467

16 years ago2005-11-03 Evan Cheng <evan.cheng@apple.com>
Evan Cheng [Fri, 4 Nov 2005 00:28:24 +0000 (4 00:28 +0000)]
2005-11-03  Evan Cheng  <evan.cheng@apple.com>

* config/i386/i386-protos.h (standard_sse_constant_opcode) Declare
* config/i386/i386.c (standard_sse_constant_p) Check for vector
constant -1.
(standard_sse_constant_opcode) New function to return the opcode
        associated with standard_sse_constant_p.
        (ix86_expand_vector_move) Use standard_sse_constant_p.
        * config/i386/predicates.md (vector_move_operand) Use
standard_sse_constant_p.
(nonimmediate_or_0_operand) Return true if operand is a nonimmediate
or a constant zero.
        * config/i386/sse.md (*mov<mode>_internal) Use
standard_sse_constant_opcode.
        (*movv4sf_internal) Use standard_sse_constant_opcode.
        (*movv2df_internal) Use standard_sse_constant_opcode.
(sse_movlhps) Replace vector_move_operand with
nonimmediate_or_0_operand.
(*sse_concatv2sf) Replace vector_move_operand with
nonimmediate_or_0_operand.
        (*vec_setv4sf_0) Replace vector_move_operand with
nonimmediate_or_0_operand.
        (sse2_loadlpd) Replace vector_move_operand with
nonimmediate_or_0_operand.
        (*vec_concatv2df) Replace vector_move_operand with
nonimmediate_or_0_operand.
(sse2_loadld) Replace vector_move_operand with
nonimmediate_or_0_operand.
        (*vec_concatv2di) Replace vector_move_operand with
nonimmediate_or_0_operand.
* gcc/testsuite/gcc.apple/4283414.c: New.

From-SVN: r106464

16 years ago4298005 MS asm: Support _asm { }
Mike Stump [Thu, 3 Nov 2005 23:21:44 +0000 (3 23:21 +0000)]
4298005  MS asm: Support _asm { }

From-SVN: r106455

16 years agoobjc new meta-data definitions - part 1
Fariborz Jahanian [Thu, 3 Nov 2005 20:49:21 +0000 (3 20:49 +0000)]
objc new meta-data definitions - part 1
Reviewed by Mike, Devang

From-SVN: r106447

16 years agoTest case for Radar 4317709.
Evan Cheng [Thu, 3 Nov 2005 19:58:01 +0000 (3 19:58 +0000)]
Test case for Radar 4317709.

From-SVN: r106446

16 years agoAdd APPLE LOCAL markers.
Devang Patel [Thu, 3 Nov 2005 19:50:00 +0000 (3 11:50 -0800)]
Add APPLE LOCAL markers.

From-SVN: r106444

16 years agoRadar 4317709
Evan Cheng [Thu, 3 Nov 2005 19:15:48 +0000 (3 19:15 +0000)]
Radar 4317709

2005-11-01  Evan Cheng  <evan.cheng@apple.com>

Radar 4317709
* stor-layout.c (place_field) A bitfield field cannot straddle
multiple units.

From-SVN: r106441

16 years agoBump version to gcc-5302.
Jon Ziegler [Wed, 2 Nov 2005 13:25:57 +0000 (2 13:25 +0000)]
Bump version to gcc-5302.

From-SVN: r106381

16 years agoFix APPLE LOCAL marker.apple/tags/gcc-5301
Geoffrey Keating [Wed, 2 Nov 2005 02:05:41 +0000 (2 02:05 +0000)]
Fix APPLE LOCAL marker.

From-SVN: r106372

16 years agoRemove unused files that somehow snuck onto this branch.
Geoffrey Keating [Wed, 2 Nov 2005 01:41:38 +0000 (2 01:41 +0000)]
Remove unused files that somehow snuck onto this branch.

From-SVN: r106371

16 years agodarwin.h (fix-and-continue): Added APPLE LOCAL for comma.
Stuart Hastings [Tue, 1 Nov 2005 20:28:02 +0000 (1 20:28 +0000)]
darwin.h (fix-and-continue): Added APPLE LOCAL for comma.

2005-11-01  Stuart Hastings  <stuart@apple.com>

* gcc/config/darwin.h (fix-and-continue): Added APPLE LOCAL for comma.

2005-11-01  Stuart Hastings  <stuart@apple.com>

* gcc/config/i386/i386.h (Unused): Fix gratuitous APPLE LOCAL change.

From-SVN: r106348

16 years agoNope, didn't work.
Mike Stump [Tue, 1 Nov 2005 19:27:25 +0000 (1 19:27 +0000)]
Nope, didn't work.

From-SVN: r106343

16 years agoMore revision testing...
Mike Stump [Tue, 1 Nov 2005 19:24:51 +0000 (1 19:24 +0000)]
More revision testing...

From-SVN: r106342