aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2001-06-19except.c (initialize_handler_parm): Expect __cxa_begin_catch to return ↵Richard Sandiford3-3/+23
pointers to data members by reference rather... * except.c (initialize_handler_parm): Expect __cxa_begin_catch to return pointers to data members by reference rather than by value. From-SVN: r43456
2001-06-19emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are ↵Eric Christopher2-28/+36
UNITS_PER_WORD and 2*UNITS_PER_WORD. 2001-06-19 Eric Christopher <echristo@redhat.com> * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are UNITS_PER_WORD and 2*UNITS_PER_WORD. Use GET_MODE_BITSIZE instead of GET_MODE_SIZE/UNITS_PER_WORD. From-SVN: r43454
2001-06-19Daily bump.GCC Administrator2-2/+2
From-SVN: r43453
2001-06-19sh.c (output_branch): Delete bogus code.J"orn Rennecke2-25/+17
* sh.c (output_branch): Delete bogus code. * sh.c (initial_elimination_offset): Fix FROM == RETURN_ADDRESS_POINTER_REGNUM case. From-SVN: r43450
2001-06-18flow.c (find_unreachable_blocks): New function.Jeffrey A Law3-7/+20
* flow.c (find_unreachable_blocks): New function. (delete_unreachable_blocks): Use find_unreachable_blocks. * basic-block.h (find_unreachable_blocks): Declare. From-SVN: r43448
2001-06-18* dce.c (eliminate_dead_code): Fix formatting glitch.Jeffrey A Law2-5/+10
From-SVN: r43447
2001-06-18objc.dg: New directory.Stan Shebs11-0/+331
* objc.dg: New directory. * objc.dg/dg.exp: New file. * objc.dg/alias.m: New. * objc.dg/class-1.m: New. * objc.dg/class-2.m: New. * objc.dg/const-str-1.m: New. * objc.dg/const-str-2.m: New. * objc.dg/id-1.m: New. * objc.dg/method-1.m: New. * objc.dg/super-class-1.m: New. * lib/objc-dg.exp: New file. From-SVN: r43446
2001-06-18Implement the Named Return Value optimization.Jason Merrill9-17/+109
* c-common.h (RETURN_NULLIFIED_P): New macro. * c-semantics.c (genrtl_return_stmt): Check it. * cp-tree.h (struct cp_language_function): Add x_return_value. (current_function_return_value): Now a macro. * decl.c: Don't define it. (define_label, finish_case_label): Don't clear it. (init_decl_processing): Don't register it with GC. * semantics.c (genrtl_finish_function): Don't check it for no_return_label. Copy the RTL from the return value to current_function_return_value and walk, calling... (nullify_returns_r): ...this new fn. * typeck.c (check_return_expr): Set current_function_return_value. * expr.c (clear_storage): Set TREE_NOTHROW on the decl for memset. (emit_block_move): Likewise. From-SVN: r43445
2001-06-18unroll.c: Include predict.h.Jan Hubicka7-9/+82
* unroll.c: Include predict.h. (unroll_loop): Drop prediction notes on preconditioning. * predict.def (PRED_LOOP_PRECONDITIONG, PRED_LOOP_CONDITION): New; add comments on the others. * Makefile.in: (unroll.o): Add dependancy on predict.h. * loop.c (strength_reduce): Fix branch prediction. * stmt.c (emit_case_nodes): Optimize test whether index is in given interval. * predict.c (estimate_probability): Do not bail out early when note is present. (combine_predictions_for_insn): Fix note removal code. From-SVN: r43441
2001-06-18tidyJason Merrill1-9/+6
From-SVN: r43440
2001-06-18Daily bump.GCC Administrator2-2/+2
From-SVN: r43433
2001-06-18except.c (resolve_fixup_regions): Initialise "cleanup".Ben Elliston2-1/+5
2001-06-18 Ben Elliston <bje@redhat.com> * except.c (resolve_fixup_regions): Initialise "cleanup". From-SVN: r43432
2001-06-17* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.Neil Booth2-0/+16
From-SVN: r43426
2001-06-17Daily bump.GCC Administrator2-2/+2
From-SVN: r43424
2001-06-16expr.c (expand_expr, [...]): If taking address of SAVE_EXPR, use ↵Richard Kenner2-7/+20
put_var_into_stack. * expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR, use put_var_into_stack. From-SVN: r43423
2001-06-16mangle1.C: Modify regexp to test for `[: \t\n]' at end of label name.John David Anglin2-14/+19
* g++.dg/mangle1.C: Modify regexp to test for `[: \t\n]' at end of label name. From-SVN: r43422
2001-06-16gccspec.c (lang_specific_driver): If compiling ObjC, add -shared-libgcc when ↵Franz Sirl3-2/+74
necessary. 2001-06-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gccspec.c (lang_specific_driver): If compiling ObjC, add -shared-libgcc when necessary. * Makefile.in (gccspec.o): Compile with DRIVER_DEFINES. From-SVN: r43421
2001-06-16bitmap.h: Add dump_bitmap...Daniel Berlin3-2/+60
2001-06-16 Daniel Berlin <dan@cgsoftware.com> * bitmap.h: Add dump_bitmap, bitmap_zero, bitmap_union_of_diffs, bitmap_a_or_b, bitmap_a_and_b, bitmap_first_set_bit, bitmap_last_set_bit. All for compatibility with sbitmap's. *bitmap.c (bitmap_zero): New function. (bitmap_union_of_diffs): New function. (bitmap_first_set_bit): New function. (bitmap_last_set_bit): New function. From-SVN: r43420
2001-06-16cpp.texi, [...]: Update.Neil Booth5-51/+87
* cpp.texi, invoke.texi: Update. * cpp.1, gcc.1: Regenerate. From-SVN: r43419
2001-06-16* i386.md (minsf): Fix splitter. (PR fortran/3191)Jan Hubicka2-2/+6
From-SVN: r43418
2001-06-16Daily bump.GCC Administrator2-2/+2
From-SVN: r43416
2001-06-15cpp.texi: Update.Neil Booth3-48/+56
* doc/cpp.texi: Update. * doc/cpp.1: Regenerate. From-SVN: r43414
2001-06-15* doc/install.texi: Use correct markup hints.Loren J. Rittle2-5/+9
From-SVN: r43411
2001-06-15sv.po: Updated.Dennis Bjorklund2-3917/+9949
2001-06-15 Dennis Bjorklund <db@zigo.dhs.org> * sv.po: Updated. Approximately 1100 of 3600 strings translated. From-SVN: r43410
2001-06-15* function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.Richard Kenner2-1/+6
From-SVN: r43408
2001-06-15* explow.c (expr_size): If DECL and size specified, use it.Richard Kenner2-1/+11
From-SVN: r43407
2001-06-15cpp.texi: Formatting corrections.Zack Weinberg3-467/+426
* doc/cpp.texi: Formatting corrections. Correct buggy example of use of __GNUC__ etc. Clarify $ in identifiers. * doc/cpp.1: Regenerate. From-SVN: r43404
2001-06-15* optabs.c (expand_twoval_binop): Avoid undefined behaviour.Jan Hubicka2-5/+7
From-SVN: r43403
2001-06-15install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc.Rainer Orth2-54/+30
* doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc. spelling. (Specific, alpha-*-osf1): Renamed to alpha*-*-osf*. Added Tru64 UNIX V5.1 bootstrap hints. (Specific, alpha*-*-osf*): Removed old section, obsolete. From-SVN: r43402
2001-06-15install.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0.Andreas Jaeger2-1/+23
* doc/install.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0. From-SVN: r43400
2001-06-15class.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ↵Jason Merrill2-135/+79
ctor vtable with. * class.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ctor vtable with. Merge code for cases 1 and 2. (binfo_ctor_vtable): New fn. (build_vtt_inits, dfs_build_secondary_vptr_vtt_inits): Use it. From-SVN: r43399
2001-06-15combine.c (nonzero_bits): Don't optimize away division by zero.Andrew Haley2-0/+13
2001-06-14 Andrew Haley <aph@redhat.com> * combine.c (nonzero_bits): Don't optimize away division by zero. From-SVN: r43398
2001-06-15add missing functionJason Merrill1-0/+5
From-SVN: r43397
2001-06-15cpp.texi: Revised and brought up to date.Zack Weinberg1-444/+449
* doc/cpp.texi: Revised and brought up to date. * doc/cpp.1: Regenerate. [[Split portion of a mixed commit.]] From-SVN: r43395.2
2001-06-15cpp.texi: Revised and brought up to date.Zack Weinberg2-2428/+2951
* doc/cpp.texi: Revised and brought up to date. * doc/cpp.1: Regenerate. From-SVN: r43394
2001-06-15* doc/install.texi: Update --enable-threads to match reality.Loren J. Rittle2-9/+25
From-SVN: r43393
2001-06-15Daily bump.GCC Administrator2-2/+2
From-SVN: r43392
2001-06-15* README.C4X: Remove (finally...).Michael Hayes1-48/+0
From-SVN: r43388
2001-06-15install.texi: Update for C4x.Michael Hayes2-1/+33
* doc/install.texi: Update for C4x. * README.C4X: Remove. From-SVN: r43385
2001-06-14c-tree.texi, [...]: Fix spelling and typos.Joseph Myers12-165/+180
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi, doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos. Consistently use "built-in" and "bit-field". Minor logical markup improvements. * doc/gcc.1: Regenerate. From-SVN: r43383
2001-06-14* config/mips/mips.md (exception_receiver): New.Richard Henderson2-1/+26
From-SVN: r43379
2001-06-14gcc.texi: Update passes documentation to be more in tune with reality.Daniel J. Berlin2-34/+153
2001-06-14 Daniel J. Berlin <dan@cgsoftware.com> * doc/gcc.texi: Update passes documentation to be more in tune with reality. From-SVN: r43376
2001-06-14* i386.c (ix86_expand_prologue): Fix merging conflict.Jan Hubicka2-2/+6
From-SVN: r43373
2001-06-14class.c (dfs_find_final_overrider): Fix logic.Jason Merrill6-21/+76
* class.c (dfs_find_final_overrider): Fix logic. * class.c (update_vtable_entry_for_fn): Uncomment optimization to use virtual thunk instead of non-virtual. (get_matching_virtual): Uncomment. * pt.c (unify): Don't recurse between the POINTER_TYPE and the OFFSET_TYPE. If we're adding cv-quals, the extra ones would be on PARM, not ARG. From-SVN: r43372
2001-06-14c-tree.texi, [...]: Use more logical markup.Joseph Myers13-1002/+1014
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi, doc/gcc.texi, doc/gcov.texi, doc/install-old.texi, doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use more logical markup. Use TeX quotes and dashes. Use @dots{} and @minus{}. Avoid spaces inside @var. Update last modification date in gcc.texi. * doc/gcc.1, doc/gcov.1: Regenerate. From-SVN: r43369
2001-06-14class.c (dfs_accumulate_vtbl_inits): For case 2 & 3...Nathan Sidwell4-3/+107
cp: * class.c (dfs_accumulate_vtbl_inits): For case 2 & 3, make sure we've not emerged from the hierarchy of RTTI_BINFO on reaching a non-virtual base. testsuite: * g++.old-deja/g++.abi/vbase8-9.C: New test. From-SVN: r43368
2001-06-14i386.c (x86_accumulate_outgoing_args, [...]): New global variables.Jan Hubicka3-11/+81
* i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move, x86_epilogue_using_move): New global variables. (override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred. (ix86_emit_save_regs_using_mov): New static function. (ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred. * i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE, MASK_MIX_SSE_I387): Renumber. (MASK_NO_ACCUMULATE_OUTGOING_ARGS): New. (x86_accumulate_outgoing_args, x86_prologue_using_move, x86_epilogue_using_move): Declare. (TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New. From-SVN: r43366
2001-06-14Daily bump.GCC Administrator2-2/+2
From-SVN: r43362
2001-06-14Blow away a duplicate definition of "pow()" for C++John David Anglin3-3/+88
From-SVN: r43358
2001-06-13* ifcvt.c (dead_or_predicable): Fix return value last patch.Richard Henderson2-1/+5
From-SVN: r43357