public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: jakub@gcc.gnu.org
To: sayle@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: optimization/10339
Date: Tue, 20 May 2003 13:06:00 -0000	[thread overview]
Message-ID: <20030520130600.13120.qmail@sources.redhat.com> (raw)

The following reply was made to PR optimization/10339; it has been noted by GNATS.

From: jakub@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: optimization/10339
Date: 20 May 2003 13:02:12 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Branch: 	gcc-3_3-rhl-branch
 Changes by:	jakub@gcc.gnu.org	2003-05-20 13:02:12
 
 Modified files:
 	gcc            : ChangeLog builtin-types.def builtins.c 
 	                 builtins.def c-decl.c expr.c expr.h 
 
 Log message:
 	2003-05-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 	
 	* builtins.c (readonly_data_expr): New function.
 	(expand_builtin_memmove): Optimize any rodata source, not just
 	strings.
 	
 	2003-05-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 	
 	* builtins.c (expand_builtin_stpcpy): Only expand when the length
 	of the source string can be evaluated at compile-time.
 	
 	2003-05-05  Jakub Jelinek  <jakub@redhat.com>
 	
 	* 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.
 	
 	2003-05-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 	
 	* builtins.c (expand_builtin_stpcpy): Copy `arglist' before
 	modifying it.
 	
 	2003-04-28  Jakub Jelinek  <jakub@redhat.com>
 	
 	* c-decl.c (finish_decl): When prototype with asmspec is found
 	for built-in, adjust built_in_decls as well as expr.c decls.
 	* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
 	(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
 	* expr.h (init_block_move_fn, init_block_clear_fn): New prototypes.
 	
 	2003-04-28  Jakub Jelinek  <jakub@redhat.com>
 	
 	* builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
 	* builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
 	* builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
 	functions.
 	(expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
 	
 	2003-04-23  Roger Sayle  <roger@eyesopen.com>
 	
 	PR optimization/10339
 	* builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
 	directly instead of unsafely transforming call into a memcmp.
 	(expand_builtin_strncmp): Likewise.
 	
 	2003-04-19  Roger Sayle  <roger@eyesopen.com>
 	
 	* builtins.c (expand_builtin):  Don't expand a pure or const
 	built-in function if the result will be ignored and none of
 	its arguments are volatile.
 	
 	2003-04-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 	
 	* builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
 	(expand_builtin_stpcpy): New.
 	(expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
 	* builtins.def: Add mempcpy & stpcpy support.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.16114.2.523.2.13&r2=1.16114.2.523.2.14
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtin-types.def.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.10.2.1&r2=1.10.2.1.4.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.165.2.4&r2=1.165.2.4.2.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.def.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.39.2.2&r2=1.39.2.2.2.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.356.2.8&r2=1.356.2.8.2.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.498.2.17&r2=1.498.2.17.2.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.124.2.1&r2=1.124.2.1.4.1
 


             reply	other threads:[~2003-05-20 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 13:06 jakub [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-23 13:16 optimization/10339 sayle
2003-04-07 18:56 optimization/10339 Wolfgang Bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030520130600.13120.qmail@sources.redhat.com \
    --to=jakub@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=sayle@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).