https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #11 from Paul A. Bristow ---
Thanks for all this, which looks helpful, but I am not able to use unreleased
compiler versions, so meanwhile I am working to use a workaround (to allow me
to see what other pitfalls lie ahead for the novi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #9 from Jakub Jelinek ---
Author: jakub
Date: Wed Jul 20 14:00:02 2016
New Revision: 238520
URL: https://gcc.gnu.org/viewcvs?rev=238520&root=gcc&view=rev
Log:
PR c++/50060
* constexpr.c (cxx_eval_builtin_function_call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #8 from Jakub Jelinek ---
Created attachment 38912
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38912&action=edit
gcc7-pr50060.patch
Untested patch (for -std=c++14 and later only).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #7 from Jakub Jelinek ---
Shouldn't this be solvable in C++14 and later?
We still reject it:
error: ‘((y = 1), 6.2e-1)’ is not a constant expression
but I suppose with some hacking of cp/constexpr.c this could be handled.
constexpr d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
Paul A. Bristow changed:
What|Removed |Added
CC||pbristow at hetp dot u-net.com
--- Com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
Paolo Carlini changed:
What|Removed |Added
CC|jason at gcc dot gnu.org|
--- Comment #5 from Paolo Carlini 2011-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #4 from Jason Merrill 2011-08-12
21:17:05 UTC ---
(In reply to comment #3)
> (It seems more a problem with my C++ test snippets in Comments #1 / #2: I
> suppose any definition of such functions isn't viable for constexpr, because
> th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
Paolo Carlini changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #3 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #2 from Paolo Carlini 2011-08-12
16:26:00 UTC ---
... frexp also don't understand at the moment. I see a fold_builtin_frexp but
the following doesn't compile:
int r = 0;
constexpr double d = __builtin_frexp(1.0, &r);
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #1 from Paolo Carlini 2011-08-12
16:12:56 UTC ---
Uhm, remquo is strange. I see a do_mpfr_remquo but the following C++11 snippet
is rejected, I don't know why:
int r = 0;
constexpr double d = __builtin_remquo(1.0, 1.0, &r);
11 matches
Mail list logo