aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-06-21indirect_array.h (indirect_array<>::operator=): Make copy and assignment ↵Gabriel Dos Reis3-369/+415
operator public. * include/bits/indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public. Implement. Format. * include/bits/valarray_array.h (__valarray_copy): Add overloads for copy between index arrays. Format. From-SVN: r43483
2001-06-21Daily bump.GCC Administrator5-5/+5
From-SVN: r43482
2001-06-20class.c (java_hash_tree_node): Fixed indentation in leading comment.Alexandre Petit-Bianco3-17/+43
2001-06-20 Alexandre Petit-Bianco <apbianco@redhat.com> * class.c (java_hash_tree_node): Fixed indentation in leading comment. * parse.y (do_resolve_class): Moved comments out to leading comment section. Removed local `start', New local `_ht' and `circularity_hash.' Record `enclosing' in hash table and search it to detect circularity. Use `enclosing' as an argument to `lookup_cl.' Free the hash table when done. (http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01318.html ) From-SVN: r43480
2001-06-21c-tree.texi, [...]: Consistently use "front end" and "back end" as nouns and ↵Joseph Myers9-47/+54
"front-end" and... * doc/c-tree.texi, doc/contrib.texi, doc/extend.texi, doc/gcc.texi, doc/install-old.texi, doc/install.texi, doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and "back end" as nouns and "front-end" and "back-end" as adjectives. From-SVN: r43479
2001-06-20* predict.c (estimate_probability): Fix loop bounds.Jan Hubicka2-2/+6
From-SVN: r43478
2001-06-20toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs.Jan Hubicka2-1/+14
* toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs. From-SVN: r43477
2001-06-20predict.c (estimate_loops_at_level, [...]): New functions.Jan Hubicka3-0/+291
* predict.c (estimate_loops_at_level, propagate_freq estimate_bb_frequencies, count_to_freqs): New functions. (estimate_probability): Call estimate_bb_frequencies. * basic-block.h (basic_block_def): Add field "freq". (BB_FREQ_MAX): New constant. From-SVN: r43476
2001-06-20re PR java/2319 (invalid UTF-8 sequences should be rejected)Tom Tromey2-10/+28
* lex.c (java_read_char): Disallow invalid and overlong sequences. Fixes PR java/2319. From-SVN: r43475
2001-06-20sh.c (barrier_align): Don't ask for alignment when seeing a ↵J"orn Rennecke2-1/+14
branch-around-a-jump from... * sh.c (barrier_align): Don't ask for alignment when seeing a branch-around-a-jump from machine_dependent_reorg. From-SVN: r43474
2001-06-20ssa.c (rename_block): Update parameter to remove_phi_alternativeJeffrey A Law2-3/+9
* ssa.c (rename_block): Update parameter to remove_phi_alternative (convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when re-running life analysis. From-SVN: r43473
2001-06-20objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to ↵Stan Shebs2-21/+13
clear the hash tables. * objc/objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to clear the hash tables. (hash_enter): Assume xmalloc always succeeds. (hash_add_attr): Ditto. (continue_class): Ditto. From-SVN: r43472
2001-06-20Fix __builtin_expect on PowerPCsMichael Meissner5-3/+164
From-SVN: r43470
2001-06-20Daily bump.GCC Administrator5-5/+5
From-SVN: r43468
2001-06-20mknumeric_limits: Add static definitions, format.Benjamin Kosnik1-1/+1
2001-06-19 Benjamin Kosnik <bkoz@redhat.com> * mknumeric_limits: Add static definitions, format. * testsuite/18_support/numeric_limits.cc (test02): Add test. * include/c_std/bits/std_cwchar.h: Include ctime. * testsuite/17_intro/header_cwchar.cc : Check. * include/c_std/bits/std_cwctype.h: Inject wctype. * testsuite/17_intro/header_cwctype.cc: Update. From-SVN: r43467
2001-06-20mknumeric_limits: Add static defintions, format.Benjamin Kosnik7-62/+207
2001-06-19 Benjamin Kosnik <bkoz@redhat.com> * mknumeric_limits: Add static defintions, format. * testsuite/18_support/numeric_limits.cc (test02): Add test. * include/c_std/bits/std_cwchar.h: Include ctime. * testsuite/17_intro/header_cwchar.cc : Check. * include/c_std/bits/std_cwctype.h: Inject wctype. From-SVN: r43466
2001-06-19rtl.texi (Machine Modes): Correct description of floating-point modes on ↵Geoffrey Keating2-10/+19
machines with non-8-bit bytes. * doc/rtl.texi (Machine Modes): Correct description of floating-point modes on machines with non-8-bit bytes. From-SVN: r43465
2001-06-19ssa.c (remove_phi_alternative): Remove declaration.Jeffrey A Law3-14/+26
* ssa.c (remove_phi_alternative): Remove declaration. No longer static. Second argument is a pointer to a basic block structure, not a basic block index. (convert_to_ssa): Do not remove dead code. (convert_from_ssa): Do not remove dead code to create death notes. * ssa.h (remove_phi_alternative): Declare. From-SVN: r43464
2001-06-19flow.c (delete_unreachable_blocks): Fix patch error in previous change (call ↵Jeffrey A Law2-0/+5
to find_unreachable_blocks was lost). * flow.c (delete_unreachable_blocks): Fix patch error in previous change (call to find_unreachable_blocks was lost). From-SVN: r43463
2001-06-19Fix incorrect note handling.Bernd Schmidt2-0/+15
From-SVN: r43462
2001-06-19ssa.c (ssa_uses): Remove definition.Jeffrey A Law2-7/+6
* ssa.c (ssa_uses): Remove definition. (apply_delayed_renames): Don't grow ssa_uses. (rename_block): Remove comment related to ssa_uses. (rename_registers): Do not initialize ssa_uses. (convert_from_ssa): Do not free ssa_uses. From-SVN: r43460
2001-06-19Makefile.in (OBJS): Replace dce.o with ssa-dce.oJeffrey A Law2-2/+5
* Makefile.in (OBJS): Replace dce.o with ssa-dce.o (dependencies): Replace dce.c with ssa-dce.c and dce.o with ssa-dce.o. From-SVN: r43459
2001-06-19* POTFILES.in: Replace dce.c with ssa-dce.c.Jeffrey A Law2-1/+5
From-SVN: r43458
2001-06-19* ssa-dce.c: Renamed from dce.c.Jeffrey A Law2-0/+4
From-SVN: r43457
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-19BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed ↵Mark J. Roberts2-5/+6
sign word. 2001-06-19 Mark J. Roberts <mjr@statesmean.com> * java/math/BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed sign word. From-SVN: r43455
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 Administrator5-5/+5
From-SVN: r43453
2001-06-19stl_raw_storage_iter.h: Format.Benjamin Kosnik7-159/+507
2001-06-18 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_raw_storage_iter.h: Format. Correct derivation. * testsuite/20_util/raw_storage_iterator.cc: Same. * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to operator new. (__mem_interface): New typedef for switching between malloc and new. * testsuite/20_util/allocator_members.cc: New file. * testsuite/20_util/comparisons.cc: New file. * testsuite/20_util/pairs.cc: New file. From-SVN: r43451
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-18* concat.c: Include <sys/types.h>.Richard Henderson2-0/+5
From-SVN: r43449
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 Administrator5-5/+5
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 Administrator5-5/+5
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 Administrator5-5/+5
From-SVN: r43416
2001-06-15* jni.cc (_Jv_JNI_NewLocalRef): Search other frames.Tom Tromey2-8/+19
From-SVN: r43415
2001-06-15cpp.texi: Update.Neil Booth3-48/+56
* doc/cpp.texi: Update. * doc/cpp.1: Regenerate. From-SVN: r43414
2001-06-15natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the ↵Tom Tromey3-3/+23
list has the symbol. * java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list has the symbol. (init): Call add_library on the program itself. * prims.cc (JvRunMain): Initialize Runtime before searching for `main'. (_Jv_RunMain): Likewise. From-SVN: r43413