Commit Graph

104664 Commits

Author SHA1 Message Date
Rainer Orth
ed2a97eb0d libffi-dg.exp: Rename ...
* testsuite/lib/libffi-dg.exp: Rename ...
	* testsuite/lib/libffi.exp: ... to this.
	* libffi/testsuite/libffi.call/call.exp: Don't load libffi-dg.exp.
	* libffi/testsuite/libffi.special/special.exp: Likewise.

From-SVN: r166768
2010-11-15 20:30:37 +00:00
Jakub Jelinek
23d8fd35c4 re PR debug/46095 (ICE: in dwarf2out_frame_debug_expr, at dwarf2out.c:2341 with -fstack-protector)
PR debug/46095
	* config/i386/i386.c (pro_epilogue_adjust_stack): Instead of
	marking r11 set RTX_FRAME_RELATED_P if offset is too large for
	style < 0, add REG_FRAME_RELATED_EXPR.

	* gcc.target/i386/pr46095.c: New test.

From-SVN: r166767
2010-11-15 21:09:24 +01:00
Jakub Jelinek
61630b2768 re PR debug/46387 (ICE in add_stores, at var-tracking.c:5415)
PR debug/46387
	* rtl.h (vt_equate_reg_base_value): New prototype.
	* alias.c (vt_equate_reg_base_value): New function.
	* var-tracking.c (vt_init_cfa_base): Use it.

	* gcc.dg/pr46387.c: New test.

From-SVN: r166766
2010-11-15 21:07:39 +01:00
Jan Hubicka
3abe8cabdc re PR lto/41528 (LTO needs better internal and user documentation)
2010-11-15  Jan Hubicka  <jh@suse.cz>
	    Diego Novillo  <dnovillo@google.com>

	PR lto/41528
	* doc/lto.texi: Add.
	* doc/gccint.texi: Add reference to lto.texi.
	* doc/invoke.texi: Update user documentation for LTO.
	Move internal flags to lto.texi



Co-Authored-By: Diego Novillo <dnovillo@google.com>

From-SVN: r166765
2010-11-15 14:55:27 -05:00
Nicola Pero
925e8657ce In gcc/: 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>

        * c-typeck.c (build_unary_op): Use
        objc_build_incr_expr_for_property_ref to build the pre/post
        increment/decrement of an Objective-C property ref, and skip the
        lvalue_or_else check in that case.

In gcc/c-family/:
2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>

        * c-common.h (objc_build_incr_expr_for_property_ref): New.
        * stub-objc.c (objc_build_incr_expr_for_property_ref): New.

In gcc/cp/:
2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>

        * typeck.c (cp_build_unary_op): Use
        objc_build_incr_expr_for_property_ref to build the pre/post
        increment/decrement of an Objective-C property ref.

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

        * objc-act.c (objc_build_incr_expr_for_property_ref): New.
        (objc_create_temporary_var): Moved it towards the beginning of the
        file so that objc_build_incr_expr_for_property_ref can use it.

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

        * objc.dg/property/dotsyntax-16.m: New.
        * objc.dg/property/dotsyntax-17.m: New.
        * obj-c++.dg/property/dotsyntax-16.mm: New.
        * obj-c++.dg/property/dotsyntax-17.mm: New.
        * objc.dg/property/at-property-10.m: Uncommented using 'x++'
        syntax with properties, which now works.
        * obj-c++.dg/property/at-property-10.mm: Same change.

From-SVN: r166763
2010-11-15 18:46:42 +00:00
Martin Jambor
4cc13d9d7a re PR tree-optimization/46349 (incorrect scalarization)
2010-11-15  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/46349
	* tree-sra.c (contains_bitfld_comp_ref_p): New function.
	(contains_vce_or_bfcref_p): Likewise.
	(sra_modify_assign): Use them.

	* testsuite/gnat.dg/opt9.adb: New file.
	* testsuite/gnat.dg/opt9_pkg.ads: Likewise

From-SVN: r166759
2010-11-15 17:32:18 +01:00
Andreas Schwab
9965e3cddf configure.ac: Fix spelling in option names.
* configure.ac: Fix spelling in option names.
* configure: Regenerated.

config/:
* cloog.m4 (CLOOG_INIT_FLAGS): Fix spelling in option names.

From-SVN: r166758
2010-11-15 16:30:20 +00:00
Richard Guenther
d6e524ced5 re PR lto/44989 (g++.dg/guality/redeclaration1.C)
2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR lto/44989
	* g++.dg/guality/redeclaration1.C: Do not execute for LTO.

From-SVN: r166757
2010-11-15 15:52:42 +00:00
Nathan Froyd
bb0a9581a5 re PR preprocessor/45038 (__DBL_MIN__ result in old-style-cast)
gcc/c-family/
	PR preprocessor/45038
	* c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
	dialects.

gcc/testsuite/
	PR preprocessor/45038
	* g++.dg/pr45038.C: New test.

From-SVN: r166756
2010-11-15 15:24:31 +00:00
Richard Guenther
c636a4fbf6 re PR tree-optimization/46467 (gcc.dg/torture/pta-structcopy-1.c FAILs with -fipa-pta without inlining)
2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/46467
	* tree-ssa-structalias.c (do_structure_copy): Properly treat
	variables without subvars.

	* gcc.dg/ipa/ipa-pta-16.c: New testcase.

From-SVN: r166755
2010-11-15 14:15:33 +00:00
Joern Rennecke
d0a4fd975a re PR target/46432 (v850-elf --enable-werror-always build fails)
PR target/46432
        * config/v850/v850.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Delete.

From-SVN: r166754
2010-11-15 14:03:31 +00:00
Joern Rennecke
21272a45a7 re PR bootstrap/45444 (ARM bootstrap failure: uninitialized const member in 'neon_builtin_datum' is invalid in C++ [-Werror=c++-compat])
PR bootstrap/45444
	* config/arm/arm.c (locate_neon_builtin_icode): Initialize key.
	(arm_output_asm_insn) Add ATTRIBUTE_PRINTF_4.

From-SVN: r166753
2010-11-15 13:40:27 +00:00
Richard Guenther
fcdc80e40a re PR middle-end/46423 (FAIL: g++.dg/torture/pr34850.C)
2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR testsuite/46423
	* g++.dg/torture/pr34850.C: Adjust.

From-SVN: r166752
2010-11-15 12:38:59 +00:00
Hariharan Sandanagobalane
b7b25842b5 picochip.c (file header): Picochip name change.
* config/picochip/picochip.c (file header): Picochip name change.
        * config/picochip/picochip.md (file header): Likewise.
        * config/picochip/predicates.md (file header): Likewise.
        * config/picochip/dfa_space.md (file header): Likewise.
        * config/picochip/dfa_speed.md (file header): Likewise.
        * config/picochip/picochip.h(file header): Likewise.
        * config/picochip/constraints.md (file header): Likewise.
        * config/picochip/picochip-protos.h (file header): Likewise.
        * config/picochip/libgccExtras/setjmp.asm (file header): Likewise.
        * config/picochip/libgccExtras/divmodsi4.asm (file header): Likewise.
        * config/picochip/libgccExtras/ashlsi3.asm (file header): Likewise.
        * config/picochip/libgccExtras/longjmp.asm (file header): Likewise.
        * config/picochip/libgccExtras/ashlsi3.c (file header): Likewise.
        * config/picochip/libgccExtras/popcounthi2.asm (file header): Likewise.
        * config/picochip/libgccExtras/parityhi2.asm (file header): Likewise.
        * config/picochip/libgccExtras/udivmodhi4.asm (file header): Likewise.
        * config/picochip/libgccExtras/ashrsi3.asm (file header): Likewise.
        * config/picochip/libgccExtras/ashrsi3.c (file header): Likewise.
        * config/picochip/libgccExtras/ucmpsi2.asm (file header): Likewise.
        * config/picochip/libgccExtras/divmodhi4.asm (file header): Likewise.
        * config/picochip/libgccExtras/lshrsi3.asm (file header): Likewise.
        * config/picochip/libgccExtras/subdi3.asm (file header): Likewise.

From-SVN: r166751
2010-11-15 12:08:16 +00:00
Richard Guenther
76b14c29f8 re PR bootstrap/46474 (powerpc64-linux bootstrap comparison failure in libcpp/symtab.o)
2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR bootstrap/46474
	* tree-ssa-math-opts.c (convert_mult_to_fma): Disregard debug stmts.

From-SVN: r166750
2010-11-15 12:04:46 +00:00
Jie Zhang
8679360a46 * testsuite/ext/profile/mh.cc: Add xfail for uclibc.
From-SVN: r166749
2010-11-15 11:01:20 +00:00
Nick Clifton
2fd7ba4ac9 stormy16.c (direct_return): Do not generate a direct return for interrupt handlers.
* config/stormy16/stormy16.c (direct_return): Do not generate a
	direct return for interrupt handlers.

From-SVN: r166748
2010-11-15 10:39:18 +00:00
Joern Rennecke
5792856d2a Add PR number to ChangeLog entry:
PR target/46427
        * config/m32r/m32r.c: Remove unused variables frame_size and insn.

From-SVN: r166747
2010-11-15 09:58:42 +00:00
Joern Rennecke
3050859f62 * config/m32r/m32r.c: Remove unused variables frame_size and insn.
From-SVN: r166746
2010-11-15 09:55:57 +00:00
Joern Rennecke
c18a9bc461 Makefile.in (tm.texi): Replace with rule for: ($(srcdir)/doc/tm.texi).
* Makefile.in (tm.texi): Replace with rule for:
        ($(srcdir)/doc/tm.texi).
        (s-tm-texi): Depend on $(srcdir)/doc/../doc/tm.texi instead of on
        $(srcdir)/doc/tm.texi .
        (TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on
        tm.texi .

From-SVN: r166745
2010-11-15 09:44:16 +00:00
Richard Guenther
192f8da500 re PR lto/44150 (g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o)
2010-11-15  Richard Guenther  <rguenther@suse.de>

	PR lto/44150
	* lto-opts.c (lto_write_options): Write -fexceptions even if
	not set by the user.

From-SVN: r166744
2010-11-15 09:43:01 +00:00
Joseph Myers
db710796ab * sv.po: Update.
From-SVN: r166743
2010-11-15 01:33:55 +00:00
GCC Administrator
324c454147 Daily bump.
From-SVN: r166742
2010-11-15 00:18:24 +00:00
Joseph Myers
c55c1f4645 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po,
	ja.po, nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po:
	Update.

From-SVN: r166738
2010-11-14 21:49:37 +00:00
Joseph Myers
969b78242e be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
	nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po:
	Update.

From-SVN: r166737
2010-11-14 21:48:32 +00:00
Matthias Klose
44e29e812b 13_ecmascript: Remove, empty directory.
2010-11-14  Matthias Klose  <doko@ubuntu.com>

        * testsuite/28_regex/13_ecmascript: Remove, empty directory.
        * testsuite/28_regex/02_definitions: Likewise.
        * testsuite/29_atomics/headers/stdatomic.h: Likewise.

From-SVN: r166736
2010-11-14 20:05:12 +00:00
Kai Tietz
28d1e73f5c simple-object-coff.c (simple_object_coff_read_strtab): Fix reading offset.
2010-11-14  Kai Tietz  <kai.tietz@onevision.com>

        * simple-object-coff.c (simple_object_coff_read_strtab): Fix reading
        offset.

From-SVN: r166735
2010-11-14 19:50:23 +01:00
Paolo Carlini
6b6d5d0922 stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove.
2010-11-14  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_tree.h (_Rb_tree<>::_M_const_cast_iter): Remove.
	(_Rb_tree_const_iterator<>::_M_const_cast): Add.
	(_Rb_tree<>::erase, _M_insert_unique_): Adjust.
	* include/debug/map.h (map<>::erase, insert): Fix C++0x signatures.
	* include/debug/multimap.h (multimap<>::erase, insert): Likewise.
	* include/debug/set.h (set<>::erase, insert): Fix, only cosmetic
	changes in this case.
	* include/debug/multiset.h (multiset<>::erase, insert): Likewise.
	* include/profile/set.h (set<>::insert): Remove redundant macro.
	* include/profile/multiset.h (multiset<>::insert): Likewise.
	* include/bits/stl_set.h (set<>::insert): Likewise.
	* include/bits/stl_multiset.h (multiset<>::insert): Likewise.

From-SVN: r166734
2010-11-14 18:41:01 +00:00
Paolo Bonzini
fc3f9236ec re PR c/46475 (FAIL: gcc.dg/nofixed-point-2.c)
2010-11-14  Paolo Bonzini  <bonzini@gnu.org>

	PR c/46475
	* gcc.dg/nofixed-point-2.c: Change dg-warning to dg-bogus.

From-SVN: r166733
2010-11-14 15:46:59 +00:00
Paolo Bonzini
a5812bdc55 re PR c/46462 (Revision 166700 caused new C test failures)
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	PR c/46462
	* c-decl.c (declspecs_add_type): Make variables with error types
	integers.
	* c-parser.c (c_parser_next_tokens_start_declaration): Two IDs
	do not start a declaration before an Objective-C foreach.
	(c_parser_declaration_or_fndef): Improve recovery after unknown
	type name.
	(c_parser_for_statement): Hoist entrance of "foreach context"
	before ifs, add corresponding reset where it was missing.  Do
	not set objc_could_be_foreach_context for C.

From-SVN: r166732
2010-11-14 13:10:41 +00:00
Eric Botcazou
ae788515d2 re PR tree-optimization/45722 (FAIL: gcc.c-torture/execute/20040709-2.c execution at -O1 and -Os)
PR tree-optimization/45722
	* tree-sra.c (build_ref_for_model): Always build a COMPONENT_REF if
	this is a reference to a component.
	* ipa-prop.c (ipa_get_member_ptr_load_param): Accept COMPONENT_REF.
	(ipa_note_param_call): Adjust comment.

From-SVN: r166731
2010-11-14 11:24:47 +00:00
Nicola Pero
8926bd5d5c In gcc/objc/: 2010-11-14 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-11-14  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (objc_add_property_declaration): Check that the decl
        we received from the parser is a FIELD_DECL; reject array and
        bitfield properties.  Convert the warning when a property is
        readonly and a setter is specified into an error.  Convert errors
        when a property declaration does not match a property declaration
        in a superclass into warnings.
        (objc_add_synthesize_declaration_for_property): Use
        DECL_BIT_FIELD_TYPE to determine the type of an instance variable
        if it is a bitfield.  Throw an error if we are asked to synthesize
        setters/getters for a bitfield instance variable but the property
        is not appropriate - it must be assign and nonatomic.  If the
        property is readonly, allow the instance variable type to be a
        specialization of the property type.
        (objc_type_valid_for_messaging): Fixed returning 'false' for a
        Class qualified with a protocol when the 'accept_classes' argument
        is 'false'.

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

        * objc.dg/property/at-property-21.m: New.
        * objc.dg/property/at-property-22.m: New.
        * objc.dg/property/at-property-23.m: New.       
        * objc.dg/property/synthesize-9.m: New.
        * objc.dg/property/synthesize-10.m: New.
        * objc.dg/property/synthesize-11.m: New.        
        * obj-c++.dg/property/at-property-21.mm: New.
        * obj-c++.dg/property/at-property-22.mm: New.
        * obj-c++.dg/property/at-property-23.mm: New.   
        * obj-c++.dg/property/synthesize-9.mm: New.
        * obj-c++.dg/property/synthesize-10.mm: New.
        * obj-c++.dg/property/synthesize-11.mm: New.    

        * objc.dg/property/at-property-4.m: Updated to match new compiler
        where some errors have been converted into warnings and vice versa.
        * objc.dg/property/at-property-16.m: Same change.
        * objc.dg/property/at-property-18.m: Same change.
        * objc.dg/property/property-neg-5.m: Same change.
        * obj-c++.dg/property/at-property-4.mm: Same change.
        * obj-c++.dg/property/at-property-16.mm: Same change.
        * obj-c++.dg/property/at-property-18.mm: Same change.
        * obj-c++.dg/property/property-neg-5.mm: Same change.
        
        * obj-c++.dg/property/dynamic-2.mm: Enable tests that were
        commented out because of testsuite problems; I found out that
        using dg-warning instead of dg-message gets them to work.
        * obj-c++.dg/property/property-neg-3.mm: Same change.
        * obj-c++.dg/property/synthesize-6.mm: Same change.
        * obj-c++.dg/property/at-property-5.mm: Same change.    
        * obj-c++.dg/property/at-property-14.mm: Same change.   
        * obj-c++.dg/property/at-property-18.mm: Same change.
        * obj-c++.dg/property/at-property-16.mm: Same change (in this file,
        some tests still do not work due to some other testsuite issue).

From-SVN: r166730
2010-11-14 11:11:18 +00:00
Richard Sandiford
8a7a250d32 mips.c (machine_function): Remove initialized_mips16_gp_pseudo_p.
gcc/
	* config/mips/mips.c (machine_function): Remove
	initialized_mips16_gp_pseudo_p.
	(mips16_gp_pseudo_reg): Use cfun->machine->mips16_gp_pseudo_rtx to
	detect whether a pseudo has already been created.  Unconditionally
	create a new one if not.
	(mips_pic_base_register): Only call mips16_gp_pseudo_reg when
	expanding to rtl.  Create a new pseudo otherwise, if allowed.

From-SVN: r166729
2010-11-14 10:29:15 +00:00
GCC Administrator
f085240976 Daily bump.
From-SVN: r166728
2010-11-14 00:18:45 +00:00
Jason Merrill
2e5748d286 decl.c (cp_finish_decl): Use resolve_nondeduced_context for auto.
* decl.c (cp_finish_decl): Use resolve_nondeduced_context for auto.
	* init.c (build_new): Likewise.
	* pt.c (tsubst_decl): Likewise.
	(do_auto_deduction): Likewise.
	(resolve_nondeduced_context): Use build_offset_ref and
	cp_build_addr_expr.

From-SVN: r166724
2010-11-13 19:06:48 -05:00
Richard Earnshaw
d862164832 re PR target/43440 (Overwriting neon quad register does not clobber all included single registers)
PR target/43440
	* tm.texi.in (OVERLAPPING_REGISTER_NAMES): Document new macro.
	* tm.texi: Regenerated.
	* output.h (decode_reg_name_and_count): Declare.
	* varasm.c (decode_reg_name_and_count): New function.
	(decode_reg_name): Reimplement using decode_reg_name_and_count.
	* reginfo.c (fix_register): Use decode_reg_name_and_count and 
	iterate over all regs used.
	* stmt.c (expand_asm_operands): Likewise.
	* arm/aout.h (OVERLAPPING_REGISTER_NAMES): Define.
	(ADDITIONAL_REGISTER_NAMES): Remove aliases that overlap
	multiple machine registers.

From-SVN: r166723
2010-11-13 23:08:26 +00:00
Richard Earnshaw
0c6d290e6d tm.texi.in (OVERLAPPING_REGISTER_NAMES): Document new macro.
* tm.texi.in (OVERLAPPING_REGISTER_NAMES): Document new macro.
	* tm.texi: Regenerated.
	* output.h (decode_reg_name_and_count): Declare.
	* varasm.c (decode_reg_name_and_count): New function.
	(decode_reg_name): Reimplement using decode_reg_name_and_count.
	* reginfo.c (fix_register): Use decode_reg_name_and_count and 
	iterate over all regs used.
	* stmt.c (expand_asm_operands): Likewise.
	* arm/aout.h (OVERLAPPING_REGISTER_NAMES): Define.
	(ADDITIONAL_REGISTER_NAMES): Remove aliases that overlap
	multiple machine registers.

From-SVN: r166722
2010-11-13 23:04:26 +00:00
Eric Botcazou
985c87c94e stor-layout.c (place_union_field): Do not put location information on offset expressions.
* stor-layout.c (place_union_field): Do not put location information
	on offset expressions.
	(place_field): Likewise.
	(finalize_record_size): Likewise on size expressions.
	(finalize_type_size): Likewise.
	(layout_type): Likewise.

From-SVN: r166721
2010-11-13 22:38:04 +00:00
Georg-Johann Lay
0463992baa re PR bootstrap/39622 (Missing -isystem include-fixed when building canadian cross libgcc)
2010-11-13  Georg-Johann Lay  <georgjohann@web.de>

        PR bootstrap/39622
        * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path.
        * configure: Regenerated.

From-SVN: r166720
2010-11-13 20:45:12 +01:00
Alexandre Oliva
f9aeaebf75 re PR rtl-optimization/42889 ("-fcompare-debug failure (length)" with "-O1 -fgcse")
PR debug/42889
* df-scan.c (df_insn_rescan): Don't mark BBs upon debug insns.
* df-core.c (df_set_bb_dirty_nonrl): Remove.
* df.h (df_set_bb_dirty_nonlr): Likewise.

From-SVN: r166719
2010-11-13 18:51:57 +00:00
Kai Tietz
44538c626c lto-plugin.c (add_output_files): Fix memory leak.
2010-11-13  Kai Tietz  <kai.tietz@onevision.com>

        * lto-plugin.c (add_output_files): Fix memory leak.

From-SVN: r166718
2010-11-13 19:49:07 +01:00
Uros Bizjak
82220036f6 mips.md (call_internal): Pass curr_insn to mips_split_call.
gcc/
2010-11-03  Uros Bizjak  <ubizjak@gmail.com>

	* config/mips/mips.md (call_internal): Pass curr_insn to
	mips_split_call.
	(call_internal_direct): Ditto.
	(call_value_internal): Ditto.
	(call_value_internal_direct): Ditto.
	(call_value_multiple_internal): Ditto.
	* config/mips/mips.c (mips_split_call): Do not copy
	CALL_INSN_FUNCTION_USAGE here.

From-SVN: r166717
2010-11-13 17:32:46 +00:00
Mingming Sun
98824c6fc4 invoke.texi (MIPS Options): Add loongson3a processor.
gcc/
2010-09-21  Mingming Sun  <mingm.sun@gmail.com>

	* doc/invoke.texi (MIPS Options): Add loongson3a processor.
	* config/mips/mips.md (define_attr "cpu"): Add loongson_3a.
	(define_insn "prefetch"): Add TARGET_LOONGSON_3A.
	* config/mips/mips.h (TARGET_LOONGSON_3A): Define.
	(TUNE_LOONGSON_3A): Define.
	(TARGET_LOONGSON_VECTORS): Add TARGET_LOONGSON_3A.
	(MIPS_ISA_LEVEL_SPEC): Add loongson3a.
	* config/mips/mips.c (mips_cpu_info_table): Add loongson3a.
	(mips_issue_rate): Add PROCESSOR_LOONGSON_3A.
	(mips_rtx_cost_data): Add Loongson-3A.

From-SVN: r166716
2010-11-13 17:30:52 +00:00
Iain Sandoe
989b59db15 fsf-nsstring-format-1.m: Adjust format messages.
gcc/testsuite:

	* objc.dg/fsf-nsstring-format-1.m: Adjust format messages.
	* obj-c++.dg/fsf-nsstring-format-1.mm: Likewise.

From-SVN: r166713
2010-11-13 17:15:17 +00:00
Kaveh R. Ghazi
3df087348e MAINTAINERS: Update my email address.
* MAINTAINERS: Update my email address.

From-SVN: r166712
2010-11-13 16:34:31 +00:00
Paolo Bonzini
42348a6906 re PR c/46462 (Revision 166700 caused new C test failures)
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	PR c/46462
	* gcc.dg/gomp/pr34607.c: Adjust errors for unknown typenames.
	* gcc.dg/pr35746.c: Likewise.
	* gcc.dg/cpp/direct2.c: Likewise.
	* gcc.dg/cpp/direct2s.c: Likewise.
	* gcc.dg/noncompile/920923-1.c: Likewise.
	* gcc.dg/dfp/constants-c99.c: Add -Wno-overflow.

From-SVN: r166711
2010-11-13 16:19:33 +00:00
Nicola Pero
29be86db00 method-format-1.mm: Adjust.
2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        * obj-c++.dg/attributes/method-format-1.mm: Adjust.

From-SVN: r166710
2010-11-13 15:58:02 +00:00
Nicola Pero
5a2a6eb050 In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (objc_get_protocol_qualified_type): detect cases
        where we are asked to attach a protocol to something which is not
        an Objective-C object type, and produce an error.

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

        * objc/compile/20060406-1.m: Fixed testcase not to try to qualify
        a pointer to an arbitrary C struct with an Objective-C protocol.
        Test various valid uses of typedef with Objective-C objects and
        protocols instead.
        * objc.dg/invalid-type-1.m: New.
        * obj-c++.dg/invalid-type-1.m: New.

From-SVN: r166709
2010-11-13 15:53:32 +00:00
Eric Botcazou
4286fd7aec Fix a couple of formatting issues
From-SVN: r166708
2010-11-13 15:15:02 +00:00
Paolo Bonzini
6ce1267512 method-format-1.m: New test.
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* objc.dg/attributes/method-format-1.m: New test.

From-SVN: r166707
2010-11-13 15:00:06 +00:00