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] | |
Hello,On Feb 27, 2005, at 1:22 PM, Zdenek Dvorak wrote:In particular the node that you take in the vect_pragma_lookup function may have been moved there by some code motion optimization from elsewhere.That should not change info about node's source location (unless it is generated by compiler).exactly. So you will use information about the original location, thus applying the pragma to a wrong loop, thus causing a misscompilation.
This would be probably the best solution, although also not without problems.I do not disagree. This is not straight forward, but unless plan is to attach pragma info with loop structures,
Thanks, - Devang
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |