]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agoChange gcov file interface to single file at a time.
Nathan Sidwell [Mon, 7 Apr 2003 19:37:12 +0000 (19:37 +0000)] 
Change gcov file interface to single file at a time.

* gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
Convert to C89 prototypes.
(gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
gcov_error, gcov_modified): New static variables.
(gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
functions.
(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
(gcov_read_summary, gcov_write_summary): Adjust.
(gcov_save_position, gcov_reserve_length, gcov_write_length):
Adjust.
(gcov_resync, gcov_skip, gcov_skip_string): Adjust.
(da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
(da_file_position, da_file_seek, da_file_write, da_file_read):
Remove.
(gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
* gcov.c (gcov_type): Don't typedef here.
(IN_GCOV): #define
(read_graph_file, read_count_file): Adjust.
* gcov-dump.c (gcov_type): Don't typedef here.
(IN_GCOV): #define.
(tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
Remove FILE parameter, adjust.
(struct tag_format): Adjust proc member.
(dump_file): Adjust.
* libgcov.c (IN_LIBGCOV): #define.
(gcov_exit): Adjust.
* loop-init.c: Don't #include gcov-io.h
* profile.c (struct counts_entry): New structure to hold counter
values.
(struct section_reference, struct da_index_entry): Remove.
(bbg_file, da_file): Remove.
(htab_counts_index_hash, htab_counts_index_eq,
htab_counts_index_del): Replace with ...
(htab_counts_entry_hash, htab_counts_entry_eq,
htab_counts_entry_del): ... these.
(cleanup_counts_index, index_counts_file): Remove.
(read_counts_file): New function.
(get_exec_counts): Adjust.
(compute_branch_probabilities): Don't free the exec counts here.
(branch_prob): Adjust.
(init_branch_prob): Adjust.
(end_branch_prob): Adjust.

From-SVN: r65338

22 years agoinvoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs.
Aldy Hernandez [Mon, 7 Apr 2003 18:49:11 +0000 (18:49 +0000)] 
invoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs.

2003-04-07  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (RS/6000 and PowerPC Options): Document
        -mfloat-gprs.

        * config/rs6000/rs6000.c: Delete rs6000_fprs.
        Declare rs6000_float_gprs.
        Declare rs6000_float_gprs_string.
        (rs6000_parse_float_gprs_option): New.
        (rs6000_override_options): Genericize rs6000_parse_* calls to use
        rs6000_parse_yes_no_option.
        Change check for cpu=8540, to use TARGET_E500.
        (rs6000_parse_isel_option): Delete.
        (rs6000_parse_spe_option): Delete.
        (rs6000_parse_vrsave_option): Delete.

        * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
        Define rs6000_float_gprs_string.
        (TARGET_OPTIONS): Add rs6000_float_gprs option.

        * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.

        * config/rs6000/eabispe.h: Set rs6000_float_gprs.

From-SVN: r65336

22 years agore PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)
Jan Hubicka [Mon, 7 Apr 2003 12:36:59 +0000 (14:36 +0200)] 
re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)

PR opt/10024
* cfglayout.c (cfg_layout_redirect_edge):
Redirect any branch edges unified with the fallthru one.
* cfgrtl.c (force_nonfallthru_and_redirect):  Do not special
case fallthru edges when called via cfglayout.c

From-SVN: r65330

22 years ago2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
Aaron M. Renn [Mon, 7 Apr 2003 12:25:08 +0000 (12:25 +0000)] 
2003-04-07  Aaron M. Renn (arenn@urbanophile.com)

* java/io/ObjectStreamException
* java/io/FileFilter
* java/io/FilenameFilter
* java/io/ObjectInput
* java/io/ObjectOutput
* java/io/ObjectStreamConstants
Minor doc fixes, format fixes, spelling corrections, etc.
* java/io/DataInput
Corrected code samples in Javadocs to match reality
* java/io/DataOutput
* java/io/ObjectInputValidation
Major documentation fixes - all Javadocs re-written or updated

From-SVN: r65329

22 years agoc-typeck.c (output_init_element): Check for type == error_mark_node.
J"orn Rennecke [Mon, 7 Apr 2003 11:55:27 +0000 (11:55 +0000)] 
c-typeck.c (output_init_element): Check for type == error_mark_node.

gcc:
* c-typeck.c (output_init_element): Check for type == error_mark_node.
gcc/testsuite:
* gcc.dg/noncompile/init-4.c.c: New test.

From-SVN: r65328

22 years agoh8300.md (*zero_extendqisi2_h8300hs): Always split.
Kazu Hirata [Mon, 7 Apr 2003 10:17:24 +0000 (10:17 +0000)] 
h8300.md (*zero_extendqisi2_h8300hs): Always split.

* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
split.
(a splitter): Do zero-extension via HImode.

From-SVN: r65327

22 years agoinvoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line.
James A. Morrison [Mon, 7 Apr 2003 08:12:41 +0000 (08:12 +0000)] 
invoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line.

* doc/invoke.texi: Eliminate extra white-space caused by
@gccoptlist{ on its own line.
* doc/invoke.texi: Ensured there are two spaces between each option.
* doc/invoke.texi: Re-wrapped option lines that were too wide.
Added @gol to options that didn't have them.

From-SVN: r65326

22 years ago* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
James A Morrison [Mon, 7 Apr 2003 07:31:47 +0000 (07:31 +0000)] 
* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.

From-SVN: r65324

22 years agotree.c (tree_size): For all 'c' and 'x' nodes...
Zack Weinberg [Mon, 7 Apr 2003 06:03:17 +0000 (06:03 +0000)] 
tree.c (tree_size): For all 'c' and 'x' nodes...

        * tree.c (tree_size): For all 'c' and 'x' nodes, look directly
        at the sizes of the relevant structures, rather than relying
        on TREE_CODE_LENGTH.  Call lang_hooks.tree_size to get the
        sizes of any such we don't know about.  Use
        lang_hooks.identifier_size for IDENTIFIER_NODE.

        (initializer_zerop): Use CONSTRUCTOR_ELTS.
        * tree.def: Update commentary.  Make fourth element of
        the definition for all 'c' and 'x' nodes zero.

        * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
        * langhooks-def.h: Update to match.
        * langhooks.c: New default, lhd_tree_size.

        * c-common.def (SRCLOC): Kill.
        * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
        Remove entirely - was already #if-ed out.

ada:
        * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero.
        * misc.c (gnat_tree_size): New function.
        (LANG_HOOKS_TREE_SIZE): Override.
cp:
        * cp-tree.def: Make fourth element for all 'c' and 'x' nodes zero.
        * cp-lang.c (cp_tree_size): New function.
        (LANG_HOOKS_TREE_SIZE): Override.

        * cp-tree.h (SOURCE_LOCUS, SRCLOC_FILE, SRCLOC_LINE, struct
        tree_srcloc, TS_CP_COMMON, TS_CP_SRCLOC): Kill.
        (union lang_tree_node): Remove common and srcloc members.
        (build_srcloc_here): Don't prototype.
        * decl.c (cp_tree_node_structure): Kill SRCLOC case.
        * pt.c (pending_templates): Correct comment.
        * tree.c (build_srcloc, build_srcloc_here): Kill.

From-SVN: r65323

22 years agoOops, this belongs with the previous calls.c commit
Zack Weinberg [Mon, 7 Apr 2003 05:52:07 +0000 (05:52 +0000)] 
Oops, this belongs with the previous calls.c commit

From-SVN: r65322

22 years agomklibgcc.in: Use a here document to avoid running afoul of shells that generate contr...
Zack Weinberg [Mon, 7 Apr 2003 05:34:50 +0000 (05:34 +0000)] 
mklibgcc.in: Use a here document to avoid running afoul of shells that generate control-A...

* mklibgcc.in: Use a here document to avoid running afoul of
shells that generate control-A from "echo \1".

From-SVN: r65321

22 years agocall.c: Include intl.h.
Zack Weinberg [Mon, 7 Apr 2003 05:33:12 +0000 (05:33 +0000)] 
call.c: Include intl.h.

        * call.c: Include intl.h.
        (print_z_candidate): Always use inform; get rid of errfn
        argument. Reorganize so that all the strings get picked up
        by xgettext.  Note obligation of caller to pass first argument
        through gettext.
        (print_z_candidates): Update to match.  Indent second and
        successive candidates by strlen() of translated message.
        (joust): Restructure ambiguous-conversion pedwarn so that
        translators see a complete sentence.  Update calls to
        print_z_candidate.

        * Make-lang.in (cp/call.o): Update dependencies.

From-SVN: r65320

22 years agoinvoke.texi (RS/6000 and PowerPC Options): Document -mspe option.
Aldy Hernandez [Mon, 7 Apr 2003 02:48:54 +0000 (02:48 +0000)] 
invoke.texi (RS/6000 and PowerPC Options): Document -mspe option.

 2003-04-06  Aldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
        option.

        * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
        rs6000_spe.

        * config/rs6000/eabi.h (TARGET_E500): Define.

        * config/rs6000/rs6000.h (TARGET_E500): Define.
        (TARGET_OPTIONS): Add spe= option.
        Declare rs6000_spe and rs6000_spe_string extern.

        * config/rs6000/rs6000.c (branch_positive_comparison_operator):
        Change TARGET_SPE to TARGET_E500.
        (ccr_bit): Change TARGET_SPE to TARGET_E500.  Check for
        !TARGET_FPRS.
        (print_operand): Same.
        (rs6000_generate_compare): Same.
        (output_cbranch): Same.
        (rs6000_spe): Declare.
        (rs6000_spe_string): Declare.
        (rs6000_override_options): Call rs6000_parse_spe_option.
        (rs6000_parse_spe_option): New.

From-SVN: r65319

22 years agoDaily bump.
GCC Administrator [Mon, 7 Apr 2003 00:18:14 +0000 (00:18 +0000)] 
Daily bump.

From-SVN: r65317

22 years agohashtable.c (gcc_obstack_init): Delete this function and everything related to it.
Steven Bosscher [Sun, 6 Apr 2003 21:44:09 +0000 (21:44 +0000)] 
hashtable.c (gcc_obstack_init): Delete this function and everything related 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

22 years agodbxout.c (dbxout_handle_pch): Move prototype out from #if defined DBX_DEBUGGING_INFO.
Geoffrey Keating [Sun, 6 Apr 2003 19:02:54 +0000 (19:02 +0000)] 
dbxout.c (dbxout_handle_pch): Move prototype out from #if defined DBX_DEBUGGING_INFO.

* dbxout.c (dbxout_handle_pch): Move prototype out from
#if defined DBX_DEBUGGING_INFO.

From-SVN: r65307

22 years agoURLConnection.java: Import classes directly.
Michael Koch [Sun, 6 Apr 2003 16:11:13 +0000 (16:11 +0000)] 
URLConnection.java: Import classes directly.

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

22 years ago2003-04-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Sun, 6 Apr 2003 15:51:06 +0000 (15:51 +0000)] 
2003-04-06  Michael Koch  <konqueror@gmx.de>

* java/io/FileInputStream.java
(skip): Renamed some variables to match classpath, added
checks from classpath.

From-SVN: r65300

22 years agogcov.c (struct arc_info): Replace local_span with cycle.
Nathan Sidwell [Sun, 6 Apr 2003 13:18:41 +0000 (13:18 +0000)] 
gcov.c (struct arc_info): Replace local_span with cycle.

. * 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

22 years agoh8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#".
Kazu Hirata [Sun, 6 Apr 2003 05:13:51 +0000 (05:13 +0000)] 
h8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#".

* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
the second alternative to "#".

From-SVN: r65295

22 years agoh8300.c (single_one_operand): Use GET_MODE_MASK.
Kazu Hirata [Sun, 6 Apr 2003 02:17:39 +0000 (02:17 +0000)] 
h8300.c (single_one_operand): Use GET_MODE_MASK.

* config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
(single_zero_operand): Likewise.

From-SVN: r65291

22 years agoDaily bump.
GCC Administrator [Sun, 6 Apr 2003 00:17:09 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r65287

22 years agore PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)
Zack Weinberg [Sun, 6 Apr 2003 00:11:27 +0000 (00:11 +0000)] 
re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)

PR optimization/10024
* gcc.c-torture/compile/20030405-1.c: New test.

From-SVN: r65280

22 years agoClean up hand edited version with generated version
Bruce Korb [Sat, 5 Apr 2003 23:12:47 +0000 (23:12 +0000)] 
Clean up hand edited version with generated version

From-SVN: r65279

22 years agoMakefile.in (df.o): Depend on alloc-pool.h, not obstack.h.
Daniel Berlin [Sat, 5 Apr 2003 20:13:20 +0000 (20:13 +0000)] 
Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.

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

22 years ago* simplify-rtx.c: Fix formatting.
Kazu Hirata [Sat, 5 Apr 2003 20:06:37 +0000 (20:06 +0000)] 
* simplify-rtx.c: Fix formatting.

From-SVN: r65275

22 years ago[multiple changes]
David Edelsohn [Sat, 5 Apr 2003 17:08:00 +0000 (12:08 -0500)] 
[multiple changes]

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

22 years agodecl.c (set_current_binding_level): Delete, revert last change.
Kaveh R. Ghazi [Sat, 5 Apr 2003 16:48:31 +0000 (16:48 +0000)] 
decl.c (set_current_binding_level): Delete, revert last change.

* decl.c (set_current_binding_level): Delete, revert last change.
(current_binding_level): Modify to allow it as as lvalue.

From-SVN: r65273

22 years agoalias.c (find_base_term): Export.
Zdenek Dvorak [Sat, 5 Apr 2003 15:57:40 +0000 (17:57 +0200)] 
alias.c (find_base_term): Export.

* 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

22 years agore PR bootstrap/10267 (Wrong build instructions for *-*-solaris2*)
Gerald Pfeifer [Sat, 5 Apr 2003 15:48:35 +0000 (17:48 +0200)] 
re PR bootstrap/10267 (Wrong build instructions for *-*-solaris2*)

PR bootstrap/10267
* doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
for configuring.

From-SVN: r65270

22 years agodbxout.c (scope_labelno): Add GTY.
Geoffrey Keating [Sat, 5 Apr 2003 07:01:51 +0000 (07:01 +0000)] 
dbxout.c (scope_labelno): Add GTY.

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

22 years ago* include/Makefile.in: Regenerate.
Loren J. Rittle [Sat, 5 Apr 2003 01:44:53 +0000 (01:44 +0000)] 
* include/Makefile.in: Regenerate.

From-SVN: r65264

22 years agoforced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
Richard Henderson [Sat, 5 Apr 2003 00:45:06 +0000 (16:45 -0800)] 
forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.

        * g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
        * g++.dg/eh/forced2.C: Likewise.

From-SVN: r65263

22 years agoDaily bump.
GCC Administrator [Sat, 5 Apr 2003 00:17:34 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r65262

22 years ago* compare_tests: Fix exit status and be more flexible with spacing.
Mike Stump [Fri, 4 Apr 2003 22:49:10 +0000 (22:49 +0000)] 
* compare_tests: Fix exit status and be more flexible with spacing.

From-SVN: r65255

22 years agoemit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of default attribu...
Olivier Hainque [Fri, 4 Apr 2003 22:44:02 +0000 (00:44 +0200)] 
emit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of 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

22 years agoname-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN.
Kaveh R. Ghazi [Fri, 4 Apr 2003 22:35:22 +0000 (22:35 +0000)] 
name-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN.

* name-lookup.c (find_binding): Pass appropriate pointer type to
POP_TIMEVAR_AND_RETURN.

From-SVN: r65253

22 years agodbxout.c (dbxout_type): When printing type index of range type whose bounds are print...
Joel Brobecker [Fri, 4 Apr 2003 22:34:52 +0000 (22:34 +0000)] 
dbxout.c (dbxout_type): When printing type index of range type whose bounds 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

22 years agoh8300-protos.h: Add a prototype for compute_a_shift_cc.
Kazu Hirata [Fri, 4 Apr 2003 22:01:46 +0000 (22:01 +0000)] 
h8300-protos.h: Add a prototype for compute_a_shift_cc.

* 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

22 years ago* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
Richard Henderson [Fri, 4 Apr 2003 21:49:42 +0000 (13:49 -0800)] 
* cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.

From-SVN: r65249

22 years agoinclhack.def (bsd_stdio_attrs_conflict): New.
Loren J. Rittle [Fri, 4 Apr 2003 21:46:49 +0000 (21:46 +0000)] 
inclhack.def (bsd_stdio_attrs_conflict): New.

* fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
* fixinc/fixincl.x: Rebuilt.
* fixinc/tests/base/stdio.h: Regenerated.

From-SVN: r65248

22 years ago* gcov.c (accumulate_line_counts): Fix span tree merge bug.
Nathan Sidwell [Fri, 4 Apr 2003 15:48:19 +0000 (15:48 +0000)] 
* gcov.c (accumulate_line_counts): Fix span tree merge bug.

From-SVN: r65245

22 years agoAdd PR libstdc++/10276 to Changelog entry.
Jerry Quinn [Fri, 4 Apr 2003 15:09:04 +0000 (15:09 +0000)] 
Add PR libstdc++/10276 to Changelog entry.

From-SVN: r65243

22 years agoios.cc (ios_base::_M_init): Remove _M_callbacks initialization.
Jerry Quinn [Fri, 4 Apr 2003 15:05:17 +0000 (15:05 +0000)] 
ios.cc (ios_base::_M_init): Remove _M_callbacks initialization.

2003-04-04  Jerry Quinn  <jlquinn@optonline.net>

* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
initialization.

From-SVN: r65242

22 years agosh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE).
J"orn Rennecke [Fri, 4 Apr 2003 15:01:15 +0000 (15:01 +0000)] 
sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of (NORMAL_MODE).

* 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

22 years agocontrib.texi (Contributors): Add entries for Wolfgang Bangerth...
Gerald Pfeifer [Fri, 4 Apr 2003 14:56:02 +0000 (16:56 +0200)] 
contrib.texi (Contributors): Add entries for Wolfgang Bangerth...

* 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

22 years agoconfig/sparc/sol2-bi.h: Revert previous delta.
Nick Clifton [Fri, 4 Apr 2003 13:00:09 +0000 (13:00 +0000)] 
config/sparc/sol2-bi.h: Revert previous delta.

config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO.

From-SVN: r65237

22 years ago(expand_prologue): Only use register save helper functions if long calls are not...
Nick Clifton [Fri, 4 Apr 2003 10:38:50 +0000 (10:38 +0000)] 
(expand_prologue): Only use register save helper functions if long calls are 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

22 years agostor-layout.c (layout_decl): Avoid syntax error in last change when PCC_BITFIELD_TYPE...
Andreas Schwab [Fri, 4 Apr 2003 09:01:13 +0000 (09:01 +0000)] 
stor-layout.c (layout_decl): Avoid syntax error in last change when 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

22 years agoOops, asm-fs-1.c works as expected on darwin.
Mike Stump [Fri, 4 Apr 2003 01:37:26 +0000 (01:37 +0000)] 
Oops, asm-fs-1.c works as expected on darwin.

From-SVN: r65231

22 years agoOops, this works as expected now.
Mike Stump [Fri, 4 Apr 2003 01:36:45 +0000 (01:36 +0000)] 
Oops, this works as expected now.

From-SVN: r65230

22 years agore PR c/10175 (-Wunreachable-code doesn't work for single lines)
Jason Merrill [Fri, 4 Apr 2003 01:25:40 +0000 (20:25 -0500)] 
re PR c/10175 (-Wunreachable-code doesn't work for single lines)

        PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

From-SVN: r65229

22 years agore PR c/10175 (-Wunreachable-code doesn't work for single lines)
Jason Merrill [Fri, 4 Apr 2003 01:21:56 +0000 (20:21 -0500)] 
re PR c/10175 (-Wunreachable-code doesn't work for single lines)

        PR c/10175
        * jump.c (never_reached_warning): Revert patch of 2002-11-02.
        Look backwards for a line note.

From-SVN: r65227

22 years agoasm-fs-1.c: Expect failure on darwin.
Mike Stump [Fri, 4 Apr 2003 01:19:31 +0000 (01:19 +0000)] 
asm-fs-1.c: Expect failure on darwin.

* 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

22 years agoDaily bump.
GCC Administrator [Fri, 4 Apr 2003 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r65224

22 years agoMake-lang.in (cp-warn): Add $(STRICT_WARN).
Kaveh R. Ghazi [Thu, 3 Apr 2003 23:26:03 +0000 (23:26 +0000)] 
Make-lang.in (cp-warn): Add $(STRICT_WARN).

* Make-lang.in (cp-warn): Add $(STRICT_WARN).
* cp-tree.h: Don't insist on having GNUC.

From-SVN: r65217

22 years ago* fix-header.c (read_scan_file): Defer switch processing.
Neil Booth [Thu, 3 Apr 2003 22:01:21 +0000 (22:01 +0000)] 
* fix-header.c (read_scan_file): Defer switch processing.

From-SVN: r65216

22 years agocpppch.c (reset_ht): Remove.
Matt Austern [Thu, 3 Apr 2003 21:00:56 +0000 (21:00 +0000)] 
cpppch.c (reset_ht): Remove.

* 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

22 years ago* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
Jan Hubicka [Thu, 3 Apr 2003 20:28:39 +0000 (22:28 +0200)] 
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.

From-SVN: r65214

22 years agocvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE...
Jason Merrill [Thu, 3 Apr 2003 20:07:56 +0000 (15:07 -0500)] 
cvt.c (ocp_convert): Only abort if we try to convert an object of TREE_ADDRESSABLE type.

        * cvt.c (ocp_convert): Only abort if we try to convert an object
        of TREE_ADDRESSABLE type.

From-SVN: r65212

22 years agore PR rtl-optimization/10157 ([Sparc] internal compiler error: in extract_insn, at...
Eric Botcazou [Thu, 3 Apr 2003 19:20:06 +0000 (21:20 +0200)] 
re PR rtl-optimization/10157 ([Sparc] internal compiler error: in 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

22 years ago* Makefile.in (unstrap): Also remove stage_last.
Jason Merrill [Thu, 3 Apr 2003 19:10:42 +0000 (14:10 -0500)] 
* Makefile.in (unstrap): Also remove stage_last.

From-SVN: r65209

22 years agodwarf2out.c (lookup_filename): Don't check for "<internal>".
Jason Merrill [Thu, 3 Apr 2003 19:03:08 +0000 (14:03 -0500)] 
dwarf2out.c (lookup_filename): Don't check for "<internal>".

        * dwarf2out.c (lookup_filename): Don't check for "<internal>".
        (dwarf2out_source_line): Don't do anything if line==0.

From-SVN: r65208

22 years agostor-layout.c (do_type_align): New fn, split out from...
Jason Merrill [Thu, 3 Apr 2003 18:23:04 +0000 (13:23 -0500)] 
stor-layout.c (do_type_align): New fn, split out from...

        * 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

22 years ago* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
Jan Hubicka [Thu, 3 Apr 2003 17:40:47 +0000 (17:40 +0000)] 
* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.

From-SVN: r65205

22 years agosh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt...
J"orn Rennecke [Thu, 3 Apr 2003 17:01:34 +0000 (17:01 +0000)] 
sh.c (sh_function_ok_for_sibcall): Return 0 if the current function is an interrupt handler.

* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
function is an interrupt handler.

From-SVN: r65204

22 years ago* Avoid clash of temp register for restoring target registers
J"orn Rennecke [Thu, 3 Apr 2003 16:21:48 +0000 (16:21 +0000)] 
* Avoid clash of temp register for restoring target registers
with EH_RETURN_STACKADJ_RTX; use multiple registers in round-robin
fashion.

From-SVN: r65202

22 years agogengtype-lex.l (IWORD): Add CHAR_BITFIELD.
Kaveh R. Ghazi [Thu, 3 Apr 2003 15:42:16 +0000 (15:42 +0000)] 
gengtype-lex.l (IWORD): Add CHAR_BITFIELD.

gcc:
* gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
* system.h (CHAR_BITFIELD): New.
cp:
* operators.def (DEF_SIMPLE_OPERATOR, DEF_ASSN_OPERATOR,
DEF_ASSN_OPERATOR): Delete spurious semi-colon.
* rtti.c (dfs_class_hint_mark): Likewise.

* decl.c (push_local_name, push_class_level_binding,
maybe_inject_for_scope_var): Don't use POP_TIMEVAR_AND_RETURN in
functions returning void.
* decl2.c (add_using_namespace): Likewise.

* decl.c (print_binding_level, print_other_binding_stack,
print_binding_stack): Cast argument of %p specifier to void*.
* ptree.c (cxx_print_decl): Likewise.

* cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK,
VAR_FUNCTION_OR_PARM_DECL_CHECK,
VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK, RECORD_OR_UNION_TYPE_CHECK,
BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK, LANG_TYPE_CLASS_CHECK,
LANG_TYPE_PTRMEM_CHECK, LANG_DECL_U2_CHECK): Add __extension__.

* decl.c (set_current_binding_level): New macro.  Use throughout
when setting the current binding level.

* cp-tree.h (cp_lvalue_kind, base_access): Delete trailing comma
in enum.
* method.c (mangling_flags): Likewise.

* cp-tree.h (lang_type_header): Add __extension__ and use
CHAR_BITFIELD for members.

From-SVN: r65201

22 years agoh8300.md (a peephole2): Generalize to accept GT and LE.
Kazu Hirata [Thu, 3 Apr 2003 11:59:42 +0000 (11:59 +0000)] 
h8300.md (a peephole2): Generalize to accept GT and LE.

* config/h8300/h8300.md (a peephole2): Generalize to accept GT
and LE.
(another peephole2): Likewise.

From-SVN: r65199

22 years agosol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
Nick Clifton [Thu, 3 Apr 2003 10:21:22 +0000 (10:21 +0000)] 
sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.

* config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
(DEF_ARCH64_SPEC): Likewise.

From-SVN: r65198

22 years agoi386.c (constant_address_p): Use legitimate_constant_p.
Jan Hubicka [Thu, 3 Apr 2003 07:54:27 +0000 (09:54 +0200)] 
i386.c (constant_address_p): Use legitimate_constant_p.

* i386.c (constant_address_p): Use legitimate_constant_p.
(legitimate_address_p): Do not use CONSTANT_ADDRESS_P.

From-SVN: r65196

22 years agoIndex: testsuite/ChangeLog
Geoffrey Keating [Thu, 3 Apr 2003 03:45:49 +0000 (03:45 +0000)] 
Index: testsuite/ChangeLog
2003-04-02  Geoffrey Keating  <geoffk@apple.com>

* g++.dg/pch/system-2.C: New.
* g++.dg/pch/system-2.Hs: New.

Index: cp/ChangeLog
2003-04-02  Geoffrey Keating  <geoffk@apple.com>

* mangle.c: Include gt-cp-mangle.h.
(subst_identifiers): Mark with GTY.
* config-lang.in (gtfiles): Add cp/mangle.c.
* Make-lang.in: (gt-cp-mangle.h): New rule.
(cp/mangle.o): Depends on gt-cp-mangle.h.

From-SVN: r65194

22 years agoh8300-protos.h: Add a prototype for gtle_operator.
Kazu Hirata [Thu, 3 Apr 2003 02:41:19 +0000 (02:41 +0000)] 
h8300-protos.h: Add a prototype for gtle_operator.

* config/h8300/h8300-protos.h: Add a prototype for
gtle_operator.
* config/h8300/h8300.c (gtle_operator): New.
* config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
gtle_operator.
* config/h8300/h8300.md (a peephole2): Generalize to accept GT
and LE.

From-SVN: r65192

22 years agolibgcc-std.ver (_Unwind_GetCFA): New.
Richard Henderson [Thu, 3 Apr 2003 02:06:55 +0000 (18:06 -0800)] 
libgcc-std.ver (_Unwind_GetCFA): New.

        * libgcc-std.ver (_Unwind_GetCFA): New.
        * unwind-dw2.c (_Unwind_GetCFA): New.
        * unwind-libunwind.c (_Unwind_GetCFA): New.
        * unwind-sjlj.c (_Unwind_GetCFA): New.
        * unwind.h: Declare it.

From-SVN: r65190

22 years agoDaily bump.
GCC Administrator [Thu, 3 Apr 2003 00:17:06 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r65189

22 years agore PR inline-asm/8808 (Internal compiler error in extract_constrain_insn_cached)
Jan Hubicka [Wed, 2 Apr 2003 22:42:59 +0000 (00:42 +0200)] 
re PR inline-asm/8808 (Internal compiler error in extract_constrain_insn_cached)

PR inline-asm/8088
* i386.c (ix86_hard_regno_mode_ok):  Return 0 for MMX/SSE registers
when MMX/SSE is not available.

From-SVN: r65181

22 years ago* doc/install.texi (Specific): Update pointers to apple.com.
Mike Stump [Wed, 2 Apr 2003 22:30:49 +0000 (22:30 +0000)] 
* doc/install.texi (Specific): Update pointers to apple.com.

From-SVN: r65180

22 years agoi386.c (override_options): Disable red zone by default on i386.
Jan Hubicka [Wed, 2 Apr 2003 22:19:30 +0000 (22:19 +0000)] 
i386.c (override_options): Disable red zone by default on i386.

* i386.c (override_options):  Disable red zone by default on i386.
(compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
Do not test TARGET_64BIT together with TARGET_RED_ZONE

From-SVN: r65178

22 years ago* config/h8300/h8300.md (a peephole2): Tighten the condition.
Kazu Hirata [Wed, 2 Apr 2003 21:43:35 +0000 (21:43 +0000)] 
* config/h8300/h8300.md (a peephole2): Tighten the condition.

From-SVN: r65174

22 years ago* longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
Richard Henderson [Wed, 2 Apr 2003 19:33:22 +0000 (11:33 -0800)] 
* longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.

From-SVN: r65173

22 years ago* config/h8300/h8300.md (a peephole2): New.
Kazu Hirata [Wed, 2 Apr 2003 18:36:01 +0000 (18:36 +0000)] 
* config/h8300/h8300.md (a peephole2): New.

From-SVN: r65172

22 years agoexcept.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region...
Richard Henderson [Wed, 2 Apr 2003 17:58:38 +0000 (09:58 -0800)] 
except.c (sjlj_find_directly_reachable_regions): Recognize when must-not-throw region has been deleted.

        * except.c (sjlj_find_directly_reachable_regions): Recognize when
        must-not-throw region has been deleted.

From-SVN: r65170

22 years agodwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization when...
Richard Henderson [Wed, 2 Apr 2003 17:23:01 +0000 (09:23 -0800)] 
dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an optimization when flag_exceptions not enabled.

        * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
        optimization when flag_exceptions not enabled.

From-SVN: r65169

22 years ago2003-04-02 Vladimir Makarov <vmakarov@redhat.com>
Vladimir Makarov [Wed, 2 Apr 2003 17:20:54 +0000 (17:20 +0000)] 
2003-04-02  Vladimir Makarov  <vmakarov@redhat.com>

* config/rs6000/rs6000.c
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
macros.
(rs6000_issue_rate): Add case for 8540.
(rs6000_use_sched_lookahead): New function.

* config/rs6000/8540.md: Rename SIU units into SU ones and MIU
units into MU ones.
(ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
reservation before retirement.
(ppc8540_multiply, ppc8540_load, ppc8540_store,
ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
Remove additional cycle in the reservation before retirement.
(ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
reservation of ppc8540_issue.

From-SVN: r65167

22 years agosimd-2.C (vecfunc): Fix typo.
Aldy Hernandez [Wed, 2 Apr 2003 16:56:33 +0000 (16:56 +0000)] 
simd-2.C (vecfunc): Fix typo.

2003-04-02  Aldy Hernandez  <aldyh@redhat.com>

        * g++.dg/eh/simd-2.C (vecfunc): Fix typo.

        * g++.dg/eh/simd-1.C (vecfunc): Same.

From-SVN: r65165

22 years agofix
Jason Merrill [Wed, 2 Apr 2003 15:50:31 +0000 (10:50 -0500)] 
fix

From-SVN: r65163

22 years ago* real.c (decode_ieee_single): Fix decoding of SNaN bit.
Andreas Schwab [Wed, 2 Apr 2003 09:13:33 +0000 (09:13 +0000)] 
* real.c (decode_ieee_single): Fix decoding of SNaN bit.

From-SVN: r65161

22 years agoexcept.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for nothrow...
Richard Henderson [Wed, 2 Apr 2003 07:08:16 +0000 (23:08 -0800)] 
except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION notes for nothrow calls if flag_forced_unwind_exceptions.

        * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
        notes for nothrow calls if flag_forced_unwind_exceptions.
        (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
        (sjlj_find_directly_reachable_regions): Likewise.
        (reachable_handlers): Likewise.
        (can_throw_external): Likewise.
        (collect_one_action_chain): Record cleanups after catch-all and
        must-not-throw if flag_forced_unwind_exceptions.
        * flags.h (flag_forced_unwind_exceptions): Declare.
        * toplev.c (flag_forced_unwind_exceptions): New.
        (lang_independent_options): Add it.
* doc/invoke.text: Add it.

        * g++.dg/eh/forced1.C: New.
        * g++.dg/eh/forced2.C: New.

From-SVN: r65158

22 years agoDaily bump.
GCC Administrator [Wed, 2 Apr 2003 00:17:07 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r65157

22 years agocrti.asm: Clean up trailing whitespace.
David Mosberger [Tue, 1 Apr 2003 23:29:35 +0000 (23:29 +0000)] 
crti.asm: Clean up trailing whitespace.

        * config/ia64/crti.asm: Clean up trailing whitespace.
        Remove trailing hashes (#) from identifiers.

        * config/ia64/crtn.asm: Ditto.

        * config/ia64/crtend.asm: Remove trailing hashes (#) from
        identifiers.
        (__do_global_ctors_aux): Align to 32-byte boundary.  Add unwind
        directives.  Drop explicit bundling---it just makes the code
        harder to read.  Don't save/restore gp needlessly.

        * config/ia64/crtbegin.asm: Remove trailing hashes (#) from
        identifiers (they're only needed if the identifier would clash
        with a register name otherwise).
        (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
        directives.  Drop explicit bundling---it just makes the code
        harder to read.
        (__do_jv_register_classes): Ditto.
        (.fini_array): Remove "progbits" (newer
        assemblers don't like wrong section-types).
        (.init_array): Ditto.

From-SVN: r65150

22 years agore PR fortran/9974 (Test g77.f-torture/noncompile/check0.f fails)
Roger Sayle [Tue, 1 Apr 2003 22:32:37 +0000 (22:32 +0000)] 
re PR fortran/9974 (Test g77.f-torture/noncompile/check0.f fails)

PR fortran/9974
* gcse.c (reg_killed_on_egde): New function to test whether the
given reg is overwritten by any instruction queued on an edge.
(bypass_block): Ignore substitutions killed on incoming edges.
Don't bypass outgoing edges that have queued instructions.

* gcc.c-torture/execute/20030401-1.c: New test case.

From-SVN: r65148

22 years agodefs.m: New.
Ziemowit Laski [Tue, 1 Apr 2003 22:11:01 +0000 (22:11 +0000)] 
defs.m: New.

2003-04-01  Ziemowit Laski <zlaski@apple.com>

        * objc.dg/defs.m: New.

From-SVN: r65147

22 years agoreal.h (EXP_BITS): Make room for...
Alexandre Oliva [Tue, 1 Apr 2003 21:45:28 +0000 (21:45 +0000)] 
real.h (EXP_BITS): Make room for...

* real.h (EXP_BITS): Make room for...
(struct real_value): ... added canonical bit.
(struct real_format): Added pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): New.
* real.c: Copy p to pnan in all formats.
(get_canonical_qnan, get_canonical_snan): Set canonical bit.
(real_nan): Use pnan to compute significand's shift.
(real_identical): Disregard significand in canonical
NaNs.
(real_hash): Likewise.  Take signalling into account.
(encode_ieee_single, encode_ieee_double, encode_ieee_quad):
Disregard significand bits in canonical NaNs.  Set all bits of
canonical NaN if !qnan_msb_set.
(encode_ibm_extended, decode_ibm_extended): Likewise.  Use
qnan_msb_set to tell the base double format.
(ibm_extended_format): Use 53 as pnan.
(mips_single_format, mips_double_format, mips_extended_format,
mips_quad_format): Copied from the corresponding ieee/ibm
formats, with qnan_msb_set false.
* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
* config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
* config/mips/mips.c (override_options): Use mips_single_format
and mips_double_format.  Default TFmode to mips_quad_format.
* config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
* config/mips/t-irix6: Likewise.
* config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
* config/fp-bit.c (pack_d, unpack_d): Obey it.

From-SVN: r65146

22 years agounwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
Geoffrey Keating [Tue, 1 Apr 2003 21:02:25 +0000 (21:02 +0000)] 
unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.

* unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
(live_image_destructor): Reset image to initial state.
(examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.

From-SVN: r65145

22 years agosparc.c (input_operand): Accept bare CONSTANT_P_RTX operands.
Eric Botcazou [Tue, 1 Apr 2003 20:45:19 +0000 (22:45 +0200)] 
sparc.c (input_operand): Accept bare CONSTANT_P_RTX operands.

* config/sparc/sparc.c (input_operand): Accept bare
CONSTANT_P_RTX operands.

From-SVN: r65143

22 years agoconfig-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c after \$(srcdir)/cp/name...
Andrew Pinski [Tue, 1 Apr 2003 20:37:00 +0000 (20:37 +0000)] 
config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c after \$(srcdir)/cp/name-lookup.h.

2003-04-01  Andrew Pinski  <pinskia@physics.uc.edu>

        * config-lang.in (gtfiles): add \$(srcdir)/cp/name-lookup.c
        after \$(srcdir)/cp/name-lookup.h.
        * name-lookup.c: (cxx_binding_make): Use ggc_alloc_clearedinstead
        of ggc_alloc.  Include gt-cp-name-lookup.h at the end of the file.
        * Make-lang.in: (gt-cp-name-lookup.h): is generated by the gtype.
        (cp/name-lookup.o): depends on gt-cp-name-lookup.h.

From-SVN: r65142

22 years agogcse.c (struct ls_expr): Added pattern_regs field.
Zdenek Dvorak [Tue, 1 Apr 2003 20:23:54 +0000 (22:23 +0200)] 
gcse.c (struct ls_expr): Added pattern_regs field.

* gcse.c (struct ls_expr): Added pattern_regs field.
(ldst_entry): Initialize it.
(extract_mentioned_regs, extract_mentioned_regs_helper): New.
(store_ops_ok): Use regs precomputed by them.
(find_loads, store_killed_in_insn, load_kills_store): Change return
type to bool.
(store_killed_before, store_killed_after): Take position of register
set in account.
(reg_set_info): Store position of the setter.
(gcse_main): Enable store motion.
(mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
(pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
sharing.
(simple_mem): Enable store motion of non-symbol mems.
(regvec): Type changed.
(LAST_AVAIL_CHECK_FAILURE): New.
(compute_store_table_current_insn): New.
(build_store_vectors): Computation of availability and anticipatability
moved ...
(compute_store_table, find_moveable_store): ... here.
(delete_store): Remove senseless comment.
(store_motion): Reorganize.

From-SVN: r65141

22 years agoFix a typo in ChangeLog.
Kazu Hirata [Tue, 1 Apr 2003 20:15:40 +0000 (20:15 +0000)] 
Fix a typo in ChangeLog.

From-SVN: r65140

22 years agomips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM.
Kevin Buettner [Tue, 1 Apr 2003 19:43:29 +0000 (19:43 +0000)] 
mips.c (override_options): Provide mappings for HI_REGNUM and LO_REGNUM.

* config/mips/mips.c (override_options): Provide mappings for
HI_REGNUM and LO_REGNUM.
* config/mips/mips.h (MD_DBX_FIRST): Define.

From-SVN: r65139

22 years agosimd-1.C: New.
Aldy Hernandez [Tue, 1 Apr 2003 19:18:24 +0000 (19:18 +0000)] 
simd-1.C: New.

2003-04-01  Aldy Hernandez  <aldyh@redhat.com>

        * g++.dg/eh/simd-1.C: New.

        * g++.dg/eh/simd-2.C: New.

From-SVN: r65138