[Bug middle-end/50060] intrinsics not folded by the middle-end
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 12 21:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50060
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 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
> the body has to assign the pointed integer additionally to returning a value...
> If Jason could confirm it would be great)
Correct, the assignment makes it non-constant.
More information about the Gcc-bugs
mailing list