Age | Commit message (Collapse) | Author | Files | Lines |
|
to it.
2003-04-06 Steven Bosscher <steven@gcc.gnu.org>
* hashtable.c (gcc_obstack_init): Delete this function
and everything related to it.
* hashtable.h: Remove prototype.
* bitmap.c (bitmap_element_allocate): Cleanup redundant
defines. Cleanup some unnecessary whitespace.
* defaults.h (obstack_chunk_alloc): Redefine with
appropriate casts for libiberty obstacks.
(obstack_chunk_free): Ditto.
(OBSTACK_CHUNK_SIZE): Define, default to 0.
(gcc_obstack_init): Define as a call to _obstack_begin.
* tree.c (print_obstack_statistics): Delete this unused
function.
* tree.h (obstack): Don't forward-declare.
(print_obstack_statistics): Delete prototype.
(print_obstack_name): Ditto.
(gcc_obstack_init): Ditto.
* rtl.h (gcc_obstack_init): Ditto.
* java/jv-scan.c (gcc_obstack_init): Delete this
function, its prototype and related defines.
* java/jvgenmain.c (gcc_obstack_init): Delete this
function, and related defines.
* java/parse-scan.y (obstack_chunk_alloc): Don't define.
(obstack_chunk_free): Ditto
From-SVN: r65308
|
|
DBX_DEBUGGING_INFO.
* dbxout.c (dbxout_handle_pch): Move prototype out from
#if defined DBX_DEBUGGING_INFO.
From-SVN: r65307
|
|
2003-04-06 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java:
Import classes directly.
(URLConnection): Merged class documentation with classpath.
(url): Moved, documentation from classpath added.
(doInput): Moved, documentation from classpath added.
(doOutput): Moved, documentation from classpath added.
(allowUserInteraction): Moved.
(useCaches): Moved, documentation from classpath added.
(ifModifiedSince): Moved, documentation from classpath added.
(connected): Moved, documentation from classpath added.
From-SVN: r65301
|
|
* java/io/FileInputStream.java
(skip): Renamed some variables to match classpath, added
checks from classpath.
From-SVN: r65300
|
|
. * gcov.c (struct arc_info): Replace local_span with cycle.
(struct block_info): Replace u.span with u.cycle. Add is_call_return.
(solve_flow_graph): Set is_call_return.
(add_line_counts): Adjust. In block mode, blocks attach to last line.
(accumulate_line_counts): Find graph cycles, not spanning tree.
(output_branch_count): Adjust.
(output_lines): Adjust.
* doc/gcov.texi: Update.
testsuite:
* gcc.misc-test/gcov-9.c: New test.
* gcc.misc-test/gcov-10.c: New test
* gcc.misc-test/gcov-11.c: New test.
From-SVN: r65299
|
|
* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
the second alternative to "#".
From-SVN: r65295
|
|
* config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
(single_zero_operand): Likewise.
From-SVN: r65291
|
|
From-SVN: r65287
|
|
PR optimization/10024
* gcc.c-torture/compile/20030405-1.c: New test.
From-SVN: r65280
|
|
From-SVN: r65279
|
|
2003-04-05 Daniel Berlin <dberlin@dberlin.org>
* Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.
* df.c: Include alloc-pool.h, not obstack.h.
(df_ref_obstack): Remove.
(df_ref_pool, df_link_pool): Add pools.
(df_alloc): Init the new pools.
(df_free): And free them.
(df_link_create): Use the pools.
(df_ref_create): Ditto.
From-SVN: r65276
|
|
From-SVN: r65275
|
|
2003-04-05 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
reg with reg1 == reg2 and offset1 = -8.
2003-04-05 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
multiply costs. Correct Power4 divide costs.
* config/rs6000/power4.md: Restore multiply and FP latency.
From-SVN: r65274
|
|
* decl.c (set_current_binding_level): Delete, revert last change.
(current_binding_level): Modify to allow it as as lvalue.
From-SVN: r65273
|
|
* alias.c (find_base_term): Export.
* rtl.h (find_base_term): Declare.
* gcse.c (find_moveable_store): Test for flag_non_call_exceptions
instead of flag_exceptions. Move test for parameter passing ...
(store_killed_in_insn): ... here.
From-SVN: r65272
|
|
PR bootstrap/10267
* doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
for configuring.
From-SVN: r65270
|
|
2003-04-04 Geoffrey Keating <geoffk@apple.com>
* dbxout.c (scope_labelno): Add GTY.
(have_used_extensions): Add GTY.
(source_label_number): Add GTY.
(lastfile): Add GTY.
(lastfile_is_base): New.
(base_input_file): New.
(dbxout_handle_pch): New.
(dbx_debug_hooks): Add handle_pch.
(xcoff_debug_hooks): Likewise.
(dbxout_function_end): Remove scope_labelno.
(dbxout_init): Set base_input_file.
(dbxout_handle_pch): New.
(dbxout_source_file): Honour lastfile_is_base.
* dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
* sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
* vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
* dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
* debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
* debug.h (struct gcc_debug_hooks): Add handle_pch.
* c-pch.c (pch_init): Don't call start_source_file, but do call
handle_pch.
(c_common_write_pch): Call handle_pch.
(c_common_read_pch): Don't call start_source_file,
or end_source_file.
Index: gcc/testsuite/ChangeLog
2003-04-04 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/pch/static-3.c: New.
* gcc.dg/pch/static-3.hs: New.
* gcc.dg/pch/pch.exp: Test with -O0 -g too.
From-SVN: r65266
|
|
From-SVN: r65264
|
|
* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
* g++.dg/eh/forced2.C: Likewise.
From-SVN: r65263
|
|
From-SVN: r65262
|
|
From-SVN: r65255
|
|
default attributes to agree MEM_ALIGN...
* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
use of default attributes to agree MEM_ALIGN macro.
From-SVN: r65254
|
|
POP_TIMEVAR_AND_RETURN.
* name-lookup.c (find_binding): Pass appropriate pointer type to
POP_TIMEVAR_AND_RETURN.
From-SVN: r65253
|
|
are printed in octal format...
* dbxout.c (dbxout_type): When printing type index of range type
whose bounds are printed in octal format, print type of parent type if
it exists so enumerated type descriptions are not transformed
into unsigned types.
From-SVN: r65252
|
|
* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_cc.
* config/h8300/h8300.c (shift_one): Update the CC status.
(shift_two): Likewise.
(output_a_shift_cc): Set cc_inline and cc_special.
(compute_a_shift_cc): New.
* config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.
From-SVN: r65251
|
|
From-SVN: r65249
|
|
* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
* fixinc/fixincl.x: Rebuilt.
* fixinc/tests/base/stdio.h: Regenerated.
From-SVN: r65248
|
|
From-SVN: r65245
|
|
From-SVN: r65243
|
|
2003-04-04 Jerry Quinn <jlquinn@optonline.net>
* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
initialization.
From-SVN: r65242
|
|
* sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
(NORMAL_MODE).
* sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.
From-SVN: r65241
|
|
* doc/contrib.texi (Contributors): Add entries for Wolfgang
Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
Danny Smith, and Ulrich Weigand.
Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
entry.
From-SVN: r65238
|
|
config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO.
From-SVN: r65237
|
|
not being used.
(expand_prologue): Only use register save helper functions if long calls are
not being used.
Add a clobber of r11 id using long calls.
(prolog pattern): Do not use this pattern for v850e's.
From-SVN: r65236
|
|
PCC_BITFIELD_TYPE_MATTERS is defined but...
* stor-layout.c (layout_decl): Avoid syntax error in last change
when PCC_BITFIELD_TYPE_MATTERS is defined but not
EMPTY_FIELD_BOUNDARY.
From-SVN: r65234
|
|
From-SVN: r65231
|
|
From-SVN: r65230
|
|
PR c/10175
* jump.c (never_reached_warning): Revert patch of 2002-11-02.
Look backwards for a line note.
From-SVN: r65229
|
|
PR c/10175
* jump.c (never_reached_warning): Revert patch of 2002-11-02.
Look backwards for a line note.
From-SVN: r65227
|
|
* gcc.dg/asm-fs-1.c: Expect failure on darwin.
* lib/scanasm.exp (scan-assembler): Add xfail processing for
target arg.
(scan-assembler-times, scan-assembler-not): Likewise.
(scan-assembler-dem, scan-assembler-dem-not): Likewise.
From-SVN: r65225
|
|
From-SVN: r65224
|
|
* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.
From-SVN: r65217
|
|
From-SVN: r65216
|
|
* cpppch.c (reset_ht): Remove.
(cpp_read_state): Remove loop to reset hashtable identifiers.
* ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
after pch file is written.
* ggc.h (gt_pch_fixup_stringpool): Declare.
* stringpool.c (ht_copy_and_clear): Define. Callback. Copy
hashnode's value to another hashtable, then clear the original.
(saved_ident_hash): Define.
(gt_pch_save_stringpool): Create saved_ident_hash, use it to
store definitions in ident_hash, and clear ident_hash.
(gt_pch_fixup_stringpool): Define. Restore definitions from
saved_ident_hash to ident_hash, then destroy saved_ident_hash.
From-SVN: r65215
|
|
From-SVN: r65214
|
|
TREE_ADDRESSABLE type.
* cvt.c (ocp_convert): Only abort if we try to convert an object
of TREE_ADDRESSABLE type.
From-SVN: r65212
|
|
extract_insn, at recog.c:2188)
PR optimization/10157
* gcse.c (can_copy_p): Rename it to can_copy.
(can_copy_init_p): Remove.
(compute_can_copy): Use can_copy instead of can_copy_p.
(can_copy_p): New exported function. Call compute_can_copy.
(hash_scan_set): Use it.
(gcse_main): Don't call compute_can_copy.
(bypass_jumps): Don't call compute_can_copy.
* rtl.h (can_copy_p): Declare.
* loop.c (scan_loop): Don't move the source and add a reg-to-reg
copy if the mode doesn't support copy operations.
From-SVN: r65210
|
|
From-SVN: r65209
|
|
* dwarf2out.c (lookup_filename): Don't check for "<internal>".
(dwarf2out_source_line): Don't do anything if line==0.
From-SVN: r65208
|
|
* stor-layout.c (do_type_align): New fn, split out from...
(layout_decl): ...here. Do all alignment calculations for
FIELD_DECLs here.
(update_alignment_for_field): Not here.
(start_record_layout, debug_rli): Remove unpadded_align.
* tree.h (struct record_layout_info_s): Remove unpadded_align.
* c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
or DECL_MODE on the CONST_DECLs.
(finish_struct): Don't mess with DECL_ALIGN.
* cp/class.c (build_vtable): Set DECL_ALIGN here.
(get_vtable_decl): Not here.
(layout_vtable_decl): Or here.
(create_vtable_ptr): Or here.
(layout_class_type): Or here.
(check_bitfield_decl): Don't mess with field alignment.
* ada/misc.c (gnat_adjust_rli): #if 0.
From-SVN: r65207
|