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]

Re: [patch] make data dependence analyzer more strict


On Mon, May 09, 2005 at 11:31:55AM +0200, Sebastian Pop wrote:
> 	* tree-data-ref.c (find_data_references_in_loop): Give up when 
> 	the body of the loop contains a CALL_EXPR or an ASM_EXPR: they 
> 	may embed arbitrary side effects.

Ah, you mean "arbitrary side effects" wrt its function, not wrt its
actual data dependencies didn't you?  That wasn't clear.

In which case, volatile asms shouldn't be reordered, but non-volatile
may be reordered (subject to other visible data dependencies of course).



r~


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