tinycc-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Tinycc-devel] minor tcc bug
From
:
Masha Rabinovich
Subject
:
[Tinycc-devel] minor tcc bug
Date
:
Sat, 22 Nov 2008 12:30:40 +0100
struct S
{
char b[128];
};
main()
{
struct S s, *ps;
printf("%d\n", sizeof s.b); // ok
printf("%d\n", sizeof ps->b); // ok
printf("%d\n", sizeof (s.b)); // ok
printf("%d\n", sizeof (ps->b)); // ok
printf("%d\n", sizeof ((s).b)); // ok
printf("%d\n", sizeof ((ps)->b));// ok
printf("%d\n", sizeof (s).b); // fail
printf("%d\n", sizeof (ps)->b); // fail
}
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Tinycc-devel] minor tcc bug
,
Masha Rabinovich
<=
Re: [Tinycc-devel] minor tcc bug
,
Jerry
,
2008/11/22
Re: [Tinycc-devel] minor tcc bug
,
Masha Rabinovich
,
2008/11/22
Re: [Tinycc-devel] minor tcc bug: sizeof operator handling
,
Marc Andre Tanner
,
2008/11/22
Prev by Date:
Re: [Tinycc-devel] Re: global 64-bit variables initialization
Next by Date:
[Tinycc-devel] TCC bug: struct initialisation using enums
Previous by thread:
[Tinycc-devel] TCC bug: L"" is missing in preprocessor output
Next by thread:
Re: [Tinycc-devel] minor tcc bug
Index(es):
Date
Thread