http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54126



--- Comment #5 from Ilya Mikhaltsou <morpheby at gmail dot com> 2013-02-13 
12:20:21 UTC ---

(In reply to comment #4)

> Created attachment 29430 [details]

> simple fail case

> 

> I think I have an even simplier test case, I guess it's the same problem (at

> least the ICE message matches). I also think that bug 51707 is actually the

> same problem.



Yes, looks like both mine and yours testcase actually do the same - they

attempt to move some constexpr to another, and gcc fails. That looks like not

implemented or buggy check for error.



bug 51707 looks to be error on correct code and possibly fails on getting

constant l-value reference.



If they are exactly the same, then the bug actually lies in contexpr reference

mechanics, and gcc fails on getting constexpr reference of any kind, not on

moving constexpr. I'll try to investigate if it is the case as soon as I have

some free time.

Reply via email to