This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
(1) I can't figure out how to attach files in the bugzilla page; and (2) I can't find a gccbug script in a 3.3 source package.
$ tar tvf gnu.tar drwxrwxr-x leblanc/leblanc 0 2004-05-12 12:50:24 ./ -rw-rw-r-- leblanc/leblanc 152 2004-05-12 12:12:33 ./x.c -rw-rw-r-- leblanc/leblanc 76 2004-05-12 12:10:54 ./f.c -rw-rw-r-- leblanc/leblanc 207 2004-05-12 12:49:20 ./x.i -rw-rw-r-- leblanc/leblanc 367 2004-05-12 12:49:20 ./x.s -rw-rw-r-- leblanc/leblanc 134 2004-05-12 12:49:20 ./f.i -rw-rw-r-- leblanc/leblanc 437 2004-05-12 12:49:20 ./f.s -rw-rw-r-- leblanc/leblanc 2776 2004-05-12 12:49:20 ./stderr
SUN
% /opt/SUNWspro/bin/cc -V
cc: Sun WorkShop 6 2000/04/07 C 5.1 % /opt/SUNWspro/bin/cc x.c f.c
x.c:
f.c: % ./a.out
frame is about 612 bytes
frame is about 612 bytes % ./a.out
frame is about 608 bytes
frame is about 608 bytes % ./a.out
frame is about 1136 bytes
frame is about 624 bytes
(2) on YDL 3.0 $ gcc -v
...
gcc version 3.3 $ ./a.out
frame is about 547 bytes
frame is about 1059 bytes % cat f.c
void foo(char *p)
{
char x;
printf("frame is about %d bytes\n",p-&x);
} int main()
{
{
char x[N];
foo(&x[N-1]);
}
{
char x[N];
foo(&x[N-1]);
}
return 0;
}Attachment:
gnu.tar
Description: Unix tar archive
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |