- 14 Nov, 2010 11 commits
-
-
jsm28 authored
nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166737 138bc75d-0d04-0410-961f-82ee72b054a4
-
doko authored
* testsuite/28_regex/13_ecmascript: Remove, empty directory. * testsuite/28_regex/02_definitions: Likewise. * testsuite/29_atomics/headers/stdatomic.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166736 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* simple-object-coff.c (simple_object_coff_read_strtab): Fix reading offset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166735 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166734 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
PR c/46475 * gcc.dg/nofixed-point-2.c: Change dg-warning to dg-bogus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166733 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166732 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166731 138bc75d-0d04-0410-961f-82ee72b054a4
-
nicola authored
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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166730 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166729 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166728 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166724 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Nov, 2010 27 commits
-
-
rearnsha authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166723 138bc75d-0d04-0410-961f-82ee72b054a4
-
rearnsha authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166722 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
on offset expressions. (place_field): Likewise. (finalize_record_size): Likewise on size expressions. (finalize_type_size): Likewise. (layout_type): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166721 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
PR bootstrap/39622 * configure.ac (FLAGS_FOR_TARGET): Add include-fixed path. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166720 138bc75d-0d04-0410-961f-82ee72b054a4
-
aoliva authored
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166719 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* lto-plugin.c (add_output_files): Fix memory leak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166718 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166717 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166716 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
gcc/testsuite: * objc.dg/fsf-nsstring-format-1.m: Adjust format messages. * obj-c++.dg/fsf-nsstring-format-1.mm: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166713 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166712 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166711 138bc75d-0d04-0410-961f-82ee72b054a4
-
nicola authored
* obj-c++.dg/attributes/method-format-1.mm: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166710 138bc75d-0d04-0410-961f-82ee72b054a4
-
nicola authored
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166709 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166708 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
* objc.dg/attributes/method-format-1.m: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166707 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
gcc: * config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto switches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166706 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
gcc/testsuite: * gcc.dg/darwin-segaddr.c: New test for multiple argument c/l switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166705 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
don't emit debug sections until they are required gcc: * dwarf2out.c (macinfo_entry): New struct. (output_comp_unit): Emit the section start label here and flag that we will emit an info section. (dwarf2out_start_source_file): Save data in a macinfo entry rather than emitting directly. (dwarf2out_end_source_file): Likewise. (dwarf2out_define): Likewise. (dwarf2out_undef): Likewise. (output_macinfo): New. (dwarf2out_init): Do not emit debug section switches here, allocate a vec for macinfo, when required. (dwarf2out_finish): First switch to debug_abbrev_section here. debug_line_section, debug_macinfo_section, Likewise. Check that the pubtypes table has at least one unpruned entry before trying to emit it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166704 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166703 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/45742 * gfortran.dg/volatile12.f90: Use the right three in * cleanup-tree-dump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166702 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/45742 * trans-common.c (build_field): Add TREE_SIDE_EFFECTS for * volatile. * trans-decl.c (gfc_finish_var_decl): Ditto. (create_function_arglist): Handle volatile dummy arguments. 2010-11-13 Tobias Burnus <burnus@net-b.de> PR fortran/45742 * gfortran.dg/volatile12.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166701 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
PR c/20385 * c-parser.c (c_parser_next_token_starts_declaration): Rename to... (c_parser_next_tokens_start_declaration): ... this. Handle 2nd token lookahead. (c_parser_compound_statement_nostart, c_parser_label, c_parser_for_statement, c_parser_omp_for_loop): Adjust calls. (c_parser_declaration_or_fndef): Detect the case now matched by c_parser_next_tokens_start_declaration, give error and correct it. testsuite: 2010-11-13 Paolo Bonzini <bonzini@gnu.org> PR c/20385 * gcc.dg/decl-9.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166700 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
* c-tree.h (enum c_typespec_kind): Add ctsk_none. (struct c_declspecs): Replace tagdef_seen_p and type_seen_p with typespec_kind. * c-decl.c (build_null_declspecs): Initialize typespec_kind. (shadow_tag_warned, check_compound_literal_type): Adjust uses of tag_defined_p. (declspecs_add_type): Set typespec_kind. * c-parser.c (c_parser_declaration_or_fndef, c_parser_declspecs, c_parser_struct_declaration, c_parser_parameter_declaration, c_parser_type_name, c_parser_objc_diagnose_bad_element_prefix): Adjust uses of type_seen_p. * c-typeck.c (c_cast_expr): Use typespec_kind instead of tag_defined_p, pass ctsk_firstref through. testsuite: 2010-11-13 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/Wcxx-compat-8.c: Add testcases involving incomplete types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166699 138bc75d-0d04-0410-961f-82ee72b054a4
-
bonzini authored
2010-11-13 Paolo Bonzini <bonzini@gnu.org> * c-format.c (enum format_specifier_kind, kind_descriptions): New. (struct format_wanted_type): Replace field "name" with "kind", add "format_start" and "format_length". (check_format_info_main): Fill in new fields. Fill in FORMAT_WANTED_TYPES even for missing arguments. Move checks after the final NUL outside the while loop. Do not include width and precision modifiers in the format_start/format_length of the main format. (check_format_types): Remove FORMAT_START and FORMAT_LENGTH arguments. Compute WANTED_TYPE first so that format_type_warning can be called for missing arguments. Adjust calls to format_type_warning. (format_type_warning): Fetch as much information as possible from format_wanted_type. Adjust printing now that every warning has a "descr", as well as for missing argument warnings and to include % sign for format specifiers. testsuite: 2010-11-13 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/format/few-1.c: New test. * gcc.dg/format/asm_fprintf-1.c: Adjust. * gcc.dg/format/c90-scanf-1.c: Adjust. * gcc.dg/format/cmn-err-1.c: Adjust. * gcc.dg/format/dfp-printf-1.c: Adjust. * gcc.dg/format/dfp-scanf-1.c: Adjust. * gcc.dg/format/gcc_diag-1.c: Adjust. * gcc.dg/format/ms_unnamed-1.c: Adjust. * gcc.dg/format/strfmon-1.c: Adjust. * gcc.dg/format/unnamed-1.c: Adjust. * gcc.dg/format/xopen-2.c: Adjust. * g++.dg/ext/builtin4.C: Adjust. * g++.dg/ext/builtin5.C: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166698 138bc75d-0d04-0410-961f-82ee72b054a4
-
amonakov authored
* sel-sched-ir.c (maybe_tidy_empty_bb): Remove second argument. Update all callers. Do not recompute topological order. Adjust fallthrough edges following a degenerate conditional jump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166697 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
PR other/46332 * cp-demangle.c (d_print_function_type): Don't print parentheses if there are no modifiers to print. * testsuite/demangle-expected: Tweak one test case, add another. libstdc++/: * testsuite/abi/demangle/abi_examples/14.cc (main): Change expected demangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166695 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166694 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 12 Nov, 2010 2 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166690 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* opts.c (set_default_handlers): New. (decode_options): Use set_default_handlers and control_warning_option. (common_handle_option): Update call to enable_warning_as_error. (enable_warning_as_error): Take gcc_options parameters. Use control_warning_option. * opts.h (set_default_handlers, control_warning_option): Declare. c-family: * c-common.h (c_family_lang_mask): Declare. * c-opts.c (c_family_lang_mask): Make extern. * c-pragma.c (handle_pragma_diagnostic): Use control_warning_option. testsuite: * gcc.dg/pragma-diag-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166689 138bc75d-0d04-0410-961f-82ee72b054a4
-