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] Fix constant array ARRAY_REF[constant index] optimization (PR middle-end/28755)


Richard Sandiford wrote:

I'm happier with the idea of not using anchors if defer == 1.
It will obviously pessimise some cases that -fsection-anchors
would otherwise handle better, but I think the trade-off is the
right one.  Any pessimisation we get by ignoring the defer parameter
will be a regression from earlier releases; any curtailment of the
-fsection-anchors functionality will not.  Of course, if there are
cases where we can safely use anchors even with defer == 1,
so much the better.

I agree.


Thanks,

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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