Re: complex arithmetic in gcc (and various standards)

2006-10-03 Thread Jan van Dijk
On Monday 02 October 2006 19:39, Gabriel Dos Reis wrote: > "Joseph S. Myers" <[EMAIL PROTECTED]> writes: > | On Mon, 2 Oct 2006, Jan van Dijk wrote: > | > On Monday 02 October 2006 12:57, Joseph S. Myers wrote: > | > > On Mon, 2 Oct 2006, Jan van Dijk wrote: [...] > | > Triggered by 1*(Inf,0) = (In

Re: complex arithmetic in gcc (and various standards)

2006-10-03 Thread Joseph S. Myers
On Tue, 3 Oct 2006, Jan van Dijk wrote: > More serious is the fact that the compiler translates 1*(Inf,Inf) into > (NaN,NaN). This is plain wrong, but, as Joseph mentioned, the solution > requires the implementation of mixed-mode MULT_EXPRESSIONS, since apparently > > 1*(Inf,Inf) == (Inf

Re: complex arithmetic in gcc (and various standards)

2006-10-03 Thread Jan van Dijk
On Tuesday 03 October 2006 11:08, Joseph S. Myers wrote: > On Tue, 3 Oct 2006, Jan van Dijk wrote: > > More serious is the fact that the compiler translates 1*(Inf,Inf) into > > (NaN,NaN). This is plain wrong, but, as Joseph mentioned, the solution > > requires the implementation of mixed-mode MULT

Internationalization of Ada.Directories (MinGW)

2006-10-03 Thread Y.Tomino
Hello. In Japanese version Windows, package Ada.Directories often raises Name_Error with DBCS-filename. I was shocked that Get_Next_Entry reported error when reading dir. I looked for the reason and found gcc/ada/mingw32.h. #define GNAT_UNICODE_SUPPORT was commented out. If GNAT_UNICODE_SUPPORT wa

Re: complex arithmetic in gcc (and various standards)

2006-10-03 Thread Jan van Dijk
On Monday 02 October 2006 20:53, Gabriel Dos Reis wrote: [...] > > | the result of the "same" multiplication considered as complex * > | complex (vs complex * real) has a different sign for the zero > | imaginary component. > > Thanks for the example. I'm not sure this was anticipated by the C++ >

Stepping down as SH maintainer

2006-10-03 Thread Joern Rennecke
I have decided to accept employment at ARC International, so effective 11th December 2006, I will step down as an active SH maitainer. I might still do some GCC patch reviews if time allows, but I expect to submit only patches to the SH port - if any - as part of multi-platform patches with the in

gcj internals documentation

2006-10-03 Thread Paul Biggar
Hi, I'm having difficulty finding any documentation for the gcj internals, apart from the source, Chapter 12 of the gcj manual, a couple of Linux Journal articles, and some papers from 1997. Is there anything else that describes the workings of the gcj front-end and run-time libraries. I'm parti

Re: C++ Frontend and combining files

2006-10-03 Thread Mike Stump
On Oct 2, 2006, at 9:24 PM, Brendon Costa wrote: * Modify the ASM spec used for compiling .s files into .o files so that it will somehow rename the /tmp/foo1.s.edc files to /tmp/gah1.o.edc files where /tmp/gah1.o is the name of the output .o file that comes from the assembler. * Write a wrapp

Re: Darwin as primary platform

2006-10-03 Thread Geoffrey Keating
David Edelsohn <[EMAIL PROTECTED]> writes: > Bugzilla currently shows 64 open bugs with a darwin listed as the > target; another 5 Altivec bugs. I am concerned about the effect on > releases from increasing the priority of many of those bugs to P1 if > Darwin is a primary platform. Which o

Re: unwind-dw2-fde-darwin.c changes

2006-10-03 Thread Geoffrey Keating
[EMAIL PROTECTED] (Jack Howarth) writes: > Geoff, > Can you explain why we don't have... > > Index: unwind-dw2-fde-darwin.c > === > --- unwind-dw2-fde-darwin.c (revision 117350) > +++ unwind-dw2-fde-darwin.c (working copy

Re: Darwin as primary platform

2006-10-03 Thread Andrew Pinski
> > David Edelsohn <[EMAIL PROTECTED]> writes: > > > Bugzilla currently shows 64 open bugs with a darwin listed as the > > target; another 5 Altivec bugs. I am concerned about the effect on > > releases from increasing the priority of many of those bugs to P1 if > > Darwin is a primary platf

Re: C++ Frontend and combining files

2006-10-03 Thread Brendon Costa
Mike Stump wrote: > Hum, on second thought, why not just encode the information you want > into the .o file. Just put it into a special section, in whatever > format you like, the linker will combine them, no additional files, .a > files work, ld -r foo.o bar.o -o new.o works and so on. You can t

Re: C++ Frontend and combining files

2006-10-03 Thread Brendon Costa
Brendon Costa wrote: > Mike Stump wrote: >> Hum, on second thought, why not just encode the information you want >> into the .o file. Just put it into a special section, in whatever >> format you like, the linker will combine them, no additional files, .a >> files work, ld -r foo.o bar.o -o new.o

Re: C++ Frontend and combining files

2006-10-03 Thread Mike Stump
On Oct 3, 2006, at 5:43 PM, Brendon Costa wrote: I think I could insert my data into the .s file into a particular section. I am not sure if I should create my own named section I'd recommend .comment probably. If you want to productize it, add your own, and put it into your linker script.

recombination?

2006-10-03 Thread Erich Plondke
So let's say that I have an instruction that the combiner finds. For instance: "mac": (set (match_operand:SI 0 "register_operand" "=r") (plus:SI (mult:SI (match_operand:SI 1 "register_operand" "r") (match_operand:SI 2 "register_operand" "r"))

testsuite exp programming issue

2006-10-03 Thread Jack Howarth
I am trying to adjust the current gcc/gcc/testsuite/lib/objc.exp to allow it to build against the gnu-objc runtime library in the case of -m64 compiles on Darwin8. Unfortunately, I've hit a brick wall in terms of catching the instance of '-m64' being passed to the compiler flags. Normally I do

Re: C++ Frontend and combining files

2006-10-03 Thread Brendon Costa
Thanks for all the help. I have tried a few things now and decided to try and create a new section called .edoc I tried using .comment on my machine, however there is already data in .comment on my machine and it will make parsing the data from the section to find my data a little more difficult as

Re: testsuite exp programming issue

2006-10-03 Thread Andrew Pinski
> > I am trying to adjust the current gcc/gcc/testsuite/lib/objc.exp > to allow it to build against the gnu-objc runtime library in the > case of -m64 compiles on Darwin8. Unfortunately, I've hit a brick > wall in terms of catching the instance of '-m64' being passed to > the compiler flags.

Re: testsuite exp programming issue

2006-10-03 Thread Jack Howarth
Andrew, I'll double check but I don't think the testcases which use -fnext-runtime were failing when I had these changes hardwired in for -m64. The reason is that the -fgnu-runtime appears on the cflags and gets overridden when a specific testcase appends -fnext-runtime because that appears last

Re: testsuite exp programming issue

2006-10-03 Thread Jack Howarth
Andrew, I think I have this puzzled out now. The correct patch is... Index: lib/obj-c++.exp === --- lib/obj-c++.exp (revision 117423) +++ lib/obj-c++.exp (working copy) @@ -282,8 +282,16 @@ proc obj-c++_target_compile { so

Re: recombination?

2006-10-03 Thread Ian Lance Taylor
"Erich Plondke" <[EMAIL PROTECTED]> writes: > * Combine doesn't pick tuples of three to attempt to combine, so it > would never > pick mult, plus, and ashift to try together. Actually, combine does try to put pairs and triplets of instructions together. It won't do four instructions at onc

Re: testsuite exp programming issue

2006-10-03 Thread Andrew Pinski
On Wed, 2006-10-04 at 00:30 -0400, Jack Howarth wrote: > FAIL: objc.dg-struct-layout-encoding-1/t001_main.m execution test If these (being objc.dg-struct-layout-encoding-1/*) are all failing, then something is wrong. I bet natural alignment is not set correctly for 64bit. But these were added so