This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/50060] intrinsics not folded by the middle-end


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]