Known regression ? gcc-4.0.0-20050312 FPE's on C++

2005-03-18 Thread John Vickers
Hi. I'm just asking if this is a known bug. If not I'll prepare a bug report, with bzipped preprocessed source. I'm seeing this: hpm05fuvec0.cpp:5538: internal compiler error: Floating point exception Please submit a full bug report, quite often when compiling large chunks of machine-generated C++

help regarding ld

2005-03-18 Thread aram bharathi
hi, i am using the arm-elf-gcc compiler to generate the assembly code arm-elf-gcc -mthumb -S new.c after this i use the arm-elf-as for genrating machine code arm-elf-as new.s it produces one a.out file.. arm-elf-ld a.out produces error like arm-elf-ld: warning: cannot find entry sym

Re: Known regression ? gcc-4.0.0-20050312 FPE's on C++

2005-03-18 Thread Giovanni Bajo
John Vickers <[EMAIL PROTECTED]> wrote: > I can have another go without the "--disable-checking" if that's > likely to help. Anything else you'd like in the bug report ? Please submit the smallest preprocessed source you can machine-generate which shows the bug. Thanks! Giovanni Bajo

Re: help regarding ld

2005-03-18 Thread Nick Clifton
Hi Aram, i am using the arm-elf-gcc compiler to generate the assembly code arm-elf-gcc -mthumb -S new.c after this i use the arm-elf-as for genrating machine code arm-elf-as new.s Note - these two steps could be combined into one by using the -c switch instead of the -S switch: arm-elf-gcc -

Re: Suggestion for a fix to Bug middle-end/20177

2005-03-18 Thread Mostafa Hagog
James E Wilson <[EMAIL PROTECTED]> wrote on 18/03/2005 07:43:55: > > You either have to keep all REG_NOTES up to date, or call code that will > recompute them. You can recompute REG_DEAD/REG_UNUSED notes by calling > back into flow. This is presumably what happens when you mark the block >

Re: reload question

2005-03-18 Thread Miles Bader
BTW, if anybody replies, could you keep me in the CC: header? I do read this list, but it won't be convenient in the next few days. Thanks, -Miles -- .Numeric stability is probably not all that important when you're guessing.

Re: Questions about trampolines

2005-03-18 Thread Joern RENNECKE
Robert Dewar wrote: Joern RENNECKE wrote: You need to be able to set the value of a parameter over a widely varying range, what makes you think you can pick two values that will cover all cases, or 4 or 6 for that matter. It will likely cover most, but not all cases. With 12 values, you can cover

Re: Questions about trampolines

2005-03-18 Thread Robert Dewar
Joern RENNECKE wrote: You need to be able to set the value of a parameter over a widely varying range, what makes you think you can pick two values that will cover all cases, or 4 or 6 for that matter. In order to allow to specify the exact size of the pool, you can provide the source of the lib

Merge to tree-profiling

2005-03-18 Thread Jan Hubicka
Hi, I did merge to tree profiling yesterday and committing to the tree didn't went correctly, so tree was messed up till today. So if something breaks for you, please just update and hopefully everything will be OK now. Honza

Strange build errors compiling SPEC with mainline

2005-03-18 Thread Diego Novillo
Starting around 2005-03-17, I haven't been able to compile several SPEC tests with mainline. Has there been any change in the pre-processor that might explain these errors? I'm pretty sure my installation is correct because this worked until 2005-03-15, the system header files are all there and I

Re: Strange build errors compiling SPEC with mainline

2005-03-18 Thread Michael Matz
Hi, On Fri, 18 Mar 2005, Diego Novillo wrote: > Starting around 2005-03-17, I haven't been able to compile > several SPEC tests with mainline. Has there been any change in > the pre-processor that might explain these errors? > > I'm pretty sure my installation is correct because this worked > u

CC0 to CCmode conversion

2005-03-18 Thread Denis Chertykov
Hi All! I have converted the AVR port from CC0 to CCmode. But may be I have converted the port in wrong way. (It's because I was interested in *this* way.) I have used CCmode register and havn't added the '(clobber (reg:QI CC_REGNUM))' to any insn that really clobber the CC_REGNUM just because AV

FAIL: gcc.c-torture/compile/20011119-2.c -O1 for gcc 4.0.0 20050318 (prerelease) on sparc-linux

2005-03-18 Thread Christian Joensson
Aurora SPARC Linux release 2.0 (Kashmir FC3) UltraSparc IIi (Sabre) sun4u: binutils-2.15.94.0.2-1.sparc bison-1.875c-2.sparc dejagnu-1.4.4-2.noarch expect-5.42.1-1.sparc gcc-3.4.2-6.fc3.sparc gcc4-4.0.0-0.8sparc.sparc glibc-2.3.3-99.sparcv9 glibc-2.3.3-99.sparc64 glibc-devel-2.3.3-99.sparc64 glibc

Re: FAIL: gcc.c-torture/compile/20011119-2.c -O1 for gcc 4.0.0 20050318 (prerelease) on sparc-linux

2005-03-18 Thread Christian Joensson
--enable-languages=c,ada,c++ Thread model: posix gcc version 4.0.0 20050318 (prerelease) /usr/local/src/branch/objdir32/gcc/cc1 -E -quiet -v -iprefix /usr/local/src/branch/objdir32/gcc/../lib/gcc/sparc-linux/4.0.0/ -isystem /usr/local/src/branch/objdir32/gcc/include /usr/local/src/branch/gcc/gcc/

Weird behavior in ivopts code

2005-03-18 Thread Jeffrey A Law
I'm sitting here analyzing a regression with some pending jump threading changes and I've stumbled upon this quirk in IV opts which, if nothing else, makes it very difficult to evaluate the jump threading changes. Specifically, the set of IVs selected for a loop changes when the version #s of ob

Re: AVR: CC0 to CCmode conversion

2005-03-18 Thread Paul Schlie
> Denis wrote: > I have converted the AVR port from CC0 to CCmode. > But may be I have converted the port in wrong way. > (It's because I was interested in *this* way.) > > I have used CCmode register and havn't added the > '(clobber (reg:QI CC_REGNUM))' to any insn that really clobber the > CC_RE

Re: Weird behavior in ivopts code

2005-03-18 Thread Zdenek Dvorak
Hello, > Which appears to walk down the array and try and choose better IV sets. > Since it walks down the IV array, which is in SSA_NAME_VERSION order. > Thus two loops which are equivalent in all ways except that they use > different SSA_NAME_VERSIONs can get different IV sets. > > Anyway, the

reload-branch created (was: What to do with new-ra for GCC 4.0)

2005-03-18 Thread Bernd Schmidt
Jeffrey A Law wrote: On Fri, 2005-01-21 at 17:50 +0100, Giovanni Bajo wrote: Why not putting it on a branch? If you are going to finish and submit it for 4.1, it might be easier to use CVS. It might also be easier for those of us who want to play with the code, without having to find a suitable syn

Re: help with mudflap testsuite result analysis

2005-03-18 Thread Mike Stump
On Thursday, March 17, 2005, at 11:37 AM, Mike Stump wrote: So, I've been working on mudflap for darwin8, and these are the results I get... I know what you're thinking, it's impossible to get it working because it doesn't have --wrap and friends.. well, I pulled some magic pixie dust out and

Re: Strange build errors compiling SPEC with mainline

2005-03-18 Thread Janis Johnson
On Fri, Mar 18, 2005 at 03:02:53PM +0100, Michael Matz wrote: > Hi, > > On Fri, 18 Mar 2005, Diego Novillo wrote: > > > Starting around 2005-03-17, I haven't been able to compile > > several SPEC tests with mainline. Has there been any change in > > the pre-processor that might explain these err

Re: Suggestion for a fix to Bug middle-end/20177

2005-03-18 Thread Paul Schlie
> Steven Bosscher wrote: >> Mostafa Hagog <[EMAIL PROTECTED]> wrote: >> This is interesting, so there could be cases were want to copy CC >> register when doing SMS. what happens if we want to move the set >> of a CC to another iteration of the loop ? or the use of the CC ? but >> usually this is

Re: AVR: CC0 to CCmode conversion

2005-03-18 Thread Denis Chertykov
Paul Schlie <[EMAIL PROTECTED]> writes: > > Denis wrote: > > I have converted the AVR port from CC0 to CCmode. > > But may be I have converted the port in wrong way. > > (It's because I was interested in *this* way.) > > > > I have used CCmode register and havn't added the > > '(clobber (reg:QI C

Re: help with mudflap testsuite result analysis

2005-03-18 Thread Frank Ch. Eigler
mrs wrote: > [...] The question is, how decent are the results and can you spot > any systematic wrongs that appear and/or can you identify any > non-portableness to darwin of mudflap? I started from 89 > passes... > :-) [...] Most of the FAILs are "output pattern test" failures, related to so

Problem running optimized IA64 code that invokes hand-coded assembly language function

2005-03-18 Thread JCA
I have a function F written in IA64 assembly language function. This function is invoked from a C program P. If I compile P with gcc (version 3.2.3) under Linux, and with no optimization options, the resulting executable runs flawlessly. If I compile P with -O then the resulting executable fails.

Overriding optimization for individual portions of C code

2005-03-18 Thread JCA
Is it possible with gcc to specify that a portion of code should be compiled without any optimizations, overriding the -O option given in the command line? The solution consisting of isolating that portion of code, and placing it in a separate file is not what I am looking for.

Re: Overriding optimization for individual portions of C code

2005-03-18 Thread Joe Buck
On Fri, Mar 18, 2005 at 02:46:30PM -0800, JCA wrote: >Is it possible with gcc to specify that a portion of code should be > compiled without any optimizations, overriding the -O option given in > the command line? The solution consisting of isolating that portion of > code, and placing it in a

Re: Problem running optimized IA64 code that invokes hand-coded assembly language function

2005-03-18 Thread Andreas Schwab
JCA <[EMAIL PROTECTED]> writes: > It would be useful if somebody knowledgeable could tell me what > IA64 registers does gcc expect to be preserved on return of function > calls; I am familiar with the convention for IA64 assembly language > and C, but I do not know what gcc assumes in this respe

Re: AVR: CC0 to CCmode conversion

2005-03-18 Thread Paul Schlie
> From: Denis Chertykov <[EMAIL PROTECTED]> >> Paul Schlie <[EMAIL PROTECTED]> writes: >>> Denis wrote: >>> I have converted the AVR port from CC0 to CCmode. >>> But may be I have converted the port in wrong way. >>> (It's because I was interested in *this* way.) >>> >>> I have used CCmode registe

Re: CC0 to CCmode conversion

2005-03-18 Thread Bernardo Innocenti
Denis Chertykov wrote: I have converted the AVR port from CC0 to CCmode. That's indeed very good news. Incidentally, CC0 conversion of the AVR target was being discussed in an off-list thread with Andy Hutchinson. But may be I have converted the port in wrong way. (It's because I was interested i

gcc-3.4-20050318 is now available

2005-03-18 Thread gccadmin
Snapshot gcc-3.4-20050318 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20050318/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 3.4 CVS branch with the following options: -rgcc-ss-3_4-20050318 You'll

Question on tree-ssa-loop-im.c:for_each_index

2005-03-18 Thread Richard Kenner
VIEW_CONVERT_EXPR is tcc_reference, but we can have a statement like: x = 22; What ends up happening here is that find_interesting_uses_stmt calls find_interesting_uses_address, which goes down the references and runs into the constant, which it doesn't know how to handle. I think the s

Re: reload-branch created

2005-03-18 Thread Ulrich Weigand
Bernd Schmidt wrote: > I have created a new branch, "reload-branch", on which I'm going to > check in these changes. Thanks! With three changes described below, I'm able to bootstrap and test the reload-branch on s390-ibm-linux and s390x-ibm-linux without regressions against head (except two ad

Re: reload-branch created (was: What to do with new-ra for GCC 4.0)

2005-03-18 Thread Giovanni Bajo
Bernd Schmidt <[EMAIL PROTECTED]> wrote: >>> It might also be easier for those of us who want to play with the >>> code, without having to find a suitable sync point between the >>> patch and >>> mainline sources. >> >> I have created a new branch, "reload-branch", on which I'm going to >> check i

Re: reload-branch created

2005-03-18 Thread Bernd Schmidt
Giovanni Bajo wrote: What is your plan for this branch? Is there more code refactoring/rewriting planned, or are you just going to give it a wider testing and fix fallout bugs, in preparation for a merge? There's one known design flaw wrt. to enble_optional/disable_optional, and I think autoinc re

gcc 3.4.3 bug C++/inlines/thumb

2005-03-18 Thread Carl van_Schaik
I'm running into a bug with gcc 3.4.3: I've got syscall code for user-land to our kernel that trashes r14/lr. The code is inlined, and works find in ARM mode. When compiling in thumb, gcc does not preserve lr. With an older gcc 3.3.3, the code was not inlined, but generated correctly. L4_INLINE