- 08 May, 2003 10 commits
-
-
* c-decl.c (define_label): Tidy. Don't use any of error_with_file_and_line or warning_with_file_and_file. (pending_xref_error): Likewise. (store_parm_decls): Likewise. (current_function_prototype_locus): New object. Package from current_function_prototype_file and current_function_prototype_line. (start_function): Use it. (current_function_prototype_file): Remove. (current_function_prototype_line): Remove; From-SVN: r66599
Gabriel Dos Reis committed -
gcc: * builtins.c (readonly_data_expr): New function. (expand_builtin_memmove): Optimize any rodata source, not just strings. testsuite gcc.c-torture/execute/string-opt-19.c: Add general rodata tests. (bcopy): Call memmove. From-SVN: r66597
Kaveh R. Ghazi committed -
PR fortran/8485 * target.h (FFETARGET_REAL_VALUE_FROM_INT_): Cast to HOST_WIDE_INT instead of long. (FFETARGET_REAL_VALUE_FROM_LONGLONG_): New macro. (FFETARGET_LONGLONG_FROM_INTS_): New macro. (ffetarget_convert_complex1_integer4): Implement. (ffetarget_convert_complex2_integer4): Implement. (ffetarget_convert_integer4_complex1): Implement. (ffetarget_convert_integer4_complex2): Implement. (ffetarget_convert_integer4_real1): Implement. (ffetarget_convert_integer4_real2): Implement. (ffetarget_convert_real1_integer4): Implement. (ffetarget_convert_real2_integer4): Implement. * com.c (ffecom_constantunion): Handle INTEGER*8. (ffecom_constantunion_with_type): Likewise. * g77.f-torture/compile/8485.f: New test case. From-SVN: r66596
Roger Sayle committed -
2003-05-08 Paolo Carlini <pcarlini@unitus.it> * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode. From-SVN: r66595
Paolo Carlini committed -
* init.c (build_new_1): Don't reuse a TARGET_EXPR in an expression. Undo some of the recent reorg. From-SVN: r66594
Jason Merrill committed -
From-SVN: r66590
David Mosberger committed -
* config/i386/i386.c (ix86_split_long_move): Fix base register mode for XFmode splits for TARGET_64BIT. From-SVN: r66589
Richard Henderson committed -
* sched-ebb.c (schedule_ebb): Supply the correct starting block number to save_line_notes. From-SVN: r66588
Richard Henderson committed -
* toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro. (dump_file): Likewise. From-SVN: r66587
Richard Henderson committed -
From-SVN: r66586
GCC Administrator committed
-
- 07 May, 2003 24 commits
-
-
* 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
David Mosberger committed -
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
Richard Henderson committed -
From-SVN: r66582
Richard Henderson committed -
* unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word. From-SVN: r66581
Richard Henderson committed -
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
Benjamin Kosnik committed -
* 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
Zack Weinberg committed -
From-SVN: r66577
Jason Merrill committed -
From-SVN: r66576
Aldy Hernandez committed -
2003-05-07 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/200305051.c: Fix triplet. From-SVN: r66573
Aldy Hernandez committed -
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
Aldy Hernandez committed -
* splay-tree.c (splay_tree_predecessor): Fix comment. (splay_tree_successor): Fix comment. From-SVN: r66569
Josef Zlomek committed -
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
Jason Merrill committed -
R_XSTORMY16_12 relocs. From-SVN: r66563
Nick Clifton committed -
* call.c (build_conditional_expr): Don't assume that the folded expression has result_type. From-SVN: r66561
Jason Merrill committed -
* function.c (assign_parms): Correct reversed reg_parm_stack_space test. Add partial in-regs size to stack_args_size. From-SVN: r66560
Alan Modra committed -
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
Paolo Carlini committed -
* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option. From-SVN: r66556
Gerald Pfeifer committed -
* 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
Nathan Sidwell committed -
PR other/10658 * gcc.c (process_command): Update copyright date. From-SVN: r66554
Mark Mitchell committed -
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
Benjamin Kosnik committed -
From-SVN: r66549
Bruce Korb committed -
From-SVN: r66548
Tom Tromey committed -
* libjava.lang/verify.java: New file. * libjava.lang/verify.out: New file. From-SVN: r66547
Tom Tromey committed -
From-SVN: r66544
GCC Administrator committed
-
- 06 May, 2003 6 commits
-
-
From-SVN: r66542
Phil Edwards committed -
2003-05-06 Phil Edwards <pme@gcc.gnu.org> * doc/install.texi (mips-*-*): Add note about libstdc++. From-SVN: r66541
Phil Edwards committed -
* 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
DJ Delorie committed -
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also. * gcc.dg/nest.c: Likewise. From-SVN: r66537
DJ Delorie committed -
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
Phil Edwards committed -
2003-05-06 Eric Botcazou <ebotcazou@libertysurf.fr> * config-ml.in: Propagate INSTALL variables. From-SVN: r66534
Eric Botcazou committed
-