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] Re: [patch] Fix PR/18179 and use get_inner_reference in vectorizer: part2





Richard Henderson <rth@redhat.com> wrote on 03/01/2005 23:17:35:
> > 1) switch to test for _CST nodes only, instead of TREE_CONSTANT:
>
> If you want a number for an offset, surely you're only interested
> in integer constants.  So checking all of CONSTANT_CLASS_P would
> also be a mistake.  Allow only INTEGER_CST.
>

Bootstrapped and tested on ppc-darwin.

OK for mainline?

Thanks,
Ira

Patch:
(See attached file: const.diff)

Attachment: const.diff
Description: Binary data


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