--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29
12:38 ---
Fixed.
--
What|Removed |Added
Status|ASSIGNED|RESOLVED
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-29
08:42 ---
Subject: Bug 23484
CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-rhl-branch
Changes by: [EMAIL PROTECTED] 2005-08-29 08:42:09
Modified files:
gcc: Ch
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-29
08:40 ---
Subject: Bug 23484
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-08-29 08:40:48
Modified files:
gcc: ChangeLog builtins.c
gcc/tes
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
URL|
--- Additional Comments From jakub at redhat dot com 2005-08-19 19:16
---
I have a preliminary fix, will work on testcases now, then test it thoroughly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19
19:00 ---
It can be confirmed on x86 with:
extern void abort (void);
#undef memcpy
#define memcpy(dst, src, len) \
__builtin___memcpy_chk (dst, src, len, __builtin_object_size (dst, 0))
int
main (void)
{
static
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19
18:55 ---
(In reply to comment #1)
Ignore that comment, I am stupid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23484
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19
18:54 ---
Hmm, let look at the source:
memcpy (&tmp, s, natint ? sizeof(tmp) : 4);
natint will be zero so we get
--
What|Removed |Added
---
--
What|Removed |Added
Severity|critical|normal
Component|c |middle-end
GCC host triplet|x86_64-unknown-linux-gnu