aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-08std_streambuf.h (setg, setp): Don't touch _M_mode.Paolo Carlini2-4/+4
2003-05-08 Paolo Carlini <pcarlini@unitus.it> * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode. From-SVN: r66595
2003-05-08init.c (build_new_1): Don't reuse a TARGET_EXPR in an expression.Jason Merrill2-22/+37
* init.c (build_new_1): Don't reuse a TARGET_EXPR in an expression. Undo some of the recent reorg. From-SVN: r66594
2003-05-07* unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.David Mosberger2-1/+11
From-SVN: r66590
2003-05-07i386.c (ix86_split_long_move): Fix base register mode for XFmode splits for ↵Richard Henderson2-7/+21
TARGET_64BIT. * config/i386/i386.c (ix86_split_long_move): Fix base register mode for XFmode splits for TARGET_64BIT. From-SVN: r66589
2003-05-07sched-ebb.c (schedule_ebb): Supply the correct starting block number to ↵Richard Henderson2-1/+6
save_line_notes. * sched-ebb.c (schedule_ebb): Supply the correct starting block number to save_line_notes. From-SVN: r66588
2003-05-07toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.Richard Henderson2-2/+7
* toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro. (dump_file): Likewise. From-SVN: r66587
2003-05-08Daily bump.GCC Administrator2-2/+2
From-SVN: r66586
2003-05-07crtbegin.asm (__do_jv_register_classes): Don't forget to preserve gp.David Mosberger3-30/+49
* config/ia64/crtbegin.asm (__do_jv_register_classes): Don't forget to preserve gp. * config/ia64/crtend.asm (__do_global_ctors_au): Ditto. * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing .prologue directive. Use .skip instead of data8 for .bss section to make Intel Assembler (ias) happy. Minor whitespace fixups. Make "nop 0" explicit in the .mib bundles and remove the unnecessary stop bits. Replace local labels with normal labels, to make ias happy. Don't register __do_global_ctors_aux here, do it in crtend.asm instead. * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register __do_global_ctors_aux in .init_array section instead of declaring it as a hidden global. Replace local labels with ordinary labels to make ias happy. From-SVN: r66584
2003-05-07except.c: Revert 04-01 and 04-02 forced-unwind changes.Richard Henderson21-650/+612
gcc/ * except.c: Revert 04-01 and 04-02 forced-unwind changes. * flags.h, toplev.c, doc/invoke.texi: Likewise. * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning. * unwind.inc (_Unwind_DeleteException): Check for null exception_cleanup. * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New. * unwind.inc (_Unwind_Resume_or_Rethrow): New. * unwind.h: Declare them. * libgcc-std.ver (GCC_3.3): Export them. gcc/cp/ * cfns.gperf: Comment out POSIX thread cancellation points, plus abort and raise. * cfns.h: Regenerate. gcc/testsuite/ * g++.dg/eh/forced1.C: Expect catch-all handlers to run. Verify exception_cleanup not called for rethrows. * g++.dg/eh/forced2.C: Test that exception_cleanup is called when exiting catch block without rethrowing. * g++.dg/eh/forced3.C: New. * g++.dg/eh/forced4.C: New. libstdc++-v3/ * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions. (__cxa_end_catch): Likewise. * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use _Unwind_Resume_or_Rethrow. * libsupc++/eh_personality.cc (empty_exception_spec): New. (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all for _UA_FORCE_UNWIND. Honor empty filter spec for foreign exceptions. Don't push terminate/unexpected to cxa functions. (__cxa_call_unexpected): Remove foreign exception fixmes. From-SVN: r66583
2003-05-07Fix typo in last changelog entry.Richard Henderson1-1/+1
From-SVN: r66582
2003-05-07unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word.Richard Henderson2-1/+6
* unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word. From-SVN: r66581
2003-05-07cons: New.Benjamin Kosnik3-0/+91
2003-05-07 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/ios_base/cons: New. * testsuite/27_io/ios_base/cons/assign_neg.cc: New. * testsuite/27_io/ios_base/cons/copy_neg.cc: New. From-SVN: r66580
2003-05-07stmt.c (force_label_rtx): New function, based on logic formerly found in ↵Zack Weinberg8-28/+66
expand_expr. * stmt.c (force_label_rtx): New function, based on logic formerly found in expand_expr. * expr.h: Prototype it. * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if appropriate. * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx. * print-tree.c (debug_tree): Free the table after we're done with it. Use putc. treelang: * Make-lang.in: Set -Wno-error for treelang/lex.o. From-SVN: r66579
2003-05-07s/burtle/iterativeJason Merrill4-6/+6
From-SVN: r66577
2003-05-07fix typoAldy Hernandez1-1/+1
From-SVN: r66576
2003-05-07200305051.c: Fix triplet.Aldy Hernandez2-1/+5
2003-05-07 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/200305051.c: Fix triplet. From-SVN: r66573
2003-05-07spe.h: Reverse arguments for __ev_subfw.Aldy Hernandez3-3/+10
2003-05-07 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.h: Reverse arguments for __ev_subfw. Unreverse arguments for __ev_subw. * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly. From-SVN: r66570
2003-05-07splay-tree.c (splay_tree_predecessor): Fix comment.Josef Zlomek2-2/+7
* splay-tree.c (splay_tree_predecessor): Fix comment. (splay_tree_successor): Fix comment. From-SVN: r66569
2003-05-07hashtab.c (burtle_hash): New fn.Jason Merrill8-85/+389
libiberty/ * hashtab.c (burtle_hash): New fn. * configure.in: Add AC_C_BIGENDIAN_CROSS. * aclocal.m4: Include accross.m4. * configure, config.in: Regenerate. include/ * hashtab.h (burtle_hash): Prototype. (burtle_hash_object): New macro. From-SVN: r66565
2003-05-07Update to include R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 andNick Clifton2-15/+33
R_XSTORMY16_12 relocs. From-SVN: r66563
2003-05-07call.c (build_conditional_expr): Don't assume that the folded expression has ↵Jason Merrill2-3/+11
result_type. * call.c (build_conditional_expr): Don't assume that the folded expression has result_type. From-SVN: r66561
2003-05-07function.c (assign_parms): Correct reversed reg_parm_stack_space test.Alan Modra2-1/+9
* function.c (assign_parms): Correct reversed reg_parm_stack_space test. Add partial in-regs size to stack_args_size. From-SVN: r66560
2003-05-07std_fstream.h (_M_is_indeterminate): Remove.Paolo Carlini5-38/+28
2003-05-07 Paolo Carlini <pcarlini@unitus.it> * include/std/std_fstream.h (_M_is_indeterminate): Remove. * src/fstream.cc (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either there is no buffer or __testget == !__testinit. * src/fstream.cc (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate() automatically sets, if appropriate, _M_out_cur == _M_in_cur. * include/std/std_fstream.h (_M_destroy_pback): Don't set unnecessarily _M_pback_cur_save and _M_pback_end_save. * include/std/std_fstream.h (_M_set_determinate): Minor tweak. * include/std/std_sstream.h (_M_sync): Minor tweak. * include/bits/fstream.tcc (close): No need to call _M_destroy_pback, setting _M_pback_init to false suffices to clean up. From-SVN: r66557
2003-05-07invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option.Gerald Pfeifer2-1/+6
* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option. From-SVN: r66556
2003-05-07gcov-io.h (GCOV_LOCKED): New #define.Nathan Sidwell7-93/+152
* gcov-io.h (GCOV_LOCKED): New #define. (GCOV_LINKAGE): Make sure it is #defined. (gcov_write_string, gcov_write_tag, gcov_write_length, gcov_read_string, gcov_time): Poison in libgcov. (gcov_seek_end): Remove. (gcov_write_tag_length, gcov_sync, gcov_rewrite): New. (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH, GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH, GCOV_TAG_SUMMARY_LENGTH): New #defines. (gcov_write_tag, gcov_write_length): Not in libgcov. * gcov-io.c (gcov_open): Use GCOV_LOCKED. (gcov_write_tag, gcov_write_length): Not in libgcov. (gcov_write_tag_length): New. (gcov_write_summary): Use gcov_write_tag_length. * libgcov.c: Always #include gcov-io.h. (IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise. (GCOV_LINKAGE): Define to nothing for L_gcov. (gcov_exit): Replace gcov_write_tag, gcov_write_length with gcov_write_tag_length. Use gcov_rewrite & gcov_seek. * gcov.c (read_graph_file): Replace gcov_seek by gcov_sync. (read_count_file): Likewise. * gcov-dump.c (dump_file): Likewise. * coverag.c (read_counts_file): Likewise. From-SVN: r66555
2003-05-07re PR other/10658 (Change copyright year.)Mark Mitchell2-1/+6
PR other/10658 * gcc.c (process_command): Update copyright date. From-SVN: r66554
2003-05-07stl_algo.h: Enums as _S_.Benjamin Kosnik14-187/+179
2003-05-06 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_algo.h: Enums as _S_. * include/bits/stl_tree.h: Same. * include/bits/stl_bvector.h: Same. * include/bits/ios_base.h: Same. * include/bits/stl_alloc.h: Same. * include/ext/stl_hashtable.h: Same. * src/ios.cc: And here. * include/std/std_sstream.h: Replace _M_really_sync to _M_sync. * include/bits/sstream.tcc: Same. * include/bits/basic_ios.h: Correct spacing for '< ctype'. * include/bits/locale_facets.tcc: Replace __temp to __tmp. * include/bits/locale_facets.h (__num_base): Remove protected. Use _S_[io]* names for enumerations. (_S_format_int): Remove. * include/bits/locale_facets.tcc: Same. * src/locale.cc: Same. * include/std/std_sstream.h (stringbuf::str): Tweak formatting. From-SVN: r66552
2003-05-07Correct spurious whitespace differencesBruce Korb1-2/+7
From-SVN: r66549
2003-05-07* verify.cc: Reverted previous patch.Tom Tromey2-2/+64
From-SVN: r66548
2003-05-07verify.java: New file.Tom Tromey3-0/+25
* libjava.lang/verify.java: New file. * libjava.lang/verify.out: New file. From-SVN: r66547
2003-05-07Daily bump.GCC Administrator2-2/+2
From-SVN: r66544
2003-05-06Fix typo in previous commit (3.3 not 3.3.0).Phil Edwards2-2/+2
From-SVN: r66542
2003-05-06install.texi (mips-*-*): Add note about libstdc++.Phil Edwards2-0/+11
2003-05-06 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (mips-*-*): Add note about libstdc++. From-SVN: r66541
2003-05-06stormy16.c (xstormy16_function_profiler): New.DJ Delorie4-2/+16
* config/stormy16/stormy16.c (xstormy16_function_profiler): New. * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it. * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New. From-SVN: r66538
2003-05-0620021014-1.c: XFAIL for xstormy16 also.DJ Delorie3-2/+7
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also. * gcc.dg/nest.c: Likewise. From-SVN: r66537
2003-05-06index.html (3.10): Add note about mips atomicity.h.Phil Edwards3-156/+186
2003-05-06 Phil Edwards <pme@gcc.gnu.org> * docs/html/faq/index.html (3.10): Add note about mips atomicity.h. * docs/html/faq/index.txt: Regenerated. From-SVN: r66536
2003-05-06config-ml.in: Propagate INSTALL variables.Eric Botcazou2-0/+8
2003-05-06 Eric Botcazou <ebotcazou@libertysurf.fr> * config-ml.in: Propagate INSTALL variables. From-SVN: r66534
2003-05-06c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes and ↵Neil Booth2-2/+7
-Wstrict-prototypes if C++. * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes and -Wstrict-prototypes if C++. From-SVN: r66533
2003-05-06linuxspe.h: New file.Aldy Hernandez3-0/+68
2003-05-06 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/linuxspe.h: New file. * config.gcc: Add powerpc-*-linux-gnuspe* target. From-SVN: r66531
2003-05-06And retweak.Michael Ritzert2-1/+8
Co-Authored-By: Matt Kraai <kraai@alumni.cmu.edu> From-SVN: r66530
2003-05-06unwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame ↵Richard Henderson2-7/+27
didn't save sp. * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame didn't save sp. Clear sp for next frame. (uw_install_context_1): Honor saved sp from frame. From-SVN: r66526
2003-05-06* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.Michael Ritzert2-2/+4
From-SVN: r66523
2003-05-06typeck.c (build_unary_op): Deal with const qualifier in invalid ↵Kriang Lerdsuwanakij2-6/+12
pointer-to-member earlier. * typeck.c (build_unary_op): Deal with const qualifier in invalid pointer-to-member earlier. From-SVN: r66522
2003-05-06mips-protos.h (mips_subword, [...]): Declare.Richard Sandiford5-973/+438
* config/mips/mips-protos.h (mips_subword, mips_output_move): Declare. (mips_move_1word, mips_move_2words): Remove declaration. (mips_split_64bit_move_p, mips_split_64bit_move): Declare. (mips_restore_gp): Remove insn argument. * config/mips/mips.h (FP_REG_RTX_P): New macro. * config/mips/mips.c (volatile_buffer): Remove. (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New. (mips_move_1word, mips_move_2words): Remove, replacing with... (mips_output_move): ...this new function. (mips_restore_gp): Remove insn argument. Adjust for above changes. (print_operand): Make '%h' print %hi(op) for HIGH operands. Remove handling of floating-point constants. Handle zero CONST_DOUBLE arguments. (mips_annotate_frame_insn): Replace with... (mips_set_frame_expr): ...this, which just takes one argument. (mips_frame_set): Change the register argument to an rtx. (mips_emit_frame_related_store): Use mips_split_64bit_move_p to check whether moves should be split. Use mips_split_64bit_move to split them. Use mips_subword to generate the high and low parts of a paired FPR. Adjust calls to frame_set and mips_set_frame_expr. (mips_expand_prologue): Simplify due to above changes. * config/mips/mips.md: Add splitters for 64-bit moves on 32-bit targets, replacing xisting register-only versions. (UNSPEC_STORE_DF_HIGH): New unspec. (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs. (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word. (*paradoxical_extendhidi2): Remove. (movdi_internal, movdi_internal2): Use mips_output_move. (*movdi_internal2_mips16, movsi_internal, movcc): Likewise. (movsf_internal1, movsf_internal2): Likewise. (movdf_internal1a): Likewise. Fix length and type of f <- G case. (movdf_internal1b): Use mips_output_move. Fix type of f <- G case. (movdf_internal2): Use mips_output_move. Fix lengths of FPR moves. Add m <- G alternative. (load_df_low, load_df_high, store_df_low): New patterns. (movhi_internal): Use @ template instead of calling a function. Remove unnecessary 'z' alternatives. (movqi_internal): Likewise. (exception_receiver): Update call to mips_restore_gp. From-SVN: r66521
2003-05-062003-05-06 Michael Koch <konqueror@gmx.de>Michael Koch6-98/+304
* java/io/DataOutputStream.java (write): Renamed argument to "value", merged documentation from classpath. (writeBoolean): Likewise. (writeByte): Likewise. (writeShort): Likewise. (writeChar): Likewise. (writeInt): Likewise. (writeLong): Likewise. (writeFloat): Likewise. (writeDouble): Likewise. (writeBytes): Likewise. (writeChars): Likewise. (writeUTF): Likewise. * java/io/File.java (performDelete): Added documentation. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (delete): Made it sychronized. (renameTo): Made it sychronized. (equals): Reformatted. (isHidden): Likewise. (listFiles): Likewise. (setReadOnly): Likewise. (listRoots): Likewise. (setLastModified): Likewise. (checkRead): Likewise. (checkWrite): Likewise. * java/io/FileInputStream.java (skip): Made it sychronized, merged from classpath. * java/io/FileOutputStream.java (write): Merged from classpath. * java/io/InputStreamReader.java: (InputStreamReader): Merged documentation from classpath. From-SVN: r66520
2003-05-06Make-lang.in (treelang/tree1.o): Depends on input.hNathan Sidwell8-119/+147
treelang: * Make-lang.in (treelang/tree1.o): Depends on input.h (treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise. * treelang.h: #include input.h. (in_fname): Remove. (struct token_part): Remove lineno, add location. * lex.l (next_tree_lineno): Remove. (update_lineno_charno): Adjust. (dump_lex_value): Adjust. * parse.y (variable_def, function_prototype, function, statement, if_statement, return, function_invocation, variable_ref): Adjust. (print_token, yyerror, ensure_not_void): Adjust. tree1.c (in_fname): Remove. (treelang_init): Setup input_location. (lookup_tree_name): Adjust. (insert_tree_name): Adjust. * treetree.c (tree_code_if_start): Replace filename and lineno parms with loc. Adjust. (tree_code_if_else, tree_code_if_end, tree_code_create_function_prototype, tree_code_create_function_initial, tree_code_create_function_wrapup, tree_code_create_variable, tree_code_output_expression_statement): Likewise. * treetree.h (tree_code_if_start): Replace filename and lineno parms with loc. (tree_code_if_else, tree_code_if_end, tree_code_create_function_prototype, tree_code_create_function_initial, tree_code_create_function_wrapup, tree_code_create_variable, tree_code_output_expression_statement): Likewise. From-SVN: r66519
2003-05-06mips-protos.h (mips_simplify_dwarf_addr): Remove.Richard Sandiford4-17/+25
* config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove. (mips_delegitimize_address): Declare. * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine. (FIND_BASE_TERM): Define. * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define. (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr. Handle small-data addresses. From-SVN: r66518
2003-05-06* configure.target (mips*): Use the generic atomicity.h by default.Richard Sandiford2-0/+9
From-SVN: r66517
2003-05-06real.c (real_powi): New function to calculate the value of a real raised to ↵Roger Sayle6-15/+138
an integer power, i.e. * real.c (real_powi): New function to calculate the value of a real raised to an integer power, i.e. pow(x,n) for int n. (real_sqrt): Convert to using the faster do_add, do_multiply and do_divide API for consistency with the rest of real.c. * real.h (real_powi): Prototype here. * builtins.c (fold_builtin): Avoid local variable mode when evaluating sqrt at compile time. Attempt to evaluate pow at compile-time, by checking for an integral exponent. * gcc.dg/builtins-14.c: New test case. From-SVN: r66515
2003-05-06Daily bump.GCC Administrator2-2/+2
From-SVN: r66512