[Bug c/43128] [4.5 Regression] c-c++-common/pr41779.c doesn't work
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 21 16:48:00 GMT 2010
------- Comment #10 from hjl dot tools at gmail dot com 2010-02-21 16:47 -------
[hjl@gnu-6 gcc]$ cat /tmp/x.i
float f5(float x, int y)
{
return x * y;
}
[hjl@gnu-6 gcc]$ gcc -S /tmp/x.i -Wconversion -m32 -std=c99
/tmp/x.i: In function Âf5Â:
/tmp/x.i:3: warning: conversion to Âfloat from Âint may alter its value
[hjl@gnu-6 gcc]$ ./xgcc -B./ -S /tmp/x.i -Wconversion -m32 -std=c99
[hjl@gnu-6 gcc]$
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43128
More information about the Gcc-bugs
mailing list