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: Weekly reminder: [RFA:] expr.c and test-case, obvious: don't honor flag_force_addr outside function context.


On Tue, Dec 11, 2001 at 01:02:12PM +0100, Hans-Peter Nilsson wrote:
> Unreviewed patch.  *Almost* obvious.
> <URL:http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01615.html>

Most of the other similar places in expand_expr also check

          && modifier != EXPAND_CONST_ADDRESS
          && modifier != EXPAND_INITIALIZER
          && modifier != EXPAND_SUM

I think that would be reasonable here as well, and would
almost certainly cure your problem.


r~


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