Commit Graph

105893 Commits

Author SHA1 Message Date
Joseph Myers
b3c1008c10 re PR c/46889 (Missing diagnosis on duplicate struct member with anonymous union)
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.

From-SVN: r168348
2010-12-30 18:24:03 +00:00
Nathan Froyd
08b2ba302b re PR target/44606 (Wrong SPE floating point during computation)
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.

From-SVN: r168347
2010-12-30 15:47:43 +00:00
Joern Rennecke
829f3c640f re PR target/47101 (ia64-hp-vms: main_input_filename clash)
PR target/47101
	* vmsdbgout.c (vmsdbgout_init): Rename main_input_filename to filename.
	(vmsdbgout_finish): Likewise.

From-SVN: r168346
2010-12-30 14:19:06 +00:00
Joern Rennecke
ff1bb6eeed re PR target/47063 (ada fails to build for alpha64-dec-vms)
PR target/47063
	* config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define.
	(MALLOC_ABI_ALIGNMENT): Undef / define.

From-SVN: r168345
2010-12-30 14:17:08 +00:00
Ulrich Weigand
268f70337c emit-rtl.c (set_mem_attributes_minus_bitpos): Explicitly derive default values from MEM mode if no memory attributes are present.
* 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).

From-SVN: r168344
2010-12-30 13:28:05 +00:00
H.J. Lu
720386ac5f 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.

From-SVN: r168343
2010-12-30 05:13:13 -08:00
H.J. Lu
310a21aa31 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.

From-SVN: r168342
2010-12-30 05:12:02 -08:00
Joseph Myers
ecdee6655c * ja.po: Update.
From-SVN: r168341
2010-12-30 12:11:31 +00:00
Janus Weil
22061030a7 re PR fortran/47085 ([OOP] Problem in allocate( SOURCE=) for polymorphic component)
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.

From-SVN: r168340
2010-12-30 12:53:35 +01:00
Kai Tietz
7831434fbf re PR testsuite/47050 (gcc.target/i386/aggregate-ret[12].c FAIL with -m64)
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.

From-SVN: r168339
2010-12-30 12:51:14 +01:00
Paul Koning
dea44e569d pdp11.md (movmemhi, movmemhi1): Correct constraints.
* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct
constraints. 
* config/pdp11/pdp11.c (output_block_move): Rewrite.

From-SVN: r168338
2010-12-30 06:50:40 -05:00
Nicola Pero
fd3ce292ae In gcc/objc/: 2010-12-30 Nicola Pero <nicola@nicola.brainstorm.co.uk>
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.

From-SVN: r168337
2010-12-30 08:59:29 +00:00
Jakub Jelinek
87ebde38c0 re PR tree-optimization/47060 (ICE: SIGSEGV in reduction_phi (tree-parloops.c:212) with -O -ffast-math -ftree-parallelize-loops=2 -fno-tree-dce)
PR tree-optimization/47060
	* tree-parloops.c (reduction_phi): Return NULL if PHI is NULL.

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

From-SVN: r168336
2010-12-30 09:24:58 +01:00
Paul Koning
dad6bca98a pdp11-protos.h (pdp11_asm_output_var): Declare.
* 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.

From-SVN: r168333
2010-12-29 21:09:04 -05:00
Joern Rennecke
712959e93e re PR target/47129 (ia64-hp-vms: ia64.o: dwarf2out_vms_debug_main_pointer undeclared)
PR target/47129
	* config/ia64/ia64.c: Include "dwarf2out.h" .

From-SVN: r168332
2010-12-30 01:58:10 +00:00
GCC Administrator
f6188c01cf Daily bump.
From-SVN: r168331
2010-12-30 00:19:14 +00:00
Nicola Pero
445eb4c664 In gcc/objc/: 2010-12-30 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168327
2010-12-29 22:59:46 +00:00
Nicola Pero
37153b1e07 In gcc/objc/: 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168326
2010-12-29 21:52:00 +00:00
Jakub Jelinek
9fdc58ded7 re PR tree-optimization/47074 (tree check fail in create_access_replacement)
PR tree-optimization/47074
	* gimple-fold.c (gimplify_and_update_call_from_tree): Call
	pop_gimplify_context if returning early.

From-SVN: r168325
2010-12-29 22:49:37 +01:00
Thomas Koenig
d6c63324b5 dump_parse_tree.c (show_components): Show ALLOCATABLE.
2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* dump_parse_tree.c (show_components):  Show
	ALLOCATABLE.

From-SVN: r168324
2010-12-29 21:33:03 +00:00
Janus Weil
fbd30c381c re PR fortran/46838 ([OOP] Initialization of polymorphic allocatable components)
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.

From-SVN: r168322
2010-12-29 17:14:11 +01:00
Thomas Koenig
bc81f55980 frontend-passes.c (gfc_code_walker): Handle expressions in EXEC_CALL, EXEC_ASSIGN_CALL and EXEC_CALL_PPC.
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.

From-SVN: r168320
2010-12-29 14:51:44 +00:00
Joseph Myers
7539a95b5a * ja.po: Update.
From-SVN: r168318
2010-12-29 14:10:07 +00:00
Nicola Pero
b4f588c48d In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk>
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.

From-SVN: r168315
2010-12-29 12:22:09 +00:00
Joseph Myers
51361a93c6 * ja.po: Update.
From-SVN: r168314
2010-12-29 11:45:53 +00:00
Sebastian Pop
32a73fc494 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.

From-SVN: r168310
2010-12-29 05:26:17 +00:00
Jason Merrill
c97c25c0b9 re PR c++/47068 ([C++0x] internal compiler error on decltype(~ expression))
PR c++/47068
	* semantics.c (finish_id_expression): Don't note non-names
	as being used in the class.

From-SVN: r168309
2010-12-28 21:17:47 -05:00
Jason Merrill
6f13089ed5 parser.c (cp_parser_unary_expression): Remove redundant C++0x check.
* parser.c (cp_parser_unary_expression): Remove redundant C++0x
	check.

From-SVN: r168308
2010-12-28 21:17:37 -05:00
Nicola Pero
db0581ae63 In gcc/objc/: 2010-12-28 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168307
2010-12-29 01:16:55 +00:00
GCC Administrator
3c0ee4007c Daily bump.
From-SVN: r168306
2010-12-29 00:18:28 +00:00
Janus Weil
9367d53374 re PR fortran/45827 ([OOP] mio_component_ref(): Component not found)
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.

Co-Authored-By: Daniel Franke <dfranke@gcc.gnu.org>

From-SVN: r168302
2010-12-28 22:21:53 +01:00
Richard Guenther
040d39eef2 re PR debug/46931 (Subversion id 167184 breaks building perlbench on power7 with debug)
PR debug/46931
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Update
SSA before removing dead stmts.

From-SVN: r168299
2010-12-28 20:20:29 +00:00
H.J. Lu
11c4a1c004 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.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>

From-SVN: r168298
2010-12-28 11:33:40 -08:00
Sebastian Pop
e8c2fb69ae 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.

From-SVN: r168297
2010-12-28 19:09:16 +00:00
Sebastian Pop
1bd6497c3e 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.

From-SVN: r168296
2010-12-28 17:09:16 +00:00
Paul Koning
c67b2d4ea0 pdp11.md: Correct length attribute for float literal case.
* config/pdp11/pdp11.md: Correct length attribute for float
literal case.

From-SVN: r168295
2010-12-28 12:04:37 -05:00
Nicola Pero
35bce82a80 In gcc/objc/: 2010-12-28 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168294
2010-12-28 12:39:29 +00:00
Jie Zhang
ecd815ac6b * builtins.c (SLOW_UNALIGNED_ACCESS): Remove.
From-SVN: r168293
2010-12-28 06:13:28 +00:00
Nicola Pero
333031f2d3 In gcc/testsuite/: 2010-12-28 Nicola Pero <nicola.pero@meta-innovation.com>
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".

From-SVN: r168285
2010-12-28 03:40:58 +00:00
GCC Administrator
24ee85f452 Daily bump.
From-SVN: r168284
2010-12-28 00:19:36 +00:00
Joseph Myers
b64918fa6f freebsd.opt (assert=, [...]): New Driver options.
* config/freebsd.opt (assert=, defsym=, profile, pthread,
	rpath-link=, rpath=, soname=): New Driver options.

From-SVN: r168278
2010-12-27 22:42:13 +00:00
Joseph Myers
8fd25fba01 * ja.po: Update.
From-SVN: r168277
2010-12-27 16:49:57 +00:00
Thomas Koenig
e321054350 dump-parse-tree.c (show_typespec): Also show character kind.
2010-12-27  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

From-SVN: r168276
2010-12-27 15:33:39 +00:00
Jakub Jelinek
ebb526f950 re PR c++/46626 (simple use of virtual methods causes pure virtual method call in c++0x mode)
PR c++/46626
	* semantics.c (build_data_member_initialization): For CLEANUP_STMT
	recurse into CLEANUP_BODY.

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

From-SVN: r168271
2010-12-27 13:54:30 +01:00
GCC Administrator
a87394d5fb Daily bump.
From-SVN: r168261
2010-12-27 00:18:18 +00:00
Nicola Pero
8c893dd010 In gcc/testsuite/: 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168256
2010-12-26 22:49:57 +00:00
Martin Jambor
f2f044864a tree.c (get_binfo_at_offset): Use BINFO_TYPE instead of TREE_TYPE, compare TYPE_MAIN_VARIANTs of types.
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.

From-SVN: r168255
2010-12-26 22:01:11 +01:00
Nicola Pero
b992d9b062 In gcc/testsuite/: 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168254
2010-12-26 18:21:38 +00:00
Andreas Schwab
581b027873 * gcc/config/m68k/t-linux (M68K_MLIB_CPU): Only include 680x0 CPUs.
From-SVN: r168253
2010-12-26 18:19:04 +00:00
Nicola Pero
029b98c85f In gcc/testsuite/: 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
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.

From-SVN: r168252
2010-12-26 18:05:00 +00:00