This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/49428] Wrong FP calculation that yields 0.0.


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

--- Comment #2 from ecologicyborg at gmail dot com 2011-06-16 14:31:28 UTC ---
2011/6/16 rguenth at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org>

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49428
>
> Richard Guenther <rguenth at gcc dot gnu.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|                            |INVALID
>
> --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org>
> 2011-06-16 08:51:35 UTC ---
> Well, properly return uint64_t from rdtsc ... otherwise you only get the
> lower bits.
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>

Thanks Richard Guentner, damn my error due to that i did rewrite rdtsc
because
extern "C" was not recognized by the C compiler. Damn, damn.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]