A query

2005-12-26 Thread Harsh Chandra
hi I am new to c programming and had just started learning it . My friends recommended me to use gcc compilers . but i dont know where will i get this compiler and how to use this . my operating system is Windows XP SP2 . please let me know what should i do ? Thanking You Sincerely, Harsh

zero and pointer conversions in g++

2005-12-26 Thread Thomas Braxton
I have this test code that I think g++ is selecting the wrong function when the second argument is a zero. If compiled with HAVE_ASCII_DEFAULT 1 it selects read(const char*, const char*) instead of read(const char*, const Variant&), for test2a/test3a. If compiled with HAVE_ASCII_DEFAULT 0 compi

Thumb optimization question

2005-12-26 Thread Ivan Petrov
I have one question. So... have small sample programm. [code] int bar( int ); int foo( int a, int b ) { return bar( a + b ); } [/code] If I compille it with out -thumb parameter, i have very clean code. add r0, r1, r0 bx lr But with -thumb parameter have unopimized code. add r1, r1, r0 mov

Re: A query

2005-12-26 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harsh Chandra wrote: > > I am new to c programming and had just started learning it . My > friends recommended me to use gcc compilers . but i dont know where > will i get this compiler and how to use this . my operating system is > Windows XP SP2 . p

Re: weakref miscompiling libgfortran

2005-12-26 Thread Geoff Keating
On 25/12/2005, at 8:51 PM, Richard Henderson wrote: On Sun, Dec 25, 2005 at 07:36:16PM -0800, Geoff Keating wrote: That targetm.binds_local_p is no longer reliable is a serious bug. What's wrong with it? It should be answering 'false' for a weakref... It doesn't. Exchanging the TREE