--- Additional Comments From steven at gcc dot gnu dot org 2004-11-28
00:26 ---
Honza, looks like we're not setting up the libcall right in the -ftrapv
case. Can you with all your RTL and amd64-fu give this a look?
--
What|Removed |Added
--
--- Additional Comments From steven at gcc dot gnu dot org 2004-11-28
00:22 ---
Much simpler test case:
$ cat t.c
extern int printf (__const char *__restrict __format, ...);
int __attribute__ ((__noinline__))
foo (int a, int b)
{
return a - b;
}
int
main (void)
{
pri
--- Additional Comments From steven at gcc dot gnu dot org 2004-11-28
00:07 ---
I can reproduce this on x86_64-unknown-linux-gnu with
"GNU C version 4.0.0 20041127 (experimental) (x86_64-unknown-linux-gnu)"
--
What|Removed |Added
---
--
What|Removed |Added
Severity|critical|normal
Keywords||wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id
--- Additional Comments From skunk at iskunk dot org 2004-11-24 22:32
---
Created an attachment (id=7600)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7600&action=view)
Test case exhibiting subject bug
The bug occurs in the lib.c file. I have added some extra printf()s and an
ass