Make aliasing an alias def an internal error.
I haven't seen the bug message show up, so it seems safe, and is probably a good idea with what I have in mind.
This commit is contained in:
parent
cd64c0ad9b
commit
9ca5a9e86c
|
@ -154,7 +154,7 @@ alias_def (def_t *def, type_t *type)
|
|||
expr_t e;
|
||||
e.file = def->file;
|
||||
e.line = def->line;
|
||||
bug (&e, "aliasing an alias def");
|
||||
internal_error (&e, "aliasing an alias def");
|
||||
}
|
||||
ALLOC (16384, def_t, defs, alias);
|
||||
alias->return_addr = __builtin_return_address (0);
|
||||
|
|
Loading…
Reference in New Issue