------- Comment #22 from ubizjak at gmail dot com  2008-02-08 21:17 -------
Created an attachment (id=15119)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15119&action=view)
Executable test that shows the failure.

This is the test that shows the inliner failure:

[EMAIL PROTECTED] ~]$ gcc -O2 test.c
[EMAIL PROTECTED] ~]$ ./a.out
uexp=213
sig[0]=5834422113351499776
sig[1]=4377335499248575995
sig[2]=14012984643248170709

[EMAIL PROTECTED] ~]$ gcc -O2 -DINLINE test.c
[EMAIL PROTECTED] ~]$ ./a.out
uexp=212
sig[0]=11668844226702999552
sig[1]=1837141970856070134
sig[2]=9579225209565564328

The first result is correct, the second is not.


-- 


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

Reply via email to