--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-25 22:25
---
Feedback not forthcoming.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41060
--- Comment #2 from robert dot stewart at sig dot com 2009-08-14 12:23
---
I'll try to create a test case. As usual, it appears in complex library code
rather than in a simple context. Most (all?) of the cases in which I observed
it were in class or function templates, so it may be th
--- Comment #1 from redi at gcc dot gnu dot org 2009-08-14 09:51 ---
Do you have a testcase?
I tried this and static_cast behaves the same as the C-style cast:
int i1 = 0.5;
int i2 = (int)0.5;
int i3 = static_cast(0.5);
Only the first line gives a warning.
--
http://gcc.gnu.org/b