diff options
Diffstat (limited to 'gcc/config/avr/avr.c')
-rw-r--r-- | gcc/config/avr/avr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 1ef9d1d3bbd..871663a0e82 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -893,9 +893,9 @@ avr_initial_elimination_offset (int from, int to) /* Helper for the function below. */ static void -avr_adjust_type_node (tree *node, machine_mode mode, int sat_p) +avr_adjust_type_node (ttype **node, machine_mode mode, int sat_p) { - *node = make_node (FIXED_POINT_TYPE); + *node = make_type_node (FIXED_POINT_TYPE); TYPE_SATURATING (*node) = sat_p; TYPE_UNSIGNED (*node) = UNSIGNED_FIXED_POINT_MODE_P (mode); TYPE_IBIT (*node) = GET_MODE_IBIT (mode); @@ -8924,6 +8924,7 @@ avr_warning_type_attribute (tree *node ATTRIBUTE_UNUSED, tree name, warning (OPT_Wattributes, "%qE attribute does not apply to types", name); *no_add_attrs = true; + return NULL_TREE; } /* Handle a "progmem" attribute; arguments as in struct attribute_spec.handler. */ |