diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-04 12:07:52 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-04 12:07:52 +0000 |
commit | 4a081dddaaee9814b64009f5d4c3387203b6331e (patch) | |
tree | 3db65d6f6c47477a6b251f457addfa72eb727e45 /gcc/testsuite/gcc.dg/builtins-7.c | |
parent | 15859234b2f84ca715e42a94cc35b82c161d83e4 (diff) | |
download | gcc-4a081dddaaee9814b64009f5d4c3387203b6331e.tar.gz |
* calls.c (expand_call): Avoid calling pure or const functions
when the result is ignored (or void) and none of the arguments
are volatile. Move warning diagnostic earlier in function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67436 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtins-7.c')
0 files changed, 0 insertions, 0 deletions