Re: ACATS c460008 and VRP (was: Bootstrap failure on trunk: x86_64-linux-gnu)

2006-03-02 Thread Laurent GUERBY
The test still fails at -O2 -gnato... All the current FAIL still fail with -gnato, and we even have two additional failures (unexpected constraint_error): c45532e c45532g So we have to look carefully at what the front-end does with modular types here. Note that cxa4025, cxa4028, cxa4033 are

Re: Preserving bootstrap with non-GCC compilers

2006-03-02 Thread Paolo Bonzini
Comments? I'm of course also volunteering to write the patch, provided that an adept at the new bootstrap (black) magic gives me a clue as to where I should start. :-) You just have to write the test in the toplevel configure.in, and place it just before the AC_SUBST(stage1_cflags). The

RE: problem with the gcc 3.4.4

2006-03-02 Thread Dave Korn
On 02 March 2006 00:02, Mike Stump wrote: On Mar 1, 2006, at 3:47 AM, HASSAN AL MOATASSIME wrote: I have a problem with the compiler gcc 3.4.4. With the gcc 3.2 compiler, i have no problem with the following instruction : creal(U0[i])=PartieReelle;

Receive only special Trees (fdump-tree...)

2006-03-02 Thread Jan Wegner
Hi! Is it possible to receive only special trees from -fdump-tree-{all-raw}? I only need original, generic and gimple. Is there a description about the generic-file somewhere? I read http://zenii.linux.org.uk/~ajh/gcc/gccsummit-2003-proceedings.pdf but it's not enough yet. Thank you very much in

Re: ACATS c460008 and VRP

2006-03-02 Thread Eric Botcazou
it's not a bug, -gnato is clearly documented as required in this case, what makes you think otherwise? Laurent's message. Sorry about that, -gnato indeed has always been specified for this test. -- Eric Botcazou

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-03-02 Thread Eric Botcazou
# BLOCK 6 # PRED: 4 (false,exec) L1:; iftmp.78_63 = D.1309_32; iftmp.78_64 = D.1309_32; D.1316_65 = (c460008__unsigned_edge_8) D.1309_32; if (D.1316_65 == 255) goto L3; else goto L4; # SUCC: 7 (true,exec) 8 (false,exec) [...] The problem (of course) is D.1316_65 can and

Re: gcc 4.1.0 NOT built on i686-pc-linux-gnu (Scientific Linux 3.0.4)

2006-03-02 Thread Vincent Lefevre
Hi, On 2006-03-01 08:43:46 +0100, Maurizio Loreti wrote: /usr/soft/lib/libmpfr.a and /usr/soft/lib/libgmp.a are from gmp 4.1.4 The MPFR version distributed with GMP 4.1.4 is old, very buggy, and no longer maintained. It is highly recommended to compile GMP without MPFR support and compile the

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-03-02 Thread Eric Botcazou
Excerpt from utils2.c: /* Likewise, but only return types known to the Ada source. */ tree get_ada_base_type (tree type) { while (TREE_TYPE (type) (TREE_CODE (type) == INTEGER_TYPE || TREE_CODE (type) == REAL_TYPE) !TYPE_EXTRA_SUBTYPE_P (type)) type =

i686 architecture behaviour in gcc

2006-03-02 Thread David Fernandez
Hi there, Nobody seems to know about this in gcc-help, so, there I go: Forwarded Message From: David Fernandez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: i686 architecture behaviour in gcc Date: Tue, 21 Feb 2006 17:08:32 + Hi there,

Re: GCC 4.1.0 Released

2006-03-02 Thread Vincent Lefevre
On 2006-03-01 14:51:45 -0800, H. J. Lu wrote: Here are diffs of -O2 -mtune=nocona -ffast-math vs -O2 -mtune=generic -ffast-math on Nocona: [...] Optimization is much less important than correct results. From this point of view, I don't think that using an option known to produce incorrect

RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
With this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html gcc no longer mixes SSE and x387 math by default. However glibc still assumes gcc mixes SSE and x387 math. The x86-64 FP control routines in glibc change both SSE and x387 units, which is no longer necessary with the newer

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: With this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html gcc no longer mixes SSE and x387 math by default. However glibc still assumes gcc mixes SSE and x387 math. The x86-64 FP control routines in glibc change both SSE and x387

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: With this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html gcc no longer mixes SSE and x387 math by default. However glibc still assumes gcc mixes SSE and x387

Pb with libiconv while building gcc-4.1.0

2006-03-02 Thread Christophe LYON
Hi all, I am trying to build/install gcc-4.1.0 on my Linux box (RHEL-3), in a non-standard prefix. I use -with-libiconv-prefix the tell configure where to find libiconv, and the configure step works. The build step fails in libcpp: /apa/gnu/Linux-RH-WS-3/gcc/gcc-3.4.4/bin/gcc -O2

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: With this patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01877.html gcc no longer mixes SSE and x387 math by default.

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:34:09PM +0100, Richard Guenther wrote: On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: On Thu, Mar 02, 2006 at 04:08:54PM +0100, Richard Guenther wrote: On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: With this patch:

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Jakub Jelinek
On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: Yes. That is for float and double functions in libm. to touch x387 flags for XFmode long long operations. I assume you meant long double. If the library knows it doesn't long double, it doesn't need to touch x87 unit control.

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: Yes. That is for float and double functions in libm. to touch x387 flags for XFmode long long operations. I assume you meant long double. If the library knows

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread Richard Guenther
On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: Yes. That is for float and double functions in libm. to touch x387 flags for XFmode long long operations. I

Re: RFC: Define __FPMATH_387__ and __FPMATH_SSE__

2006-03-02 Thread H. J. Lu
On Thu, Mar 02, 2006 at 05:19:20PM +0100, Richard Guenther wrote: On 3/2/06, H. J. Lu [EMAIL PROTECTED] wrote: On Thu, Mar 02, 2006 at 04:44:50PM +0100, Jakub Jelinek wrote: On Thu, Mar 02, 2006 at 07:38:47AM -0800, H. J. Lu wrote: Yes. That is for float and double functions in libm.

GCC Internals Wikibook

2006-03-02 Thread Alexey Smirnov
Hello, There is a wikibook that describes the internals of GCC and GEM, an extensibility framework. http://en.wikibooks.org/wiki/GNU_C_Compiler_Internals GEM allows programmers to write extensions to GNU C. We will submit the framework as a GCC patch. Please give us feedback on the

Regression introduced by your change

2006-03-02 Thread Jeffrey A Law
This change: 2006-02-17 Roger Sayle [EMAIL PROTECTED] PR middle-end/25600 * fold-const.c (fold_binary): Fold (X C) != 0 into X 0 when C is one less than the width of X (and related transformations). * simplify-rtx.c (simplify_unary_operation_1): Transform

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-03-02 Thread Jeffrey A Law
On Thu, 2006-03-02 at 14:05 +0100, Eric Botcazou wrote: # BLOCK 6 # PRED: 4 (false,exec) L1:; iftmp.78_63 = D.1309_32; iftmp.78_64 = D.1309_32; D.1316_65 = (c460008__unsigned_edge_8) D.1309_32; if (D.1316_65 == 255) goto L3; else goto L4; # SUCC: 7 (true,exec) 8

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-03-02 Thread Richard Kenner
Just to be 100% clear, I'm leaving this one in the hands of the Ada maintainers. I'm not qualified to fix it. Right. We're also still need the uintp fix installed. I'm not qualified to say if Kenner's fix is correct or not, thus I'm not comfortable checking in that

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-03-02 Thread Eric Botcazou
Just to be 100% clear, I'm leaving this one in the hands of the Ada maintainers. I'm not qualified to fix it. Once the Ada maintainers have this issue fixed, I'll re-run the Ada testsuite and attack the next regression introduced by the VRP changes (if any are left). Sure. My message was

Re: Regression introduced by your change

2006-03-02 Thread Roger Sayle
On Thu, 2 Mar 2006, Jeffrey A Law wrote: Is causing 961206-1.c to regress at -O1 and -O2 on i686-pc-linux-gnu and possibly other platforms. Doh! This doesn't fail on x86_64-unknown-linux-gnu, where I developed that patch, but I am now seeing those failures on i686-pc-linux-gnu. OUCH.

Re: Regression introduced by your change

2006-03-02 Thread Jeffrey A Law
On Thu, 2006-03-02 at 12:35 -0700, Roger Sayle wrote: Sorry for the breakage. I'll have a fix before the sun goes down, that performs the shift in the correct mode, then appropriately sign extends, zero extends or truncates if necessary. Many thanks for analyzing this failure. Sorry

Re: ACATS c460008 and VRP

2006-03-02 Thread Laurent GUERBY
On Thu, 2006-03-02 at 14:04 +0100, Eric Botcazou wrote: it's not a bug, -gnato is clearly documented as required in this case, what makes you think otherwise? Laurent's message. I missed the fact that the test was already in overflow.lst :) Laurent

Re: ACATS c460008 and VRP

2006-03-02 Thread Laurent GUERBY
On Thu, 2006-03-02 at 01:34 +0100, Robert Dewar wrote: Laurent GUERBY wrote: VRP might now force us to update the overflow list but I'm not sure about switching to a full -gnato everywhere. well you can expect some fiddling each version if you work this way The list for -gnato tests

Re: ACATS c460008 and VRP

2006-03-02 Thread Eric Botcazou
I missed the fact that the test was already in overflow.lst :) No worries, so did I. :-) -- Eric Botcazou

Re: GCC 4.1.0 Released

2006-03-02 Thread Mark Mitchell
Roman Belenov wrote: David Edelsohn [EMAIL PROTECTED] writes: Upgrading GNU tar to 1.15.1 fixed the problem for me. So what is the actual requirement - 1.14 or 1.14 or above ? The latter. -- Mark Mitchell CodeSourcery [EMAIL PROTECTED] (650) 331-3385 x713

gcc-4.0-20060302 is now available

2006-03-02 Thread gccadmin
Snapshot gcc-4.0-20060302 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20060302/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

automation: Problem with builddir != srcdir requirement

2006-03-02 Thread Claudio Fontana
Hello, I am building a generic installation program for GNU coding standards-compliant packages. http://www.gnu.org/software/sourceinstall/ I am also helping all GNU projects with a non-compliant build system make the move to the GNU coding standards, with patches and support. I have a problem

Re: Receive only special Trees (fdump-tree...)

2006-03-02 Thread Jim Wilson
Jan Wegner wrote: Hi! Is it possible to receive only special trees from -fdump-tree-{all-raw}? Try reading the docs for the -fdump-tree-* options. You can choose which dump files are created by using the appropriate option. I only need original, generic and gimple. Is there a description

Re: automation: Problem with builddir != srcdir requirement

2006-03-02 Thread Andrew Pinski
On Mar 2, 2006, at 7:23 PM, Claudio Fontana wrote: The problem is that, while an user can read a message like: configure: error: you must configure in a separate build directory This is a bug only in the 4.0.x series of GCC and nowhere else. -- Pinski

Re: automation: Problem with builddir != srcdir requirement

2006-03-02 Thread Joe Buck
On Thu, Mar 02, 2006 at 04:23:42PM -0800, Claudio Fontana wrote: I am building a generic installation program for GNU coding standards-compliant packages. http://www.gnu.org/software/sourceinstall/ I have a problem with current builddir != srcdir requirement in glibc and recent versions of

Re: tracking pointers in hardware

2006-03-02 Thread Jim Wilson
Yoav Etsion wrote: I'm designing a new hardware that needs to know which GPR contains a simple integer, and which contained pointer. The hardware simply needs different load operations for both (we're talking load/store machines, with no indirect addressing to make life easier). You can try

Re: i686 architecture behaviour in gcc

2006-03-02 Thread Jim Wilson
David Fernandez wrote: Can anyone explain why has been chosen that -march=i686 makes the compiler change the normal behaviour, and zero-expand unsigned short parameters into 32-bit registers by all means? You failed to mention the gcc version, and your testcase doesn't actually use

Re: automation: Problem with builddir != srcdir requirement

2006-03-02 Thread Claudio Fontana
Hello Andrew, thanks for your answer. --- Andrew Pinski [EMAIL PROTECTED] ha scritto: On Mar 2, 2006, at 7:23 PM, Claudio Fontana wrote: The problem is that, while an user can read a message like: configure: error: you must configure in a separate build directory This is a bug

how to run shared file on simulator

2006-03-02 Thread Eric Fisher
Hi, I've ported gcc to mytarget-linux version. The object file compiled now are shared one. My current simulator is able to run static executable program and just translate binary code one by one. I know shared file needs dynamic linker to load. So I'd like to know can I run shared file on my sim?

GCC for SPARC Systems

2006-03-02 Thread Alexey Starovoytov
We are pleased to announce the availability of GCC for SPARC (R) Systems (GCCfss) at http://cooltools.sunsource.net/gcc/ GCCfss extends GCC to be able to use the optimizing Sun(tm) Code Generator for SPARC systems (SCGfss). We encourage you to download it and try it. The compiler commands are

[Bug c/26528] New: [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
Current mainline gcc appears to miscompile FFTW: wget http://fftw.org/fftw-3.1.tar.gz tar xvzf fftw-3.1.tar.gz cd fftw-3.1 /scratch/fftw-3.1 gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /scratch/gcc/configure --quiet --prefix=/afs/mpa/data/martin/ugcc

[Bug middle-end/4210] should not warning with dead code

2006-03-02 Thread mattias at virtutech dot se
--- Comment #17 from mattias at virtutech dot se 2006-03-02 09:22 --- We have resorted to case-by-case workarounds, usually a cast which would have been an identity operation had the condition been true. That is, if (sizeof x == 8) return x 32 | x; would have its second line

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-02 Thread wielemak at science dot uva dot nl
--- Comment #3 from wielemak at science dot uva dot nl 2006-03-02 09:24 --- Andrew, If you think this is a real and still present bug I could try to add a little main() to the file and turn the file into a stand-alone program. I guess it is pretty likely it depends on nasty details in

[Bug fortran/15335] runtime error Attempt to allocate a negative amount of memory

2006-03-02 Thread fxcoudert at gcc dot gnu dot org
--- Comment #18 from fxcoudert at gcc dot gnu dot org 2006-03-02 09:37 --- (In reply to comment #17) For i=3 or greater, gfortran and ifort agree on the value of b. However, for the above, gfortran now gives 0, whilst ifort gives 1. I happen to think that 0 makes more sense

[Bug target/26511] Using -O3, doesn't assign in a pointer to a global structure

2006-03-02 Thread wielemak at science dot uva dot nl
--- Comment #4 from wielemak at science dot uva dot nl 2006-03-02 10:08 --- Oops, must be ./configure --enable-mt -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26511

[Bug libstdc++/26526] [4.1/4.2 Regression] std::__copy_streambufs link failure when _GLIBCXX_DEBUG is defined

2006-03-02 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2006-03-02 10:24 --- Benjamin, can you have a look? The issue seems simple, in its essence: on 64-bit machines the recently added __copy_streambufs export is wrong - in fact we are not exporting anything - because it reads everywhere:

[Bug tree-optimization/26447] [4.2 Regression] verify_flow_info failed, load PRE

2006-03-02 Thread aph at gcc dot gnu dot org
--- Comment #10 from aph at gcc dot gnu dot org 2006-03-02 10:31 --- No, that patch doesn't help. Still get the same result at -O2: [EMAIL PROTECTED] eclipse]$ /home/aph/gcc/install/bin/gcj -c -O2 -g -fPIC -findirect-dispatch -fjni AbstractCommentParser.class

[Bug fortran/26500] [4.2 Regression] info/gfortran.info is no longer being installed

2006-03-02 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bonzini at gnu dot org |dot org |

[Bug fortran/26500] [4.2 Regression] info/gfortran.info is no longer being installed

2006-03-02 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2006-03-02 10:47 --- Recategorizing to bootstrap since it is a build system bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26500

[Bug c/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
--- Comment #1 from martin at mpa-garching dot mpg dot de 2006-03-02 11:00 --- I just checked that CFLAGS=-O3 ./configure --enable-portable-binary fails, but CFLAGS=-O3 ./configure --enable-portable-binary works as it should. --

[Bug c/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
--- Comment #2 from martin at mpa-garching dot mpg dot de 2006-03-02 11:01 --- (In reply to comment #1) I just checked that CFLAGS=-O3 ./configure --enable-portable-binary fails, but CFLAGS=-O3 ./configure --enable-portable-binary Sorry for the typo here. I meant, of course,

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-02 12:15 --- Do you have a simple testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26528

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
--- Comment #4 from martin at mpa-garching dot mpg dot de 2006-03-02 12:18 --- (In reply to comment #3) Do you have a simple testcase? I wish I had :( At the moment I'm trying to find out which optimisation flags are causing the trouble. The current minimum set of flags to reproduce

[Bug c++/26291] [4.1 regression] Invalid ellipsis in operator not diagnosed

2006-03-02 Thread reichelt at gcc dot gnu dot org
--- Comment #8 from reichelt at gcc dot gnu dot org 2006-03-02 12:20 --- Subject: Bug 26291 Author: reichelt Date: Thu Mar 2 12:20:52 2006 New Revision: 111637 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=111637 Log: PR c++/26291 * decl.c (grok_op_properties):

[Bug c++/26291] [3.4/4.0/4.1/4.2 regression] Invalid ellipsis in operator not diagnosed

2006-03-02 Thread reichelt at gcc dot gnu dot org
--- Comment #9 from reichelt at gcc dot gnu dot org 2006-03-02 12:22 --- Now also fixed on the 4.1 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26504] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-02 12:29 --- Can you attach the preprocessed source? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails

2006-03-02 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug debug/26330] gcc generates code that does not allow retrieval of struct arguments with debugger

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-02 12:37 --- According to known to fail, it fails in 4.1.0 but Jim's comment suggest otherwise, hmm. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26330

[Bug tree-optimization/25623] jump threading messes up incoming frequencies for some BBs

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-02 12:53 --- This still happens as of today. with the C testcase from comment #1, we get: Invalid sum of incoming frequencies 894, should be 9 L5:; __builtin_abort (); Invalid sum of incoming frequencies 9106, should be

[Bug tree-optimization/25623] jump threading messes up incoming frequencies for some BBs

2006-03-02 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-03-02 12:57 --- Confirmed. It's dom2 messing up. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25623] jump threading messes up incoming frequencies for some BBs

2006-03-02 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-03-02 13:00 --- 4.1.0 has also after dom2: Invalid sum of incoming frequencies 673, should be 21 L5:; __builtin_abort (); Invalid sum of incoming frequencies 9327, should be 9979 L6:; return; 4.0.2 has even different

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-02 13:40 --- (In reply to comment #4) -O1 -ftree-vrp -finline-functions. More to come... Can you try -O3 -fwrapv? It might be the source have undefined code in it for signed overflow and changes to VRP exposed it. Also do

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
--- Comment #6 from martin at mpa-garching dot mpg dot de 2006-03-02 13:52 --- (In reply to comment #5) Can you try -O3 -fwrapv? It might be the source have undefined code in it for signed overflow and changes to VRP exposed it. Bingo! Thanks for this hint, I wouldn't have found

[Bug target/26457] -fstack-protector leaks the upper bits of RAX

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-02 14:00 --- CCing Honza, maybe he knows the answer but I cannot find it in the ISA documention. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/26499] gfortran - End of File incorrectly positioned after binary I/O.

2006-03-02 Thread dir at lanl dot gov
--- Comment #7 from dir at lanl dot gov 2006-03-02 14:02 --- Hi Jerry, As you may have guessed, I added this problem to the things that my program looks for. You got that one and all the ones like it, but here is another one from a slightly different class (rewind after reading

[Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails

2006-03-02 Thread brett dot albertson at stratech dot com
--- Comment #6 from brett dot albertson at stratech dot com 2006-03-02 14:15 --- (In reply to comment #5) A real patch for 4.2 is posted at http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00094.html I can confirm that this patch allows me to bootstrap again. I'm running the

[Bug libstdc++/24345] libstdc++ build failure with IRIX ld(1)

2006-03-02 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-03-02 14:15 --- *** This bug has been marked as a duplicate of 26053 *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/26053] [4.1/4.2 Regression] Misdetection of COMDAT group support with GNU as and non-GNU ld

2006-03-02 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-03-02 14:15 --- *** Bug 24345 has been marked as a duplicate of this bug. *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/18908] Missed folding opportunities with bools

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-02 14:21 --- (In reply to comment #9) Acutally f3 is not fixed but I don't understand how not. No f3 is fine, f4 is broken still. *p = (int) *p != -1; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18908

[Bug tree-optimization/15826] don't use if to extract a single bit bit-field.

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-02 14:24 --- This is interesting, we now get BIT_FIELD_REF. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826

[Bug debug/26330] gcc generates code that does not allow retrieval of struct arguments with debugger

2006-03-02 Thread randolph at tausq dot org
--- Comment #3 from randolph at tausq dot org 2006-03-02 14:27 --- Subject: Re: gcc generates code that does not allow retrieval of struct arguments with debugger pinskia at gcc dot gnu dot org wrote: --- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-02 12:37 ---

[Bug debug/26330] [4.0 only] gcc generates code that does not allow retrieval of struct arguments with debugger

2006-03-02 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-debug Known to fail|4.0.3 4.1.0 |4.0.3

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread martin at mpa-garching dot mpg dot de
--- Comment #7 from martin at mpa-garching dot mpg dot de 2006-03-02 14:29 --- (In reply to comment #6) If I understand correctly, this is most likely a bug in FFTW, right? If so, I'll report it to FFTW people. On the other hand, gcc 4.1 also has VRP, but it seems to work fine. Has

[Bug target/26457] -fstack-protector leaks the upper bits of RAX

2006-03-02 Thread pluto at agmk dot net
--- Comment #4 from pluto at agmk dot net 2006-03-02 14:32 --- http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/24592.pdf page 33: [ Zero-Extension of 32-Bit Results. ] (...) when performing 32-bit operations with a GPR destination in 64-bit mode, the processor

[Bug target/26457] -fstack-protector leaks the upper bits of RAX

2006-03-02 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2006-03-02 14:48 --- (define_insn *movdi_xor_rex64 [(set (match_operand:DI 0 register_operand =r) (match_operand:DI 1 const0_operand i)) (clobber (reg:CC FLAGS_REG))] TARGET_64BIT (!TARGET_USE_MOV0 || optimize_size)

[Bug fortran/25953] Help on the solution for the large file unit numbers problem

2006-03-02 Thread luiscasinhas at mail dot telepac dot pt
--- Comment #5 from luiscasinhas at mail dot telepac dot pt 2006-03-02 15:03 --- Sure! Please feel free to change the current bug status to whatever status you may see fit. Best regards -- luiscasinhas at mail dot telepac dot pt changed: What|Removed

[Bug target/26504] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-03-02 Thread bjkeen at super dot org
--- Comment #3 from bjkeen at super dot org 2006-03-02 16:03 --- Created an attachment (id=10956) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10956action=view) compute_frame_pointer_to_cfa_displacement internal error source trigger --

[Bug ada/26529] New: Compiler crash when 'use' clause for ADA record is defined

2006-03-02 Thread markus dot heichel at comsoft dot de
When moving from gcc 3.4.3 to 4.1.0, I found a record definition, that causes a compiler crash: 4.1.0 (i686-pc-linux-gnu) in get_memory_rtx, at builtins.c:1086 raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:380 The compiler has been compiled from source without any special settings, i.e.

[Bug bootstrap/23927] --enable-intermodule is broken on targets with mutlilibs even with --disable-multilib

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-03-02 16:04 --- Fixed for 4.2.0 by enabling of toplevel bootstrap. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26504] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-03-02 Thread bjkeen at super dot org
--- Comment #4 from bjkeen at super dot org 2006-03-02 16:06 --- I have this same problem, only with Fedora Core 2/x86, building the cross-compiler for AVR as well. gcc4.1 and gcc 4.03 both stop with this error. I have attached the preprocessed source file resulting from the following

[Bug middle-end/26528] [4.2 regression] gcc miscompiles FFTW 3.1

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-02 16:10 --- (In reply to comment #7) On the other hand, gcc 4.1 also has VRP, but it seems to work fine. Has VRP become more aggressive, or might it have a new bug? VRP has become more aggressive or it might be still a bug.

[Bug fortran/21130] 38822 lines of Fortran 90 takes more than 10 minutes to compile on a dual 3GHz P4 Linux box with lots of RAM

2006-03-02 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-03-02 16:10 --- aermod of Polyhedron has the same problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21130

[Bug ada/26529] Compiler crash when 'use' clause for ADA record is defined

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 16:12 --- gcc_assert (! DECL_BIT_FIELD (field)); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26529

[Bug ada/26529] [4.1/4.2 Regression] Compiler crash when 'use' clause for ADA record is defined

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-02 16:19 --- __builtin_memcpy (_init-protocol_characteristics.F, T52s.F, 30); Reduced testcase: package DATA is type UNSIGNED_8 is new INTEGER range 0 .. (2 ** 8) - 1; for UNSIGNED_8'SIZE use 8; type

[Bug testsuite/25177] [4.1/4.2 Regression] gcc.target/powerpc/pr18096-1.c fails on PPC

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-02 16:27 --- This also happens on the 4.1 branch too, I did not notice it until today. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/26530] New: -Os size optimization causes segfault for exception thrown

2006-03-02 Thread M dot Schouten at phys dot uu dot nl
The following code will segfault when saying: g++ -Os test.cpp -o test ./test but not with any other -O? options such as g++ -O3 test.cpp -o test ./test preprocessed source: # 1 test.cpp # 1 built-in # 1 command line # 1 test.cpp int main() { try{ throw 8; }catch(...){} } --

[Bug target/26530] -Os size optimization causes segfault for exception thrown

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 16:32 --- This works in 4.1.0 and above. Closing as fixed since this is not a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26508] 4.1.0 doesn't build in 64bit on PA-RISC

2006-03-02 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2006-03-02 17:47 --- Not being able to use the HP assembler is definitely not a GCC bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26508

[Bug c++/26531] New: Use of templates in macro expansion confuses pre-processor

2006-03-02 Thread peter dot schuller at infidyne dot com
Given the following code: BEGIN CODE template typename A, typename B class SomeClass { }; #define MYMACRO(BLOCK) \ { \ BLOCK\ } \ int main(void) { MYMACRO({ SomeClassint,int test; }); } END CODE gcc (3.3.5

[Bug c++/26531] Use of templates in macro expansion confuses pre-processor

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 18:27 --- This is not a bug. There are two arguments passed to the macro MYMACRO, {\nSomeClassint and int test;\n }. the only way to force an argument passed to the preprocessor macros is to wrap them in parentheses.

Re: error building 4.1 on Solaris 9

2006-03-02 Thread Martin Sebor
Martin Sebor wrote: Andrew Pinski wrote: On Mar 1, 2006, at 7:48 PM, Martin Sebor wrote: Is there a recommended version of GNU binutils for 4.1? I have been using 2.13 but the latest compiler doesn't seem to be happy with it. I tried the latest, 2.16.1, but I get the same error with it as

[Bug tree-optimization/26524] [4.1 Regression] ICE when compiling with -ffast-math and -O3 clatm5.f (lapack)

2006-03-02 Thread janis at gcc dot gnu dot org
--- Comment #6 from janis at gcc dot gnu dot org 2006-03-02 19:10 --- The test case starts passing on mainline with this patch: http://gcc.gnu.org/viewcvs?view=revrev=109088 r109088 | sayle | 2005-12-27 23:27:34 + (Tue, 27 Dec 2005) | 11 lines * fold-const.c

[Bug target/26532] New: [4.1]: libmudflap failures on ia64

2006-03-02 Thread hjl at lucon dot org
From http://gcc.gnu.org/ml/gcc-testresults/2006-03/msg00084.html there are === libmudflap tests === Running target unix FAIL: libmudflap.c++/pass41-frag.cxx (test for excess errors) WARNING: libmudflap.c++/pass41-frag.cxx compilation failed to produce executable FAIL:

[Bug target/26427] Regressions with -fsection-anchors with zero sized structs

2006-03-02 Thread rsandifo at gcc dot gnu dot org
--- Comment #3 from rsandifo at gcc dot gnu dot org 2006-03-02 19:44 --- I said: I'm considering adding equivalent code to varasm.c. This will fix an inconsistency in the handling of zero-sized decls: sometimes they get a byte of storage allocated to them (giving them a unique

[Bug target/26504] compute_frame_pointer_to_cfa_displacement error for avr target with --with-dwarf2

2006-03-02 Thread wilbur dot harvey at spirentcom dot com
--- Comment #5 from wilbur dot harvey at spirentcom dot com 2006-03-02 20:01 --- Subject: Re: compute_frame_pointer_to_cfa_displacement erro r for avr target with --with-dwarf2 I gave up and deleted everything related. I will see if I can re-create the environment again. Wilbur

[Bug tree-optimization/14703] Inadequate optimization of inline templated functions

2006-03-02 Thread eric-gcc at omnifarious dot org
--- Comment #6 from eric-gcc at omnifarious dot org 2006-03-02 20:25 --- I'm pleased that I came up with such a difficult test case for the optimizer. I never thought it'd be that hard. :-) I don't know anything about the internals, but... The compiler has to generate everything

[Bug c/26533] New: error: invalid use of void expression

2006-03-02 Thread kminola at eng dot umd dot edu
This is probably pretty dodgy C code, but I find it strange that program foo.c compiles while program bar.c gives an error. Is this a bug? --- foo.c -- #include stdio.h int main() { int ii; ii = 276; void *vv = (void *)ii; } --- foo.c --

[Bug c/26533] error: invalid use of void expression

2006-03-02 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-02 21:14 --- The first one is ok C even though it is not OK C89 but it is fine C99. The second one is not ok C at all, since you are deferencing a void pointer. -- pinskia at gcc dot gnu dot org changed: What

[Bug c++/26534] New: bitfield wrong optimize

2006-03-02 Thread s__nakayama at infoseek dot jp
#include stdio.h struct X { unsigned a:4; }; int main() { struct X x = { 63u }; printf(%u\n, x.a); return 0; } // end. result: g++bug.cpp; ./a 15 g++ -O bug.cpp; ./a 63 wrong result!! -- Summary: bitfield wrong optimize Product: gcc Version:

  1   2   >