aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2000-12-24Shorten primitive array allocation path:Bryce McKinlay3-6/+26
* decl.c (init_decl_processing): Use _Jv_NewPrimArray not _Jv_NewArray to create new primitive arrays. * expr.c (build_newarray): If generating native code, call soft_newarray_node with a reference to the primitive TYPE identifier instead of type_value. From-SVN: r38482
2000-12-23avr.c (out_movqi_r_mr, [...]): Use %o instead of %4 in output templates...Marek Michalkiewicz2-166/+110
* config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr, out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of %4 in output templates, do not modify operands passed by the caller. From-SVN: r38480
2000-12-23xfailJason Merrill1-0/+3
From-SVN: r38479
2000-12-23Daily bump.Jeff Law2-2/+2
From-SVN: r38478
2000-12-23builtins.def (BUILT_IN_LABS, [...]): Don't define.Joseph Myers4-12/+14
* builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS): Don't define. * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS and BUILT_IN_IMAXABS. * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for builtin labs, llabs and imaxabs. (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS and BUILT_IN_IMAXABS. From-SVN: r38475
2000-12-23c-common.c (builtin_function_2): New function.Joseph Myers2-213/+214
* c-common.c (builtin_function_2): New function. (c_common_nodes_and_builtins): Use it to define each pair (foo, __builtin_foo) of builtins in one place. From-SVN: r38474
2000-12-22* typeck.c (build_binary_op): Fix pmf comparison logic.Jason Merrill1-0/+21
From-SVN: r38473
2000-12-22pt.c (more_specialized): Don't optimize len==0.Jason Merrill1-3/+2
* pt.c (more_specialized): Don't optimize len==0. (fn_type_unification): If we're adding the return type, increase len. From-SVN: r38472
2000-12-22* typeck.c (build_binary_op): Fix pmf comparison logic.Jason Merrill2-15/+26
From-SVN: r38471
2000-12-22* gccbug.in: Add libgcj and preprocessor categories.Joseph Myers2-1/+5
From-SVN: r38470
2000-12-2220001222-1.c: New test.Joseph Myers3-0/+13
* gcc.c-torture/compile/20001222-1.c: New test. * gcc.c-torture/compile/20001222-1.x: Xfail. From-SVN: r38469
2000-12-22Fix error in last changeBernd Schmidt2-1/+6
From-SVN: r38468
2000-12-22Prevent LR from being used by 2nd cond exec pass.Nick Clifton3-21/+50
From-SVN: r38467
2000-12-22Allow the (scratch) frame pointer to be initialised from the stack pointerNick Clifton2-9/+26
plus a constant. From-SVN: r38466
2000-12-22oopsJason Merrill1-3/+3
From-SVN: r38465
2000-12-22call.c (joust): Use DECL_NONSTATIC_MEMBER_FUNCTION_P, not ↵Jason Merrill2-1/+7
DECL_STATIC_FUNCTION_P. * call.c (joust): Use DECL_NONSTATIC_MEMBER_FUNCTION_P, not DECL_STATIC_FUNCTION_P. From-SVN: r38464
2000-12-22Renamer improvements.Bernd Schmidt2-75/+184
From-SVN: r38463
2000-12-22semantics.c (genrtl_finish_function): Don't try to jump to return_label ↵Jason Merrill2-1/+5
unless it exists. * semantics.c (genrtl_finish_function): Don't try to jump to return_label unless it exists. From-SVN: r38461
2000-12-22In partial ordering for a call, ignore parms for which we don't have a real ↵Jason Merrill5-69/+117
argument. In partial ordering for a call, ignore parms for which we don't have a real argument. * call.c (joust): Pass len to more_specialized. (add_template_candidate_real): Strip 'this', pass len. * pt.c (more_specialized): Pass len down. Lose explicit_args parm. (get_bindings_order): New fn. Pass len down. (get_bindings_real): Strip 'this', pass len. (fn_type_unification): Likewise. (type_unification_real): Succeed after checking 'len' args. (most_specialized_instantiation): Lose explicit_args parm. * class.c (resolve_address_of_overloaded_function): Strip 'this', pass len. From-SVN: r38460
2000-12-22Fix typo in ChangeLog.Kaveh Ghazi1-1/+3
From-SVN: r38453
2000-12-22Makefile.in (sched-deps.o, [...]): Fix dependency typo.Kaveh R. Ghazi9-14/+28
* Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo. * fp-bit.h (usi_to_float): Add prototype. * i386.c (file_info_cmp): Likewise. (dwarf2out_line): Hide variable `old_in_use'. * objc-act.c (objc_fatal): Delete. * sched-vis.c (visualize_stall_cycles): Remove unused variable. * system.h (getopt): Fix error in last change. * varasm.c (assemble_trampoline_template): Constify. From-SVN: r38452
2000-12-22* collect2.c (main): Use auto_demangling.Jason Merrill2-15/+19
From-SVN: r38451
2000-12-22* gcc.c-torture/execute/comp-goto-2.c: New test.Alexandre Oliva2-0/+40
From-SVN: r38447
2000-12-22Daily bump.Jeff Law2-2/+2
From-SVN: r38446
2000-12-22function.c (assign_parms): Update parm's DECL_INCOMING_RTL when optimizing ↵Alexandre Oliva2-0/+6
PARALLEL to REG. * function.c (assign_parms): Update parm's DECL_INCOMING_RTL when optimizing PARALLEL to REG. From-SVN: r38444
2000-12-22reload.c (update_auto_inc_notes): New, broken out from ...Graham Stott2-22/+42
* reload.c (update_auto_inc_notes): New, broken out from ... (find_reloads_address_1): ... use here, also correct possible use of uninitialised reloadnum. From-SVN: r38441
2000-12-21freebsd.h (LIB_SPEC): remove -kthread option.David O'Brien2-9/+14
2000-12-21 David O'Brien <obrien@FreeBSD.org> * config/freebsd.h (LIB_SPEC): remove -kthread option. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20001220004807.C20358@redhat.com> From-SVN: r38435
2000-12-21* gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.J"orn Rennecke2-0/+6
From-SVN: r38433
2000-12-21comp-goto-1.c (uint32, sint32): Use long types if __INT_MAX__ is 32767.J"orn Rennecke2-1/+12
* gcc.c-torture/execute/comp-goto-1.c (uint32, sint32): Use long types if __INT_MAX__ is 32767. (main): Use cast to (sint32 *) when poking 88 into a_page. From-SVN: r38431
2000-12-21resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and ↵Michael Hayes3-3/+12
POST_MODIFY cases. * resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY cases. * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY. From-SVN: r38429
2000-12-21* md.texi (Looping Patterns): New node.Michael Hayes2-0/+151
From-SVN: r38427
2000-12-21gcc.texi, cpp.texi: Update last-updated dates.Joseph Myers8-6/+17
* gcc.texi, cpp.texi: Update last-updated dates. f: * g77install.texi, g77.texi: Update last-updated dates for installation information and the manual as a whole. * bugs.texi, news.texi: Update copyright years in the comments at the top of the file. From-SVN: r38426
2000-12-21* g77install.texi: Adjust wording of an EGCS reference.Joseph Myers2-1/+5
From-SVN: r38425
2000-12-21* BUGS, NEWS: Regenerate.Joseph Myers3-91/+98
From-SVN: r38424
2000-12-21varasm.c (output_addressed_constants): Use language specific expander on ↵Chandrakala Chavva2-0/+10
unknown nodes. * varasm.c (output_addressed_constants): Use language specific expander on unknown nodes. From-SVN: r38423
2000-12-21* combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.Graham Stott2-0/+13
From-SVN: r38422
2000-12-21ia64 specific scheduling bitsBernd Schmidt8-242/+1674
From-SVN: r38419
2000-12-21dwarf2out.c (simple_decl_align_in_bits): newDJ Delorie2-13/+36
* dwarf2out.c (simple_decl_align_in_bits): new (field_byte_offset): Try both the type align and the decl align, use whichever works, preferring the type align. From-SVN: r38418
2000-12-21pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not DECL_TEMPLATE_RESULT.Jason Merrill17-81/+164
* pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not DECL_TEMPLATE_RESULT. * search.c (lookup_field_r): Call lookup_fnfields_1, not lookup_fnfields_here. * parse.y (typename_sub2): Return the TYPE_DECL, not the type. * call.c (build_object_call): Also allow conversions that return reference to pointer to function. (add_conv_candidate): Handle totype being ref to ptr to fn. (build_field_call): Also allow members of type reference to function. Lose support for calling pointer to METHOD_TYPE fields. * error.c (dump_expr): Handle *_CAST_EXPR. * typeck2.c (build_scoped_ref): Always convert to the naming class. * tree.c (break_out_cleanups): Lose. * cp-tree.h: Remove prototype. * typeck.c (build_component_ref): Don't break_out_cleanups. (build_compound_expr): Likewise. * semantics.c (finish_expr_stmt): Likewise. From-SVN: r38417
2000-12-21* gccbug.in: Fix typo.Joseph Myers2-1/+5
From-SVN: r38416
2000-12-21New testcaseBernd Schmidt2-0/+8
From-SVN: r38415
2000-12-21New compilation test case.Bernd Schmidt2-0/+74
From-SVN: r38414
2000-12-21Daily bump.Jeff Law2-2/+2
From-SVN: r38413
2000-12-21Makefile.in (gcc_gxx_target_include_dir): Use instead of build_tooldir and ↵Benjamin Kosnik2-3/+8
libstdcxx_incdir. 2000-12-20 Benjamin Kosnik <bkoz@redhat.com> * Makefile.in (gcc_gxx_target_include_dir): Use instead of build_tooldir and libstdcxx_incdir. From-SVN: r38412
2000-12-21haifa-sched.c (schedule_block): Provide empty source statement if not ↵Robert Lipe2-0/+6
MD_SCHED_REORDER2. * haifa-sched.c (schedule_block): Provide empty source statement if not MD_SCHED_REORDER2. From-SVN: r38411
2000-12-20rtl.h (REG_NON_LOCAL_GOTO): New.Richard Henderson6-9/+49
* rtl.h (REG_NON_LOCAL_GOTO): New. * rtl.c (reg_note_name): Update. * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note. * builtins.c (expand_builtin_longjmp): Likewise. * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do not emit an edge. From-SVN: r38408
2000-12-20crash36.C: Update error lines.Richard Henderson3-4/+9
* g++.old-deja/g++.pt/crash36.C: Update error lines. * g++.old-deja/g++.robertl/eb109.C: Likewise. From-SVN: r38407
2000-12-20avr.c (out_movsi_r_mr, [...]): Do not output undefined opcodes where source ↵Marek Michalkiewicz3-29/+135
or destination register overlaps... * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r): Do not output undefined opcodes where source or destination register overlaps with modified pointer register. Handle (X + d) addresses. * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length in alternatives with memory operand. From-SVN: r38405
2000-12-20c-typeck.c (build_asm_stmt): New, broken out from ...Richard Henderson7-100/+179
* c-typeck.c (build_asm_stmt): New, broken out from ... (c_expand_asm_operands): ... here. Just do rtl expansion. (c_expand_return): Return the new stmt node. (c_start_case, do_case): Likewise. * c-common.c (c_expand_expr_stmt): Likewise. * c-common.h: Update declarations. * c-tree.h: Likewise. * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY. * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace. (nested_function, notype_nested_function): Likewise. (compstmt): Return the compound statement not the binding level. (lineno_labeled_stmt): Simplify. (lineno_stmt, lineno_label): Set STMT_LINENO. (stmt, label): Return the new stmt node. From-SVN: r38402
2000-12-20cp-tree.h: Update declarations.Richard Henderson5-83/+129
* cp-tree.h: Update declarations. * decl.c (finish_case_label): Return the new stmt node. * semantics.c (finish_goto_stmt): Likewise. (finish_expr_stmt, finish_return_stmt): Likewise. (finish_break_stmt, finish_continue_stmt): Likewise. (finish_asm_stmt): Likewise. * parse.y (already_scoped_stmt): Set STMT_LINENO. (compstmt, implicitly_scoped_stmt, stmt): Likewise. (simple_if, simple_stmt): Return the new stmt node. (save_lineno): New. From-SVN: r38401