This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH - h8300] function_vector attribute in H8300 targets
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: AsgariJ at KPITCummins dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 03 Oct 2004 09:59:11 -0400 (EDT)
- Subject: Re: [PATCH - h8300] function_vector attribute in H8300 targets
- References: <4A1BE23A7B777442B60F4B4916AE0F1335B71E@sohm.kpit.com>
Hi Asgari,
> + else if (TREE_INT_CST_LOW (TREE_VALUE (args)) > 255)
> + {
> + /* The argument must be within 0-255 */
> + warning ("`%s' attribute argument must be in range between 0 and 255",
> + IDENTIFIER_POINTER (name));
> + *no_add_attrs = true;
> + }
You probably want to check that TREE_INT_CST_HIGH (...) == 0 also.
Kazu Hirata