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] PR optimization/12324


On Fri, 3 Oct 2003, Bernardo Innocenti wrote:

>         (const phy_cmd_t []) {  /* config */

So here the initializer is a pointer to a compound literal - and that
compound literal would naturally get written out exactly once (in the
absence of being deferred).  The problem case which I think is why Jakub
made them deferred is if the initializer is a compound literal of
structure - not array - type (permitted as an extension in gnu89 mode),
where it gets included in the larger initializer and shouldn't get emitted
on its own as well.

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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