Re: no warning being displayed.

2005-11-07 Thread Richard Guenther
On 11/7/05, Inder <[EMAIL PROTECTED]> wrote: > Hi all, > I am compiling small program on a SPARC gcc 3.4.3 > > test.c > --- > > > int main() > { > struct test1* t1, t11; > struct test2* t2 ; > struct test3* t3; > > t1 = &t11; > t2 = (struct t

Re: no warning being displayed.

2005-11-07 Thread Inder
Hi Richard Well i know that this is a list for development of gcc. Let me be more precise about my question - I am using gcc 3.4.3 (sparc-elf) to compile my codebase which uses such kind of assignments but the compiler gives no warnings what so ever. but the more recent version given below gives t

Re: no warning being displayed.

2005-11-07 Thread Richard Guenther
On 11/7/05, Inder <[EMAIL PROTECTED]> wrote: > Hi all, > I am compiling small program on a SPARC gcc 3.4.3 > > test.c > --- > > struct test1 > { > int a; > int b; > char c; > }; > > struct test2 > { > char a; > char b; > char c; > }; > > st

no warning being displayed.

2005-11-06 Thread Inder
Hi all, I am compiling small program on a SPARC gcc 3.4.3 test.c --- struct test1 { int a; int b; char c; }; struct test2 { char a; char b; char c; }; struct test3 { int a; int b; int c; }; int main() { struct test1* t1, t11; stru