]> gcc.gnu.org Git - gcc.git/log
gcc.git
21 years agoexpr.c (move_block_from_reg): Remove "size" parm.
Alan Modra [Fri, 9 May 2003 06:37:25 +0000 (06:37 +0000)]
expr.c (move_block_from_reg): Remove "size" parm.

* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
Move code handling pieces not larger than a word to..
* function.c (assign_parms): ..here, but use change_address instead
of adjust_address and operand_subword, and expand_binop instead of
expand_shift.  Adjust calls to move_block_from_reg.
* expr.h (move_block_from_reg): Update declaration.
(copy_blkmode_from_reg): Formatting.
* Makefile.in (function.o): Add $(OPTABS_H) to deps.
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
move_block_from_reg calls.
* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
* config/sh/sh.c (sh_builtin_saveregs): Likewise.

From-SVN: r66623

21 years agoDaily bump.
GCC Administrator [Fri, 9 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66621

21 years agostormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which MUST_...
DJ Delorie [Fri, 9 May 2003 00:00:44 +0000 (20:00 -0400)]
stormy16.c (xstormy16_expand_builtin_va_arg): Fix to handle arguments for which MUST_PASS_IN_STACK is true (e.g....

* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
variable-sized types).
(xstormy16_function_arg): New.  Pass them that way too.
* config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
* config/stormy16/stormy16.h (FUNCTION_ARG): Call it.

From-SVN: r66619

21 years ago20020404-1.x: New, skip for 16-bit targets.
DJ Delorie [Thu, 8 May 2003 23:38:04 +0000 (19:38 -0400)]
20020404-1.x: New, skip for 16-bit targets.

* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
targets.
* gcc.c-torture/execute/20021024-1.x: Likewise.
* gcc.c-torture/execute/shiftdi.x: Likewise.
* g++.old-deja/g++.mike/p700.C: Handle 16-bit targets.
* g++.old-deja/g++.other/exprstmt1.C: Likewise.
* gcc.dg/20021018-1.c: Likewise.

From-SVN: r66618

21 years agoSolaris 7 .register fix.
Jeff Sturm [Thu, 8 May 2003 20:41:24 +0000 (20:41 +0000)]
Solaris 7 .register fix.

From-SVN: r66617

21 years agomklibgcc.in: Use mkinstalldirs when installing multilib directories.
Aldy Hernandez [Thu, 8 May 2003 20:10:57 +0000 (20:10 +0000)]
mklibgcc.in: Use mkinstalldirs when installing multilib directories.

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

        * mklibgcc.in: Use mkinstalldirs when installing multilib
        directories.

From-SVN: r66613

21 years agosh.c (gen_block_redirect, [...]): Use CODE_FOR_jump_compact instead of CODE_FOR_jump
J"orn Rennecke [Thu, 8 May 2003 19:36:55 +0000 (19:36 +0000)]
sh.c (gen_block_redirect, [...]): Use CODE_FOR_jump_compact instead of CODE_FOR_jump

* sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
instead of CODE_FOR_jump

From-SVN: r66611

21 years agoconfigure.host: Set with_libffi_default and libgcj_interpreter to "yes".
Tom Tromey [Thu, 8 May 2003 18:53:44 +0000 (18:53 +0000)]
configure.host: Set with_libffi_default and libgcj_interpreter to "yes".

* configure.host <powerpc64*-*>: Set with_libffi_default and
libgcj_interpreter to "yes".

From-SVN: r66609

21 years agonatGC.cc (drawString): Removed obsolete code.
Scott Gilbertson [Thu, 8 May 2003 18:51:51 +0000 (18:51 +0000)]
natGC.cc (drawString): Removed obsolete code.

2003-05-08  Scott Gilbertson  <scottg@mantatest.com>

* gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.

From-SVN: r66608

21 years agoobjc-act.c (error_with_ivar): Don't use error_with_file_and_line.
Gabriel Dos Reis [Thu, 8 May 2003 17:32:30 +0000 (17:32 +0000)]
objc-act.c (error_with_ivar): Don't use error_with_file_and_line.

* objc/objc-act.c (error_with_ivar): Don't use
error_with_file_and_line.
(warn_with_method): Don't use warning_with_file_and_line.

From-SVN: r66607

21 years agostmt.c (emit_locus): New macro.
Gabriel Dos Reis [Thu, 8 May 2003 17:09:09 +0000 (17:09 +0000)]
stmt.c (emit_locus): New macro.

* stmt.c (emit_locus): New macro.
(emit_filename): Remove.
(emit_lineno): Likewise.
(struct stmt_status): Replace members x_emit_filename and
x_emit_lineno with x_emit_locus.
(set_file_and_line_for_stmt): Adjust.
(expand_expr_stmt_value): Don't use warning_with_file_and_file.
(warn_if_unused_value): Likewise.
(check_seenlabel): Likewise.

From-SVN: r66603

21 years agoFix an entry.
David O'Brien [Thu, 8 May 2003 16:27:20 +0000 (16:27 +0000)]
Fix an entry.

From-SVN: r66602

21 years ago* g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.
Kaveh R. Ghazi [Thu, 8 May 2003 15:10:01 +0000 (15:10 +0000)]
* g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.

From-SVN: r66601

21 years agoc-decl.c (define_label): Tidy.
Gabriel Dos Reis [Thu, 8 May 2003 15:04:44 +0000 (15:04 +0000)]
c-decl.c (define_label): Tidy.

* 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

21 years agobuiltins.c (readonly_data_expr): New function.
Kaveh R. Ghazi [Thu, 8 May 2003 13:45:38 +0000 (13:45 +0000)]
builtins.c (readonly_data_expr): New function.

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

21 years agore PR fortran/8485 (g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication)
Roger Sayle [Thu, 8 May 2003 13:13:59 +0000 (13:13 +0000)]
re PR fortran/8485 (g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication)

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

21 years agostd_streambuf.h (setg, setp): Don't touch _M_mode.
Paolo Carlini [Thu, 8 May 2003 11:47:45 +0000 (13:47 +0200)]
std_streambuf.h (setg, setp): Don't touch _M_mode.

2003-05-08  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.

From-SVN: r66595

21 years agoinit.c (build_new_1): Don't reuse a TARGET_EXPR in an expression.
Jason Merrill [Thu, 8 May 2003 05:58:44 +0000 (01:58 -0400)]
init.c (build_new_1): Don't reuse a TARGET_EXPR in an expression.

        * init.c (build_new_1): Don't reuse a TARGET_EXPR in an
        expression.  Undo some of the recent reorg.

From-SVN: r66594

21 years ago* unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
David Mosberger [Thu, 8 May 2003 01:15:40 +0000 (01:15 +0000)]
* unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.

From-SVN: r66590

21 years agoi386.c (ix86_split_long_move): Fix base register mode for XFmode splits for TARGET_64BIT.
Richard Henderson [Thu, 8 May 2003 00:51:15 +0000 (17:51 -0700)]
i386.c (ix86_split_long_move): Fix base register mode for XFmode splits for TARGET_64BIT.

        * config/i386/i386.c (ix86_split_long_move): Fix base register
        mode for XFmode splits for TARGET_64BIT.

From-SVN: r66589

21 years agosched-ebb.c (schedule_ebb): Supply the correct starting block number to save_line_notes.
Richard Henderson [Thu, 8 May 2003 00:18:48 +0000 (17:18 -0700)]
sched-ebb.c (schedule_ebb): Supply the correct starting block number to save_line_notes.

        * sched-ebb.c (schedule_ebb): Supply the correct starting
        block number to save_line_notes.

From-SVN: r66588

21 years agotoplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
Richard Henderson [Thu, 8 May 2003 00:16:31 +0000 (17:16 -0700)]
toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.

        * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
        (dump_file): Likewise.

From-SVN: r66587

21 years agoDaily bump.
GCC Administrator [Thu, 8 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66586

21 years agocrtbegin.asm (__do_jv_register_classes): Don't forget to preserve gp.
David Mosberger [Wed, 7 May 2003 22:29:33 +0000 (22:29 +0000)]
crtbegin.asm (__do_jv_register_classes): Don't forget to preserve gp.

        * 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

21 years agoexcept.c: Revert 04-01 and 04-02 forced-unwind changes.
Richard Henderson [Wed, 7 May 2003 22:11:38 +0000 (15:11 -0700)]
except.c: Revert 04-01 and 04-02 forced-unwind changes.

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

21 years agoFix typo in last changelog entry.
Richard Henderson [Wed, 7 May 2003 22:03:58 +0000 (15:03 -0700)]
Fix typo in last changelog entry.

From-SVN: r66582

21 years agounwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word.
Richard Henderson [Wed, 7 May 2003 22:01:37 +0000 (15:01 -0700)]
unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr, not _Unwind_Word.

        * unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
        not _Unwind_Word.

From-SVN: r66581

21 years agocons: New.
Benjamin Kosnik [Wed, 7 May 2003 21:27:29 +0000 (21:27 +0000)]
cons: New.

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

21 years agostmt.c (force_label_rtx): New function, based on logic formerly found in expand_expr.
Zack Weinberg [Wed, 7 May 2003 21:14:48 +0000 (21:14 +0000)]
stmt.c (force_label_rtx): New function, based on logic formerly found in 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

21 years agos/burtle/iterative
Jason Merrill [Wed, 7 May 2003 20:30:32 +0000 (16:30 -0400)]
s/burtle/iterative

From-SVN: r66577

21 years agofix typo
Aldy Hernandez [Wed, 7 May 2003 20:05:27 +0000 (20:05 +0000)]
fix typo

From-SVN: r66576

21 years ago200305051.c: Fix triplet.
Aldy Hernandez [Wed, 7 May 2003 20:02:34 +0000 (20:02 +0000)]
200305051.c: Fix triplet.

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

        * gcc.dg/200305051.c: Fix triplet.

From-SVN: r66573

21 years agospe.h: Reverse arguments for __ev_subfw.
Aldy Hernandez [Wed, 7 May 2003 18:20:08 +0000 (18:20 +0000)]
spe.h: Reverse arguments for __ev_subfw.

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

21 years agosplay-tree.c (splay_tree_predecessor): Fix comment.
Josef Zlomek [Wed, 7 May 2003 18:19:36 +0000 (20:19 +0200)]
splay-tree.c (splay_tree_predecessor): Fix comment.

* splay-tree.c (splay_tree_predecessor): Fix comment.
(splay_tree_successor): Fix comment.

From-SVN: r66569

21 years agohashtab.c (burtle_hash): New fn.
Jason Merrill [Wed, 7 May 2003 18:07:58 +0000 (14:07 -0400)]
hashtab.c (burtle_hash): New fn.

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

21 years agoUpdate to include R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
Nick Clifton [Wed, 7 May 2003 15:12:32 +0000 (15:12 +0000)]
Update to include R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
R_XSTORMY16_12 relocs.

From-SVN: r66563

21 years agocall.c (build_conditional_expr): Don't assume that the folded expression has result_type.
Jason Merrill [Wed, 7 May 2003 15:00:10 +0000 (11:00 -0400)]
call.c (build_conditional_expr): Don't assume that the folded expression has result_type.

        * call.c (build_conditional_expr): Don't assume that the folded
        expression has result_type.

From-SVN: r66561

21 years agofunction.c (assign_parms): Correct reversed reg_parm_stack_space test.
Alan Modra [Wed, 7 May 2003 13:37:57 +0000 (13:37 +0000)]
function.c (assign_parms): Correct reversed reg_parm_stack_space test.

* function.c (assign_parms): Correct reversed reg_parm_stack_space
test.  Add partial in-regs size to stack_args_size.

From-SVN: r66560

21 years agostd_fstream.h (_M_is_indeterminate): Remove.
Paolo Carlini [Wed, 7 May 2003 12:48:58 +0000 (14:48 +0200)]
std_fstream.h (_M_is_indeterminate): Remove.

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

21 years agoinvoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option.
Gerald Pfeifer [Wed, 7 May 2003 12:28:18 +0000 (14:28 +0200)]
invoke.texi (Warning Options): Mark -Wmissing-declarations as a C only option.

* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
as a C only option.

From-SVN: r66556

21 years agogcov-io.h (GCOV_LOCKED): New #define.
Nathan Sidwell [Wed, 7 May 2003 10:40:09 +0000 (10:40 +0000)]
gcov-io.h (GCOV_LOCKED): New #define.

* 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

21 years agore PR other/10658 (Change copyright year.)
Mark Mitchell [Wed, 7 May 2003 06:10:49 +0000 (06:10 +0000)]
re PR other/10658 (Change copyright year.)

PR other/10658
* gcc.c (process_command): Update copyright date.

From-SVN: r66554

21 years agostl_algo.h: Enums as _S_.
Benjamin Kosnik [Wed, 7 May 2003 05:01:59 +0000 (05:01 +0000)]
stl_algo.h: Enums as _S_.

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

21 years agoCorrect spurious whitespace differences
Bruce Korb [Wed, 7 May 2003 01:29:58 +0000 (01:29 +0000)]
Correct spurious whitespace differences

From-SVN: r66549

21 years ago* verify.cc: Reverted previous patch.
Tom Tromey [Wed, 7 May 2003 01:25:20 +0000 (01:25 +0000)]
* verify.cc: Reverted previous patch.

From-SVN: r66548

21 years agoverify.java: New file.
Tom Tromey [Wed, 7 May 2003 01:23:16 +0000 (01:23 +0000)]
verify.java: New file.

* libjava.lang/verify.java: New file.
* libjava.lang/verify.out: New file.

From-SVN: r66547

21 years agoDaily bump.
GCC Administrator [Wed, 7 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66544

21 years agoFix typo in previous commit (3.3 not 3.3.0).
Phil Edwards [Tue, 6 May 2003 23:20:14 +0000 (23:20 +0000)]
Fix typo in previous commit (3.3 not 3.3.0).

From-SVN: r66542

21 years agoinstall.texi (mips-*-*): Add note about libstdc++.
Phil Edwards [Tue, 6 May 2003 23:17:59 +0000 (23:17 +0000)]
install.texi (mips-*-*): Add note about libstdc++.

2003-05-06  Phil Edwards  <pme@gcc.gnu.org>

* doc/install.texi (mips-*-*):  Add note about libstdc++.

From-SVN: r66541

21 years agostormy16.c (xstormy16_function_profiler): New.
DJ Delorie [Tue, 6 May 2003 22:47:45 +0000 (18:47 -0400)]
stormy16.c (xstormy16_function_profiler): New.

* 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

21 years ago20021014-1.c: XFAIL for xstormy16 also.
DJ Delorie [Tue, 6 May 2003 22:47:03 +0000 (18:47 -0400)]
20021014-1.c: XFAIL for xstormy16 also.

* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
* gcc.dg/nest.c: Likewise.

From-SVN: r66537

21 years agoindex.html (3.10): Add note about mips atomicity.h.
Phil Edwards [Tue, 6 May 2003 22:23:25 +0000 (22:23 +0000)]
index.html (3.10): Add note about mips atomicity.h.

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

21 years agoconfig-ml.in: Propagate INSTALL variables.
Eric Botcazou [Tue, 6 May 2003 20:58:44 +0000 (22:58 +0200)]
config-ml.in: Propagate INSTALL variables.

2003-05-06  Eric Botcazou  <ebotcazou@libertysurf.fr>

* config-ml.in: Propagate INSTALL variables.

From-SVN: r66534

21 years agoc-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes and -Wstrict-prototypes...
Neil Booth [Tue, 6 May 2003 20:42:32 +0000 (20:42 +0000)]
c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes and -Wstrict-prototypes if C++.

* c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
and -Wstrict-prototypes if C++.

From-SVN: r66533

21 years agolinuxspe.h: New file.
Aldy Hernandez [Tue, 6 May 2003 19:49:21 +0000 (19:49 +0000)]
linuxspe.h: New file.

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

        * config/rs6000/linuxspe.h: New file.

        * config.gcc: Add powerpc-*-linux-gnuspe* target.

From-SVN: r66531

21 years agoAnd retweak.
Michael Ritzert [Tue, 6 May 2003 19:31:39 +0000 (19:31 +0000)]
And retweak.

Co-Authored-By: Matt Kraai <kraai@alumni.cmu.edu>
From-SVN: r66530

21 years agounwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame didn't save sp.
Richard Henderson [Tue, 6 May 2003 17:28:37 +0000 (10:28 -0700)]
unwind-dw2.c (uw_update_context_1): Only set cfa as sp if previous frame 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

21 years ago* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
Michael Ritzert [Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)]
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.

From-SVN: r66523

21 years agotypeck.c (build_unary_op): Deal with const qualifier in invalid pointer-to-member...
Kriang Lerdsuwanakij [Tue, 6 May 2003 14:02:09 +0000 (14:02 +0000)]
typeck.c (build_unary_op): Deal with const qualifier in invalid pointer-to-member earlier.

* typeck.c (build_unary_op): Deal with const qualifier in
invalid pointer-to-member earlier.

From-SVN: r66522

21 years agomips-protos.h (mips_subword, [...]): Declare.
Richard Sandiford [Tue, 6 May 2003 11:23:42 +0000 (11:23 +0000)]
mips-protos.h (mips_subword, [...]): Declare.

* 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

21 years ago2003-05-06 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 6 May 2003 10:07:28 +0000 (10:07 +0000)]
2003-05-06  Michael Koch  <konqueror@gmx.de>

* 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

21 years agoMake-lang.in (treelang/tree1.o): Depends on input.h
Nathan Sidwell [Tue, 6 May 2003 09:18:46 +0000 (09:18 +0000)]
Make-lang.in (treelang/tree1.o): Depends on input.h

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

21 years agomips-protos.h (mips_simplify_dwarf_addr): Remove.
Richard Sandiford [Tue, 6 May 2003 07:06:11 +0000 (07:06 +0000)]
mips-protos.h (mips_simplify_dwarf_addr): Remove.

* 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

21 years ago* configure.target (mips*): Use the generic atomicity.h by default.
Richard Sandiford [Tue, 6 May 2003 07:01:25 +0000 (07:01 +0000)]
* configure.target (mips*): Use the generic atomicity.h by default.

From-SVN: r66517

21 years agoreal.c (real_powi): New function to calculate the value of a real raised to an intege...
Roger Sayle [Tue, 6 May 2003 03:14:10 +0000 (03:14 +0000)]
real.c (real_powi): New function to calculate the value of a real raised to 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

21 years agoDaily bump.
GCC Administrator [Tue, 6 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66512

21 years ago* doc/extend.texi (Variable Attributes): Re-sort table and tidy.
Richard Henderson [Mon, 5 May 2003 23:12:37 +0000 (16:12 -0700)]
* doc/extend.texi (Variable Attributes): Re-sort table and tidy.

From-SVN: r66510

21 years agostruct-by-value-1_main.c: New test file.
Janis Johnson [Mon, 5 May 2003 23:09:47 +0000 (23:09 +0000)]
struct-by-value-1_main.c: New test file.

2003-05-05  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-1_main.c: New test file.
* gcc.dg/compat/struct-by-value-1_x.c: New test file.
* gcc.dg/compat/struct-by-value-1_y.c: New test file.
* gcc.dg/compat/struct-by-value-2_main.c: New test file.
* gcc.dg/compat/struct-by-value-2_x.c: New test file.
* gcc.dg/compat/struct-by-value-2_y.c: New test file.
* gcc.dg/compat/struct-by-value-3_main.c: New test file.
* gcc.dg/compat/struct-by-value-3_x.c: New test file.
* gcc.dg/compat/struct-by-value-3_y.c: New test file.
* gcc.dg/compat/struct-by-value-4_main.c: New test file.
* gcc.dg/compat/struct-by-value-4_x.c: New test file.
* gcc.dg/compat/struct-by-value-4_y.c: New test file.
* gcc.dg/compat/struct-by-value-5_main.c: New test file.
* gcc.dg/compat/struct-by-value-5_x.c: New test file.
* gcc.dg/compat/struct-by-value-5_y.c: New test file.

From-SVN: r66509

21 years agosysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror other FreeBSD ports.
David O'Brien [Mon, 5 May 2003 22:57:58 +0000 (22:57 +0000)]
sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror other FreeBSD ports.

2003-05-05  David O'Brien  <obrien@FreeBSD.org>
* config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
other FreeBSD ports.
(LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.

From-SVN: r66508

21 years agostl_threads.h (_Atomic_swap): Kill it...
Loren J. Rittle [Mon, 5 May 2003 22:28:16 +0000 (22:28 +0000)]
stl_threads.h (_Atomic_swap): Kill it...

* include/bits/stl_threads.h (_Atomic_swap): Kill it...
(_Swap_lock_struct<>): ...and the horse it rode in on.
* src/globals.cc (_Swap_lock_struct<>): Likewise.
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
member to support...
* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
visibility rules related to POSIX threads.
* testsuite/thread/pthread7-rope.cc: New test.

From-SVN: r66507

21 years agoMakefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around expanded variables.
Janis Johnson [Mon, 5 May 2003 21:59:35 +0000 (21:59 +0000)]
Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around expanded variables.

2003-05-05  Janis Johnson  <janis187@us.ibm.com>

* Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
expanded variables.
* doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
testsuite:
* lib/compat.exp (compat-execute): New argument.
* g++.dg/compat/compat.exp: Pass new argument to compat-execute.
* gcc.dg/compat: New test directory.
* gcc.dg/compat/compat.exp: New expect script.
* gcc.dg/compat/scalar-by-value-1_main.c: New test file.
* gcc.dg/compat/scalar-by-value-1_x.c: New test file.
* gcc.dg/compat/scalar-by-value-1_y.c: New test file.
* gcc.dg/compat/scalar-by-value-2_main.c: New test file.
* gcc.dg/compat/scalar-by-value-2_x.c: New test file.
* gcc.dg/compat/scalar-by-value-2_y.c: New test file.

From-SVN: r66506

21 years agortl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
Zack Weinberg [Mon, 5 May 2003 21:57:54 +0000 (21:57 +0000)]
rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.

* rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
* varasm.c (struct varasm_status): Add deferred_constants field.
(n_deferred_strings): Delete variable.
(n_deferred_constants): New #define.
(struct constant_descriptor_tree): Kill next and label fields.
(const_hash_table, MAX_HASH_TABLE): Delete.
(const_desc_htab): New static variable.
(const_hash): Rename const_desc_hash, and make it fit the
hashtab.h interface.
(const_desc_eq): New.
(const_hash_1, compare_constant): Const-ify arguments.
(build_constant_desc): Set DEFERRED_CONSTANT_P on all new
SYMBOL_REFs.  Clarify comments.  Don't set desc->label.
(output_constant_def): Do the lookup/insert using the
hashtab.h interface.  Don't muck with n_deferred_constants or
DEFERRED_CONSTANT_P here.
Always call maybe_output_constant_def_contents.
(maybe_output_constant_def_contents): Take a pointer to the
descriptor, not the EXP and RTL separately.  Return
immediately if this constant is not deferred.  Defer output of
everything, except writable string constants.  Update
n_deferred_constants here.
(output_constant_def_contents): Now takes just one argument,
an rtx.  Clear DEFERRED_CONSTANT_P here.
(mark_constant_pool): Update for rename of n_deferred_strings.
(mark_constant): Don't clear DEFERRED_CONSTANT_P here.

(init_varasm_status): Clear p->deferred_constants.
(init_varasm_once): Call htab_create_ggc for const_desc_htab.

* gcc.dg/const-elim-1.c, gcc.dg/const-elim-2.c: New testcases.

From-SVN: r66505

21 years agobuiltins.c (expand_builtin_stpcpy): Only expand when the length of the source string...
Kaveh R. Ghazi [Mon, 5 May 2003 21:14:46 +0000 (21:14 +0000)]
builtins.c (expand_builtin_stpcpy): Only expand when the length of the source string can be evaluated at compile-time.

* builtins.c (expand_builtin_stpcpy): Only expand when the length
of the source string can be evaluated at compile-time.

From-SVN: r66503

21 years agore PR c++/9537 ([New parser] problem handling const return types)
Jason Merrill [Mon, 5 May 2003 21:11:13 +0000 (17:11 -0400)]
re PR c++/9537 ([New parser] problem handling const return types)

        PR c++/9537
        * call.c (conditional_conversion): Build an RVALUE_CONV if
        we're just changing the cv-quals.
        (build_conditional_expr): Don't call convert to change
        cv-quals.

From-SVN: r66502

21 years agosimd-6.c: New.
Aldy Hernandez [Mon, 5 May 2003 20:31:45 +0000 (20:31 +0000)]
simd-6.c: New.

2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-6.c: New.

        * c-typeck.c (digest_init): Handle arrays of vector constants.

From-SVN: r66501

21 years ago2003-05-05 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 5 May 2003 20:18:31 +0000 (20:18 +0000)]
2003-05-05  Michael Koch  <konqueror@gmx.de>

* java/net/NetworkInterface.java
(networkInterfaces): Removed.
(getByName): Use getRealNetworkInterfaces() instead of
networkInterfaces.
(getByInetAddress): Likewise.
(getNetworkInterfaces): Likewise.
(toString): Fix output of addresses of an interface.

From-SVN: r66500

21 years agors6000.c (validate_condition_mode): Use flag_finite_math_only.
Geoffrey Keating [Mon, 5 May 2003 19:33:52 +0000 (19:33 +0000)]
rs6000.c (validate_condition_mode): Use flag_finite_math_only.

2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/rs6000.c (validate_condition_mode): Use
flag_finite_math_only.
(rs6000_reverse_condition): Never return UNKNOWN; use
flag_finite_math_only.
(rs6000_generate_compare): Use flag_finite_math_only.
(rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
* gcc.dg/ppc-fsel-2.c: New test.

From-SVN: r66499

21 years agobuiltins.c (expand_builtin_mempcpy): New function.
Jakub Jelinek [Mon, 5 May 2003 19:31:35 +0000 (21:31 +0200)]
builtins.c (expand_builtin_mempcpy): New function.

* builtins.c (expand_builtin_mempcpy): New function.
(expand_builtin_stpcpy): Optimize stpcpy whose return value is
ignored into strcpy no matter what arguments it has.
(expand_builtin) <case BUILT_IN_MEMPCPY>: Call
expand_builtin_mempcpy.

* gcc.c-torture/execute/string-opt-18.c (main): Add 3 new tests.

From-SVN: r66498

21 years ago20030505.c: New.
Aldy Hernandez [Mon, 5 May 2003 19:21:10 +0000 (19:21 +0000)]
20030505.c: New.

2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.dg/20030505.c: New.

        * c-typeck.c (convert_for_assignment): Opaque pointers can
        interconvert.

        * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
        (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
        (spe_init_builtins): Rename all pv2si_type_node to
        opaque_p_V2SI_type_node.
        Remove declaration of pv2si_type_node.
        (is_ev64_opaque_type): Accept opaque pointers.

From-SVN: r66495

21 years agotweak comment
Jason Merrill [Mon, 5 May 2003 19:16:07 +0000 (15:16 -0400)]
tweak comment

From-SVN: r66494

21 years agotoplev.c (check_global_declarations): Suppress not-used warning for volatile variables.
Geoffrey Keating [Mon, 5 May 2003 18:29:29 +0000 (18:29 +0000)]
toplev.c (check_global_declarations): Suppress not-used warning for volatile variables.

2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* toplev.c (check_global_declarations): Suppress not-used warning
for volatile variables.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/unused-5.c: New test.

From-SVN: r66493

21 years agoexpr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions...
Olivier Hainque [Mon, 5 May 2003 17:56:35 +0000 (19:56 +0200)]
expr.c (expand_expr, [...]): Refine the test forcing usage of bitfield instructions for mode1 != BLKmode...

        * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
        usage of bitfield instructions for mode1 != BLKmode, only ignoring
        SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
        (store_field): Likewise.

From-SVN: r66492

21 years agors6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit...
Aldy Hernandez [Mon, 5 May 2003 17:40:03 +0000 (17:40 +0000)]
rs6000.c (rs6000_expand_binop_builtin): Add evsubifw to builtins accepting 5-bit unsigned constants.

2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
        evsubifw to builtins accepting 5-bit unsigned constants.
        (easy_vector_constant): Return if V1DImode.  Fix typo.

[[Split portion of a mixed commit.]]

From-SVN: r66490.2

21 years agospe.h: Revert licensing change from last patch.
Aldy Hernandez [Mon, 5 May 2003 15:50:31 +0000 (15:50 +0000)]
spe.h: Revert licensing change from last patch.

2003-05-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Revert licensing change from last patch.

From-SVN: r66486

21 years agostormy16.md (negsi2): Allocate the pseudos before reload, but defer the split until...
DJ Delorie [Mon, 5 May 2003 15:25:01 +0000 (11:25 -0400)]
stormy16.md (negsi2): Allocate the pseudos before reload, but defer the split until after.

* config/stormy16/stormy16.md (negsi2): Allocate the pseudos
before reload, but defer the split until after.
* config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
to match.

From-SVN: r66485

21 years agoFix a typo overlooked in the previous commit.
Kriang Lerdsuwanakij [Mon, 5 May 2003 14:46:00 +0000 (14:46 +0000)]
Fix a typo overlooked in the previous commit.

From-SVN: r66484

21 years agore PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to...
Kriang Lerdsuwanakij [Mon, 5 May 2003 14:35:58 +0000 (14:35 +0000)]
re PR c++/10496 ([diagnostic] erroneus suggestion in diagnostic asks the user to write "&const class::memfun" which is illegal)

PR c++/10496
* typeck.c (build_unary_op): Don't output const qualifier when
output invalid pointer-to-member diagnostics.

* g++.dg/warn/pmf1.C: New test.

From-SVN: r66481

21 years agors6000.h (ASM_CPU_SPEC): Add 440 support.
David Edelsohn [Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)]
rs6000.h (ASM_CPU_SPEC): Add 440 support.

        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

From-SVN: r66480

21 years agoFixed wrong changelog entry
Michael Koch [Mon, 5 May 2003 13:37:14 +0000 (13:37 +0000)]
Fixed wrong changelog entry

From-SVN: r66479

21 years agoDataInputStream.java: Reordered methods to match libgcj.
Michael Koch [Mon, 5 May 2003 13:35:15 +0000 (13:35 +0000)]
DataInputStream.java: Reordered methods to match libgcj.

2003-05-04  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java:
Reordered methods to match libgcj.

From-SVN: r66478

21 years ago* decl.c: Fix typos.
Kriang Lerdsuwanakij [Mon, 5 May 2003 13:26:50 +0000 (13:26 +0000)]
* decl.c: Fix typos.

From-SVN: r66477

21 years agore PR c++/4494 (Possible problem with compiler warnings on main())
Kriang Lerdsuwanakij [Mon, 5 May 2003 12:19:12 +0000 (12:19 +0000)]
re PR c++/4494 (Possible problem with compiler warnings on main())

PR c++/4494
* decl.c (start_function): Use same_type_p to check return type
of main.

* g++.dg/warn/main.C: New test.

From-SVN: r66476

21 years agolibgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined.
Zdenek Dvorak [Mon, 5 May 2003 05:22:07 +0000 (07:22 +0200)]
libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc is defined.

* libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
is defined.

From-SVN: r66475

21 years agoForgot to add this to commit line on 2003/05/02. Its in Changelog already.
Michael Koch [Mon, 5 May 2003 05:10:47 +0000 (05:10 +0000)]
Forgot to add this to commit line on 2003/05/02. Its in Changelog already.

>2003-05-02  Michael Koch  <konqueror@gmx.de>
>
> * java/net/URI.java
> (create): Doesnt throws any exceptions.

From-SVN: r66474

21 years agoDaily bump.
GCC Administrator [Mon, 5 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66473

21 years agoupdate_version (textstring_FILES): Only version.c needs to be updated...
Gerald Pfeifer [Sun, 4 May 2003 22:51:26 +0000 (00:51 +0200)]
update_version (textstring_FILES): Only version.c needs to be updated...

* update_version (textstring_FILES): Only version.c needs to be
updated, now that we do not consider older branches any more.

From-SVN: r66471

21 years agoGtkButtonPeer.java: Fix misspelling of "version".
Matt Kraai [Sun, 4 May 2003 22:26:43 +0000 (22:26 +0000)]
GtkButtonPeer.java: Fix misspelling of "version".

* gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
"version".
* gnu/awt/gtk/GtkComponentPeer.java: Likewise.
* gnu/awt/gtk/GtkContainerPeer.java: Likewise.
* gnu/awt/gtk/GtkFramePeer.java: Likewise.
* gnu/awt/gtk/GtkLabelPeer.java: Likewise.
* gnu/awt/gtk/GtkMainThread.java: Likewise.
* gnu/awt/gtk/GtkToolkit.java: Likewise.
* gnu/awt/gtk/GtkWindowPeer.java: Likewise.
* java/security/Key.java: Likewise.
* java/security/PrivateKey.java: Likewise.
* java/security/Provider.java: Likewise.
* java/security/PublicKey.java: Likewise.

From-SVN: r66469

21 years agobuiltin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_...
Kaveh R. Ghazi [Sun, 4 May 2003 22:18:17 +0000 (22:18 +0000)]
builtin-attrs.def (ATTR_NOTHROW_NONNULL_1, [...]): Renamed from ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.

gcc:
* builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.

(ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
New.

* builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
(BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment

(BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
BUILT_IN_STRDUP): Add "nonnull" attribute.

testsuite:
* gcc.dg/nonnull-3.c: New test.

From-SVN: r66468

21 years agoconfigure.in (AC_CHECK_FUNCS): Don't make multiple calls.
Kaveh R. Ghazi [Sun, 4 May 2003 22:14:18 +0000 (22:14 +0000)]
configure.in (AC_CHECK_FUNCS): Don't make multiple calls.

* configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
* configure: Regenerate.

From-SVN: r66467

21 years ago3.cc: New file, testing basic_string<char>::find_first_not_of.
Paolo Carlini [Sun, 4 May 2003 22:12:18 +0000 (00:12 +0200)]
3.cc: New file, testing basic_string<char>::find_first_not_of.

2003-05-04  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/21_strings/basic_string/find/char/3.cc: New
file, testing basic_string<char>::find_first_not_of.
* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
Likewise for basic_string<wchar_t>.

From-SVN: r66466

This page took 0.102144 seconds and 5 git commands to generate.