This is the mail archive of the gcc-patches@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]

PATCH to calls.c [basic-improvements-branch]


Dear All,

My last patch to calls.c did contain a bug which, IMO, no one has found
out about just yet.  The check for volatile functions was flawed, as a
POINTER_TYPE which points to a called function doesn't have the volatile
bit set.  Instead the TREE_TYPE of it (which is a FUNCTION_TYPE) does.

The attached patch on the basic-improvements-branch fixes that.

Looking forward to your feedback.

Cheers,
Andi.

2002-10-07  Andreas Bauer  <baueran@in.tum.de>

	* calls.c (expand_call): Fix function-is-volatile
	check.

Attachment: calls_c.diff
Description: Text document


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