OSDN Git Service

pf3gnuchains/gcc-fork.git
13 years ago * ja.po: Update.
jsm28 [Sat, 1 Jan 2011 12:05:40 +0000 (12:05 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168390 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoChangeLog gcc/
ktietz [Sat, 1 Jan 2011 11:05:41 +0000 (11:05 +0000)]
ChangeLog gcc/

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* tree.c (type_hash_eq): Call
language hook for METHOD_TYPEs, too.

ChangeLog gcc/cp

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* tree.c (cxx_type_hash_eq):
Allow METHOD_TYPE, too.

ChangeLog gcc/testsuite

2011-01-01  Kai Tietz  <kai.tietz@onevision.com>

PR target/38662
* g++.dg/eh/pr38662.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168389 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2011-01-01 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Sat, 1 Jan 2011 08:52:03 +0000 (08:52 +0000)]
2011-01-01  Chung-Lin Tang  <cltang@codesourcery.com>

* gcc.target/arm/vfp-1.c (test_ldst): Fixed fsts test to
scan for newline '\n'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168388 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sat, 1 Jan 2011 00:17:39 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168387 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
pkoning [Fri, 31 Dec 2010 23:00:20 +0000 (23:00 +0000)]
* gcc.c-torture/compile/pr46534.c: Skip if pdp11.
* gcc.c-torture/compile/920520-1.c: Ditto.
* gcc.c-torture/compile/pr35318.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168383 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 31 Dec 2010 22:20:22 +0000 (22:20 +0000)]
2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Allow doxygen 1.7.1 again.

* doc/xml/manual/build_hacking.xml: Update.
* doc/xml/images/confdeps.dot: Same.
* doc/xml/images/confdeps.png: Same.

* configure.ac: Define BUILD_INFO, BUILD_XML, BUILD_HTML,
BUILD_MAN, BUILD_PDF, BUILD_EPUB conditionally.
* Makefile.am (xml, html, pdf, man, info, pd, dvi, epub): Define,
and install rules.
* doc/Makefile.am: Same. Add stamp rules.
(doc-epub-docbook): Add.
(stamp-xml-single-docbook): Make set too.
* configure: Regenerate.
* Makefile.in: Same.
* doc/Makefile.in: Same.
* include/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* python/Makefile.in: Same.
* src/Makefile.in: Same.
* testsuite/Makefile.in: Same.
* aclocal.m4: Same.

2010-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* doc/doxygen/user.cfg.in: Disable PDF_HYPERLINKS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168382 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gcc-interface/decl.c (substitute_in_type): Do not deal with
ebotcazou [Fri, 31 Dec 2010 18:19:33 +0000 (18:19 +0000)]
* gcc-interface/decl.c (substitute_in_type): Do not deal with
LANG_TYPE, METHOD_TYPE or OFFSET_TYPE.
* gcc-interface/utils.c (handle_vector_size_attribute): Do not deal
with METHOD_TYPE or OFFSET_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168381 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-31 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 31 Dec 2010 17:06:53 +0000 (17:06 +0000)]
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

* intrinsic.texi (IANY): Correct section title.
(IALL, IANY, IPARITY): Fix example codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168380 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/install.texi (powerpc-*-darwin*): Update reference to
gerald [Fri, 31 Dec 2010 16:37:58 +0000 (16:37 +0000)]
* doc/install.texi (powerpc-*-darwin*): Update reference to
Apple Developer Tools.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168379 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47084
amylaar [Fri, 31 Dec 2010 14:34:26 +0000 (14:34 +0000)]
PR target/47084
* config/mn10300/linux.h (PRINT_OPERAND): Update for name changes
to mn10300_print_operand / mn10300_print_operand_address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168378 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47114
amylaar [Fri, 31 Dec 2010 14:07:32 +0000 (14:07 +0000)]
PR target/47114
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add
ATTRIBUTE_UNUSED to declaration.
(rs6000_elf_asm_out_destructor): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168377 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47135
amylaar [Fri, 31 Dec 2010 13:42:20 +0000 (13:42 +0000)]
PR target/47135
* config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change
type to match target.def .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168376 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
rsandifo [Fri, 31 Dec 2010 13:25:33 +0000 (13:25 +0000)]
gcc/
2010-12-15  Ken Werner  <ken.werner@de.ibm.com>

* config/arm/sync.md (sync_clobber, sync_t2_reqd): New code attribute.
(arm_sync_old_<sync_optab>si, arm_sync_old_<sync_optab><mode>): Use
the sync_clobber and sync_t2_reqd code attributes.
* config/arm/arm.c (arm_output_sync_loop): Reverse the operation if
the t2 argument is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168375 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/sourcebuild.texi (Top Level): Adjust link to libgo.
gerald [Fri, 31 Dec 2010 12:35:36 +0000 (12:35 +0000)]
* doc/sourcebuild.texi (Top Level): Adjust link to libgo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168374 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR go/47113
amylaar [Fri, 31 Dec 2010 12:24:12 +0000 (12:24 +0000)]
PR go/47113
* go-backend.c: (go_field_alignment): Add ATTRIBUTE_UNUSED to
variable ‘field’ .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168373 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * doc/install.texi (Specific): Remove reference to interix.com.
gerald [Fri, 31 Dec 2010 12:17:31 +0000 (12:17 +0000)]
* doc/install.texi (Specific): Remove reference to interix.com.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168372 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ja.po: Update.
jsm28 [Fri, 31 Dec 2010 11:57:00 +0000 (11:57 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168371 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
pkoning [Fri, 31 Dec 2010 11:52:20 +0000 (11:52 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Skip if pdp11.
* gcc.c-torture/compile/20000804-1.c: Skip if pdp11 -O0.
* gcc.c-torture/compile/20020312-1.c: Ditto.
* gcc.c-torture/compile/20040101-1.c: Skip if pdp11 -O1, -O2, or
-Os.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168370 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47112
amylaar [Fri, 31 Dec 2010 11:48:03 +0000 (11:48 +0000)]
PR target/47112
* config/mips/r3900.h: Update Copyright years.
(MIPS_CPU_STRING_DEFAULT): Undef before defining.
(MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168369 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
pkoning [Fri, 31 Dec 2010 11:43:48 +0000 (11:43 +0000)]
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.c (TARGET_PRINT_OPERAND,
TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
(pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p):
New function.
* config/pdp11/pdp11.md (tablejump): Fix generated assembly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168368 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 31 Dec 2010 11:32:16 +0000 (11:32 +0000)]
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/47065
* frontend-passes.c (count_arglist):  Static variable to
count the nesting of argument lists.
(optimize_code):  Set count_arglist to 1 if within a call
statement, to 0 otherwise.
(optimize_trim):  New function.
(optimize_expr):  Adjust count_arglist.  Call optimize_trim.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/47065
* gfortran.dg/trim_optimize_3.f90:  New test.
* gfortran.dg/trim_optimize_4.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168367 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 31 Dec 2010 11:20:22 +0000 (11:20 +0000)]
2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45338
* resolve.c (resolve_operator):  Mark function for user-defined
operator as referenced.

2010-12-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/45338
* gfortran.dg/userdef_operator_2.f90:  New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168366 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47111
amylaar [Fri, 31 Dec 2010 10:29:30 +0000 (10:29 +0000)]
PR target/47111
* config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168365 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoUpdate the the macro SHIFT_COUNT_TRUNCATED for loongson.
xmj [Fri, 31 Dec 2010 10:18:45 +0000 (10:18 +0000)]
Update the the macro SHIFT_COUNT_TRUNCATED for loongson.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168364 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-31 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 31 Dec 2010 10:08:17 +0000 (10:08 +0000)]
2010-12-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46971
* gfortran.h (gfc_hash_value): Add prototype.
* class.c (get_unique_type_string): Check if proc_name is present and
make sure string contains an underscore.
(get_unique_hashed_string): New function which creates a hashed string
if the given unique string is too long.
(gfc_hash_value): Moved here from decl.c, renamed and simplified.
(gfc_build_class_symbol, gfc_find_derived_vtab): Use hashed strings.
* decl.c (hash_value): Moved to class.c.
(gfc_match_derived_decl): Renamed 'hash_value'.

2010-12-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46971
* gfortran.dg/class_33.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168363 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Fri, 31 Dec 2010 00:18:09 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168362 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/openbsd.opt: New.
jsm28 [Thu, 30 Dec 2010 22:20:56 +0000 (22:20 +0000)]
* config/openbsd.opt: New.
* config.gcc (alpha*-*-openbsd*,
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123],
i[34567]86-*-openbsd*, m68k*-*-openbsd*, mips*-*-openbsd*,
sparc64-*-openbsd*, vax-*-openbsd*): Use openbsd.opt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168358 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFixed typo in one of my last changelog entries
nicola [Thu, 30 Dec 2010 22:03:02 +0000 (22:03 +0000)]
Fixed typo in one of my last changelog entries

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168357 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Thu, 30 Dec 2010 22:02:09 +0000 (22:02 +0000)]
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_types_are_equivalent): Fixed comparing protocol
lists.  Check them two-ways to fix comparisons when one protocol
implements the other one, or when one list contains duplicated
protocols.

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/method-conflict-3.m: New.
* objc.dg/method-conflict-4.m: New.
* obj-c++.dg/method-conflict-3.m: New.
* obj-c++.dg/method-conflict-4.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168356 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
danglin [Thu, 30 Dec 2010 21:33:48 +0000 (21:33 +0000)]
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean
patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168352 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47038
ebotcazou [Thu, 30 Dec 2010 21:31:04 +0000 (21:31 +0000)]
PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168351 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Thu, 30 Dec 2010 18:26:56 +0000 (18:26 +0000)]
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_add_method): When emitting an error because a
method with the same name but conflicting types is found in the
same class or category interface, print a note with the location
of the original method.  Also, improved the error message to
clearly state that the conflict is due to conflicting types, and
produce it for protocols as well.  Emit an error if two identical
methods are declared in a protocol, but one is @required and the
other one is @optional.  When

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/class-extension-3.m: Updated.
* objc.dg/method-1.m: Updated.
* objc.dg/method-conflict-1.m: New.
* objc.dg/method-conflict-2.m: New.
* obj-c++.dg/class-extension-3.mm: Updated.
* obj-c++.dg/method-8.mm: Updated.
* obj-c++.dg/method-conflict-1.mm: New.
* obj-c++.dg/method-conflict-2.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168350 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47097
amylaar [Thu, 30 Dec 2010 18:26:17 +0000 (18:26 +0000)]
PR target/47097
* config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid
mixing signed and unsigned types in conditional expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168349 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c/46889
jsm28 [Thu, 30 Dec 2010 18:24:03 +0000 (18:24 +0000)]
PR c/46889
* c-decl.c (detect_field_duplicates): Ensure hash is used for
finding duplicates when first field is anonymous.

testsuite:
* gcc.dg/anon-struct-15.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168348 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agogcc/
froydnj [Thu, 30 Dec 2010 15:47:43 +0000 (15:47 +0000)]
gcc/
        PR target/44606
        * reload1.c (choose_reload_regs): Don't look for equivalences for
        output reloads of constant loads.

gcc/testsuite/
        PR target/44606
        * gcc.dg/pr44606.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168347 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47101
amylaar [Thu, 30 Dec 2010 14:19:06 +0000 (14:19 +0000)]
PR target/47101
* vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename.
(vmsdbgout_finish): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168346 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47063
amylaar [Thu, 30 Dec 2010 14:17:08 +0000 (14:17 +0000)]
PR target/47063
* config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define.
(MALLOC_ABI_ALIGNMENT): Undef / define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168345 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive
uweigand [Thu, 30 Dec 2010 13:28:05 +0000 (13:28 +0000)]
* emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive
default values from MEM mode if no memory attributes are present.
Do not use mode alignment, even on STRICT_ALIGNMENT targets, when
called with an expression (not a type).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168344 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoShort circuit if upper 128bits are unchanged in the block.
hjl [Thu, 30 Dec 2010 13:13:13 +0000 (13:13 +0000)]
Short circuit if upper 128bits are unchanged in the block.

2010-12-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (upper_128bits_state): Remove comments.
(block_info_def): Add unchanged.
(move_or_delete_vzeroupper_2): Short circuit if upper 128bits
are unchanged in the block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168343 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoRepeat processing all basic blocks for vzeroupper optimization.
hjl [Thu, 30 Dec 2010 13:12:02 +0000 (13:12 +0000)]
Repeat processing all basic blocks for vzeroupper optimization.

gcc/

2010-12-30  H.J. Lu  <hongjiu.lu@intel.com>

PR target/46519
* config/i386/i386.c (block_info_def): Remove referenced, count
and rescanned.
(move_or_delete_vzeroupper_2): Updated.
(move_or_delete_vzeroupper_1): Rewritten to avoid recursive call.
(rescan_move_or_delete_vzeroupper): Removed.
(move_or_delete_vzeroupper): Repeat processing all basic blocks
until no basic block state is changed to used at exit.

gcc/testsuite/

2010-12-30  H.J. Lu  <hongjiu.lu@intel.com>

PR target/46519
* gfortran.dg/pr46519-2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168342 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ja.po: Update.
jsm28 [Thu, 30 Dec 2010 12:11:31 +0000 (12:11 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168341 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-30 Janus Weil <janus@gcc.gnu.org>
janus [Thu, 30 Dec 2010 11:53:35 +0000 (11:53 +0000)]
2010-12-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47085
* match.c (gfc_match_allocate): Check for 'class_ok'.
* primary.c (gfc_match_varspec): Ditto.

2010-12-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47085
* gfortran.dg/allocate_class_1.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168340 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-30 Kai Tietz <kai.tietz@onevision.com>
ktietz [Thu, 30 Dec 2010 11:51:14 +0000 (11:51 +0000)]
2010-12-30  Kai Tietz  <kai.tietz@onevision.com>

        PR testsuite/47050
        * gcc.target/i386/aggregate-ret1.c: Restrict to ilp32.
        * gcc.target/i386/aggregate-ret2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168339 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct
pkoning [Thu, 30 Dec 2010 11:50:40 +0000 (11:50 +0000)]
* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct
constraints.
* config/pdp11/pdp11.c (output_block_move): Rewrite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168338 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Thu, 30 Dec 2010 08:59:29 +0000 (08:59 +0000)]
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola@nicola.brainstorm.co.uk>

* objc-act.c (start_class): Warn when a class attribute is
ignored.
(objc_declare_protocols): Warn when a protocol attribute in a
protocol forward-declaration is ignored.
(start_protocol): Warn when a protocol attribute is ignored.

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/attributes/class-attribute-3.m: New.
* objc.dg/attributes/proto-attribute-4.m: New.
* obj-c++.dg/attributes/class-attribute-3.mm: New.
* obj-c++.dg/attributes/proto-attribute-4.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168337 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/47060
jakub [Thu, 30 Dec 2010 08:24:58 +0000 (08:24 +0000)]
PR tree-optimization/47060
* tree-parloops.c (reduction_phi): Return NULL if PHI is NULL.

* gcc.dg/autopar/pr47060.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168336 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* config/pdp11/pdp11-protos.h (pdp11_asm_output_var): Declare.
pkoning [Thu, 30 Dec 2010 02:09:04 +0000 (02:09 +0000)]
* config/pdp11/pdp11-protos.h (pdp11_asm_output_var): Declare.
* config/pdp11/pdp11.c (pdp11_asm_output_var): New function.
* config/pdp11/pdp11.h (ASM_OUTPUT_ALIGNED_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): New macros.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168333 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR target/47129
amylaar [Thu, 30 Dec 2010 01:58:10 +0000 (01:58 +0000)]
PR target/47129
* config/ia64/ia64.c: Include "dwarf2out.h" .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168332 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Thu, 30 Dec 2010 00:19:14 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168331 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Wed, 29 Dec 2010 22:59:46 +0000 (22:59 +0000)]
In gcc/objc/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_set_method_opt): Tidy up error messages.  In
particular, explicitly mention whether the error is due to the
@optional or @required keyword instead of mentioning
"@optional/@required".

In gcc/testsuite/:
2010-12-30  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/enhanced-proto-2.m: Updated.
* obj-c++.dg/enhanced-proto-2.mm: Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168327 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Wed, 29 Dec 2010 21:52:00 +0000 (21:52 +0000)]
In gcc/objc/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47118
* objc-act.c (objc_build_synchronized): Check the argument of
@synchronized and emit an appropriate error if it is not a valid
Objective-C object.  Deal gracefully with that case.  Updated
comments and variable names.

In gcc/testsuite/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47118
* objc.dg/sync-3.m: New.
* obj-c++.dg/sync-3.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168326 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR tree-optimization/47074
jakub [Wed, 29 Dec 2010 21:49:37 +0000 (21:49 +0000)]
PR tree-optimization/47074
* gimple-fold.c (gimplify_and_update_call_from_tree): Call
pop_gimplify_context if returning early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168325 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-29 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Wed, 29 Dec 2010 21:33:03 +0000 (21:33 +0000)]
2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

* dump_parse_tree.c (show_components):  Show
ALLOCATABLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168324 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-29 Janus Weil <janus@gcc.gnu.org>
janus [Wed, 29 Dec 2010 16:14:11 +0000 (16:14 +0000)]
2010-12-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46838
* expr.c (gfc_default_initializer): Handle allocatable CLASS components.

2010-12-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/46838
* gfortran.dg/alloc_comp_class_2.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168322 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-29 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Wed, 29 Dec 2010 14:51:44 +0000 (14:51 +0000)]
2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

* frontend-passes.c (gfc_code_walker): Handle expressions
in EXEC_CALL, EXEC_ASSIGN_CALL and EXEC_CALL_PPC.
Separate cases in switch statements by blank lines.

2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

* gfortran.dg/character_comparison_7.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168320 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ja.po: Update.
jsm28 [Wed, 29 Dec 2010 14:10:07 +0000 (14:10 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168318 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/c-family/:
nicola [Wed, 29 Dec 2010 12:22:09 +0000 (12:22 +0000)]
In gcc/c-family/:
2010-12-29  Nicola Pero  <nicola@nicola.brainstorm.co.uk>

PR objc/47075
* c-objc.h (objc_finish_message_expr): Added argument to
prototype.

In gcc/objc/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47075
* objc-act.h (PROPERTY_REF_DEPRECATED_GETTER): New.
* objc-tree.def (PROPERTY_REF): Increased the number of operands
from 3 to 4.
* objc-act.c (objc_finish_message_expr): Added optional argument
allowing to return the deprecated method prototype for deprecated
methods, instead of immediately emitting the deprecation warning.
(objc_maybe_build_component_ref): Do not warn for a deprecated
property.  When building the getter call, get the deprecated
method prototype from objc_finish_message_expr() and put it into
the PROPERTY_REF.
(objc_build_class_component_ref): Same change.
(finish_class): Mark the getter and setter as deprecated if they
are generated from a deprecated property.
(objc_gimplify_property_ref): If the getter is deprecated, emit a
deprecation warning.
(objc_build_setter_call, objc_build_message_expr,
objc_finish_foreach_loop): Updated call to
objc_finish_message_expr.

In gcc/objcp/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

* objcp-lang.c (objcp_tsubst_copy_and_build): Update call to
objc_finish_message_expr.

In gcc/testsuite/:
2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47075
* objc.dg/property/at-property-deprecated-1.m: Updated.
* objc.dg/property/at-property-deprecated-2.m: New.
* objc.dg/property/dotsyntax-deprecated-1.m: New.
* obj-c++.dg/property/at-property-deprecated-1.mm: Updated.
* obj-c++.dg/property/at-property-deprecated-2.mm: New.
* obj-c++.dg/property/dotsyntax-deprecated-1.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168315 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ja.po: Update.
jsm28 [Wed, 29 Dec 2010 11:45:53 +0000 (11:45 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168314 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoUse diagnostic-core.h instead of diagnostic.h.
spop [Wed, 29 Dec 2010 05:26:17 +0000 (05:26 +0000)]
Use diagnostic-core.h instead of diagnostic.h.

2010-12-28  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (graphite.o): Depends on DIAGNOSTIC_CORE_H.
(graphite-clast-to-gimple.o): Same.
(graphite-poly.o): Same.
* graphite-clast-to-gimple.c: Include diagnostic-core.h.
* graphite-poly.c: Same.
* graphite.c: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168310 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/47068
jason [Wed, 29 Dec 2010 02:17:47 +0000 (02:17 +0000)]
PR c++/47068
* semantics.c (finish_id_expression): Don't note non-names
as being used in the class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168309 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * parser.c (cp_parser_unary_expression): Remove redundant C++0x
jason [Wed, 29 Dec 2010 02:17:37 +0000 (02:17 +0000)]
* parser.c (cp_parser_unary_expression): Remove redundant C++0x
check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168308 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Wed, 29 Dec 2010 01:16:55 +0000 (01:16 +0000)]
In gcc/objc/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47076
* objc-act.c (lookup_protocol): Added 'definition_required'
argument.  If 'definition_required', and the protocol is not
defined, emit a warning.
(objc_declare_protocols): Updated call to lookup_protocol.
(start_protocol): Same change.
(check_protocol_recursively): Same change.
(objc_build_protocol_expr): Same change.
(lookup_and_install_protocols): Added definition_required argument.
Pass it to lookup_protocol.
(objc_get_protocol_qualified_type): Updated call to
lookup_and_install_protocols.
(start_class): Updated calls to lookup_and_install_protocols; pass
true to 'definition_required' to get the warnings.
(start_protocol): Updated calls to lookup_and_install_protocols.

In gcc/testsuite/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47076
* objc.dg/protocol-forward-1.m: New.
* obj-c++.dg/protocol-forward-1.mm: New.
* objc.dg/attributes/proto-attribute-2.m: Updated.
* objc.dg/class-protocol-1.m: Updated.
* obj-c++.dg/attributes/proto-attribute-2.mm: Updated.
* obj-c++.dg/class-protocol-1.mm: Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168307 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Wed, 29 Dec 2010 00:18:28 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168306 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-28 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 28 Dec 2010 21:21:53 +0000 (21:21 +0000)]
2010-12-28  Janus Weil  <janus@gcc.gnu.org>
    Daniel Franke  <dfranke@gcc.gnu.org>

PR fortran/45827
* module.c (mio_component_ref): Handle components of CLASS variables.

2010-12-28  Janus Weil  <janus@gcc.gnu.org>

PR fortran/45827
* gfortran.dg/class_32.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168302 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoPR debug/46931
aoliva [Tue, 28 Dec 2010 20:20:29 +0000 (20:20 +0000)]
PR debug/46931
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Update
SSA before removing dead stmts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168299 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoReplace _rdrand_uXX with _rdrandXX_step.
hjl [Tue, 28 Dec 2010 19:33:40 +0000 (19:33 +0000)]
Replace _rdrand_uXX with _rdrandXX_step.

gcc/

2010-12-28  H.J. Lu  <hongjiu.lu@intel.com>
    Uros Bizjak  <ubizjak@gmail.com>

* config/i386/i386-builtin-types.def (PUSHORT): New.
(INT_FTYPE_PUSHORT): Likewise.
(INT_FTYPE_PUNSIGNED): Likewise.
(INT_FTYPE_PULONGLONG): Likewise.
Remove "DEF_FUNCTION_TYPE (UINT16)".

* config/i386/i386.c (ix86_builtins): Remove
IX86_BUILTIN_RDRAND16, IX86_BUILTIN_RDRAND32 and
IX86_BUILTIN_RDRAND64.  Add IX86_BUILTIN_RDRAND16_STEP,
IX86_BUILTIN_RDRAND32_STEP and IX86_BUILTIN_RDRAND64_STEP.
(bdesc_special_args): Remove IX86_BUILTIN_RDRAND16,
IX86_BUILTIN_RDRAND32 and IX86_BUILTIN_RDRAND64.
(ix86_init_mmx_sse_builtins): Handle IX86_BUILTIN_RDRAND16_STEP,
IX86_BUILTIN_RDRAND32_STEP and IX86_BUILTIN_RDRAND64_STEP.
(ix86_expand_builtin): Likewise.
(ix86_expand_special_args_builtin): Remove UINT16_FTYPE_VOID.

* config/i386/i386.md (UNSPEC_RDRAND): New.
(UNSPECV_RDRAND): Removed.
(rdrand<mode>): Likewise.
(rdrand<mode>_1): Also set FLAGS_REG.  Replace UNSPECV_RDRAND
with UNSPEC_RDRAND.

* config/i386/immintrin.h (_rdrand_u16): Removed.
(_rdrand_u32): Likewise.
(_rdrand_u64): Likewise.
(_rdrand16_step): New.
(_rdrand32_step): Likewise.
(_rdrand64_step): Likewise.

* doc/extend.texi (__builtin_ia32_rdrand16): Removed.
(__builtin_ia32_rdrand32): Likewise.
(__builtin_ia32_rdrand64): Likewise.
(__builtin_ia32_rdrand16_step): New.
(__builtin_ia32_rdrand32_step): Likewise.
(__builtin_ia32_rdrand64_step): Likewise.

gcc/testsuite/

2010-12-28  H.J. Lu  <hongjiu.lu@intel.com>

* gcc.target/i386/rdrand-1.c: Updated.
* gcc.target/i386/rdrand-2.c: Likewise.
* gcc.target/i386/rdrand-3.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168298 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoFix bootstrap without graphite.
spop [Tue, 28 Dec 2010 19:09:16 +0000 (19:09 +0000)]
Fix bootstrap without graphite.

2010-12-28  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (graphite.o): Add dependence on DIAGNOSTIC_H.
* graphite.c: Include diagnostic.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168297 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDo not include unnecessary .h files.
spop [Tue, 28 Dec 2010 17:09:16 +0000 (17:09 +0000)]
Do not include unnecessary .h files.

2010-12-28  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (TREE_VECTORIZER_H): Removed duplicate definition.
(tree-browser.o): Update dependences.
(omega.o): Same.
(tree-chrec.o): Same.
(tree-scalar-evolution.o): Same.
(tree-data-ref.o): Same.
(sese.o): Same.
(graphite.o): Same.
(graphite-blocking.o): Same.
(graphite-clast-to-gimple.o): Same.
(graphite-cloog-util.o): Same.
(graphite-dependences.o): Same.
(graphite-flattening.o): Same.
(graphite-interchange.o): Same.
(graphite-poly.o): Same.
(graphite-ppl.o): Same.
(graphite-scop-detection.o): Same.
(graphite-sese-to-poly.o): Same.
(tree-loop-linear.o): Same.
(tree-loop-distribution.o): Same.
(tree-parloops.o): Same.
(lambda-mat.o): Same.
(lambda-trans.o): Same.
(lambda-code.o): Same.
* tree-browser.o: Do not include unnecessary .h files.
* omega.o: Same.
* tree-chrec.o: Same.
* tree-scalar-evolution.o: Same.
* tree-data-ref.o: Same.
* sese.o: Same.
* graphite.o: Same.
* graphite-blocking.o: Same.
* graphite-clast-to-gimple.o: Same.
* graphite-cloog-util.o: Same.
* graphite-dependences.o: Same.
* graphite-flattening.o: Same.
* graphite-interchange.o: Same.
* graphite-poly.o: Same.
* graphite-ppl.o: Same.
* graphite-scop-detection.o: Same.
* graphite-sese-to-poly.o: Same.
* tree-loop-linear.o: Same.
* tree-loop-distribution.o: Same.
* tree-parloops.o: Same.
* lambda-mat.o: Same.
* lambda-trans.o: Same.
* lambda-code.o: Same.
* graphite.h: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168296 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* config/pdp11/pdp11.md: Correct length attribute for float
pkoning [Tue, 28 Dec 2010 17:04:37 +0000 (17:04 +0000)]
* config/pdp11/pdp11.md: Correct length attribute for float
literal case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168295 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/objc/:
nicola [Tue, 28 Dec 2010 12:39:29 +0000 (12:39 +0000)]
In gcc/objc/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-act.c (objc_start_category_interface): Produce an error if
a class extension is found after the class @implementation.

In gcc/testsuite/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/class-extension-4.m: New.
* obj-c++.dg/class-extension-4.mm: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168294 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * builtins.c (SLOW_UNALIGNED_ACCESS): Remove.
jiez [Tue, 28 Dec 2010 06:13:28 +0000 (06:13 +0000)]
* builtins.c (SLOW_UNALIGNED_ACCESS): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168293 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/testsuite/:
nicola [Tue, 28 Dec 2010 03:40:58 +0000 (03:40 +0000)]
In gcc/testsuite/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47073
* objc.dg/incomplete-type-1.m: New test.

In gcc/objc/:
2010-12-28  Nicola Pero  <nicola.pero@meta-innovation.com>

PR objc/47073
* objc-act.c (encode_method_prototype): Fixed both location and
format string of error "type %qT does not have a known size".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168285 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Tue, 28 Dec 2010 00:19:36 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168284 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * config/freebsd.opt (assert=, defsym=, profile, pthread,
jsm28 [Mon, 27 Dec 2010 22:42:13 +0000 (22:42 +0000)]
* config/freebsd.opt (assert=, defsym=, profile, pthread,
rpath-link=, rpath=, soname=): New Driver options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168278 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ja.po: Update.
jsm28 [Mon, 27 Dec 2010 16:49:57 +0000 (16:49 +0000)]
* ja.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168277 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-27 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Mon, 27 Dec 2010 15:33:39 +0000 (15:33 +0000)]
2010-12-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

* dump-parse-tree.c (show_typespec):  Also show character kind.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168276 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR c++/46626
jakub [Mon, 27 Dec 2010 12:54:30 +0000 (12:54 +0000)]
PR c++/46626
* semantics.c (build_data_member_initialization): For CLEANUP_STMT
recurse into CLEANUP_BODY.

* g++.dg/cpp0x/constexpr-base4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168271 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Mon, 27 Dec 2010 00:18:18 +0000 (00:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168261 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/testsuite/:
nicola [Sun, 26 Dec 2010 22:49:57 +0000 (22:49 +0000)]
In gcc/testsuite/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-class.m: Xfail the test on Apple Darwin m64.
* objc.dg/gnu-api-2-ivar.m: Same.
* objc.dg/gnu-api-2-method.m: Same.
* objc.dg/gnu-api-2-objc.m: Same.
* objc.dg/gnu-api-2-object.m: Same.
* objc.dg/gnu-api-2-protocol.m: Same.
* obj-c++.dg/gnu-api-2-class.mm: Same.
* obj-c++.dg/gnu-api-2-ivar.mm: Same.
* obj-c++.dg/gnu-api-2-method.mm: Same.
* obj-c++.dg/gnu-api-2-objc.mm: Same.
* obj-c++.dg/gnu-api-2-object.mm: Same.
* obj-c++.dg/gnu-api-2-protocol.mm: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168256 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-26 Martin Jambor <mjambor@suse.cz>
jamborm [Sun, 26 Dec 2010 21:01:11 +0000 (21:01 +0000)]
2010-12-26  Martin Jambor  <mjambor@suse.cz>

* tree.c (get_binfo_at_offset): Use BINFO_TYPE instead of TREE_TYPE,
compare TYPE_MAIN_VARIANTs of types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168255 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/testsuite/:
nicola [Sun, 26 Dec 2010 18:21:38 +0000 (18:21 +0000)]
In gcc/testsuite/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/pr44509.m: New.

In gcc/objc/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* config-lang.in (gtfiles): Added c-family/c-cppbuiltin.c.

In gcc/objcp/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* config-lang.in (gtfiles): Added c-family/c-cppbuiltin.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168254 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago* gcc/config/m68k/t-linux (M68K_MLIB_CPU): Only include 680x0 CPUs.
schwab [Sun, 26 Dec 2010 18:19:04 +0000 (18:19 +0000)]
* gcc/config/m68k/t-linux (M68K_MLIB_CPU): Only include 680x0 CPUs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168253 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn gcc/testsuite/:
nicola [Sun, 26 Dec 2010 18:05:00 +0000 (18:05 +0000)]
In gcc/testsuite/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-class.m: Updated the test to work with the
Apple runtime as well.
* obj-c++.dg/gnu-api-2-class.mm: Same change.
* objc.dg/gnu-api-2-ivar.m: Same change.
* obj-c++.dg/gnu-api-2-ivar.mm: Same change.
* objc.dg/gnu-api-2-method.m: Same change.
* obj-c++.dg/gnu-api-2-method.mm: Same change.
* objc.dg/gnu-api-2-objc.m: Same change.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.
* objc.dg/gnu-api-2-object.m: Same change.
* obj-c++.dg/gnu-api-2-object.mm: Same change.
* objc.dg/gnu-api-2-property.m: Same change.
* obj-c++.dg/gnu-api-2-property.mm: Same change.
* objc.dg/gnu-api-2-protocol.m: Same change.
* obj-c++.dg/gnu-api-2-protocol.mm: Same change.

* objc.dg/gnu-api-2-objc.m: Also, fixed test for
objc_disposeClassPair not to create a new class pair with the same
name as an existing class, and to test that the class pair is
created correctly.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168252 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Sun, 26 Dec 2010 16:56:01 +0000 (16:56 +0000)]
In libobjc/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* init.c (create_tree_of_subclasses_inherited_from): Use
class_superclass_of_class instead of assuming a class is
unresolved when it could be resolved.  Tidied up code.
(__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
(objc_tree_insert_class): Tidied up loop; return immediately upon
inserting a class.
(__objc_exec_class): Do not set __objc_class_tree_list.

In gcc/testsuite/:
2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/special/special.exp: Added load-category-2 and
load-category-3 tests.
* objc.dg/special/load-category-2.h: New.
* objc.dg/special/load-category-2.m: New.
* objc.dg/special/load-category-2a.m: New.
* objc.dg/special/load-category-3.h: New.
* objc.dg/special/load-category-3.m: New.
* objc.dg/special/load-category-3a.m: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168251 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * sv.po: Update.
jsm28 [Sun, 26 Dec 2010 11:34:24 +0000 (11:34 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168250 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * ChangeLog: Fix formatting issues and remove duplicate entries.
uros [Sun, 26 Dec 2010 09:18:55 +0000 (09:18 +0000)]
* ChangeLog: Fix formatting issues and remove duplicate entries.
* testsuite/ChangeLog: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168249 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sun, 26 Dec 2010 00:17:47 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168248 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * de.po: Update.
jsm28 [Sat, 25 Dec 2010 20:56:25 +0000 (20:56 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168244 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR testsuite/47057
irar [Sat, 25 Dec 2010 12:53:58 +0000 (12:53 +0000)]
    PR testsuite/47057
        * gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Change
        comment. Expect two outer loops to get vectorized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168242 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-25 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sat, 25 Dec 2010 10:41:05 +0000 (10:41 +0000)]
2010-12-25  Kai Tietz  <kai.tietz@onevision.com>

PR c++/15774
* decl.c (decls_match): Check for FUNCTION_DECL
also for identity of compatible attributes.

ChangeLog gcc/testsuite

2010-12-25  Kai Tietz  <kai.tietz@onevision.com>

PR c++/15774
* g++.dg/warn/pr15774-1.C: New test.
* g++.dg/warn/pr15774-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168241 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDaily bump.
gccadmin [Sat, 25 Dec 2010 00:19:01 +0000 (00:19 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168236 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Fri, 24 Dec 2010 20:10:46 +0000 (20:10 +0000)]
In libobjc/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* selector.c (sel_getTypedSelector): Return NULL if given a NULL
argument.
(sel_registerTypedName): Same.
(sel_registerName): Same.
* objc/runtime.h: Updated documentation.

In gcc/testsuite/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-sel.m: Test calling sel_getUid,
sel_registerName and sel_registerTypedName with NULL arguments.
Updated the test to work with the Apple runtime as well.
* obj-c++.dg/gnu-api-2-sel.mm: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168231 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Fri, 24 Dec 2010 18:41:05 +0000 (18:41 +0000)]
In libobjc/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc/runtime.h (class_addIvar): Updated documentation.  The
alignment is actually the log_2 of the alignment in bytes.
* ivars.c (class_addIvar): Corresponding change to the
implementation.

In gcc/testsuite/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-class.m: Updated test to pass log_2 of the
alignment to class_addIvar, instead of the alignment itself.
* obj-c++.dg/gnu-api-2-class.mm: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168230 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Fri, 24 Dec 2010 17:00:19 +0000 (17:00 +0000)]
In libobjc/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
be consistent with method_getTypeEncoding and
ivar_getTypeEncoding.
(sel_copyTypedSelectorList, sel_getTypedSelector): New.
* selector.c (sel_getType): Renamed to sel_getTypeEncoding.
(sel_copyTypedSelectorList, sel_getTypedSelector): New.
(sel_get_type): Updated call to sel_getType.

In gcc/testsuite/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc.dg/gnu-api-2-sel.m: Updated for renaming of sel_getType to
sel_getTypeEncoding.  Test that sel_getTypeEncoding returns NULL
when called with a NULL argument.  Added test for
sel_copyTypedSelectorList and sel_getTypedSelector.
* obj-c++.dg/gnu-api-2-sel.mm: Same changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168229 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago * gnat.dg/opt13_pkg.ad[sb]: Fix line ending.
ebotcazou [Fri, 24 Dec 2010 16:15:38 +0000 (16:15 +0000)]
* gnat.dg/opt13_pkg.ad[sb]: Fix line ending.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168227 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoIn libobjc/:
nicola [Fri, 24 Dec 2010 15:32:25 +0000 (15:32 +0000)]
In libobjc/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc/runtime.h (class_conformsToProtocol,
class_copyProtocolList): Updated documentation.

In gcc/testsuite/:
2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>

* obj-c.dg/gnu-api-2-class.m: Test that class_conformsToProtocol()
does not check the superclasses.
* obj-c++.dg/gnu-api-2-class.mm: Same change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168226 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago PR rtl-optimization/47036
amonakov [Fri, 24 Dec 2010 14:19:23 +0000 (14:19 +0000)]
PR rtl-optimization/47036
* sel-sched-ir.c (fallthru_bb_of_jump): Remove special support for
unconditional jumps.
* sel-sched.c (moveup_expr): Ditto.

testsuite:
* g++.dg/opt/pr47036.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168225 138bc75d-0d04-0410-961f-82ee72b054a4

13 years ago2010-12-24 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Fri, 24 Dec 2010 08:42:04 +0000 (08:42 +0000)]
2010-12-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/31821
* check.c (gfc_var_strlen):  New function, also including
substring references.
(gfc_check_same_strlen):  Use gfc_var_strlen.

2010-12-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/31821
* gfortran.dg/char_pointer_assign_6.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168224 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoAvoid endless loop on array with recursive length.
ian [Fri, 24 Dec 2010 01:26:14 +0000 (01:26 +0000)]
Avoid endless loop on array with recursive length.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168223 138bc75d-0d04-0410-961f-82ee72b054a4

13 years agoDon't crash on invalid use of multiple results.
ian [Fri, 24 Dec 2010 00:51:10 +0000 (00:51 +0000)]
Don't crash on invalid use of multiple results.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168222 138bc75d-0d04-0410-961f-82ee72b054a4