- 18 Jul, 1998 4 commits
-
-
From-SVN: r21275
Marc Lehmann committed -
From-SVN: r21274
Mark Mitchell committed -
* decl.c (lookup_name_real): Pull out single function here. (select_decl): Not here. (unqualified_namespace_lookup): Use CP_DECL_CONTEXT. From-SVN: r21268
Jason Merrill committed -
From-SVN: r21267
Jeff Law committed
-
- 17 Jul, 1998 12 commits
-
-
From-SVN: r21266
Jason Merrill committed -
* pt.c (lookup_template_class): Don't mess with the context of the instantiation. * decl2.c (current_decl_namespace): Remove special handling for templates. From-SVN: r21265
Jason Merrill committed -
* alloca.c: Respect USE_C_ALLOCA. * gencheck.c (xmalloc): Ignore __GNUC__ for definition. * gengenrtl.c (xmalloc): Likewise. From-SVN: r21264
Richard Henderson committed -
* loop.h (struct induction): Add no_const_addval. * loop.c (the_movables, reg_address_cost): New variables. (init_loop): Init reg_address_cost. (loop_optimize): Call end_alias_analysis. (scan_loop): Init the_movables. (record_giv): Init induction->no_const_addval. (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==. [REG]: Rearrange loop search test to catch more cases. (general_induction_var): Return success not benefit; take an extra argument for that. Change all callers. (simplify_giv_expr) [PLUS]: Always combine invariants. Use sge_plus. [MULT]: Use rtx_equal_p instead of ==. Combine simple invariants. [default]: Search the_movables for additional combinations. (sge_plus_constant, sge_plus): New functions. (express_from_1): New function. (express_from): Always define. Rewrite using express_from_1. (combine_givs_p): Handle more cases. Ignore address cost. (cmp_combine_givs_stats): New function. (combine_givs_used_once, combine_givs_benefit_from): New functions. (combine_givs): Rewrite to do best-fit combination. * fold-const.c (operand_equal_p): Handle RTL_EXPR. (fold): Do a complete (A*C)+(B*C) association check. From-SVN: r21263
Richard Henderson committed -
From-SVN: r21262
Nick Clifton committed -
* function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT. From-SVN: r21251
Jim Wilson committed -
From-SVN: r21249
Jeffrey A Law committed -
* pt.c (tsubst, case FUNCTION_DECL): Fix getting complete args for a member template specialization. * tree.c (ovl_member): Use decls_match to compare functions. * decl.c (decls_match): Check the context of a function. From-SVN: r21248
Jason Merrill committed -
* tree.c (valid_machine_attribute): Only create a new type variant if there is a decl to use it. From-SVN: r21247
Richard Earnshaw committed -
* parse.y (primary): Use notype_unqualified_id instead of IDENTIFIER in Koenig lookup support rules. * semantics.c (finish_call_expr): Handle the new cases. * typeck.c (build_x_function_call): Handle overloaded methods. * decl.c (grokvardecl): Don't call build_static_name for extern "C". From-SVN: r21245
Jason Merrill committed -
* tmap.cc: Use less<int>. * tlist.cc (main): Use remove_if. From-SVN: r21244
Jason Merrill committed -
From-SVN: r21241
Jeff Law committed
-
- 16 Jul, 1998 24 commits
-
-
1998-07-16 Mark Mitchell <mark@markmitchell.com> * semantics.c (finish_object_call_expr): Revert previous change. * call.c (build_new_method_call): Likewise. Instead, convert TYPE_DECLs to IDENTIFIERs here, in the presence of templates. From-SVN: r21240
Mark Mitchell committed -
* (ffecom_finish_symbol_transform_): Revert change of 1998-05-23, as it was too aggressive, in that it prevented transformation of (used) functions before primary code generation. From-SVN: r21236
Jeff Law committed -
d * (ffecom_finish_symbol_transform_): Revert change of 1998-05-23, as it was too aggressive, in that it prevented transformation of (used) functions before primary code generation. From-SVN: r21235
Craig Burley committed -
� * (ffecom_finish_symbol_transform_): Revert change of 1998-05-23, as it was too aggressive, in that it prevented transformation of (used) functions before primary code generation. From-SVN: r21234
Craig Burley committed -
From-SVN: r21233
Jeff Law committed -
8 * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. From-SVN: r21229
Nick Clifton committed -
� * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have a suffix. From-SVN: r21228
Nick Clifton committed -
From-SVN: r21224
Jeffrey A Law committed -
* decl.c (qualify_lookup): Handle templates. * decl2.c (do_using_directive): Don't pass ancestor. * decl.c (push_using_directive): Calculate ancestor. * decl2.c (do_nonmember_using_decl): Allow for type shadowing. * decl.c (pushdecl): Move type shadowing handling from here... (duplicate_decls): ...to here. * decl.c (set_identifier_local_value_with_scope): New fn. (pushdecl): Use it. (set_identifier_local_value, lookup_type_current_level): New fns. * decl2.c (do_local_using_decl): Handle types and binding level stuff properly. From-SVN: r21223
Jason Merrill committed -
From-SVN: r21222
Jeffrey A Law committed -
( * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may be deleted" From-SVN: r21221
Hans-Peter Nilsson committed -
* extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may be deleted" From-SVN: r21220
Hans-Peter Nilsson committed -
* init.c (build_offset_ref): Don't call mark_used on an OVERLOAD. * decl.c (select_decl): Extract a lone function from an OVERLOAD. (lookup_namespace_name): Likewise. * typeck.c (build_unary_op): Not here anymore. * decl2.c (do_class_using_decl): Make sure we get an identifier. * class.c (handle_using_decl): Ignore TYPE_DECLs. From-SVN: r21219
Jason Merrill committed -
* decl.c (qualify_lookup): New fn. (lookup_name_real): Use it. * decl2.c (add_using_namespace): When directly using a namespace that was indirect before, promote it. * cp-tree.h (LOOKUP_PREFER_TYPES, LOOKUP_PREFER_NAMESPACES, LOOKUP_PREFER_BOTH, LOOKUP_NAMESPACES_ONLY, LOOKUP_TYPES_ONLY, LOOKUP_QUALIFIERS_ONLY, LOOKUP_TEMPLATES_EXPECTED): New macros. * decl.c (select_decl): Replace two flag parameters by one. (unqualified_namespace_lookup): Likewise, pass flag. (lookup_flags): New function. (lookup_name_real): Compute flags, pass them. (lookup_namespace_name): Call with zero-flag. * decl2.c (ambiguous_decl): Add flag parameter, complain only according to flags. (lookup_using_namespace, qualified_lookup_using_namespace): Add flag parameter, pass them through. * lex.c (do_scoped_id): Call with zero-flag. From-SVN: r21218
Jason Merrill committed -
From-SVN: r21216
Jason Merrill committed -
* mn10300.c (count_tst_insns): New arg oreg_countp. Callers changed. Simplify tests for clearing an address register. (expand_prologue): Corresponding changes. From-SVN: r21215
Jeffrey A Law committed -
* mn10300.md (movXX patterns): Make sure the destination is an ADDRESS_REG when substituting "zero_areg" for (const_int 0). (logical patterns): Split into expanders + patterns (zero and sign extension patterns): Similarly. (shift patterns): Similarly. From-SVN: r21214
Jeffrey A Law committed -
1998-07-16 Mark Mitchell <mark@markmitchell.com> * semantics.c (finish_object_call_expr): Move test for the function called being a TYPE_DECL to ... * call.c (build_new_method_call): Here. From-SVN: r21213
Mark Mitchell committed -
From-SVN: r21212
Martin v. Löwis committed -
From-SVN: r21211
Jeff Law committed -
loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values. 8 * loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values. From-SVN: r21208
Richard Henderson committed -
loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values. � * loop.c (emit_iv_add_mult): Scan the entire insn list generated for the sequence, recording base values. From-SVN: r21207
Richard Henderson committed -
* decl2.c (arg_assoc_class): Also look at template arguments, if any. (arg_assoc): Handle error_mark_node and multiple levels of TREE_LIST. * lex.c (looking_for_typename): Don't initialize. * decl2.c (ambiguous_decl): Clarify error message. * decl.c (push_using_directive): Iterate over namespaces used indirectly. From-SVN: r21205
Jason Merrill committed -
* g2c.hin: Renamed from g2c.h.in. * Makefile.in, configure.in: Changed as needed. * configure: Rebuilt. * libU77/config.hin: Renamed from libU77/config.h.in. * Makefile.in, configure.in: Changed as needed. * configure: Rebuilt. From-SVN: r21202
Jeffrey A Law committed
-