autoexport($1->nname->sym);
$$ = N;
}
-| LPACKAGE { warn("package is gone"); } xfndcl
- {
- if($3 != N && $3->nname != N)
- packagesym($3->nname->sym);
- $$ = N;
- }
| ';'
{
$$ = N;
import_stmt_list_r:
import_stmt
-| import_stmt_list_r osemi import_stmt
+| import_stmt_list_r ';' import_stmt
hidden_import_list_r:
| hidden_import_list_r hidden_import
int i;
if(a->ovf || b->ovf) {
- warn("ovf in cmp");
+ yyerror("ovf in cmp");
return 0;
}
long x, *a1, *b1;
if(a->ovf || b->ovf) {
- warn("ovf in mpaddxx");
+ yyerror("ovf in mpaddxx");
a->ovf = 1;
return;
}
}
a->ovf = c;
if(a->ovf)
- warn("set ovf in mpaddxx");
+ yyerror("set ovf in mpaddxx");
return;
Mpint s, q;
if(a->ovf || b->ovf) {
- warn("ovf in mpmulfixfix");
+ yyerror("ovf in mpmulfixfix");
a->ovf = 1;
return;
}
q.neg = a->neg ^ b->neg;
mpmovefixfix(a, &q);
if(a->ovf)
- warn("set ovf in mpmulfixfix");
+ yyerror("set ovf in mpmulfixfix");
}
void
Mpint s, q;
if(a->ovf || b->ovf) {
- warn("ovf in mpmulflt");
+ yyerror("ovf in mpmulflt");
a->ovf = 1;
return;
}
q.neg = a->neg ^ b->neg;
mpmovefixfix(a, &q);
if(a->ovf)
- warn("set ovf in mpmulflt");
+ yyerror("set ovf in mpmulflt");
}
void
long x, *a1, *b1;
if(a->ovf || b->ovf) {
- warn("ovf in mporfixfix");
+ yyerror("ovf in mporfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
long x, *a1, *b1;
if(a->ovf || b->ovf) {
- warn("ovf in mpandfixfix");
+ yyerror("ovf in mpandfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
long x, *a1, *b1;
if(a->ovf || b->ovf) {
- warn("ovf in mpandnotfixfix");
+ yyerror("ovf in mpandnotfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
long x, *a1, *b1;
if(a->ovf || b->ovf) {
- warn("ovf in mporfixfix");
+ yyerror("ovf in mporfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
vlong s;
if(a->ovf || b->ovf) {
- warn("ovf in mporfixfix");
+ yyerror("ovf in mporfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
}
s = mpgetfix(b);
if(s < 0 || s >= Mpprec*Mpscale) {
- warn("stupid shift: %lld", s);
+ yyerror("stupid shift: %lld", s);
mpmovecfix(a, 0);
return;
}
vlong s;
if(a->ovf || b->ovf) {
- warn("ovf in mprshfixfix");
+ yyerror("ovf in mprshfixfix");
mpmovecfix(a, 0);
a->ovf = 1;
return;
}
s = mpgetfix(b);
if(s < 0 || s >= Mpprec*Mpscale) {
- warn("stupid shift: %lld", s);
+ yyerror("stupid shift: %lld", s);
if(a->neg)
mpmovecfix(a, -1);
else
vlong v;
if(a->ovf) {
- warn("ovf in mpgetfix");
+ yyerror("ovf in mpgetfix");
return 0;
}
if(i >= Mpprec*Mpscale) {
q->ovf = 1;
r->ovf = 1;
- warn("set ovf in mpdivmodfixfix");
+ yyerror("set ovf in mpdivmodfixfix");
return;
}
=========== chan/nonblock.go
PASS
-=========== bugs/bug108.go
-bugs/bug108.go:4: stupid shift: 1025
-BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
-
=========== bugs/bug115.go
bugs/bug115.go:8: constant -1 overflows uint
BUG: bug115 should compile
int
BUG: should compile
-=========== bugs/bug125.go
-BUG: errchk: command succeeded unexpectedly: 6g bugs/bug125.go
-
=========== bugs/bug131.go
bugs/bug131.go:7: cannot convert uint64 constant to int64
bugs/bug131.go:7: illegal types for operand: AS