public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC attributes in gfortran?
@ 2021-01-12 19:37 Harris Snyder
  2021-01-12 21:50 ` Tobias Burnus
  0 siblings, 1 reply; 3+ messages in thread
From: Harris Snyder @ 2021-01-12 19:37 UTC (permalink / raw)
  To: fortran

Hi all,

Is it possible to use gcc attributes - e.g.
__attribute__((target_clones(...))) - in gfortran?

Thanks,
Harris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC attributes in gfortran?
  2021-01-12 19:37 GCC attributes in gfortran? Harris Snyder
@ 2021-01-12 21:50 ` Tobias Burnus
  2021-01-12 23:10   ` Harris Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2021-01-12 21:50 UTC (permalink / raw)
  To: Harris Snyder, fortran

Hi,

On 12.01.21 20:37, Harris Snyder wrote:
> Is it possible to use gcc attributes - e.g.
> __attribute__((target_clones(...))) - in gfortran?

Weak yes for the first, clear no for the second question.

There is some support for compiler directives ("!GCC$") but it is very 
limited: 
https://gcc.gnu.org/onlinedocs/gfortran/GNU-Fortran-Compiler-Directives.html

Tobias


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GCC attributes in gfortran?
  2021-01-12 21:50 ` Tobias Burnus
@ 2021-01-12 23:10   ` Harris Snyder
  0 siblings, 0 replies; 3+ messages in thread
From: Harris Snyder @ 2021-01-12 23:10 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: fortran

Hi Tobias,

Thanks for getting back to me!

Harris

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-12 23:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 19:37 GCC attributes in gfortran? Harris Snyder
2021-01-12 21:50 ` Tobias Burnus
2021-01-12 23:10   ` Harris Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).