Value numbering and volatility

2006-06-21 Thread Eric Botcazou
Hi, We're experiencing a memory explosion during PRE on several ACATS tests with mainline (+1 local patch, but it's very likely the same issue as PR 27937). Excerpt from .067t.pre: Created value VH.26 for (struct cd5012i__genproc__cell *volatile {ref-all}) VH.25 Created value VH.33 for

Re: Value numbering and volatility

2006-06-21 Thread Richard Guenther
On 6/21/06, Eric Botcazou [EMAIL PROTECTED] wrote: Hi, We're experiencing a memory explosion during PRE on several ACATS tests with mainline (+1 local patch, but it's very likely the same issue as PR 27937). Excerpt from .067t.pre: Created value VH.26 for (struct cd5012i__genproc__cell

Re: Value numbering and volatility

2006-06-21 Thread Andrew Pinski
On Jun 21, 2006, at 7:05 AM, Eric Botcazou wrote: Hi, We're experiencing a memory explosion during PRE on several ACATS tests with mainline (+1 local patch, but it's very likely the same issue as PR 27937). The VN should not have been created and stmt_ann (stmt)- has_volatile_ops

Re: Value numbering and volatility

2006-06-21 Thread Eric Botcazou
What do you mean by in the VALUE_HANDLE itself? Returning a different VALUE_HANDLE for each instance of a volatile expression. I think we should not bother value-numbering volatile mem-accesses at all. I guess that would be even better. :-) Thanks for the quick feedback. -- Eric Botcazou

Re: Value numbering and volatility

2006-06-21 Thread Diego Novillo
Eric Botcazou wrote on 06/21/06 10:05: It seems to me that the volatility should be accounted for in the VALUE_HANDLE itself only, not in (de)references to it. As Richard and Andrew pointed out, the bug is that we try to compute the value number of a statement with volatile references in

Re: Value numbering and volatility

2006-06-21 Thread Daniel Berlin
Diego Novillo wrote: Eric Botcazou wrote on 06/21/06 10:05: It seems to me that the volatility should be accounted for in the VALUE_HANDLE itself only, not in (de)references to it. As Richard and Andrew pointed out, the bug is that we try to compute the value number of a statement with

Re: [RFC] Optimization Diary

2006-06-21 Thread Michael Matz
Hi, On Wed, 7 Jun 2006, Daniel Jacobowitz wrote: On Wed, Jun 07, 2006 at 11:29:44AM -0700, Devang Patel wrote: And string does not answer localization issue, however for numbers at least there is one precedent to follow. I think this discussion has gotten totally sidetracked. When I

i686-unknown-winnt target not defined

2006-06-21 Thread Niklaus
Hi , I have compiled binutils successfully with the target i686-unknown-winnt. But the make for gcc fails. It says target not supported. I think i can workaround it using i686-unknown-mingw32. Few questions 1) Is it a known feature or a bug or something that i am doing wrong ? 2) Do we have

Re: state of decimal float support in GCC

2006-06-21 Thread Mark Mitchell
Janis Johnson wrote: Support in GCC 4.2 for decimal floating types is based on drafts of ISO/IEC WDTR 23732, which continues to change. There are some differences between the most recent draft N1176 and what GCC implements, and some other things that should probably change or at least be

pretty-print.c and gettext

2006-06-21 Thread Bruno Haible
Hi, In gcc 4.1.0 the syntax of gcc-internal format strings - as defined in pretty-print.c - has been extended to support reordering of arguments (through the %n$ syntax). Now the Swedish translator of gcc.pot would like to make use of this feature, but the infrastructure is not yet in place.

Re: pretty-print.c and gettext

2006-06-21 Thread Joseph S. Myers
On Wed, 21 Jun 2006, Bruno Haible wrote: Can you please proceed to step 2: ensure that the gettext-0.14.6 tools are used for building gcc-4.1.2 and newer? To be clear, gettext tools are used in two ways in building new releases: * xgettext is run to update gcc.pot and cpplib.pot. * GCC is

Re: pretty-print.c and gettext

2006-06-21 Thread Bruno Haible
Joseph S. Myers wrote: To be clear, gettext tools are used in two ways in building new releases: * xgettext is run to update gcc.pot and cpplib.pot. * GCC is built with --enable-generated-files-in-srcdir, which uses msgfmt to create .gmo files and copy them into the source directory for

[Bug fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.

2006-06-21 Thread paul dot richard dot thomas at cea dot fr
--- Comment #3 from paul dot richard dot thomas at cea dot fr 2006-06-21 07:19 --- Subject: RE: Intrinsic MOD incorrect for large arg1/arg2 and slow. FX, I do not have the slightest idea! I wrote various versions using BUILT_IN_FMOD and got bogged down in a discussion about the use

[Bug fortran/28118] New: ICE calling subroutine defined via explicit interface

2006-06-21 Thread anlauf at gmx dot de
Howdy, the attached code ICE's in the subroutine call: gfcbug33.f90: In function 'MAIN__': gfcbug33.f90:17: internal compiler error: Segmentation fault Cheers, -ha -- Summary: ICE calling subroutine defined via explicit interface Product: gcc Version: 4.2.0

[Bug fortran/28118] ICE calling subroutine defined via explicit interface

2006-06-21 Thread anlauf at gmx dot de
--- Comment #1 from anlauf at gmx dot de 2006-06-21 08:05 --- Created an attachment (id=11718) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11718action=view) Code provoking the ICE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28118

[Bug bootstrap/28101] Cannot build cross compiler for Solaris: values-Xa.o: No such file: No such file or directory

2006-06-21 Thread info at yourkit dot com
--- Comment #1 from info at yourkit dot com 2006-06-21 08:10 --- All librarues from /usr/lib (from target Solaris machine) should be copied to $PREFIX/sysroot/usr/lib -- info at yourkit dot com changed: What|Removed |Added

[Bug target/27880] [4.2 regression] undefined reference to `_Unwind_GetIPInfo'

2006-06-21 Thread schwab at suse dot de
--- Comment #6 from schwab at suse dot de 2006-06-21 08:22 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01023.html. -- schwab at suse dot de changed: What|Removed |Added

[Bug fortran/28119] New: forall_stmt ; stmt gives an internal error

2006-06-21 Thread paul dot richard dot thomas at cea dot fr
In the course of understanding pr25072, I came across this beauty. $ cat test.f90 real a(2) forall (i = 1:2) a(i) = i ; a = 2.0 * a end [EMAIL PROTECTED] /cygdrive/d/svn/prs $ /snap/bin/gfortran test.f90 In file test.f90:2 forall (i = 1:2) a(i) = i ; a = 2.0 * a 1 Internal Error at

[Bug fortran/28118] ICE calling subroutine defined via explicit interface

2006-06-21 Thread paul dot richard dot thomas at cea dot fr
--- Comment #2 from paul dot richard dot thomas at cea dot fr 2006-06-21 10:24 --- This reduced version produces the same error character(12) :: a(2) call foo (a(:)(7:11)) end (gdb) run PR28118.f90 Starting program: /irun/libexec/gcc/i686-pc-cygwin/4.2.0/f951.exe PR28118.f90

[Bug c/28120] New: The option -f[no-]inline-functions is invalid with -O2

2006-06-21 Thread tanaka at personal-media dot co dot jp
Compiling C source code(test.c) by gcc -c --save-temps -O2 -fno-inline-functions test.c -o test.o gcc -c --save-temps -O2 -finline-functions test.c -o test.o Both output, function(small()) is integrated into main(). If the option -fno-unit-at-a-time is set additionally, the option

[Bug rtl-optimization/28121] New: [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread tbm at cyrius dot com
I get the following ICE with gcc 4.2. This is a regression from 4.0 and 4.1. (sid)17:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O2 mini.c mini.c: In function 'GetCmd': mini.c:23: error: wrong amount of branch edges after unconditional jump 2 mini.c:23: internal compiler error:

[Bug fortran/26769] Implement transpose() and reshape() for real instead of using integer

2006-06-21 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- |

[Bug fortran/23862] Select Fortran source form appropriately for -pipe

2006-06-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2006-06-21 11:14 --- I'm rediscovering that bug, so I'm assigning this bug to myself in order to not forget it again :) One remark: I don't understand exactly why the second part would be needed: -{@f95, %{!E:f951 %i %(cc1_options)

[Bug fortran/28122] New: Undocumented gfortran options

2006-06-21 Thread fxcoudert at gcc dot gnu dot org
The following options are not documented in gfortran's invoke.texi, and should probably be: -fmodule-private, -fno-backend, -fpreprocessed, -qkind= -- Summary: Undocumented gfortran options Product: gcc Version: 4.2.0 Status: UNCONFIRMED

[Bug c/28120] The option -f[no-]inline-functions is invalid with -O2

2006-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-06-21 11:57 --- -f[no-]inline is what you are looking for. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-06-21 11:59 --- Confirmed. #0 internal_error (gmsgid=0x887a074 verify_flow_info failed) at /space/rguenther/src/svn/trunk/gcc/diagnostic.c:586 #1 0x085fc3ab in verify_flow_info () at

[Bug middle-end/28116] [4.1 Regression] ICE when building konverter with gcc-4.1 with -O3 [RSO]

2006-06-21 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2006-06-21 12:20 --- This sounds like a tree-nrv bug to me. We have at *.optimized: QTime QTime::msToTime() (this) { struct QTimeD.1732 D.1772; struct QTimeD.1732 tD.1765; (voidD.34) 0; D.1772 = addMSecs (retval); retval =

[Bug c/28120] The option -f[no-]inline-functions is invalid with -O2

2006-06-21 Thread tanaka at personal-media dot co dot jp
--- Comment #2 from tanaka at personal-media dot co dot jp 2006-06-21 12:46 --- Thanks for your reply. Originally, my wanting to say is that When compile a C source code only with an option -O2, small function is not inlined. But it is inlined by gcc-4.1.1. Small function is not

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2006-06-21 13:37 --- This appeared between 20060218 and 20060325. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28121

[Bug c/28120] The option -f[no-]inline-functions is invalid with -O2

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-21 14:19 --- Or -fno-inline-functions-called-once for 4.2.0 and above. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28120

[Bug c/28120] The option -f[no-]inline-functions is invalid with -O2

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-21 14:19 --- (In reply to comment #3) Or -fno-inline-functions-called-once for 4.2.0 and above. For this case that is. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28120

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-21 14:22 --- This works for me with a cross to powerpc64-linux-gnu with 4.2.0 20060617. What target are you compiling this on? -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread rakdver at gcc dot gnu dot org
--- Comment #4 from rakdver at gcc dot gnu dot org 2006-06-21 14:26 --- On i686-linux, it fails. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28121

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread rakdver at gcc dot gnu dot org
--- Comment #5 from rakdver at gcc dot gnu dot org 2006-06-21 14:37 --- The problem is that the edge from bb 2 has EDGE_EXECUTABLE flag set, which confuses verify_flow_info. -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/28094] Modulo of real(kind=10) variables doesn't work

2006-06-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2006-06-21 14:49 --- This modulo code is not very clear in my head. I'm not sure why this implementation (using an integer kind *equal* to the real kind) is supposed to be working. Anyway, without changing the current implentation,

[Bug testsuite/28123] New: gcc.dg/cpp/_Pragma3.c is sensitive to timestamps

2006-06-21 Thread amylaar at gcc dot gnu dot org
I got a failure on the cc.dg/cpp/_Pragma3.c test: Executing on host: /mnt/scratch/nightly/2006-06-20/sh-elf/gcc/xgcc -B/mnt/scratch/nightly/2006-06-20/sh-elf/gcc/ /mnt/scratch/nightly/2006-06-20/srcw/gcc/testsuite/gcc.dg/cpp/_Pragma3.c -ansi -pedantic-errors -DSTACK_SIZE=16384 -fno-show-column

[Bug bootstrap/28124] New: Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread ray at ultramarine dot com
Making cgg on Mac Mini G5 with OSX 10.4 aborts with checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[1]: ***

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-21 14:58 --- What do you mean by G6 there is no such thing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28124

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread ray at ultramarine dot com
--- Comment #2 from ray at ultramarine dot com 2006-06-21 15:00 --- Subject: Re: Cannot build gcc on OSX 10.4 G6 On Wed, 21 Jun 2006, pinskia at gcc dot gnu dot org wrote: --- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-21 14:58 --- What do you mean by G6

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-21 15:01 --- Use --disable-multilib, it is trying to build 64bit programs and running them but you don't have a 64bit machine, there is only a mac mini G4. -- pinskia at gcc dot gnu dot org changed: What

[Bug testsuite/28123] gcc.dg/cpp/_Pragma3.c is sensitive to timestamps

2006-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-06-21 15:02 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/28123] gcc.dg/cpp/_Pragma3.c is sensitive to timestamps

2006-06-21 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2006-06-21 15:14 --- Subject: Re: New: gcc.dg/cpp/_Pragma3.c is sensitive to timestamps On Wed, 21 Jun 2006, amylaar at gcc dot gnu dot org wrote: It would appear that this tests success requires that either _Pragma3.c is checked

[Bug testsuite/28123] gcc.dg/cpp/_Pragma3.c is sensitive to timestamps

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-06-21 15:18 --- # Without this, _Pragma3.c can have a false negative. gcc/testsuite/gcc.dg/cpp/_Pragma3.c: gcc/testsuite/gcc.dg/cpp/mi1c.h -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug testsuite/28123] gcc.dg/cpp/_Pragma3.c is sensitive to timestamps

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-21 15:19 --- (In reply to comment #3) # Without this, _Pragma3.c can have a false negative. gcc/testsuite/gcc.dg/cpp/_Pragma3.c: gcc/testsuite/gcc.dg/cpp/mi1c.h Just add some more, that was in contrib/gcc_update. --

[Bug middle-end/27781] [4.1 Regression] weak-attribute over-optimisation

2006-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2006-06-21 15:36 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/27781] [4.1 Regression] weak-attribute over-optimisation

2006-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2006-06-21 15:36 --- Subject: Bug 27781 Author: rguenth Date: Wed Jun 21 15:36:10 2006 New Revision: 114852 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114852 Log: 2006-06-21 Richard Guenther [EMAIL PROTECTED] PR

[Bug libstdc++/28125] New: Cannot build cross compiler for Solaris: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES

2006-06-21 Thread info at yourkit dot com
We successfully managed to create cross compiler for sparc-sun-solaris2.9, but the same algorithm doesn't wotk for i386-pc-solaris2.10 1) host uname -a is Linux localhost.localdomain 2.6.11-1.14_FC3 #1 Thu Apr 7 19:25:50 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux 2) binutils is configured with

[Bug c/28126] New: gcc moves an expensive instruction outside of a conditional

2006-06-21 Thread anemo at mba dot ocn dot ne dot jp
The RDHWR instruction is used to support TLS on Linux/MIPS. For now it is always emulated by kernel (on Reserved Instruction exception handler), the instruction will be quite expensive. If I compile this code with gcc 4.1.1 (-O2), extern __thread int x; int foo(int arg) { if (arg)

[Bug libstdc++/28125] Cannot build cross compiler for Solaris: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES

2006-06-21 Thread info at yourkit dot com
--- Comment #1 from info at yourkit dot com 2006-06-21 16:03 --- Created an attachment (id=11721) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11721action=view) config.log I have attached config.log file from directory /home/anton/tmp/gcc/objdir/i386-pc-solaris2.10/libstdc++v3

[Bug libstdc++/26810] error when building cross-compiler

2006-06-21 Thread info at yourkit dot com
--- Comment #2 from info at yourkit dot com 2006-06-21 16:07 --- I'm experienced with the similar bug #28125. Please help, I'm ready to provide any additinal information. -- info at yourkit dot com changed: What|Removed |Added

[Bug target/28126] gcc moves an expensive instruction outside of a conditional

2006-06-21 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2006-06-21 16:33 --- Confirmed on: mipsel-linux-gcc (GCC) 4.2.0 20060605 (experimental) cross compiler configured as: ../gcc/configure --target=mipsel-linux --with-sysroot=/usr/local/mipsel-linux-test

[Bug tree-optimization/21274] SSA Crash, reproducable

2006-06-21 Thread fche at gcc dot gnu dot org
--- Comment #8 from fche at gcc dot gnu dot org 2006-06-21 16:35 --- Subject: Bug 21274 Author: fche Date: Wed Jun 21 16:35:27 2006 New Revision: 114855 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114855 Log: 2006-06-21 Frank Ch. Eigler [EMAIL PROTECTED] PR 21274

[Bug other/26473] [4.1/4.2 Regression] cross-building installs ssp headers to $(includedir)

2006-06-21 Thread fche at gcc dot gnu dot org
--- Comment #10 from fche at gcc dot gnu dot org 2006-06-21 16:35 --- Subject: Bug 26473 Author: fche Date: Wed Jun 21 16:35:27 2006 New Revision: 114855 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114855 Log: 2006-06-21 Frank Ch. Eigler [EMAIL PROTECTED] PR 21274

[Bug libmudflap/21724] [4.0 Regression] libmudflap/Makefile.am, refusing to install mf-runtime.h in includedir

2006-06-21 Thread fche at redhat dot com
--- Comment #7 from fche at redhat dot com 2006-06-21 16:36 --- Created an attachment (id=11722) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11722action=view) patch for mainline -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21724

[Bug libmudflap/21724] [4.0 Regression] libmudflap/Makefile.am, refusing to install mf-runtime.h in includedir

2006-06-21 Thread fche at redhat dot com
--- Comment #8 from fche at redhat dot com 2006-06-21 16:40 --- patch in 4.2-bound mainline -- fche at redhat dot com changed: What|Removed |Added

[Bug fortran/22629] Would like to access long double equivalent type as real*16

2006-06-21 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2006-06-21 16:46 --- (In reply to comment #5) else if (mode == TYPE_MODE(float_long_double)) kind = sizeof(long double); sizeof(long double) is the size of a long double for the host, not on the target.

[Bug ada/27937] [4.2 Regression] Ada bootstrap failure on Solaris 10/x86

2006-06-21 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #6 from ro at techfak dot uni-bielefeld dot de 2006-06-21 17:35 --- Subject: Re: [4.2 Regression] Ada bootstrap failure on Solaris 10/x86 ebotcazou at gcc dot gnu dot org writes: Long answer: we want to be able to turn synchronous signals into regular Ada exceptions.

[Bug java/28089] jc1 miscompilation with fields inherited from interfaces

2006-06-21 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-06-21 18:01 --- Subject: Bug 28089 Author: tromey Date: Wed Jun 21 18:01:37 2006 New Revision: 114856 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114856 Log: PR java/28089: * expr.c (expand_java_field_op):

[Bug ada/27937] [4.2 Regression] Ada bootstrap failure on Solaris 10/x86

2006-06-21 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-06-21 18:12 --- Ok, thanks for the explanation. But right now, the FSF tree has M_F_F_S_F definitions for neither Solaris/SPARC nor /x86, AFAIKT. And Solaris/SPARC and Solaris/SPARCv9 can turn on ZCX and are thus

[Bug java/28089] jc1 miscompilation with fields inherited from interfaces

2006-06-21 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-06-21 18:14 --- Fix checked in on gcj-eclipse branch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/27937] [4.2 Regression] Ada bootstrap failure on Solaris 10/x86

2006-06-21 Thread ro at techfak dot uni-bielefeld dot de
--- Comment #8 from ro at techfak dot uni-bielefeld dot de 2006-06-21 18:15 --- Subject: Re: [4.2 Regression] Ada bootstrap failure on Solaris 10/x86 ebotcazou at gcc dot gnu dot org writes: Ok, thanks for the explanation. But right now, the FSF tree has M_F_F_S_F definitions

[Bug target/27082] segfault with virtual class and visibility (hidden)

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #19 from rth at gcc dot gnu dot org 2006-06-21 18:32 --- Subject: Bug 27082 Author: rth Date: Wed Jun 21 18:31:56 2006 New Revision: 114861 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114861 Log: PR target/26347 PR target/27082 *

[Bug target/26347] hidden weak extern functions fail regardless of existence on alpha/linux

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #9 from rth at gcc dot gnu dot org 2006-06-21 18:32 --- Subject: Bug 26347 Author: rth Date: Wed Jun 21 18:31:56 2006 New Revision: 114861 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114861 Log: PR target/26347 PR target/27082 *

[Bug c++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-06-21 18:44 --- (In reply to comment #2) then my_other_class can also be made non-TREE_PUBLIC. If 'x' was in an anonymous namespace the logic would be the same. Actually it cannot because I define in a different TU

[Bug target/26347] hidden weak extern functions fail regardless of existence on alpha/linux

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #10 from rth at gcc dot gnu dot org 2006-06-21 19:06 --- Subject: Bug 26347 Author: rth Date: Wed Jun 21 19:06:49 2006 New Revision: 114862 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114862 Log: PR target/26347 PR target/27082 *

[Bug target/27082] segfault with virtual class and visibility (hidden)

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #20 from rth at gcc dot gnu dot org 2006-06-21 19:06 --- Subject: Bug 27082 Author: rth Date: Wed Jun 21 19:06:49 2006 New Revision: 114862 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114862 Log: PR target/26347 PR target/27082 *

[Bug target/27082] segfault with virtual class and visibility (hidden)

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #21 from rth at gcc dot gnu dot org 2006-06-21 19:09 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/26347] hidden weak extern functions fail regardless of existence on alpha/linux

2006-06-21 Thread rth at gcc dot gnu dot org
--- Comment #11 from rth at gcc dot gnu dot org 2006-06-21 19:10 --- Fixed. Again. -- rth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC

2006-06-21 Thread gdr at integrable-solutions dot net
--- Comment #9 from gdr at integrable-solutions dot net 2006-06-21 19:43 --- Subject: Re: use ODR rules to make C++ objects not be TREE_PUBLIC pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Yes this is all undefined but I rather have it be diagnose than | having it be

[Bug c++/24605] [4.0/4.1/4.2 Regression] internal compiler error: Segmentation fault while compiling c++ file

2006-06-21 Thread ron_hylton at hotmail dot com
--- Comment #17 from ron_hylton at hotmail dot com 2006-06-21 19:51 --- (In reply to comment #16) All that said: does the problem persist? Could you repeat your tests with the latest snapshots to see whether this still happens? Thanks Wolfgang The problem is resolved in 4.2.0

[Bug target/26347] hidden weak extern functions fail regardless of existence on alpha/linux

2006-06-21 Thread vapier at gentoo dot org
--- Comment #12 from vapier at gentoo dot org 2006-06-21 20:02 --- yep, my uClibc build works again for alpha :) thanks -- vapier at gentoo dot org changed: What|Removed |Added

[Bug libgcj/21524] Cancelling a TimerTask puts Timer binary heap in inconsistent state

2006-06-21 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-06-21 20:09 --- I looked at this a little today. The code does look wrong, but I couldn't write a simple test case to make it fail. Do you have one? One problem I see is that serve() uses the task's 'scheduled' field without

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread fang at csl dot cornell dot edu
--- Comment #4 from fang at csl dot cornell dot edu 2006-06-21 20:32 --- My heart skipped a beat when you said G6! *sigh* -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28124

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-06-21 20:33 --- (In reply to comment #4) My heart skipped a beat when you said G6! *sigh* Buy a PS3 instead (sorry could not help myself for promoting the company I work for now). -- pinskia at gcc dot gnu dot org changed:

[Bug fortran/28118] ICE calling subroutine defined via explicit interface

2006-06-21 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2006-06-21 20:35 --- Here is a patch that regtests OK. I need to check it out, get it ready for submission, write a formal testcase and check what else it fixes. Paul Index: gcc/fortran/trans-array.c

[Bug fortran/28119] forall_stmt ; stmt gives an internal error

2006-06-21 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2006-06-21 20:37 --- Here's the patch: regtests on FC5/Athlon1700 Paul Index: gcc/fortran/match.c === *** gcc/fortran/match.c (revision 114823) --- gcc/fortran/match.c

[Bug fortran/25072] non PURE function used in For-All

2006-06-21 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2006-06-21 20:39 --- Here's the patch (or rather, one of three that I have found!): Paul Index: gcc/fortran/primary.c === *** gcc/fortran/primary.c (revision 114823)

[Bug c++/25915] use ODR rules to make C++ objects not be TREE_PUBLIC

2006-06-21 Thread geoffk at gcc dot gnu dot org
--- Comment #10 from geoffk at gcc dot gnu dot org 2006-06-21 20:44 --- Hi Andrew, I'm not sure what diagnostic you're talking about. If you violate the ODR and define myclass in a different TU, with a different definition for myclass::foo, you will typically get no diagnostic; just

[Bug fortran/28129] New: gfortran -fbounds-check: Shows invalid array out of bounds error

2006-06-21 Thread tobias dot burnus at physik dot fu-berlin dot de
(This PR should probably added as dependency to bug 27766) This is with my GCC/gfortran build x86_64-2006-06-21-r114837. If I run the following program, which I think is completely valid, with gfortran -fbounds-check I get: Fortran runtime error: Array reference out of bounds, upper bound of

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread fang at csl dot cornell dot edu
--- Comment #6 from fang at csl dot cornell dot edu 2006-06-21 20:49 --- Subject: Re: Cannot build gcc on OSX 10.4 G6 --- Comment #5 from pinskia at gcc dot gnu dot org 2006-06-21 20:33 --- (In reply to comment #4) My heart skipped a beat when you said G6! *sigh*

[Bug bootstrap/28124] Cannot build gcc on OSX 10.4 G6

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-06-21 20:55 --- (In reply to comment #6) I will consider it once there's a port of gcc for the Cell processor. :) There is one, just not officially part of the FSF GCC. And yes we (Sony) are working on submitting it to the FSF.

[Bug target/26792] [4.2 Regression] C++ is broken on *-*-darwin*

2006-06-21 Thread sje at cup dot hp dot com
--- Comment #5 from sje at cup dot hp dot com 2006-06-21 21:18 --- Created an attachment (id=11724) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11724action=view) libstdc++ macro to test for _Unwind_GetIPInfo I have attached a macro that could be put in libstdc++-v3/acinclude.m4

[Bug middle-end/28034] [4.2 Regression] section anchors break -fprofile-generate

2006-06-21 Thread rsandifo at gcc dot gnu dot org
--- Comment #5 from rsandifo at gcc dot gnu dot org 2006-06-21 21:27 --- Subject: Bug 28034 Author: rsandifo Date: Wed Jun 21 21:27:19 2006 New Revision: 114870 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114870 Log: gcc/ PR middle-end/28034 * coverage.c

[Bug middle-end/28034] [4.2 Regression] section anchors break -fprofile-generate

2006-06-21 Thread rsandifo at gcc dot gnu dot org
--- Comment #6 from rsandifo at gcc dot gnu dot org 2006-06-21 21:28 --- Patch applied. -- rsandifo at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28130] New: template function(from a class inside a namespace) specialization outside the namespation

2006-06-21 Thread zvonsully at gmail dot com
I define a namespace with a template class with a function: code namespace NS{//a namespace templateclass T class C//a template class inside a namespace { int f();//a member of C }; }//NS //here is the specialization template int NS:: Cint::f(){return 0;}// !! I placed NS:: /code

[Bug c++/28130] template function(from a class inside a namespace) specialization outside the namespation

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-21 22:58 --- No GCC is correct. *** This bug has been marked as a duplicate of 13140 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13140] declaration in global namespace, definition inside named or anon namespace

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-06-21 22:58 --- *** Bug 28130 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13140] declaration in global namespace, definition inside named or anon namespace

2006-06-21 Thread zvonsully at gmail dot com
--- Comment #11 from zvonsully at gmail dot com 2006-06-21 23:11 --- on g++ v. 4.1.2 it is not fixed, But here I see Fixed with patches from 2005! code: namespace NS{//a namespace templateclass T class C//a template class inside a namespace { int f();//a member of C }; }//NS

[Bug rtl-optimization/28121] [4.2 regression] verify_flow_info failed (wrong amount of branch edges after unconditional jump 2)

2006-06-21 Thread rakdver at gcc dot gnu dot org
--- Comment #6 from rakdver at gcc dot gnu dot org 2006-06-21 23:15 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01215.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/13140] declaration in global namespace, definition inside named or anon namespace

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-06-21 23:17 --- (In reply to comment #11) on g++ v. 4.1.2 it is not fixed, But here I see Fixed with patches from 2005! Fixed meaning GCC is no longer accepting invalid code. Your code is invalid and should be rejected. --

[Bug fortran/24748] substring of implicitly typed variable not rejected

2006-06-21 Thread langton at gcc dot gnu dot org
--- Comment #2 from langton at gcc dot gnu dot org 2006-06-21 23:40 --- Here's a proposed fix: http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01216.html -- langton at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28131] New: [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread danglin at gcc dot gnu dot org
for GDB. Type show warranty for details. This GDB was configured as hppa-unknown-linux-gnu...Using host libthread_db library /lib/libthread_db.so.1. (gdb) r `cat xx.sh` Starting program: /home/dave/gnu/gcc-4.2/objdir/gcc/cc1 `cat xx.sh` GNU C version 4.2.0 20060621 (experimental) (hppa-linux

[Bug middle-end/28131] [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|---

[Bug middle-end/28131] [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-21 23:50 --- I think this was caused by: 2006-06-20 Roger Sayle [EMAIL PROTECTED] * expr.c (expand_expr_real_1) VECTOR_CST: For vector constants with integer modes, attempt to directly construct an integer

[Bug middle-end/28131] [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2006-06-21 23:53 --- I see the same failure for gcc.dg/pr17055-1.c: Executing on host: /home/dave/gnu/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4 .2/objdir/gcc/ /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/pr17055-1.c -O2

[Bug target/28132] New: [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used

2006-06-21 Thread vapier at gentoo dot org
building spidermonkey-1.5 with -O1 -fforce-addr with gcc-4.1.1 and gcc ICEs: jsmath.c: In function 'math_round': jsmath.c:394: error: unrecognizable insn: (insn 61 93 62 4 (parallel [ (set (mem/i:DF (reg/f:SI 95) [0 S8 A32]) (neg:DF (mem/i:DF (reg/f:SI 96) [0 S8 A32])))

[Bug target/28132] [4.1 Regression] ICE instantiate_virtual_regs_in_insn when -fforce-addr -O1 used

2006-06-21 Thread vapier at gentoo dot org
--- Comment #1 from vapier at gentoo dot org 2006-06-22 00:08 --- Created an attachment (id=11725) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11725action=view) jsmath.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28132

[Bug middle-end/28131] [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2006-06-22 00:19 --- Subject: Re: [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE) On Wed, Jun 21, 2006 at 11:50:49PM -, pinskia at gcc dot gnu dot org wrote: --- Comment #1 from pinskia

[Bug middle-end/28131] [4.2 Regression] FAIL: gcc.c-torture/execute/va-arg-25.c compilation (ICE)

2006-06-21 Thread roger at eyesopen dot com
--- Comment #5 from roger at eyesopen dot com 2006-06-22 00:37 --- Doh! My apologies for the breakage! I think Dave's patch looks good, but the one suggestion that I would make would be to test for MODE_INT first, then call the type_for_mode langhook. This saves calling type_for_mode

[Bug bootstrap/28133] New: Cross-compile of GCC fails with C compiler cannot create executables error

2006-06-21 Thread aweiner at lsil dot com
config.log contents: configure:2274: $? = 0 configure:2276: /cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/xgcc -B/cygdrive/c/gcc_4.1.1_source/build-gcc-4.1.1-ppc/./gcc/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/bin/ -B/cygdrive/c/gcc_4.1.1_ppc_440/powerpc-440-eabi/lib/ -isystem

  1   2   >