public inbox for
 help / color / mirror / Atom feed
From: Richard Sandiford <>
To: Xi Ruoyao via Gcc-patches <>
Cc: Lulu Cheng <>,
	 Xi Ruoyao <>,
	 Jinyang He <>,
	 Chenghua Xu <>,
	 Huacai Chen <>,
	 Youling Tang <>,
	 Wang Xuerui <>
Subject: Re: LoongArch: add model attribute
Date: Tue, 30 Aug 2022 14:42:25 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (Xi Ruoyao via Gcc-patches's message of "Tue, 23 Aug 2022 22:51:45 +0800")

Xi Ruoyao via Gcc-patches <> writes:
> Another attempt to make kernel module happy.
> One remaining issue: the patch cannot diagnostic some insane thing like
>     int x __attribute__((model("normal")));
>     int x __attribute__((model("extreme")));
> It seems incredibly difficult to diagnose such thing: I can't figure out
> any solution w/o invasion into the frontend.  IA-64 model() only accepts
> small so this is not a problem for them, and M32R model() also cannot
> diagnose such error.
> Any suggestion is welcomed.

You might be able to detect this in the merge_decl_attributes hook.


      parent reply	other threads:[~2022-08-30 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23 14:51 Xi Ruoyao
2022-08-24  6:54 ` Lulu Cheng
2022-08-24  6:54   ` Lulu Cheng
2022-08-30 13:42 ` Richard Sandiford [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).