--- Comment #8 from rguenth at gcc dot gnu dot org 2010-01-08 16:58 ---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-01-08 16:58 ---
Subject: Bug 42528
Author: rguenth
Date: Fri Jan 8 16:57:59 2010
New Revision: 155740
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155740
Log:
2010-01-08 Richard Guenther
PR lto/42528
--- Comment #6 from anton at samba dot org 2010-01-07 11:01 ---
Thanks Richard, it passes my tests.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42528
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-01-03 18:21 ---
Created an attachment (id=19455)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19455&action=view)
patch
Patch I am going to test. Further testing appreciated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-03 18:12 ---
Which seems to be because of CCP which folds
D.2023_3 = __builtin___strcpy_chk (&p[1], &"vwxyz"[0], 31);
with unsigned LHS to
D.2023_3 = ( *) __builtin_memcpy (&p[1], &"vwxyz"[0], 6);
which requires a temporary a
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-03 17:31 ---
The same problem exists for builtin functions that return or take arguments
of type char *. They change signature according to -f[un]signed-char which
causes for example
FAIL: gcc.c-torture/execute/builtins/strcpy-
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-03 14:33 ---
This is because va_list_type_node is char * on some targets and so
pointer-to char types get globbed into it. But va_list_type_node is
re-constructed as char * at IL read time and thus we read back
unsigned char * a
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-31 15:08 ---
Confirmed on i?86-linux with -funsigned-char instead.
I'll have a looksee.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
-