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]

Re: add target_flags to gensupport.c


    It can't possibly make sense to be querying target_flags in gen*.
    At the least, this needs a large comment explaining how it is correct,
    both here and in rtl.c where the use occurs.

The comment here is exactly right: code in rtl.c (specifically
BIGGEST_ALIGNMENT in get_mode_alignment) can reference target_flags.
Since all we're using it for is printing alignments in RTL dumps, it's
very much a "don't care".

We've seen these sorts of references before, so I'd prefer to just make the
comment in gensupport.c generic and not try to flag every possible such
reference.


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