public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16172] New: simple function generates an inappropriate memmove() call
@ 2004-06-24  8:06 akpm at osdl dot org
  2004-06-24  8:11 ` [Bug middle-end/16172] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: akpm at osdl dot org @ 2004-06-24  8:06 UTC (permalink / raw)
  To: gcc-bugs

compiling http://www.zip.com.au/~akpm/linux/patches/stuff/fib_hash.i

with

/usr/local/gcc-cvs/bin/gcc -Wp,-MD,net/ipv4/.fib_hash.o.d -nostdinc -iwithprefix
include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2
-fno-unit-at-a-time -march=i686 -mregparm=3 -Iinclude/asm-i386/mach-default
-gdwarf-2 -O1 -Os -g -Wdeclaration-after-statement    -DKBUILD_BASENAME=fib_hash
-DKBUILD_MODNAME=fib_hash -c -o net/ipv4/.tmp_fib_hash.o net/ipv4/fib_hash.c

causes the fn_hash() function to generate a call to memmove().  It seems
inappropriate, as that function deals with little scalars.

-- 
           Summary: simple function generates an inappropriate memmove()
                    call
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: akpm at osdl dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: gcc version 3.5.0 20040623 (experimental)
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16172


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-06-13  3:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-24  8:06 [Bug c/16172] New: simple function generates an inappropriate memmove() call akpm at osdl dot org
2004-06-24  8:11 ` [Bug middle-end/16172] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-06-24  8:52 ` falk at debian dot org
2004-06-24 15:31 ` pinskia at gcc dot gnu dot org
2004-06-28  2:11 ` [Bug middle-end/16172] " pinskia at gcc dot gnu dot org
2004-10-31  3:28 ` roger at eyesopen dot com
2004-10-31  4:35 ` pinskia at gcc dot gnu dot org
2005-01-13 19:25 ` pinskia at gcc dot gnu dot org
2005-04-06 17:31 ` [Bug middle-end/16172] simple function generates an memmove() call instead of inlining pinskia at gcc dot gnu dot org
2005-06-13  3:58 ` pinskia at gcc dot gnu dot org

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).