1259694Spfg2007-07-09 Geoffrey Keating <geoffk@apple.com> (r126529) 2259694Spfg 3259694Spfg PR 32617 4259694Spfg * decl.c (cxx_init_decl_processing): Don't set 5259694Spfg force_align_functions_log. 6259694Spfg (grokfndecl): Honour ptrmemfunc_vbit_in_pfn. 7259694Spfg * typeck.c (cxx_alignof_expr): When alignof is used on a plain 8259694Spfg FUNCTION_DECL, return its alignment. 9259694Spfg 10260932Spfg2007-07-01 Ollie Wild <aaw@google.com> (r126177) 11260932Spfg 12260932Spfg * name-lookup.c (ambiguous_decl): Fix case when new->value is hidden. 13260932Spfg (select_decl): Remove function. 14260932Spfg (unqualified_namespace_lookup): Populate binding by calling 15260932Spfg ambiguous_decl. Remove select_decl call. 16260932Spfg (lookup_qualified_name): Remove select_decl call. 17260932Spfg * decl.c (lookup_and_check_tag): Check for ambiguous references. 18260932Spfg * parser.c (cp_parser_elaborated_type_specifier): Skip redundant error 19260932Spfg generation when name lookup is ambiguous. 20260932Spfg 21260074Spfg2007-06-28 Geoffrey Keating <geoffk@apple.com> (r126088) 22260074Spfg 23260074Spfg * decl2.c (determine_visibility): Implement 24260074Spfg flag_visibility_ms_compat effect on type info. 25260074Spfg * decl.c (cxx_init_decl_processing): Implement 26260074Spfg global effect of flag_visibility_ms_compat. 27260074Spfg 28258428Spfg2007-06-28 Geoffrey Keating <geoffk@apple.com> (r126080) 29258428Spfg 30258428Spfg * decl2.c (start_objects): Mark constructor-runnning function 31258428Spfg as artificial. 32258428Spfg 33258428Spfg2007-06-14 Geoff Keating <geoffk@apple.com> (r125721) 34258428Spfg 35258428Spfg PR 31093 36258428Spfg * decl2.c (determine_visibility): Remove duplicate code for 37258428Spfg handling type info. 38258428Spfg 39259947Spfg2007-05-31 Daniel Berlin <dberlin@dberlin.org> (r125239) 40259947Spfg 41259947Spfg * typeck.c (build_binary_op): Include types in error. 42259947Spfg 43260932Spfg2007-05-22 Ollie Wild <aaw@google.com> (r124963) 44260932Spfg 45260932Spfg * name-lookup.c (ambiguous_decl): Adds check for hidden types. 46260932Spfg (unqualified_namespace_lookup): Adds check for hidden types. 47260932Spfg 48259947Spfg2007-05-18 Geoffrey Keating <geoffk@apple.com> (r124839) 49259947Spfg 50259947Spfg * mangle.c (write_real_cst): Use 'unsigned long' for %lx. 51259947Spfg 52260230Spfg2007-05-14 Paolo Carlini <pcarlini@suse.de> (r124724) 53260230Spfg 54260230Spfg PR c++/29928 55260230Spfg * rtti.c (get_tinfo_decl_dynamic, get_typeid): Try to complete the 56260230Spfg type only if is a class type (5.2.8/4). 57260230Spfg 58259694Spfg2007-05-05 Geoffrey Keating <geoffk@apple.com> (r124467) 59259694Spfg 60259694Spfg PR 31775 61259694Spfg * mangle.c (write_mangled_name): Mangle static variable names. 62259694Spfg (write_unqualified_name): Use local-source-name for 63259694Spfg namespace-scope static variables. 64259694Spfg 65258428Spfg2007-03-12 Seongbae Park <seongbae.park@gmail.com> (r122851) 66258428Spfg 67258428Spfg * decl.c (compute_array_index_type): New warning flag warn_vla. 68258428Spfg 69260074Spfg2007-01-08 Mark Shinwell <shinwell@codesourcery.com> (r120572) 70258428Spfg 71260074Spfg * call.c (standard_conversion): Pass flag to 72260074Spfg vector_types_convertible_p to disallow emission of note. 73260074Spfg * typeck.c (convert_for_assignment): Pass flag to 74260074Spfg vector_types_convertible_p to allow emission of note. 75260074Spfg (ptr_reasonably_similar): Pass flag to vector_types_convertible_p 76260074Spfg to disallow emission of note. 77260074Spfg 78260074Spfg2007-01-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> (r120558) 79260074Spfg 80258428Spfg PR c++/28986 81258428Spfg * typeck.c (build_binary_op): Call overflow_warning if 82258428Spfg TREE_OVERFLOW_P is true for the result and not for any of the 83258428Spfg operands. 84258428Spfg 85260074Spfg2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> (r120505) 86259584Spfg 87259584Spfg PR c/19978 88259584Spfg * semantics.c (finish_unary_op_expr): Warn only if result 89259584Spfg overflowed and operands did not. 90259584Spfg 91260139Spfg2006-12-01 Geoffrey Keating <geoffk@apple.com> (r119427) 92260139Spfg 93260139Spfg * decl.c (poplevel): Check DECL_INITIAL invariant. 94260139Spfg (duplicate_decls): Preserve DECL_INITIAL when eliminating 95260139Spfg a new definition in favour of an old declaration. 96260139Spfg (start_preparsed_function): Define and document value of 97260139Spfg DECL_INITIAL before and after routine. 98260139Spfg (finish_function): Check DECL_INITIAL invariant. 99260139Spfg * parser.c 100260139Spfg (cp_parser_function_definition_from_specifiers_and_declarator): 101260139Spfg Skip duplicate function definitions. 102260139Spfg 103258428Spfg2006-10-31 Geoffrey Keating <geoffk@apple.com> (r118360) 104258428Spfg 105258428Spfg * name-lookup.c (get_anonymous_namespace_name): New. 106258428Spfg (push_namespace_with_attribs): Use get_anonymous_namespace_name. 107258428Spfg * decl2.c (start_objects): Update for rename of 108258428Spfg get_file_function_name_long. 109