http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
--- Comment #4 from Vittorio Zecca zeccav at gmail dot com 2011-09-29
06:58:24 UTC ---
About run time checking: I believe the bit size of k is known at compile time,
and the overhead to check n against it is negligible as compared to computing
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
--- Comment #2 from Vittorio Zecca zeccav at gmail dot com 2011-09-28
09:20:40 UTC ---
I meant checking static expressions at compilation time, as in my example.
This has no cost at run time.
You proposed a run time check that still should be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
--- Comment #3 from Steve Kargl sgk at troutmask dot apl.washington.edu
2011-09-28 19:45:48 UTC ---
On Wed, Sep 28, 2011 at 09:20:40AM +, zeccav at gmail dot com wrote:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
--- Comment #2 from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50514
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
---