http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
--- Comment #12 from Pawel Sikora pluto at agmk dot net 2012-12-12 09:57:32
UTC ---
(In reply to comment #11)
Fixed in trunk.
no backport to 4.7 branch?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
--- Comment #10 from Aldy Hernandez aldyh at gcc dot gnu.org 2012-12-08
01:20:33 UTC ---
Author: aldyh
Date: Sat Dec 8 01:19:13 2012
New Revision: 194316
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194316
Log:
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Aldy Hernandez aldyh at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Richard Biener rguenth at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
--- Comment #8 from Aldy Hernandez aldyh at gcc dot gnu.org 2012-12-06
21:06:29 UTC ---
After Jason's patch here (trunk@177066):
PR c++/49813
* semantics.c (potential_constant_expression_1): Allow any builtin.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
--- Comment #9 from Jason Merrill jason at gcc dot gnu.org 2012-12-07
05:21:01 UTC ---
(In reply to comment #8)
/* Allow any built-in function; if the expansion
isn't constant, we'll deal with
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Aldy Hernandez aldyh at gcc dot gnu.org changed:
What|Removed |Added
CC||aldyh at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jason at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55513
--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-28
15:51:21 UTC ---
Reduced testcase:
void
f1 ()
{
char s[10];
const int t = __builtin_snprintf (s, 10, Hello);
__builtin_printf (%d %s\n, t, s);
}
void
f2
10 matches
Mail list logo