aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-08install.texi: Use @command and @samp for single- and multi-word commands ↵Matt Kraai4-23/+30
respectively. * doc/install.texi: Use @command and @samp for single- and multi-word commands respectively. * doc/makefile.texi: Likewise. * doc/sourcebuild.texi: Likewise. From-SVN: r65364
2003-04-07re PR c/9516 (Internal error when using a big array)Christian Ehrhardt2-9/+25
PR c/9516 * expr.c (safe_from_p): Rearrange to avoid deep recursion in favour of looping and tail recursion for TREE_LIST and binops. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r65363
2003-04-08Daily bump.GCC Administrator2-2/+2
From-SVN: r65361
2003-04-07loop.h (REGNO_FIRST_LUID, [...]): Provide defaults for insns without luid.Zdenek Dvorak2-3/+13
* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults for insns without luid. From-SVN: r65354
2003-04-07re PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)Glen Nakamura2-1/+17
PR opt/8634 * explow.c (maybe_set_unchanging): Don't flag non-static const aggregate type initializers with RTX_UNCHANGING_P. From-SVN: r65352
2003-04-07re PR rtl-optimization/8634 (incorrect code for inlining of memcpy under -O2)Richard Henderson2-2/+14
PR opt/8634 * function.c (purge_addressof_1): Don't try arithmetics for unchanging memories. From-SVN: r65351
2003-04-07sourcebuild.texi (Test Suites): Update description of gcov tests.Janis Johnson1-4/+7
2003-04-07 Janis Johnson <janis187@us.ibm.com> * doc/sourcebuild.texi (Test Suites): Update description of gcov tests. From-SVN: r65350
2003-04-07sourcebuild.texi (Test Suites): Document testing support for gcov and ↵Janis Johnson2-5/+134
profile-directed optimizations... 2003-04-07 Janis Johnson <janis187@us.ibm.com> * doc/sourcebuild.texi (Test Suites): Document testing support for gcov and profile-directed optimizations; describe gcc.misc-tests. From-SVN: r65347
2003-04-07re PR target/10077 (gcc -msse2 generates movd to move dwords between xmm regs)Jan Hubicka2-4/+9
PR target/10077 * i386.md (movsi_1, movsi_nointerunit_1): Fix SSEMOV alternative. From-SVN: r65346
2003-04-07rtl.texi (Comparison operations): Update to record the allowed comparison modes.Eric Botcazou2-8/+13
* doc/rtl.texi (Comparison operations): Update to record the allowed comparison modes. From-SVN: r65341
2003-04-07rs6000.c (rs6000_common_init_builtins): Rename all V2SI_type_node to ↵Aldy Hernandez2-23/+50
opaque_V2SI_type_node. 2003-04-07 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all V2SI_type_node to opaque_V2SI_type_node. Rename all V2SF_type_node to opaque_V2SF_type_node. (rs6000_init_builtins): Define opaque_V2SI_type_node and opaque_V2SF_type_node. (is_ev64_opaque_type): The types opaque_V2SI_type_node and opaque_V2SF_type_node are opaque types. From-SVN: r65340
2003-04-07* gcse.c (replace_store_insn): Use single_set.J"orn Rennecke2-1/+5
From-SVN: r65339
2003-04-07Change gcov file interface to single file at a time.Nathan Sidwell7-890/+810
* 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
2003-04-07invoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs.Aldy Hernandez6-58/+86
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
2003-04-07re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)Jan Hubicka3-0/+18
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
2003-04-072003-04-07 Aaron M. Renn (arenn@urbanophile.com)Aaron M. Renn10-73/+256
* 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
2003-04-07c-typeck.c (output_init_element): Check for type == error_mark_node.J"orn Rennecke4-0/+16
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
2003-04-07h8300.md (*zero_extendqisi2_h8300hs): Always split.Kazu Hirata2-7/+12
* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always split. (a splitter): Do zero-extension via HImode. From-SVN: r65327
2003-04-07invoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line.James A. Morrison2-194/+162
* 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
2003-04-07* doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.James A Morrison2-1/+5
From-SVN: r65324
2003-04-07tree.c (tree_size): For all 'c' and 'x' nodes...Zack Weinberg18-246/+274
* 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
2003-04-07Oops, this belongs with the previous calls.c commitZack Weinberg1-1/+1
From-SVN: r65322
2003-04-07mklibgcc.in: Use a here document to avoid running afoul of shells that ↵Zack Weinberg2-7/+19
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
2003-04-07call.c: Include intl.h.Zack Weinberg2-67/+103
* 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
2003-04-07invoke.texi (RS/6000 and PowerPC Options): Document -mspe option.Aldy Hernandez6-10/+79
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
2003-04-07Daily bump.GCC Administrator2-2/+2
From-SVN: r65317
2003-04-06hashtable.c (gcc_obstack_init): Delete this function and everything related ↵Steven Bosscher11-121/+38
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
2003-04-06dbxout.c (dbxout_handle_pch): Move prototype out from #if defined ↵Geoffrey Keating2-1/+6
DBX_DEBUGGING_INFO. * dbxout.c (dbxout_handle_pch): Move prototype out from #if defined DBX_DEBUGGING_INFO. From-SVN: r65307
2003-04-06URLConnection.java: Import classes directly.Michael Koch2-15/+93
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
2003-04-062003-04-06 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+17
* java/io/FileInputStream.java (skip): Renamed some variables to match classpath, added checks from classpath. From-SVN: r65300
2003-04-06gcov.c (struct arc_info): Replace local_span with cycle.Nathan Sidwell7-96/+201
. * 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
2003-04-06h8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#".Kazu Hirata2-1/+6
* config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change the second alternative to "#". From-SVN: r65295
2003-04-06h8300.c (single_one_operand): Use GET_MODE_MASK.Kazu Hirata2-14/+7
* config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK. (single_zero_operand): Likewise. From-SVN: r65291
2003-04-06Daily bump.GCC Administrator2-2/+2
From-SVN: r65287
2003-04-06re PR rtl-optimization/10024 ([HP-PA] inline optimization ICE)Zack Weinberg2-8/+71
PR optimization/10024 * gcc.c-torture/compile/20030405-1.c: New test. From-SVN: r65280
2003-04-05Clean up hand edited version with generated versionBruce Korb1-3/+3
From-SVN: r65279
2003-04-05Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.Daniel Berlin3-10/+24
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
2003-04-05* simplify-rtx.c: Fix formatting.Kazu Hirata2-24/+28
From-SVN: r65275
2003-04-05[multiple changes]David Edelsohn3-11/+31
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
2003-04-05decl.c (set_current_binding_level): Delete, revert last change.Kaveh R. Ghazi2-22/+19
* decl.c (set_current_binding_level): Delete, revert last change. (current_binding_level): Modify to allow it as as lvalue. From-SVN: r65273
2003-04-05alias.c (find_base_term): Export.Zdenek Dvorak4-18/+24
* 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
2003-04-05re PR bootstrap/10267 (Wrong build instructions for *-*-solaris2*)Gerald Pfeifer2-4/+10
PR bootstrap/10267 * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended for configuring. From-SVN: r65270
2003-04-05dbxout.c (scope_labelno): Add GTY.Geoffrey Keating13-37/+134
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
2003-04-05* include/Makefile.in: Regenerate.Loren J. Rittle2-3/+9
From-SVN: r65264
2003-04-04forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.Richard Henderson3-2/+15
* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate. * g++.dg/eh/forced2.C: Likewise. From-SVN: r65263
2003-04-05Daily bump.GCC Administrator2-2/+2
From-SVN: r65262
2003-04-04* compare_tests: Fix exit status and be more flexible with spacing.Mike Stump2-16/+27
From-SVN: r65255
2003-04-04emit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of ↵Olivier Hainque2-4/+10
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
2003-04-04name-lookup.c (find_binding): Pass appropriate pointer type to ↵Kaveh R. Ghazi2-1/+6
POP_TIMEVAR_AND_RETURN. * name-lookup.c (find_binding): Pass appropriate pointer type to POP_TIMEVAR_AND_RETURN. From-SVN: r65253
2003-04-04dbxout.c (dbxout_type): When printing type index of range type whose bounds ↵Joel Brobecker2-1/+18
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