https://bugs.llvm.org/show_bug.cgi?id=36750
Eli Friedman <efrie...@codeaurora.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
CC| |efrie...@codeaurora.org
--- Comment #1 from Eli Friedman <efrie...@codeaurora.org> ---
myClass() calls a function with side-effects, therefore marking it gnu::const
leads to undefined behavior. This shouldn't be surprising.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs