You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ccomp -version
The CompCert C verified compiler, version 2.7.1 (commit c64c4ab)
$
$ ccomp small.c
Fatal error: exception Env.Error "Unbound struct 'A'"
Raised at file "cparser/Env.ml", line 173, characters 9-48
Called from file "cparser/Cutil.ml", line 147, characters 15-36
Called from file "cparser/Elab.ml", line 1728, characters 25-57
Called from file "cparser/Elab.ml", line 2261, characters 19-55
Called from file "cparser/Elab.ml", line 2437, characters 19-38
Called from file "cparser/Elab.ml", line 2421, characters 13-54
Called from file "cparser/Elab.ml", line 2450, characters 5-26
Called from file "cparser/Elab.ml", line 2137, characters 14-53
Called from file "cparser/Elab.ml", line 2182, characters 17-56
Called from file "cparser/Elab.ml", line 2203, characters 26-54
Called from file "cparser/Elab.ml", line 2204, characters 26-56
Called from file "cparser/Elab.ml", line 2460, characters 9-63
Called from file "cparser/Parse.ml", line 76, characters 15-59
Called from file "driver/Frontend.ml", line 58, characters 10-59
Called from file "driver/Driver.ml", line 72, characters 12-41
Called from file "driver/Driveraux.ml", line 140, characters 34-40
Called from file "driver/Driver.ml", line 548, characters 22-70
$
$ cat small.c
struct A { int x; } a, *b = &a;
void foo ()
{
*((struct A { int x; } *) b) = a;
}
$
The text was updated successfully, but these errors were encountered:
Since the size of integer registers is not identical to the size of pointers
for the ppc64 and e5500 model the check for register pairs in
ExtendedAsm does not work correctly.
In order to avoid this a new field sizeof_intreg is introduced in the
Machine configuration which describes the size of integer registers.
New configurations for the ppc64 and e5500 model are added
and used.
Bug 24273
$ ccomp -version
The CompCert C verified compiler, version 2.7.1 (commit c64c4ab)
$
$ ccomp small.c
Fatal error: exception Env.Error "Unbound struct 'A'"
Raised at file "cparser/Env.ml", line 173, characters 9-48
Called from file "cparser/Cutil.ml", line 147, characters 15-36
Called from file "cparser/Elab.ml", line 1728, characters 25-57
Called from file "cparser/Elab.ml", line 2261, characters 19-55
Called from file "cparser/Elab.ml", line 2437, characters 19-38
Called from file "cparser/Elab.ml", line 2421, characters 13-54
Called from file "cparser/Elab.ml", line 2450, characters 5-26
Called from file "cparser/Elab.ml", line 2137, characters 14-53
Called from file "cparser/Elab.ml", line 2182, characters 17-56
Called from file "cparser/Elab.ml", line 2203, characters 26-54
Called from file "cparser/Elab.ml", line 2204, characters 26-56
Called from file "cparser/Elab.ml", line 2460, characters 9-63
Called from file "cparser/Parse.ml", line 76, characters 15-59
Called from file "driver/Frontend.ml", line 58, characters 10-59
Called from file "driver/Driver.ml", line 72, characters 12-41
Called from file "driver/Driveraux.ml", line 140, characters 34-40
Called from file "driver/Driver.ml", line 548, characters 22-70
$
$ cat small.c
struct A { int x; } a, *b = &a;
void foo ()
{
*((struct A { int x; } *) b) = a;
}
$
The text was updated successfully, but these errors were encountered: