This is the mail archive of the gcc@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] | |
On Thu, Oct 04, 2012 at 10:42:59AM +0200, Richard Guenther wrote:On Wed, Oct 3, 2012 at 9:00 PM, Jason Merrill <jason@redhat.com> wrote: If the result is not needed, are we allowed to remove a call to this function?
No. Unless you know the same function has been already called.
So - what's wrong with using pure? That it doesn't "feel" correct?
No, it can modify memory.
I think the plan was for these functions not to return any value,
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |