http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
André Wöbbeking Woebbeking at web dot de changed:
What|Removed |Added
Status|RESOLVED|CLOSED
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #16 from André Wöbbeking Woebbeking at web dot de 2013-04-14
14:15:47 UTC ---
Thanks for your fast support!
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|RESOLVED|ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #12 from Markus Trippelsdorf markus at trippelsdorf dot de
2013-04-10 19:56:00 UTC ---
Just double checked and the original testcase still ICEs.
markus@x4 tmp % cat test.cpp
#include iostream
extern struct A { bool foo (); A bar ();
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #13 from Markus Trippelsdorf markus at trippelsdorf dot de
2013-04-10 20:04:03 UTC ---
struct B
{
void operator (B ());
void operator (int);
};
B b;
struct A
{
bool foo ();
A bar ();
};
A *a;
template
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #4 from Jason Merrill jason at gcc dot gnu.org 2013-04-09
18:03:47 UTC ---
(In reply to comment #3)
Introduced by my http://gcc.gnu.org/r195051 , potential_constant_expression
returns true about it, because fun in a call expr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-09
18:15:51 UTC ---
So:
@@ -4178,7 +4178,8 @@ cp_build_binary_op (location_t location,
}
else if (code0 == INTEGER_TYPE code1 == INTEGER_TYPE)
{
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2013-04-09
18:33:26 UTC ---
It seems a bit weird not propagating complain..
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-09
18:36:41 UTC ---
The reason for that is that I don't want errors being printed just when trying
to optimize to see if I should warn or not.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-09
18:37:36 UTC ---
Though, there are several other maybe_constant_value calls now in cp/typeck.c,
and only 2 of them are guarded with !processing_template_decl.
So I guess
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2013-04-09
18:46:16 UTC ---
Created attachment 29844
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=29844
gcc49-pr56895.patch
Untested complete patch.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56895
--- Comment #10 from Jason Merrill jason at gcc dot gnu.org 2013-04-09
18:49:28 UTC ---
OK.
16 matches
Mail list logo