1. 13 Nov, 2010 18 commits
    • MAINTAINERS: Update my email address. · 3df08734
      	* MAINTAINERS: Update my email address.
      
      From-SVN: r166712
      Kaveh R. Ghazi committed
    • re PR c/46462 (Revision 166700 caused new C test failures) · 42348a69
      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
      Paolo Bonzini committed
    • method-format-1.mm: Adjust. · 29be86db
      2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * obj-c++.dg/attributes/method-format-1.mm: Adjust.
      
      From-SVN: r166710
      Nicola Pero committed
    • In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com> · 5a2a6eb0
      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
      Nicola Pero committed
    • Fix a couple of formatting issues · 4286fd7a
      From-SVN: r166708
      Eric Botcazou committed
    • method-format-1.m: New test. · 6ce12675
      2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
      
      	* objc.dg/attributes/method-format-1.m: New test.
      
      From-SVN: r166707
      Paolo Bonzini committed
    • darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto switches. · 2b7d8ce6
      
      gcc:
      
      	* config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto
      	switches.
      
      From-SVN: r166706
      Iain Sandoe committed
    • darwin-segaddr.c: New test for multiple argument c/l switch. · a0abcb2e
      
      gcc/testsuite:
      
      	* gcc.dg/darwin-segaddr.c: New test for multiple argument c/l switch.
      
      From-SVN: r166705
      Iain Sandoe committed
    • don't emit debug sections until they are required · a99291e4
      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.
      
      From-SVN: r166704
      Iain Sandoe committed
    • * gcc.pot: Regenerate. · d0f20be4
      From-SVN: r166703
      Joseph Myers committed
    • re PR fortran/45742 (VOLATILE has no effect) · 40309aef
      2010-11-13  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/45742
              * gfortran.dg/volatile12.f90: Use the right three in
              * cleanup-tree-dump.
      
      From-SVN: r166702
      Tobias Burnus committed
    • re PR fortran/45742 (VOLATILE has no effect) · c28d1d9b
      2010-11-13  Tobias Burnus  <burnus@net-b.de>
      
              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.
      
      From-SVN: r166701
      Tobias Burnus committed
    • [multiple changes] · 2f413185
      2010-10-30  Paolo Bonzini  <bonzini@gnu.org>
      
      	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.
      
      From-SVN: r166700
      Paolo Bonzini committed
    • c-tree.h (enum c_typespec_kind): Add ctsk_none. · 9e5b2115
      2010-11-13  Paolo Bonzini  <bonzini@gnu.org>
      
      	* 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.
      
      From-SVN: r166699
      Paolo Bonzini committed
    • c-format.c (enum format_specifier_kind, [...]): New. · 18406601
      gcc:
      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.
      
      From-SVN: r166698
      Paolo Bonzini committed
    • re PR rtl-optimization/46204 (g++.dg/torture/stackalign/throw-1.C fails to compile on IA64) · 5f33b972
      	PR rtl-optimization/46204
      	* 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.
      
      From-SVN: r166697
      Alexander Monakov committed
    • re PR other/46332 (__cxa_demangle yields excess parentheses for function types) · 759fe240
      libiberty/:
      	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.
      
      From-SVN: r166695
      Ian Lance Taylor committed
    • Daily bump. · 3c87e428
      From-SVN: r166694
      GCC Administrator committed
  2. 12 Nov, 2010 22 commits