[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-06-25 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||jason at gcc dot gnu.org
 Resolution||DUPLICATE

--- Comment #6 from Jason Merrill jason at gcc dot gnu.org 2012-06-26 
03:44:42 UTC ---
Yep, duplicate.

*** This bug has been marked as a duplicate of bug 53498 ***


[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-06-04 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

Daniel Krügler daniel.kruegler at googlemail dot com changed:

   What|Removed |Added

 CC||daniel.kruegler at
   ||googlemail dot com

--- Comment #4 from Daniel Krügler daniel.kruegler at googlemail dot com 
2012-06-04 12:41:06 UTC ---
(In reply to comment #2)
 Looks like an infinite recursion between tsubst and tsubst_copy_and_build, 
 does
 that ring a bell to someone?

Could this be a similar problem as observed in bug 53498, comment 1?


[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-06-04 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

--- Comment #5 from Marc Glisse glisse at gcc dot gnu.org 2012-06-04 19:54:05 
UTC ---
(In reply to comment #4)
 Could this be a similar problem as observed in bug 53498, comment 1?

Indeed, the testcases look similar and the stack traces are both infinite
recursions that ping-pong between the same 2 functions. Thanks.


[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-05-31 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

Marc Glisse glisse at gcc dot gnu.org changed:

   What|Removed |Added

 CC||glisse at gcc dot gnu.org

--- Comment #1 from Marc Glisse glisse at gcc dot gnu.org 2012-05-31 22:04:33 
UTC ---
templateclass
struct HasUpdateMethod {
template class U, class... V
static void test(U * u, V *... v,
decltype(u-update(*v...)) * = 0);
};

HasUpdateMethodint x;


crashes g++-4.8 -std=c++11 from 1 month ago (can't test current right now).


[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-05-31 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

Marc Glisse glisse at gcc dot gnu.org changed:

   What|Removed |Added

 CC|glisse at gcc dot gnu.org   |

--- Comment #2 from Marc Glisse glisse at gcc dot gnu.org 2012-05-31 22:14:52 
UTC ---
Looks like an infinite recursion between tsubst and tsubst_copy_and_build, does
that ring a bell to someone?


[Bug c++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors

2012-05-31 Thread squidbidness at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53545

--- Comment #3 from Anthony Hall squidbidness at gmail dot com 2012-06-01 
04:29:26 UTC ---
For what it's worth, I discovered the file will successfully compile (with the
same compilation command as in original report) if I move the FirstStep,
SecondStep, Yes, and No utility templates and specializations out of the
HasUpdateMethod to file scope, or embed them in a file-level detail
namespace, with no other code changes.