https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64612

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to r...@cebitec.uni-bielefeld.de from comment #16)
> > --- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> > If you are willing to cook up an effective-target for that in
> > lib/target-supports.exp, sure, go ahead.
> 
> Given the complexity of the HAVE_COMDAT_GROUP test in gcc/configure.ac,
> the best way seems to have gcc define something like
> __GCC_HAVE_COMDAT_GROUP and use that in target-supports.exp.
> 
>       Rainer

The predefined macros aren't zero cost, so I'd strongly prefer not to abuse
them.
Just compiling something where comdat groups should be used and scanning the
assembly should be even easier.

Reply via email to