Resolve corn flakes.
This commit is contained in:
parent
3fe379ca4b
commit
687193cf68
12
gnu/dist/gcc/c-common.c
vendored
12
gnu/dist/gcc/c-common.c
vendored
@ -847,8 +847,16 @@ decl_attributes (node, attributes, prefix_attributes)
|
||||
"`%s' defined both normally and as an alias");
|
||||
else if (decl_function_context (decl) == 0)
|
||||
{
|
||||
tree id = get_identifier (TREE_STRING_POINTER
|
||||
(TREE_VALUE (args)));
|
||||
tree id;
|
||||
|
||||
id = TREE_VALUE (args);
|
||||
if (TREE_CODE (id) != STRING_CST)
|
||||
{
|
||||
error ("alias arg not a string");
|
||||
break;
|
||||
}
|
||||
id = get_identifier (TREE_STRING_POINTER (id));
|
||||
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL)
|
||||
DECL_INITIAL (decl) = error_mark_node;
|
||||
else
|
||||
|
1
gnu/dist/gcc/c-decl.c
vendored
1
gnu/dist/gcc/c-decl.c
vendored
@ -6222,6 +6222,7 @@ finish_enum (enumtype, values, attributes)
|
||||
TYPE_MIN_VALUE (tem) = TYPE_MIN_VALUE (enumtype);
|
||||
TYPE_MAX_VALUE (tem) = TYPE_MAX_VALUE (enumtype);
|
||||
TYPE_SIZE (tem) = TYPE_SIZE (enumtype);
|
||||
TYPE_SIZE_UNIT (tem) = TYPE_SIZE_UNIT (enumtype);
|
||||
TYPE_MODE (tem) = TYPE_MODE (enumtype);
|
||||
TYPE_PRECISION (tem) = TYPE_PRECISION (enumtype);
|
||||
TYPE_ALIGN (tem) = TYPE_ALIGN (enumtype);
|
||||
|
2
gnu/dist/gcc/config/arm/arm.h
vendored
2
gnu/dist/gcc/config/arm/arm.h
vendored
@ -874,7 +874,7 @@ enum reg_class
|
||||
|
||||
/* If we need to load shorts byte-at-a-time, then we need a scratch. */
|
||||
#define SECONDARY_INPUT_RELOAD_CLASS(CLASS,MODE,X) \
|
||||
(((MODE) == HImode && TARGET_SHORT_BY_BYTES \
|
||||
(((MODE) == HImode && ! arm_arch4 && TARGET_SHORT_BY_BYTES \
|
||||
&& (GET_CODE (X) == MEM \
|
||||
|| ((GET_CODE (X) == REG || GET_CODE (X) == SUBREG) \
|
||||
&& true_regnum (X) == -1))) \
|
||||
|
Loading…
Reference in New Issue
Block a user