Re: Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-31 Thread Fengwei Yin
t;[EMAIL PROTECTED]> wrote: On Wed, 2006-05-31 at 07:58, Fengwei Yin wrote: > int my_temp(void) > { > int i; > int j; > char str[2]; > > Please notice the address of the str and j. there IS NO memory hole > between therm > when using gcc 3.4.3

Problem about gcc 4.1 + binutil 2.16.92 + glibc 2.4 + ARM EABI

2006-05-30 Thread Fengwei Yin
Hi, When enable the gcc 4.1 with EABI support for ARM, I met such situation about the alignment. Here is my test case: #include #include struct test { char c1; long long n; char c2; }; int my_temp(void) { int i; int j; char str[2]; lon

Re: ARM gcc 4.1 optimization bug.

2006-05-01 Thread Fengwei Yin
Hi Daniel, I have already reported this bug. The bug number is #27363. I also tried the gcc snapshot 4.1.1-20060421. The bug is not fixed in this version too. Thanks & Regards yfw On 5/1/06, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote: On Sun, Apr 30, 2006 at 11:03:05AM +0800, F

ARM gcc 4.1 optimization bug.

2006-04-29 Thread Fengwei Yin
Hi, I am using gcc4.1 for ARM to build Linux kernel. But there is a bug related to the gcc optimization. I assume this is correct mail list to report this bug. If not, please let me know. And I didn't find the same bug reported too. The kernel is 2.6.14. When I build ALSA subsystem. I use followi