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


> Jan Hubicka wrote:
> 
> >>>!       /* By using GCC extension we may produce constructors we never 
> >>>use,
> >>>!          so ensure that the function is not emit unless it is needed.  
> >>>*/
> >>>!       if (flag_unit_at_a_time)
> >>>!         DECL_DEFER_OUTPUT (decl) = 1;
> >>
> >>How is it eliminated in non-unit-at-a-time mode?
> >
> >Oops, I re-typed the patch as I lost original and the test is supposed
> >to be other way around.  With flag_unit_at_a_time we must not deffer
> >while normally we must.
> >Funilly enought this makes no difference on testsuite...
> 
> I think there's no testacase for this yet. I think we should
> consider adding one or more of the test cases already
> attached to the PR.
Yes, I will install it together with installing a patch once we get
agreement on what is the best fix.

Honza
> 
> -- 
>  // Bernardo Innocenti - Develer S.r.l., R&D dept.
> \X/  http://www.develer.com/
> 
> Please don't send Word attachments - 
> http://www.gnu.org/philosophy/no-word-attachments.html
> 
> 
> 


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