[Bug bootstrap/40578] New: FOPEN double defined used in ada/adaint.h:58

2009-06-28 Thread christian dot joensson at gmail dot com
As of commit r149007 (enabling -Werror when building with language Ada), I get these errors on current cygwin: /usr/local/src/trunk/objdir/./prev-gcc/xgcc -B/usr/local/src/trunk/objdir/./prev-gcc/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -i

[Bug fortran/40576] [4.4, 4.5 Regression] Endless loop in internal write

2009-06-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2009-06-29 04:35 --- I think this fixes it. Still testing. Will need to get this into 4.4 if this is it. This fix is consistent with fd_set in 4.3 which loops as long as trans > 0. (similar code) Index: transfer.c

[Bug fortran/40576] [4.5 Regression] Endless loop in internal write

2009-06-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2009-06-29 04:09 --- I can confirm the regression is from the I/O patch, but not related to format caching. The test case is looping here: (gdb) bt #0 mem_alloc_w () at ../../../gcc45/libgfortran/io/unix.c:579 #1 mem_write (s=0x601

[Bug rtl-optimization/38373] 32-bit Vortex degradation on PPC due to bad RTL aliasing

2009-06-28 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #6 from luisgpm at linux dot vnet dot ibm dot com 2009-06-29 02:25 --- Fixed -- luisgpm at linux dot vnet dot ibm dot com changed: What|Removed |Added

[Bug rtl-optimization/38373] 32-bit Vortex degradation on PPC due to bad RTL aliasing

2009-06-28 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #5 from luisgpm at linux dot vnet dot ibm dot com 2009-06-29 02:24 --- Already commited on 4.5. Closing... -- luisgpm at linux dot vnet dot ibm dot com changed: What|Removed |Added --

[Bug fortran/40576] [4.5 Regression] Endless loop in internal write

2009-06-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-06-29 02:07 --- I will have a look. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added As

[Bug c++/40577] ICE on valid code: in extract_insn

2009-06-28 Thread mckelvey at maskull dot com
--- Comment #1 from mckelvey at maskull dot com 2009-06-29 00:49 --- Created an attachment (id=18088) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18088&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40577

[Bug c++/40577] New: ICE on valid code: in extract_insn

2009-06-28 Thread mckelvey at maskull dot com
uname -a Linux alpha1 2.4.9-40 #1 Mon Sep 23 08:14:02 EDT 2002 alpha unknown g++ -v Using built-in specs. Target: alphaev56-unknown-linux-gnu Configured with: ../gcc/configure --verbose --enable-languages=c++ --disable-linux-futex --disable-nls --disable-tls --enable-clocale=generic Thread model:

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #19 from ubizjak at gmail dot com 2009-06-28 23:36 --- *** Bug 40553 has been marked as a duplicate of this bug. *** -- ubizjak at gmail dot com changed: What|Removed |Added --

[Bug target/40553] wrong result(nan) using vector extensions on athlon-xp

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-06-28 23:36 --- (In reply to comment #4) > As an additional note: > if compiled with -m3dnow the program produces nans mmx instructions without [f]emms block x87 registers, so you will get nans. Otherwise, mmx moves were re-tuned for 4.

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #18 from ubizjak at gmail dot com 2009-06-28 23:16 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread uros at gcc dot gnu dot org
--- Comment #17 from uros at gcc dot gnu dot org 2009-06-28 23:12 --- Subject: Bug 40550 Author: uros Date: Sun Jun 28 23:12:37 2009 New Revision: 149040 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149040 Log: PR tree-optimization/40550 * tree-vect-generic.c (

[Bug fortran/40576] [4.5 Regression] Endless loop in internal write

2009-06-28 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2009-06-28 21:23 --- > I don't have a 4.4 compiler around to test currently. works with 4.4.0, but not with 4.4.1 revision 147906 (before reverting the format caching). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40576

[Bug fortran/40576] [4.5 Regression] Endless loop in internal write

2009-06-28 Thread tkoenig at gcc dot gnu dot org
--- Comment #1 from tkoenig at gcc dot gnu dot org 2009-06-28 21:10 --- I don't have a 4.4 compiler around to test currently. Jerry, do you have any idea? -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/40576] New: [4.5 Regression] Endless loop in internal write

2009-06-28 Thread tkoenig at gcc dot gnu dot org
$ cat foo.f90 program main character(len=20) :: line integer, dimension(4) :: n n = 1 write(line,'(2I2)') n end program main $ gfortran foo.f90 $ time ./a.out ! Interrupted by control-c real0m1.424s user0m1.404s sys 0m0.000s $ /usr/bin/gfortran-4.3 -static foo.f90 $ ./a.out

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2009-06-28 20:43 --- Another one, reduced from function_module_1.f90: module M1 INTEGER p CONTAINS subroutine AA () implicit NONE p = 1 end subroutine end module program P1 USE M1 implicit none p = 0 call AA () if (

[Bug fortran/40551] Wrong code due to missing copy-in/copy-out stried array to assumed-size dummy

2009-06-28 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-06-28 20:31 --- (In reply to comment #5) The following fixes the problem. It needs to be checked to see if it is over-restrictive. Index: gcc/fortran/trans-expr.c === -

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2009-06-28 Thread burnus at gcc dot gnu dot org
--- Comment #13 from burnus at gcc dot gnu dot org 2009-06-28 19:51 --- FIXED on the trunk (4.5). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread david dot kirkby at onetel dot net
--- Comment #18 from david dot kirkby at onetel dot net 2009-06-28 19:30 --- I have solved this. The key was setting LD_OPTIONS LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib' I suspect that is a Solaris Environment variable, which is useful to the Sun linker I was using, but not to th

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread uros at gcc dot gnu dot org
--- Comment #16 from uros at gcc dot gnu dot org 2009-06-28 18:34 --- Subject: Bug 40550 Author: uros Date: Sun Jun 28 18:33:54 2009 New Revision: 149038 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149038 Log: PR tree-optimization/40550 * tree-vect-generic.c (

[Bug fortran/34112] Add $!DEC ATTRIBUTE support for 32bit Windows' STDCALL

2009-06-28 Thread burnus at gcc dot gnu dot org
--- Comment #12 from burnus at gcc dot gnu dot org 2009-06-28 17:57 --- Subject: Bug 34112 Author: burnus Date: Sun Jun 28 17:56:41 2009 New Revision: 149036 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149036 Log: 2009-06-28 Tobias Burnus Francois-Xavier Couder

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread david dot kirkby at onetel dot net
--- Comment #17 from david dot kirkby at onetel dot net 2009-06-28 17:17 --- I just realised that: LDFLAGS='-L/usr/local/lib -R/usr/local/lib' BOOT_LDFLAGS='-L/usr/local/lib -R/usr/local/lib' export LDFLAGS export BOOT_LDFLAGS was probably not the best way to do this. I'm not even sur

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-06-28 16:56 --- Similar case, from reduced import.f90: subroutine bar(x) type myType sequence integer :: i end type myType type(myType) :: x x%i = 5 end subroutine bar program foo integer, parameter :: dp = 8

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread david dot kirkby at onetel dot net
--- Comment #16 from david dot kirkby at onetel dot net 2009-06-28 16:55 --- I thought my comments were going to appear before the files were posted, not after it. Anyway, the libraries are in /usr/local/lib, and appear to work, as I can compile and link against them. kir...@t2:[~] $

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread david dot kirkby at onetel dot net
--- Comment #15 from david dot kirkby at onetel dot net 2009-06-28 16:52 --- Created an attachment (id=18087) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18087&action=view) sparc-sun-solaris2.10/libgcc/config.log with mpfr and gmp libraires in /usr/local/lib. As you will note,

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread david dot kirkby at onetel dot net
--- Comment #14 from david dot kirkby at onetel dot net 2009-06-28 16:49 --- Created an attachment (id=18086) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18086&action=view) Top level config.log, with libraries in /usr/local/lib This is the top level config.log. I'll post the /s

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread uros at gcc dot gnu dot org
--- Comment #15 from uros at gcc dot gnu dot org 2009-06-28 15:19 --- Subject: Bug 40550 Author: uros Date: Sun Jun 28 15:18:46 2009 New Revision: 149027 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149027 Log: PR tree-optimization/40550 * tree-vect-generic.c (

[Bug c++/40574] -O3 couse segfault in loop in hunspell

2009-06-28 Thread andrej dot gelenberg at udo dot edu
--- Comment #5 from andrej dot gelenberg at udo dot edu 2009-06-28 15:16 --- with -fno-tree-vectorize no more segfault. Usecase: open webpage in firefox with textfield (hunspell try to load dict and cause segfault) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40574

[Bug c/40528] Add a new ifunc attribute

2009-06-28 Thread hjl at gcc dot gnu dot org
--- Comment #12 from hjl at gcc dot gnu dot org 2009-06-28 15:14 --- Subject: Bug 40528 Author: hjl Date: Sun Jun 28 15:14:09 2009 New Revision: 149026 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149026 Log: gcc/ 2009-06-28 H.J. Lu PR c/40528 * c-common.c

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2009-06-28 15:13 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2009-06/msg02123.html -- ubizjak at gmail dot com changed: What|Removed |Added ---

[Bug c++/40574] -O3 couse segfault in loop in hunspell

2009-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-06-28 14:49 --- try -fno-tree-vectorize. Other than that we need a testcase that we can compile and link to verify the failure. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/40542] [4.3/4.4/4.5 Regression] vectorizes access to volatile array

2009-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-06-28 14:43 --- More like if (gimple_has_volatile_ops (stmt)) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40542

[Bug target/40575] New: FAIL: gcc.dg/falign-labels-1.c execution test

2009-06-28 Thread danglin at gcc dot gnu dot org
The test fails because the generated assembly code assumes the branch table immediately follows the branch. mfia %r19 ldo 24(%r19),%r19 ldw,s %r28(%r19),%r31 extrd,s %r31,63,32,%r31 add,l %r19,%r31,%r31 bv,n %r0(%r31) .align 8 L$0007:

[Bug testsuite/40567] [4.5 regression] Revision 149002 caused many failures

2009-06-28 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-06-28 14:06 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug c++/40574] -O3 couse segfault in loop in hunspell

2009-06-28 Thread andrej dot gelenberg at udo dot edu
--- Comment #3 from andrej dot gelenberg at udo dot edu 2009-06-28 13:54 --- compile command: g++ -DHAVE_CONFIG_H -I. -I../.. -march=pentium-m -O3 -g -MT affixmgr.lo -MD -MP -MF .deps/affixmgr.Tpo -c affixmgr.cxx -fPIC -DPIC -o .libs/affixmgr.o -- http://gcc.gnu.org/bugzilla/show

[Bug c++/40574] -O3 couse segfault in loop in hunspell

2009-06-28 Thread andrej dot gelenberg at udo dot edu
--- Comment #2 from andrej dot gelenberg at udo dot edu 2009-06-28 13:54 --- Created an attachment (id=18085) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18085&action=view) assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40574

[Bug c++/40574] -O3 couse segfault in loop in hunspell

2009-06-28 Thread andrej dot gelenberg at udo dot edu
--- Comment #1 from andrej dot gelenberg at udo dot edu 2009-06-28 13:51 --- Created an attachment (id=18084) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18084&action=view) ii file for affixmgr.cxx -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40574

[Bug c++/40574] New: -O3 couse segfault in loop in hunspell

2009-06-28 Thread andrej dot gelenberg at udo dot edu
When compile hunspell with -O3 flag it has segfault in a loop, which initialize a buffer (no more bound checking or false start value?). src/hunspell/affixmgr.cxx:649 hunspell source: 1.2.8 gcc: gcc (GCC) 4.4.0 20090526 (prerelease) arch linux -- Summary: -O3 couse segfault in loop

[Bug bootstrap/40511] Bootstrap Failure in stage3: c++locale - Recent SVN

2009-06-28 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-06-28 12:30 --- Ok, then for now let's close it as WONTFIX... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #13 from ubizjak at gmail dot com 2009-06-28 12:13 --- (In reply to comment #12) > Shouldn't we be able to use mmx regs here? Thus not rely on > type_for_widest_vector_mode, but instead see if the original vector > mode is supported by the backend? Please note that v2sf in

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread rguenther at suse dot de
--- Comment #12 from rguenther at suse dot de 2009-06-28 11:07 --- Subject: Re: Segmentation fault caused by alignment error in sse code On Sun, 28 Jun 2009, ubizjak at gmail dot com wrote: > --- Comment #11 from ubizjak at gmail dot com 2009-06-28 11:04 --- > Patch in testi

[Bug bootstrap/40572] gcc insistance on using LD_LIBRARY_PATH and ignoring LD_FLAGS

2009-06-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2009-06-28 11:05 --- At least with BOOT_LDFLAGS the error is no longer that it cannot find the libraries. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40572

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #11 from ubizjak at gmail dot com 2009-06-28 11:04 --- Patch in testing: Index: tree-vect-generic.c === --- tree-vect-generic.c (revision 148947) +++ tree-vect-generic.c (working copy) @@ -481,8 +481,10 @@

[Bug debug/40573] [4.4/4.5 Regression] DWARF for inlined subroutines refers to the outlined copy

2009-06-28 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||wrong-debug Target Milestone|--- |4.4.1 h

[Bug tree-optimization/40542] [4.3/4.4/4.5 Regression] vectorizes access to volatile array

2009-06-28 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-06-28 10:57 --- So, the solution is to prevent vectorization of volatile types, like in the patch below? Index: tree-vect-data-refs.c === --- tree-vect-data-refs.c (

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2009-06-28 10:25 --- (In reply to comment #9) > This happens in veclower pass. type_for_widest_vector_mode () is forcing operations from v2sf to v4sf. This is not correct, since there will be garbage in the top two elements. For FP values,

[Bug tree-optimization/40550] Segmentation fault caused by alignment error in sse code

2009-06-28 Thread ubizjak at gmail dot com
--- Comment #9 from ubizjak at gmail dot com 2009-06-28 10:05 --- (In reply to comment #7) > D.1412 = BIT_FIELD_REF ; > > is certainly not the size of v2sf... This happens in veclower pass. -- ubizjak at gmail dot com changed: What|Removed |Add