Re: pass bounded array as unbounded

2007-10-03 Thread Ian Lance Taylor
Daniel Bengtsson <[EMAIL PROTECTED]> writes: > I have a already written code in C which should be compiled using GCC. In > this code there is an 4x3 array which will be passed to a function as > unbounded array: > > int arr[4][3] > > myFunc (int myArray[][3]) > { >int temp=myArray[7][0] > }

Re: -pthread support

2007-10-03 Thread Ian Lance Taylor
Maggie <[EMAIL PROTECTED]> writes: > I try to generate cross-compiler to support -pthread in command line > with gcc-4.1.1. I build my compiler using the following configuration. > > ./configure --enable-threads=posix --target=our-cpu > > After I generate cc1, it doesn't support -pthread command

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

2007-10-03 Thread Ian Lance Taylor
Jack Howarth <[EMAIL PROTECTED]> writes: >Why should using a Canadian Cross suddenly break on > Mac OS X? We have been using --host when building gcc > packages in fink on Mac OS X for ages and it has never > been a problem. I would think this should become a PR > if gcc trunk has regressed on

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

2007-10-03 Thread Jack Howarth
Ian, Why should using a Canadian Cross suddenly break on Mac OS X? We have been using --host when building gcc packages in fink on Mac OS X for ages and it has never been a problem. I would think this should become a PR if gcc trunk has regressed on this issue. Jack ps For example, s

pass bounded array as unbounded

2007-10-03 Thread Daniel Bengtsson
Hi all, I have a already written code in C which should be compiled using GCC. In this code there is an 4x3 array which will be passed to a function as unbounded array: int arr[4][3] myFunc (int myArray[][3]) { int temp=myArray[7][0] } In this function, values out of boundaries of input arr

-pthread support

2007-10-03 Thread Maggie
Hi all, I try to generate cross-compiler to support -pthread in command line with gcc-4.1.1. I build my compiler using the following configuration. ./configure --enable-threads=posix --target=our-cpu After I generate cc1, it doesn't support -pthread command, could anyone give me some advice?

The Linux binutils 2.18.50.0.2 is released

2007-10-03 Thread H.J. Lu
This is the beta release of binutils 2.18.50.0.2 for Linux, which is based on binutils 2007 1001 in CVS on sourceware.org plus various changes. It is purely for Linux. All relevant patches in patches have been applied to the source tree. You can take a look at patches/README to see what have been

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

2007-10-03 Thread Ian Lance Taylor
Ian Lance Taylor <[EMAIL PROTECTED]> writes: > "Doug Gregor" <[EMAIL PROTECTED]> writes: > > > On 10/2/07, Jack Howarth <[EMAIL PROTECTED]> wrote: > > > The fink packaging for gcc42/gcc43 builds fine on Macintel when we > > > use... > > > > > > --with-arch=nocona --with-tune=generic --host=i68

Re: Unsucessful build of gcc for i686-pc-cygwin on linux

2007-10-03 Thread Ian Lance Taylor
Please do not send messages to both [EMAIL PROTECTED] and [EMAIL PROTECTED] This message should only have gone to gcc-help. Thanks. Ignacio Molinero <[EMAIL PROTECTED]> writes: > I tried to compile gcc 4.1.2 (the final release) on Linux (Ubuntu > 7.04) for windows beacuse I'm trying to make a Ca

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

2007-10-03 Thread Ian Lance Taylor
"Doug Gregor" <[EMAIL PROTECTED]> writes: > On 10/2/07, Jack Howarth <[EMAIL PROTECTED]> wrote: > > The fink packaging for gcc42/gcc43 builds fine on Macintel when we use... > > > > --with-arch=nocona --with-tune=generic --host=i686-apple-darwin8 > > This gets further, failing now for a very di

Re: wrong code with -fforce-addr

2007-10-03 Thread Manfred Schwarb
> On Wed, Oct 03, 2007 at 12:24:27PM +0200, Manfred Schwarb wrote: > > I'm in a loss where to search for the real cause. Has anybody a hint > > how to proceed further? > > Sounds like weird-but-somewhat-determinist behaviour you can get when > you do out-of-bounds access on the stack or this kind

Re: wrong code with -fforce-addr

2007-10-03 Thread Manfred Schwarb
> > Hi, > > > > I have a rather nasty optimization issue with gfortran (as of > yesterday). As I think it could > > be an optimization issue and not an gfortran frontend issue, I post it > here, > > the fortran list was not able to help so far. > > > > I narrowed my problem to one single fortran f

Re: wrong code with -fforce-addr

2007-10-03 Thread Olivier Galibert
On Wed, Oct 03, 2007 at 12:24:27PM +0200, Manfred Schwarb wrote: > I'm in a loss where to search for the real cause. Has anybody a hint > how to proceed further? Sounds like weird-but-somewhat-determinist behaviour you can get when you do out-of-bounds access on the stack or this kind of problems.

Re: wrong code with -fforce-addr

2007-10-03 Thread Richard Guenther
On 10/3/07, Manfred Schwarb <[EMAIL PROTECTED]> wrote: > Hi, > > I have a rather nasty optimization issue with gfortran (as of yesterday). As > I think it could > be an optimization issue and not an gfortran frontend issue, I post it here, > the fortran list was not able to help so far. > > I narr

wrong code with -fforce-addr

2007-10-03 Thread Manfred Schwarb
Hi, I have a rather nasty optimization issue with gfortran (as of yesterday). As I think it could be an optimization issue and not an gfortran frontend issue, I post it here, the fortran list was not able to help so far. I narrowed my problem to one single fortran function. If I compile this fu

�������� � ����������� ��������

2007-10-03 Thread ���
Ïðèâåò , ÿ õî÷ó âàì ïðåäëîæèòü îòëè÷íûé è ïðîâåðåííûé ñïîñîá çàðàáîòêà â Èíòåðíåòå ! ÿ íåáóäó ñäåñü ïèñàòü èíôó , òàê÷òî êòî èìååò æåëàíèå îòëè÷íî è íå-òåæåëî çàðàá

Bootstrap broken on mips-sgi-irix6.5

2007-10-03 Thread François-Xavier Coudert
Hi there, Mainline currently doesn't bootstrap on mips-sgi-irix6.5 due to an ICE while compiling mips-sgi-irix6.5/64/libgcc/_powitf2.o at stage 1. This happens, afaict, with any use of the TF mode with either -mabi=64 or -mabi=n32: $ cat foo.i void __powitf2 (float x __attribute__ ((mode (TF

Unsucessful build of gcc for i686-pc-cygwin on linux

2007-10-03 Thread Ignacio Molinero
Hi, I tried to compile gcc 4.1.2 (the final release) on Linux (Ubuntu 7.04) for windows beacuse I'm trying to make a Canadian Cross, the final target is an ARM machine. I'm configured the buildprocess with: ./configure --target=i686-pc-cygwin --prefix=/home/ignacio/ARM/cross/install --enable-l

Re: Make/bootstrap failure on i386-apple-darwin8.10.1 (Intel Core Duo)

2007-10-03 Thread Doug Gregor
On 10/2/07, Jack Howarth <[EMAIL PROTECTED]> wrote: > The fink packaging for gcc42/gcc43 builds fine on Macintel when we use... > > --with-arch=nocona --with-tune=generic --host=i686-apple-darwin8 This gets further, failing now for a very different reason: cc -O2 -g -O2 -m64 -O2 -O2 -g -O2