Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-30 Thread ariga masahiro
Hello, I am very sorry to have found previous mail was badly formatted. I send the same text. I found next patch in GCC project site. From: Eric Christopher Date: Tue, 3 Jul 2007 08:35:21 -0700 Subject: [patch] conditionally declare bswap functions depending on target Do you think it is effect

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-30 Thread ariga masahiro
Hello, I am sorry to rush mails. But I found the patch I sent was already included in GCC4.4.0 libgcc2.h. So please ignore my previous mail. Returning to original problem,apparently L_bswapdi2 is somewhere defined. But I could not find L_bswapdi2 defined anywhere. Where and how is it defined ?

Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-30 Thread Andrew Stubbs
On 09/07/09 19:11, Ian Lance Taylor wrote: Andrew Stubbs writes: The problem insn is created by gen_reload when it is given the following rtl as input: (plus:SI (plus:SI (reg/v/f:SI 4 r4 [orig:192 a ] [192]) (const_int 2 [0x2])) (reg:SI 0 r0 [orig:188 ivtmp.24 ] [188])) You ne

[testsuite] Executing testcases under wine

2009-07-30 Thread FX
Hi all, I'm trying to run the GCC testsuite for the mingw target, on a i686- darwin host. The cross compiler builds fine, and I have wine installed, so I'd like testsuite executables, once compiled, to simply run under wine (that means, instead of running "PR10431.exe", running "wine PR104

Re: [testsuite] Executing testcases under wine

2009-07-30 Thread Ben Elliston
> I'm trying to run the GCC testsuite for the mingw target, on a i686- > darwin host. The cross compiler builds fine, and I have wine > installed, so I'd like testsuite executables, once compiled, to simply > run under wine (that means, instead of running "PR10431.exe", running > "wine PR104

ARM conditional instruction optimisation bug (feature?)

2009-07-30 Thread Zoltán Kócsi
On the ARM every instruction can be executed conditionally. GCC very cleverly uses this feature: int bar ( int x, int a, int b ) { if ( x ) return a; else return b; } compiles to: bar: cmp r0, #0 // test x movne r0, r1 // retval = 'a' i

Re: GCC 4.5 Status Report (2009-07-29)

2009-07-30 Thread Laurent GUERBY
Hi, The compile farm builders show two broken bootstraps: * sparc-linux (gcc54) C bootstrap is broken http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40788 I just added a 1 day revision range to this PR, sparc-solaris is broken too. ../../trunk/gcc/genattrtab.c: In function 'attr_rtx_1': ../../trunk

need help on GCC driver

2009-07-30 Thread Vikram KS
Hi, I have some question on gcc driver. Whenever we invoke gcc, it'll pass some default options to the compiler, assembler linker etc. But if i dont want to pass all these default options but only some of them, what should i do? For eg: gcc will pass the following option to cc1 /usr/libexec/gcc

Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-30 Thread Joern Rennecke
This is then transformed by subst_reloads to the final broken form: (insn 171 170 172 5 .../pr34330.c:17 (set (reg:SI 9 r9) (plus:SI (reg:SI 8 r8) (reg:SI 0 r0 [orig:243 ivtmp.11 ] [243]))) -1 (nil)) This is logically correct as r9 genuinely does contain the result of the s

Build failure in libgfortran on i386-pc-solaris2.10

2009-07-30 Thread Art Haas
Hi. My bootstrap builds have been failing in the 'libgfortran' portion of the build since this patch: 2009-07-27 Tobias Burnus PR fortran/40863 * c99_functions.c: Define complex I, if not defined. Create prototypes for C99 functions to silence warnings. * gfor

Re: need help on GCC driver

2009-07-30 Thread Basile STARYNKEVITCH
Vikram KS wrote: Hi, I have some question on gcc driver. You really should give more context. Are you doing cross-compilation? Are you patching the GCC sources? Why do you want to generate a *.sl file? What are your host & target systems? Whenever we invoke gcc, it'll pass some default opt

extern variable

2009-07-30 Thread sumanth
Hi, How can I make sure the debugging information printed by my compiler for extern variables is correct. I am able to print them in gdb in with an _ (underscore). I am using Gcc-4.3.4 and gdb 5.3 Thanks, Sumanth G

Re: ARM conditional instruction optimisation bug (feature?)

2009-07-30 Thread Steven Bosscher
On 7/30/09, Zoltán Kócsi wrote: > On the ARM every instruction can be executed conditionally. GCC very > cleverly uses this feature: > > int bar ( int x, int a, int b ) > { > if ( x ) > > return a; >else > return b; > } > > compiles to: > > bar: >cmp r0, #0 //

Re: ARM conditional instruction optimisation bug (feature?)

2009-07-30 Thread Steven Bosscher
On 7/30/09, Steven Bosscher wrote: > On 7/30/09, Zoltán Kócsi wrote: > > On the ARM every instruction can be executed conditionally. GCC very > > cleverly uses this feature: > > > > int bar ( int x, int a, int b ) > > { > > if ( x ) > > > > return a; > >else > > return b; > > } >

Targets still needing stdint.h type information

2009-07-30 Thread Joseph S. Myers
I previously listed those target OSes still needing GCC to be told internally about the stdint.h types used on those OSes (so allowing the Fortran C bindings for these types to work), and told in what way to install stdint.h for those OSes. Tha

Re: MELT tutorial on the wiki

2009-07-30 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH writes: Hi Basile. Basile> I added as a turorial on the wiki, a small MELT pass which warns Basile> against fprintf(stdout, ...) in the compiled code. Basile> For GCC hackers, is the page Basile> http://gcc.gnu.org/wiki/writing%20a%20pass%20in%20MELT Basil

gcc-4.5-20090730 is now available

2009-07-30 Thread gccadmin
Snapshot gcc-4.5-20090730 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20090730/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Porting GCC 4.4.0 to interix

2009-07-30 Thread Robert Oeffner
Hi, I'm new to this mailing list and hope this is the right one I'm addressing. Lately I have been trying to port gcc and g++ from GCC 4.4.0 to interix (the BSD-like unix subsystem optionally available for WinXP and Vista). The subsystem is shipped with gcc and g++ 3.3 and binutils 2.13 which I

Re: Porting GCC 4.4.0 to interix

2009-07-30 Thread Ben Elliston
On Thu, 2009-07-30 at 23:58 +0100, Robert Oeffner wrote: > Until now there is no compiler available for interix that supports OpenMP > and that's what I'm after. As libgomp in GCC so far isn't targeting interix > I have made some changes to libgomp in my copy of the GCC 4.4.0 > distribution. l

Re: need help on GCC driver

2009-07-30 Thread Vikram KS
On Thu, Jul 30, 2009 at 8:14 PM, Basile STARYNKEVITCH wrote: > > Vikram KS wrote: >> >> Hi, >> >> I have some question on gcc driver. > > You really should give more context. Are you doing cross-compilation? Are you > patching the GCC sources? Why do you want to generate a *.sl file? What are >

Difference between Windows and Linux GCC compiler

2009-07-30 Thread Rayne
Hi all, I'm interested to know what is the difference in programming using MS Visual C++ on Windows and using the GCC compiler on Linux, i.e. what are some of the things I can do on Visual C++ that won't compile/run on Linux, and vice versa. For example, I know that Windows uses the LLP64 mode

Re: need help on GCC driver

2009-07-30 Thread Basile STARYNKEVITCH
Vikram KS wrote: So in the back-end there are driver options that will help me to invoke the existing tool-chain through GCC driver. But the assembler takes only .sl extensions. I tried to replace the .s extension with .sl extension. But by default the cc1 will have some options passed from the

Re: Difference between Windows and Linux GCC compiler

2009-07-30 Thread Ben Elliston
Hi. > I'm interested to know what is the difference in programming using MS > Visual C++ on Windows and using the GCC compiler on Linux, i.e. what > are some of the things I can do on Visual C++ that won't compile/run > on Linux, and vice versa. This mailing list is for discussing GCC development

Re: MELT tutorial on the wiki

2009-07-30 Thread Basile STARYNKEVITCH
Tom Tromey wrote: "Basile" == Basile STARYNKEVITCH writes: Hi Basile. Basile> I added as a turorial on the wiki, a small MELT pass which warns Basile> against fprintf(stdout, ...) in the compiled code. Basile> For GCC hackers, is the page Basile> http://gcc.gnu.org/wiki/writing%20a%20pass%20