http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
--- Comment #8 from rguenther at suse dot de rguenther at suse dot de
2012-12-04 09:02:00 UTC ---
On Mon, 3 Dec 2012, mpreda at gmail dot com wrote:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
--- Comment #7 from Mihai
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
Richard Biener rguenth at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
Richard Biener rguenth at gcc dot gnu.org changed:
What|Removed |Added
Keywords|wrong-code |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2012-12-03
12:51:45 UTC ---
I knew that a PR using marshalling couldn't be right ;)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9
--- Comment #7 from Mihai Preda mpreda at gmail dot com 2012-12-03 22:13:03
UTC ---
Thanks, I didn't realize that (unsigned)-1.0 is undefined.
For the behavior I was expecting it's enough to use an intermediary cast
through int, e.g.