err when an address contains a sum $a+$b (afl)

Reported by Alessandro Mantovani.
These addresses are likely bogus, but
they triggered an unwarranted assertion
failure. We now raise a civilized error.
This commit is contained in:
Quentin Carbonneaux 2021-07-30 00:11:27 +02:00
parent 98cd2e8176
commit 3da3815a67
3 changed files with 8 additions and 4 deletions

2
all.h
View file

@ -433,7 +433,7 @@ int phicls(int, Tmp *);
Ref newtmp(char *, int, Fn *);
void chuse(Ref, int, Fn *);
Ref getcon(int64_t, Fn *);
void addcon(Con *, Con *);
int addcon(Con *, Con *);
void blit(Ref, uint, Ref, uint, Fn *);
void dumpts(BSet *, Tmp *, FILE *);