1. 18 Mar, 2011 8 commits
  2. 17 Mar, 2011 25 commits
  3. 16 Mar, 2011 7 commits
    • Don't catch LIBPROF in Go code. · 7b5da51d
      From-SVN: r171077
      Ian Lance Taylor committed
    • Make-lang.in (CXX_PARSER_H): New. · f617201f
      
      	* Make-lang.in (CXX_PARSER_H): New.
      	(cp/parser.o): Add dependency on CXX_PARSER_H.
      	Add dependency on tree-pretty-print.h
      	(cp/cp-lang.o): Add dependency on CXX_PARSER_H.
      	* cp-lang.c: Include parser.h.
      	* parser.c: Include parser.h.
      	(struct cp_token): Add bitfield purged_p.
      	Update all users.
      	Move to parser.h.
      	(CPP_PURGED): Remove.  Update all users.
      	(struct cp_lexer): Change field buffer to be a VEC of cp_token.
      	Remove field buffer_length.
      	Update all users.
      	Move to parser.h.
      	(struct tree_check): Move to parser.h.
      	(cp_token_position): Likewise.
      	(struct cp_token_cache): Likewise.
      	(CPP_KEYWORD): Likewise.
      	(CPP_TEMPLATE_ID): Likewise.
      	(CPP_NESTED_NAME_SPECIFIER): Likewise.
      	(N_CP_TTYPES): Likewise.
      	(enum cp_parser_status_kind): Likewise.
      	(struct cp_parser_context): Likewise.
      	(struct cp_default_arg_entry_d): Likewise.
      	(struct cp_unparsed_functions_entry_d): Likewise.
      	(struct cp_parser): Likewise.
      	(cp_lexer_dump_tokens): New.
      	(cp_lexer_debug_tokens): New.
      	(cp_lexer_finished_p): New.
      	(cp_lexer_alloc): Factor out of cp_lexer_new_main.
      	(cp_lexer_new_main): Re-write main lexing loop to push
      	tokens into the new VEC buffer.
      	(cp_lexer_print_token): Improve printing of CPP_NUMBER tokens.
      	Do not abort if the token type is not recognized, just print
      	its code.
      	* parser.h: New file.
      	* config-lang.in (gtfiles): Add cp/parser.h.
      
      From-SVN: r171075
      Diego Novillo committed
    • re PR debug/47510 (DW_TAG_typedef can have children when designating a naming typedef) · 7b5cb7d6
      PR debug/47510
      
      gcc/
      
      	PR debug/47510
      	* dwarf2out.c (strip_naming_typedef): Factorize out of ...
      	(lookup_type_die_strip_naming_typedef): ... here.
      	(get_context_die): Use it.
      	(gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to
      	the anonymous struct named by the naming typedef.
      
      gcc/testsuite/
      
              PR debug/47510
      	* g++.dg/debug/dwarf2/typedef6.C: New test.
      
      From-SVN: r171073
      Dodji Seketeli committed
    • Core 1148 · 532c679e
      	Core 1148
      	* typeck.c (check_return_expr): Fix conditions for setting
      	LOOKUP_PREFER_RVALUE.
      
      From-SVN: r171071
      Jason Merrill committed
    • Check TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. · 585e9d9d
      2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/48154
      	* config/i386/i386.c (ix86_builtin_vectorized_function): Check
      	TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins.
      
      From-SVN: r171069
      H.J. Lu committed