------- Comment #8 from manu at gcc dot gnu dot org  2010-06-05 19:39 -------
(In reply to comment #7)
> > 
> > > For the cases that are inserting UNKNOWN_LOCATION, I'd suggest just 
> > > changing all the call sites of the macro to pass UNKNOWN_LOCATION 
> > > explicitly, and removing the macro.  That should deal with 
> > > build_call_expr 
> > > and with build_call_nofold in builtins.c.
> > 
> > OK for me but this was done on purpose. So I won't even try to fix this 
> > until
> > the corresponding maintainer pre-approves such patch.
> 
> Please instead make a static inline variadic alternative instead (so we
> still use variadic macros if available).
> 

You'll have to be more specific. What is the alternative in the above case when
no variadic stuff can be used? If the alternative is to change all call sites,
then we do not need variadic stuff.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44426

Reply via email to