Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Andrew Haley
Jan Kratochvil writes: currently (on x86_64) the gdb backtrace does not properly stop at the outermost frame: #3 0x0036ddb0610a in start_thread () from /lib64/tls/libpthread.so.0 #4 0x0036dd0c68c3 in clone () from /lib64/tls/libc.so.6 #5 0x in ?? ()

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Mark Kettenis
Jan Kratochvil writes: currently (on x86_64) the gdb backtrace does not properly stop at the outermost frame: #3 0x0036ddb0610a in start_thread () from /lib64/tls/libpthread.so.0 #4 0x0036dd0c68c3 in clone () from /lib64/tls/libc.so.6 #5 0x

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Ulrich Drepper
Andrew Haley wrote: Null-terminating the call stack is too well-established practice to be changed now. Which does not mean that the mistake should hold people back. This is just one of the mistakes in the x86-64 ABI. It was copied from x86 and it was wrong there already. In practice,

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Andrew Haley
Ulrich Drepper writes: Andrew Haley wrote: Null-terminating the call stack is too well-established practice to be changed now. Which does not mean that the mistake should hold people back. Sure it does. Not breaking things is an excellent reason, probably one of the the best reasons

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Ulrich Drepper
Andrew Haley wrote: Sure it does. Not breaking things is an excellent reason, probably one of the the best reasons you can have. Nothing breaks if the responsible tools are updated in unison. Really? Well, that's one interpretation. I don't believe that, though. It's certainly an

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Jan Kratochvil
On Tue, 12 Dec 2006 16:26:34 +0100, Andrew Haley wrote: ... It's certainly an inconsistency in the specification, which says that null-termination is supported, and this implies that you can't put a zero in there. I tested now that you can put the zero there for both the libgcc unwinder and

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Jakub Jelinek
On Mon, Dec 11, 2006 at 02:40:22PM -0800, Roland McGrath wrote: My reading is that the ABI authoring body for GNU systems or the compilation system authoring body for GNU compilers already specifies that the default rule is same_value for callee-saves registers (as chosen by each particular

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Jakub Jelinek
On Tue, Dec 12, 2006 at 03:26:34PM +, Andrew Haley wrote: Ulrich Drepper writes: Andrew Haley wrote: Null-terminating the call stack is too well-established practice to be changed now. Which does not mean that the mistake should hold people back. Sure it does. Not

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Ian Lance Taylor
Andrew Haley [EMAIL PROTECTED] writes: In practice, %ebp either points to a call frame -- not necessarily the most recent one -- or is null. I don't think that having an optional frame pointer mees you can use %ebp for anything random at all, but we need to make a clarification request of

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Andrew Haley
Ian Lance Taylor writes: Andrew Haley [EMAIL PROTECTED] writes: In practice, %ebp either points to a call frame -- not necessarily the most recent one -- or is null. I don't think that having an optional frame pointer mees you can use %ebp for anything random at all, but we need

Re: Unwinding CFI gcc practice of assumed `same value' regs

2006-12-12 Thread Mark Kettenis
Ian Lance Taylor writes: Andrew Haley [EMAIL PROTECTED] writes: In practice, %ebp either points to a call frame -- not necessarily the most recent one -- or is null. I don't think that having an optional frame pointer mees you can use %ebp for anything random at all,

gcc-4.2-20061212 is now available

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

Re: [PATCH] Relocated compiler should not look in $prefix.

2006-12-12 Thread Mark Mitchell
Andrew Pinski wrote: On Fri, 2006-10-13 at 12:51 -0400, Carlos O'Donell wrote: A relocated compiler should not look in $prefix. Comments? OK for Stage1? I do have another issue with these set of patches which I did not notice until today. I can no longer do inside a just built GCC do:

Profiling broken in GCC 4.1.0 for DJGPP

2006-12-12 Thread Gordon . Schumacher
I've come across an issue with using the -pg switch for profiling on the DJGPP DOS platform, using GCC 4.1.0. After some digging through disassembly, I found that the part of the function prologue for main() before the call to mcount() is using the ECX register, and the call to the mcount()

Re: 32bit Calling conventions on linux/ppc.

2006-12-12 Thread David Edelsohn
Joslwah writes: Joslwah Looking at the Linux 32bit PowerPC ABI spec, it appears to me that Joslwah floats in excess of those that are passed in registers are supposed to Joslwah be promoted to doubles and passed on the stack. Examing the resulting Joslwah stack from a gcc generated C call it

Re: 32bit Calling conventions on linux/ppc.

2006-12-12 Thread Dale Johannesen
On Dec 12, 2006, at 11:42 AM, David Edelsohn wrote: Joslwah writes: Joslwah Looking at the Linux 32bit PowerPC ABI spec, it appears to me that Joslwah floats in excess of those that are passed in registers are supposed to Joslwah be promoted to doubles and passed on the stack. Examing

Re: 32bit Calling conventions on linux/ppc.

2006-12-12 Thread David Edelsohn
Dale Johannesen writes: Dale It may have been intended to allow the callee to be a KR-style or Dale varargs function, where all float args get promoted to double. Dale In particular, printf was often called without being declared in KR- Dale era code. This is one way to make that code work

Re: 32bit Calling conventions on linux/ppc.

2006-12-12 Thread Dale Johannesen
On Dec 12, 2006, at 12:07 PM, David Edelsohn wrote: Dale Johannesen writes: Dale It may have been intended to allow the callee to be a KR- style or Dale varargs function, where all float args get promoted to double. Dale In particular, printf was often called without being declared in

Re: [PATCH] Relocated compiler should not look in $prefix.

2006-12-12 Thread Andrew Pinski
What are the contents of t.c? What if you set GCC_EXEC_PREFIX? t.c: #include stdio.h int main(void) { printf(Hello World\n); return 0; } -- No I did not set GCC_EXEC_PREFIX as I did not know I have to set that now. Seems like a change like this should be mentioned on

Re: [PATCH] Relocated compiler should not look in $prefix.

2006-12-12 Thread Andrew Pinski
Andrew Pinski wrote: What are the contents of t.c? What if you set GCC_EXEC_PREFIX? t.c: #include stdio.h int main(void) { printf(Hello World\n); return 0; } -- No I did not set GCC_EXEC_PREFIX as I did not know I have to set that now. Seems like a change

Re: [PATCH] Relocated compiler should not look in $prefix.

2006-12-12 Thread Mark Mitchell
Andrew Pinski wrote: But other non user-visible changes are mentioned on changes.html already. Forward prop in 4.3. Incompatible changes to the build system in 4.2 which seems very related to stuff like this. If you want to make a patch, and Gerald approves it, it's fine by me. But, fwprop

Re: 32 bit jump instruction.

2006-12-12 Thread Rohit Arul Raj
On 06 Dec 2006 23:13:35 -0800, Ian Lance Taylor [EMAIL PROTECTED] wrote: David Daney [EMAIL PROTECTED] writes: I am working on a private target where jump instruction patterns are similiar to this jmp 24 bit offset jmp address register for 32 bit offsets if my offset is greater

Re: 32 bit jump instruction.

2006-12-12 Thread Ian Lance Taylor
Rohit Arul Raj [EMAIL PROTECTED] writes: If you can't afford to lose a register, then I think your only option is to pick some callee-saved register and have each branch instruction explicitly clobber it. Then it will be available for use in a long branch, and it will be available for

[Bug c++/30168] New: C++ constructors can cause invalid gimple to happen with complex typed variables

2006-12-12 Thread pinskia at gcc dot gnu dot org
Testcase: struct aaa { aaa(_Complex float __z) ; _Complex float _M_value; }; aaa::aaa(_Complex float __z) : _M_value(__z) {} We must not be setting DECL_COMPLEX_GIMPLE_REG_P correctly. -- Summary: C++ constructors can cause invalid gimple to happen with

[Bug c++/30168] C++ constructors can cause invalid gimple to happen with complex typed variables

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-12 08:39 --- This testcase comes from a reduced testcase from: 26_numerics/complex/13450.cc 26_numerics/complex/pow.cc tr1/8_c_compatibility/complex/functions.cc And most likely more. --

[Bug c++/30169] New: Cast typename operator

2006-12-12 Thread spam at david dot osborn dot name
The following program fails to compile: template typename T struct A {}; template typename T struct B { typedef T type; operator AT() const; }; template typename T void F(const Atypename BT::type ) {} template typename T BT::operator AT() const {} test.cpp:8: error: no

[Bug middle-end/30167] OpenMP can produce invalid gimple (for indirect references)

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-12 08:44 --- Here is another testcase (a C one this time): int x, *p = x; g (int n) { int i = 1, j, sum = 0; #pragma omp parallel reduction(+: sum) num_threads(2) { f1 (j); sum += i + j + *p + n; } } --

[Bug c++/30169] Cast typename operator

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-12 08:46 --- Fails with 4.0.4 20061011 but passes with 4.1.2 20061204 so closing as fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug debug/30161] GCC should generate dwarf info about template parameters

2006-12-12 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

[Bug fortran/30170] New: The STATUS specified in OPEN statement at (1) cannot have the value SCRATCH if a FILE specifier is present

2006-12-12 Thread ubizjak at gmail dot com
When compiling EuroBen mod3a benchmark, following errors terminate the compilation: gfortran -c mod3a.f mod3a.f:61.72: Status = 'scratch' ) 1 Error: The STATUS specified in

[Bug tree-optimization/28624] [4.2/4.3 regression] latent segfault in remove_phi_node

2006-12-12 Thread tbm at cyrius dot com
--- Comment #6 from tbm at cyrius dot com 2006-12-12 10:57 --- (In reply to comment #5) The problem is EXECUTE_IF_SET_IN_BITMAP does not like the bitmap to change from underneath it. I have a patch which fixes this issue. Wow, nice you tracked this down. I thought this bug

[Bug c/30171] New: non-portable va_list abuse is permitted on i386

2006-12-12 Thread dwmw2 at infradead dot org
See https://bugs.helixcommunity.org/show_bug.cgi?id=5641 -- particularly the assignment to va_list (the references are uncommon enough that they probably don't matter). The world would be a better place if this kind of code would fail to build, or at least _warn_, on i386. The ABI might not allow

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

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2006-12-12 11:24 --- Subject: Bug 28125 Author: bkoz Date: Tue Dec 12 11:23:44 2006 New Revision: 119774 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119774 Log: 2006-12-11 Benjamin Kosnik [EMAIL PROTECTED] PR

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

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2006-12-12 11:24 --- Subject: Bug 28125 Author: bkoz Date: Tue Dec 12 11:23:56 2006 New Revision: 119775 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119775 Log: 2006-12-11 Benjamin Kosnik [EMAIL PROTECTED] PR

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

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2006-12-12 11:25 --- Should be fixed on gcc/gcc-4_2-branch/gcc-4_1-branch -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/29624] Fortran 2003: Support intent for pointers

2006-12-12 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2006-12-12 11:25 --- Subject: Bug number PR29624 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00827.html --

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2006-12-12 11:32 --- I suspect that the fix for 28125 may also fix this. If not, then the only thing I can think of to do is to add a compile test explicitly for iconv_t in GLIBCXX_CHECK_ICONV_SUPPORT. This seems redundant, however, as

[Bug libstdc++/25608] g++ miscompiles gcjx

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #22 from bkoz at gcc dot gnu dot org 2006-12-12 11:37 --- This is closed as gcjx is dead. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/26497] libstdc++-v3: configure: test: -lt: unary operator expected

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2006-12-12 12:14 --- Created an attachment (id=12789) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12789action=view) add check_linker_features for solaris crosses -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26497

[Bug middle-end/30147] [4.3 Regression] ICE in fold_convert with -O2

2006-12-12 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-12-12 12:21 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread rmathew at gcc dot gnu dot org
--- Comment #6 from rmathew at gcc dot gnu dot org 2006-12-12 12:27 --- The real problem (IIRC) was that iconv_t was being used even though there was no libiconv (I think the inclusion of the header file was properly guarded, but the usage of the type wasn't). MinGW uses the Windows C

[Bug middle-end/30172] New: Operations with partly constant complex values not folded

2006-12-12 Thread rguenth at gcc dot gnu dot org
We do not fold for example __complex__ ( x, 0 ) * __complex__ ( 0, 1 ) or __complex__ ( x, 0 ) + __complex__ ( 0, y ) I have a partial patch. -- Summary: Operations with partly constant complex values not folded Product: gcc Version:

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread rmathew at gcc dot gnu dot org
--- Comment #7 from rmathew at gcc dot gnu dot org 2006-12-12 12:28 --- (See the comment above.) -- rmathew at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/22339] iconv functions not found by libstdc++v3 configure

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2006-12-12 12:33 --- Can I get some feedback on this bug? If not, I will close it... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22339

[Bug libstdc++/22388] When cross-compiling libstdc++ for mingw, enable large file support (LFS)

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2006-12-12 12:40 --- Danny, any chance we can get current status on this with a current version of gcc/libstdc++? 4.2-branch would be great. If _GLIBCXX_USE_LFS is now being defined for native, then the crosses should have it too. If

[Bug libstdc++/26497] libstdc++-v3: configure: test: -lt: unary operator expected

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2006-12-12 12:41 --- Subject: Bug 26497 Author: bkoz Date: Tue Dec 12 12:41:26 2006 New Revision: 119778 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119778 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug fortran/30170] The STATUS specified in OPEN statement at (1) cannot have the value SCRATCH if a FILE specifier is present

2006-12-12 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2006-12-12 12:55 --- The standard is very clear about it (Fortran 2003, but similar for Fortran 95): 9.4.5 The OPEN statement If the STATUS= specifier has the value SCRATCH, the FILE= specifier shall not appear. One might want to allow

[Bug tree-optimization/30159] [4.3 Regression] gcc.c-torture/execute/20010422-1.c is miscompiled

2006-12-12 Thread kkojima at gcc dot gnu dot org
--- Comment #1 from kkojima at gcc dot gnu dot org 2006-12-12 13:01 --- A slightly different test case unsigned int foo(unsigned int x) { if (x 5) x = 4; else x = 8; return x; } int main(void) { if (foo (4) != 4) abort (); if (foo (8) != 8) abort (); exit

[Bug libstdc++/19747] [meta-bug] : cris-elf libstdc++ testsuite failures as of Tue Feb 1 22:03:59 UTC 2005

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #1 from bkoz at gcc dot gnu dot org 2006-12-12 13:09 --- Any chance cris-elf testresults for current gcc could be posted to gcc-testresults? It looks like 11 months since the last posting. -- bkoz at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/26497] libstdc++-v3: configure: test: -lt: unary operator expected

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2006-12-12 13:13 --- Subject: Bug 26497 Author: bkoz Date: Tue Dec 12 13:13:08 2006 New Revision: 119780 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119780 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/26497] libstdc++-v3: configure: test: -lt: unary operator expected

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #11 from bkoz at gcc dot gnu dot org 2006-12-12 13:13 --- Subject: Bug 26497 Author: bkoz Date: Tue Dec 12 13:13:21 2006 New Revision: 119781 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119781 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/26497] libstdc++-v3: configure: test: -lt: unary operator expected

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #12 from bkoz at gcc dot gnu dot org 2006-12-12 13:14 --- Fixed. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

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

2006-12-12 Thread bkoz at gcc dot gnu dot org
-- bkoz at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28125

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2006-12-12 13:31 --- Thanks Ranjit. Then: Index: crossconfig.m4 === --- crossconfig.m4 (revision 119781) +++ crossconfig.m4 (working copy) @@ -178,7 +178,6 @@

[Bug tree-optimization/30159] [4.3 Regression] gcc.c-torture/execute/20010422-1.c is miscompiled

2006-12-12 Thread dnovillo at gcc dot gnu dot org
--- Comment #2 from dnovillo at gcc dot gnu dot org 2006-12-12 13:51 --- Adding Andrew to CC list. Seems related to out-of-ssa changes. -- dnovillo at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30124] gcc/vec.h line 538 references vec which is undefined (should be vec_)

2006-12-12 Thread mankatob at yahoo dot com
--- Comment #2 from mankatob at yahoo dot com 2006-12-12 13:52 --- Subject: Re: gcc/vec.h line 538 references vec which is undefined (should be vec_) If its already spec'd - why are we calculating it? Did something change between when it was defined and vec.h 538? Since the

[Bug target/21530] libstdc++ not supported on this target

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #3 from bkoz at gcc dot gnu dot org 2006-12-12 13:57 --- kazu, are you the target maintainer for h8300? If so, I think this is for you. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2006-12-12 14:01 --- Subject: Bug 28265 Author: bkoz Date: Tue Dec 12 14:00:54 2006 New Revision: 119782 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119782 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug tree-optimization/30159] [4.3 Regression] gcc.c-torture/execute/20010422-1.c is miscompiled

2006-12-12 Thread amacleod at redhat dot com
--- Comment #3 from amacleod at redhat dot com 2006-12-12 14:11 --- Analyzing Edge Insertions. foo (x) { unsigned int x.24; bb 2: if (x.24 = 4) goto L5; else goto L4; Yeah, this is clearly wrong. It looks like the coalescer somehow neglected to coalesce the parameter to the first

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2006-12-12 14:19 --- Subject: Bug 28265 Author: bkoz Date: Tue Dec 12 14:18:36 2006 New Revision: 119783 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119783 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #11 from bkoz at gcc dot gnu dot org 2006-12-12 14:29 --- Subject: Bug 28265 Author: bkoz Date: Tue Dec 12 14:28:53 2006 New Revision: 119784 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119784 Log: 2006-12-12 Benjamin Kosnik [EMAIL PROTECTED] PR

[Bug libstdc++/28265] iconv-related errors while building a cross-compiler for MinGW

2006-12-12 Thread bkoz at gcc dot gnu dot org
--- Comment #12 from bkoz at gcc dot gnu dot org 2006-12-12 14:31 --- Fixed. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug target/30120] [4.3 Regression] silent miscompilation of argument passing

2006-12-12 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2006-12-12 14:41 --- Fixed (by reverting x87 register-passing patch). Look at http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00729.html for a discussion. -- ubizjak at gmail dot com changed: What|Removed

[Bug rtl-optimization/27761] combine miscompiles

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2006-12-12 15:03 --- Subject: Bug 27761 Author: jakub Date: Tue Dec 12 15:03:39 2006 New Revision: 119785 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119785 Log: PR rtl-optimization/27761 * combine.c

[Bug rtl-optimization/27761] combine miscompiles

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2006-12-12 15:05 --- Subject: Bug 27761 Author: jakub Date: Tue Dec 12 15:05:08 2006 New Revision: 119786 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119786 Log: PR rtl-optimization/27761 * combine.c

[Bug rtl-optimization/27761] combine miscompiles

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2006-12-12 15:07 --- Subject: Bug 27761 Author: jakub Date: Tue Dec 12 15:07:23 2006 New Revision: 119787 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119787 Log: PR rtl-optimization/27761 * combine.c

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #43 from jakub at gcc dot gnu dot org 2006-12-12 15:15 --- Subject: Bug 11953 Author: jakub Date: Tue Dec 12 15:15:19 2006 New Revision: 119788 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119788 Log: PR libstdc++/11953 * gthr-posix.h (_REENTRANT):

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #44 from jakub at gcc dot gnu dot org 2006-12-12 15:22 --- Subject: Bug 11953 Author: jakub Date: Tue Dec 12 15:21:53 2006 New Revision: 119789 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119789 Log: PR libstdc++/11953 * gthr-posix.h (_REENTRANT):

[Bug libstdc++/11953] _REENTRANT defined when compiling non-threaded code.

2006-12-12 Thread jakub at gcc dot gnu dot org
--- Comment #45 from jakub at gcc dot gnu dot org 2006-12-12 15:24 --- Subject: Bug 11953 Author: jakub Date: Tue Dec 12 15:24:07 2006 New Revision: 119790 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119790 Log: PR libstdc++/11953 * gthr-posix.h (_REENTRANT):

[Bug tree-optimization/30159] [4.3 Regression] gcc.c-torture/execute/20010422-1.c is miscompiled

2006-12-12 Thread amacleod at gcc dot gnu dot org
--- Comment #4 from amacleod at redhat dot com 2006-12-12 15:50 --- Subject: Bug 30159 Author: amacleod Date: Tue Dec 12 15:50:06 2006 New Revision: 119792 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119792 Log: 2006-12-12 Andrew Macleod [EMAIL PROTECTED] PR

[Bug regression/30173] New: Regression in ARM softfloat routine __adddf3

2006-12-12 Thread dpm at danger dot com
Version Information [EMAIL PROTECTED] ~]$ arm-elf-gcc -v Using built-in specs. Target: arm-elf Configured with: ../gcc-4.1.1/configure --prefix=/usr/local/armdev-926ej-s-4.1.1 --target=arm-elf --enable-languages=c --with-float=soft --enable-interwork --enable-multilib --with-cpu=arm926ej-s

[Bug middle-end/30174] New: FAIL: g++.old-deja/g++.abi/cxa_vec.C execution test

2006-12-12 Thread danglin at gcc dot gnu dot org
See for example http://gcc.gnu.org/ml/gcc-testresults/2006-12/msg00374.html. This test has been failing since the following change was introduced: 2006-10-31 Geoffrey Keating [EMAIL PROTECTED] * tree.c (get_file_function_name): Rename from get_file_function_name_long; improve

[Bug middle-end/30151] [4.3 Regression] /usr/ccs/bin/ld: Duplicate symbol global destructors keyed to _ZNSt3tr112_GLOBAL__N_16ignoreE

2006-12-12 Thread danglin at gcc dot gnu dot org
--- Comment #2 from danglin at gcc dot gnu dot org 2006-12-12 16:33 --- Same failures occur on hppa2.0w-hp-hpux11.11. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30089] Compiling FreeFem3d uses unreasonable amount of time and memory

2006-12-12 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2006-12-12 16:44 --- We're now ICEing in internal compiler error: in ssa_operand_alloc, at tree-ssa-operands.c:365 for the second testcase. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/30105] reassoc can sometimes get in the way of PRE

2006-12-12 Thread dberlin at dberlin dot org
--- Comment #7 from dberlin at gcc dot gnu dot org 2006-12-12 16:49 --- Subject: Re: reassoc can sometimes get in the way of PRE Here is a slightly modified example that shows that there's still a PRE opportunity void motion_test22(int * data, int i) { int j; if (data[1])

[Bug tree-optimization/30175] New: Runtime regressions with mem-ssa merge in Polyhedron and tramp3d-v4

2006-12-12 Thread rguenth at gcc dot gnu dot org
Both tramp3d-v4 and Polyhedron gas_dyn regress in runtime with the mem-ssa merge. See http://www.suse.de/~gcctest/c++bench/polyhedron/polyhedron-summary.txt-2-0.html and http://www.suse.de/~gcctest/c++bench/tramp3d/split-run.html -- Summary: Runtime regressions with mem-ssa merge

[Bug testsuite/30176] New: gcc.dg/tree-prof/stringop-1.c fails

2006-12-12 Thread rguenth at gcc dot gnu dot org
FAIL: gcc.dg/tree-prof/stringop-1.c scan-tree-dump memcpy.*4\\) looks like a wrong regexp? -- Summary: gcc.dg/tree-prof/stringop-1.c fails Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/28624] [4.2/4.3 regression] latent segfault in remove_phi_node

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-12-12 17:12 --- (In reply to comment #6) Wow, nice you tracked this down. I thought this bug would stay open forever as unreproducible. I only tracked it down because of the duplicate to this bug. --

[Bug c/30171] non-portable va_list abuse is permitted on i386

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-12 17:31 --- This warning could perhaps be enabled by default on any platform which code is expected to be portable (like Linux) but disabled on i386-only platforms (win32). No, I disagree with the last part of that

[Bug c/30171] non-portable va_list abuse is permitted on i386

2006-12-12 Thread dwmw2 at infradead dot org
--- Comment #2 from dwmw2 at infradead dot org 2006-12-12 17:33 --- Yeah, fair enough. Enable the warning by default everywhere then. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30171

[Bug c++/19564] -Wparentheses does not work with the C++ front-end

2006-12-12 Thread ian at airs dot com
--- Comment #6 from ian at airs dot com 2006-12-12 18:00 --- Copyright status is cleared, my patch is here: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html -- ian at airs dot com changed: What|Removed |Added

[Bug c++/19564] -Wparentheses does not work with the C++ front-end

2006-12-12 Thread patchapp at dberlin dot org
--- Comment #7 from patchapp at dberlin dot org 2006-12-12 18:00 --- Subject: Bug number PR c++/19564 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html --

[Bug c++/30112] pragma redefine_extname fails when namespaces are involved

2006-12-12 Thread marc dot glisse at normalesup dot org
--- Comment #1 from marc dot glisse at normalesup dot org 2006-12-12 18:40 --- In gcc/cp/decl.c, I see: if (global_scope_p (current_binding_level)) asmspec_tree = maybe_apply_renaming_pragma (decl, asmspec_tree); So if I understand correctly (it is the first time I have a look

[Bug c/30177] New: ICE in ssa_operand_alloc, at tree-ssa-operands.c:365

2006-12-12 Thread marcus at jet dot franken dot de
current trunk ICEs with: [EMAIL PROTECTED]:~/projects/wine/dlls/user32/tests /home/marcus/projects/gcc/BIN/bin/gcc-O2 -c sysparams.i sysparams.i: In function 'f': sysparams.i:26: internal compiler error: in ssa_operand_alloc, at tree-ssa-operands.c:365 Please submit a full bug report, with

[Bug c/30177] ICE in ssa_operand_alloc, at tree-ssa-operands.c:365

2006-12-12 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2006-12-12 19:38 --- Created an attachment (id=12790) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12790action=view) sysparams.i gcc -c -O2 sysparams.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30177

[Bug tree-optimization/30178] New: FAIL: gcc.c-torture/execute/20010422-1.c execution, -O1

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/20010422-1.c -w -O1 -fno-s how-column -lm -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/20010422-1.x1 (ti meout = 300) PASS: gcc.c-torture/execute/20010422-1.c

[Bug tree-optimization/30178] FAIL: gcc.c-torture/execute/20010422-1.c execution, -O1

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-12 19:53 --- *** This bug has been marked as a duplicate of 30159 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/30159] [4.3 Regression] gcc.c-torture/execute/20010422-1.c is miscompiled

2006-12-12 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-12-12 19:53 --- *** Bug 30178 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/30179] New: FAIL: gcc.c-torture/execute/mode-dependent-address.c compilation, -O0

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/mode-dependent-address.c -w -O0 -fno-show-column -lm -o /test/gnu/gcc/objdir/gcc/testsuite/gcc/mode-dep endent-address.x0(timeout = 300)

[Bug testsuite/30180] New: FAIL: gcc.dg/builtin-bswap-1.c (test for excess errors)

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-bswap-1.c-fno-show-column -S -o builtin-bswap-1.s(timeout = 300) /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtin-bswap-1.c:5: error: stdint.h: No such file or

[Bug libgcj/25414] should update rmic

2006-12-12 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||28067 AssignedTo|unassigned at gcc dot gnu |tromey at gcc

[Bug libgcj/24182] standard.omit not properly rebuilt

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

[Bug libgcj/26139] provide gorbd and gtnameserv executables

2006-12-12 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added BugsThisDependsOn||28067 AssignedTo|unassigned at gcc dot gnu |tromey at gcc

[Bug tree-optimization/30181] New: FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtins-57.c -fdump-tree-gimple -fno-show -column -S -o builtins-57.s(timeout = 300) PASS: gcc.dg/builtins-57.c (test for excess errors) PASS: gcc.dg/builtins-57.c

[Bug tree-optimization/30181] FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc

2006-12-12 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca 2006-12-12 20:28 --- Subject: Re: New: FAIL: gcc.dg/builtins-57.c scan-tree-dump trunc Attached tree dump. Dave --- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2006-12-12 20:28 --- Created an

[Bug libgcj/29869] LogManager class loading failure with Tomcat

2006-12-12 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-12-12 20:30 --- A stack trace would help here ... can you install debug info or something and try again? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29869

[Bug other/30182] New: FAIL: gcc.dg/pr28796-2.c (test for excess errors)

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/pr28796-2.c -O2 -funsafe-math-optimization s -fno-finite-math-only -fno-show-column -lm -o ./pr28796-2.exe(timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: finite

[Bug c/30183] New: FAIL: gcc.dg/noncompile/pr16876.c -O0 (test for errors, line 10)

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/noncompile/pr16876.c -O0 -O -finline-func tions -fno-show-column -S -o pr16876.s(timeout = 300) FAIL: gcc.dg/noncompile/pr16876.c -O0 (test for errors, line 10) PASS:

[Bug other/30184] New: FAIL: gcc.dg/torture/builtin-sin-mpfr-1.c -O0 (test for excess errors)

2006-12-12 Thread danglin at gcc dot gnu dot org
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/torture/builtin-sin-mpfr-1.c -O0 -fno-sh ow-column -lm -o builtin-sin-mpfr-1.exe(timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: link_error (first referenced in

[Bug other/30184] FAIL: gcc.dg/torture/builtin-sin-mpfr-1.c -O0 (test for excess errors)

2006-12-12 Thread danglin at gcc dot gnu dot org
--- Comment #1 from danglin at gcc dot gnu dot org 2006-12-12 20:49 --- Oh, this is mpfr bug and I need to finish updating mpfr. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

  1   2   >