Re: GCC 4.1 branch closed

2008-07-12 Thread Gerald Pfeifer
Hi Joseph, On Fri, 4 Jul 2008, Joseph S. Myers wrote: The GCC 4.1 branch is now closed and should have no further commits. All open bugs at the 4.1.3 milestone, or marked as [4.1/4.2/4.3/4.4 Regression] or similar, have been updated accordingly. I wonder, could/should this also become a

Re: Failure building GFortran (Cygwin)

2008-07-12 Thread Angelo Graziosi
Eric Blake ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jerry DeLisle on 6/29/2008 11:45 AM: | Ian Lance Taylor wrote: | CC'ed to Eric. This may require some configury patches somewhere. | | Adjust strsignal to POSIX 200x prototype. | * strsignal.c

Re: GCC 4.1 branch closed

2008-07-12 Thread Joseph S. Myers
On Sat, 12 Jul 2008, Gerald Pfeifer wrote: Hi Joseph, On Fri, 4 Jul 2008, Joseph S. Myers wrote: The GCC 4.1 branch is now closed and should have no further commits. All open bugs at the 4.1.3 milestone, or marked as [4.1/4.2/4.3/4.4 Regression] or similar, have been updated

Re: Recent libstdc++ regressions

2008-07-12 Thread Daniel Berlin
Okay, i isolated the problem (we are folding based on the wrong type for constants, so we have a case where 1 63 becomes 0 instead of a very large value). Working on a patch now. On Fri, Jul 11, 2008 at 1:56 PM, Daniel Berlin [EMAIL PROTECTED] wrote: On Fri, Jul 11, 2008 at 1:17 PM, Paolo

successful bootstrap

2008-07-12 Thread Christian Schüler
Successfully bootstrapped and installed gcc 4.3.1, using mingw32 (msys) under WinXP. config.guess is having problems though. $ gcc -v Using built-in specs. Target: mingw32 Configured with: ../gcc-4.3.1/configure --with-gcc --build=mingw32 --prefix=/mingw --with-mpfd=/usrlocal

GCC/GCJ, SWT, and license lock-in

2008-07-12 Thread Steve Perkins
I have a question about using GCC/GCJ to compile a Java application which uses the SWT framework for its GUI, and whether this locks you in or out of any licensing options. I apologize in advance if this question is somewhat off-topic... I searched gnu.org for a mailing list specifically

Re: GCC/GCJ, SWT, and license lock-in

2008-07-12 Thread David Daney
Steve Perkins wrote: I have a question about using GCC/GCJ to compile a Java application which uses the SWT framework for its GUI, and whether this locks you in or out of any licensing options. I apologize in advance if this question is somewhat off-topic... I searched gnu.org for a

Byte permutation optimization

2008-07-12 Thread Nils Pipenbrinck
Hi there. I recently came across a nice micro-optimization to permutate bytes within a dword. On x86 all 24 combinations can be done using a maximum of 3 instructions (bswap, rotate32 and rotate16). I'd like to give it a try and write an optimization pass that detects such dword

[Bug regression/36811] New: [4.3/4.4 regression] endless (?) loop building with -O3

2008-07-12 Thread doko at ubuntu dot com
seen with the 4.3 branch and trunk 20080711 on i486-linux-gnu, the following preprocessed source doesn't finish to build after 120 cpu minutes. works with 4.2.4, or with -O2. -- Summary: [4.3/4.4 regression] endless (?) loop building with -O3 Product: gcc

[Bug regression/36811] [4.3/4.4 regression] endless (?) loop building with -O3

2008-07-12 Thread doko at ubuntu dot com
--- Comment #1 from doko at ubuntu dot com 2008-07-12 07:07 --- Created an attachment (id=15903) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15903action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36811

[Bug regression/36811] [4.3/4.4 regression] endless (?) loop building with -O3

2008-07-12 Thread doko at ubuntu dot com
--- Comment #2 from doko at ubuntu dot com 2008-07-12 07:09 --- command to build: $ gcc -g -O3 -c utils.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36811

[Bug target/36806] [4.4 Regression] Broken IOs at rev. 137644 on i686-apple-darwin9

2008-07-12 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2008-07-12 09:39 --- Formatted OPEN also hangs: open(unit=11,form='formatted') end It seems that all I/Os involving external files hang, but 'print *,' or 'write(tmp,*)' (where 'tmp' is an internal buffer) works. --

[Bug c++/36812] New: ICE: verify_stmts failed with -O -fipa-pta

2008-07-12 Thread tim at klingt dot org
compiling the attached preprocessed source, triggers an ICE with g++-4.4: [EMAIL PROTECTED]:~/workspace/nova$ g++-4.4 -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ./configure --program-suffix=-4.4 Thread model: posix gcc version 4.4.0 20080703 (experimental) (GCC)

[Bug c++/36812] ICE: verify_stmts failed with -O -fipa-pta

2008-07-12 Thread tim at klingt dot org
--- Comment #1 from tim at klingt dot org 2008-07-12 10:47 --- Created an attachment (id=15904) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15904action=view) compressed pre-processed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36812

[Bug fortran/33221] Cannot declare variables of TYPE without components

2008-07-12 Thread domob at gcc dot gnu dot org
--- Comment #6 from domob at gcc dot gnu dot org 2008-07-12 11:27 --- Subject: Bug 33221 Author: domob Date: Sat Jul 12 11:26:50 2008 New Revision: 137737 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137737 Log: 2008-07-12 Daniel Kraft [EMAIL PROTECTED] * resolve.c

[Bug tree-optimization/36788] [4.4 Regression] ICE in loop_optimizer_init at -O3

2008-07-12 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2008-07-12 15:04 --- Rev. 137717 works again, and compiles the test case without any error. Has anyone fixed this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36788

[Bug tree-optimization/36788] [4.4 Regression] ICE in loop_optimizer_init at -O3

2008-07-12 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2008-07-12 15:23 --- Has anyone fixed this? 2008-07-10 Daniel Berlin [EMAIL PROTECTED] * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert calls. (eliminate): Ditto. (execute_pre):

[Bug libgomp/26165] Cannot find libgomp.spec after 'make install' on x86_64 and ppc64

2008-07-12 Thread gcc at abeckmann dot de
--- Comment #15 from gcc at abeckmann dot de 2008-07-12 16:01 --- Hi, this bug (not searching for libgomp.spec in the correct place) is still present in the gcc-4_3-branch as of today (r137745). Configured on an amd64 Debian testing/unstable machine: ../gcc-4_3-branch/configure

[Bug preprocessor/33305] We should warn about empty macro arguments

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-07-12 17:06 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/35055] missing path to finclude directory when compiling .F90 files

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-07-12 17:10 --- I tried this and it is fixed on trunk. Closing. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/15185] -M default target - -MT documentation

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-07-12 17:18 --- This was fixed for 4.3, and I think it unlikely that anyone will backport the doc fix. So, I am closing this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/20989] The -M option gives object file names without directory

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-07-12 17:19 --- This was fixed for 4.3 and I think it unlikely that anyone will backport the doc fix. So, I am closing this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36813] New: screwy diagnostic on ill-formed call from template with a local typedef

2008-07-12 Thread sebor at roguewave dot com
The second error message issued by gcc 4.3.0 for the ill-formed program below looks wrong. I would expect it to read the same as the first one. $ cat t.cpp g++ t.cpp template class T struct A { }; template class T, class U struct B { typedef AT Y; }; template class T void foo (T*) { } template

[Bug c++/36813] screwy diagnostic on ill-formed call from template with a local typedef

2008-07-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-12 19:44 --- the error message is slightly wrongly written but this is true for any local typedef, I can find the other bug where templates are not involved. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36813

[Bug c++/15672] local function causes weird warning

2008-07-12 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2008-07-12 19:46 --- *** Bug 36813 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36813] screwy diagnostic on ill-formed call from template with a local typedef

2008-07-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-12 19:46 --- *** This bug has been marked as a duplicate of 15672 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36814] New: G++ won't warn about an uninitialized value

2008-07-12 Thread jellegeerts at gmail dot com
Hello, I've compiled the code below using `g++ -Wuninitialized -O test.cc -o test': bool cMyClass::Init() { bool retval; if (some_function()) { // If the `goto' is executed, 'return retval;' will use the // uninitialized value of 'retval'. goto error; }

[Bug bootstrap/36815] New: gnattools related error when building only c and fortran

2008-07-12 Thread jvdelisle at gcc dot gnu dot org
With --enable-languages=c,fortran, system trys to build gnattools and fails with this error: gnu-make[2]: Entering directory `/home/delisle/gcc/obj44/gcc' gnu-make[2]: Leaving directory `/home/delisle/gcc/obj44/gcc' /bin/sh: line 1: gnatls: not found gnu-make[2]: Entering directory

[Bug bootstrap/36815] gnattools related error when building only c and fortran

2008-07-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-12 20:14 --- Did you remove the Ada subdirectory? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36815

[Bug c++/36816] New: error deducing template argument taking the address of rvalue reference template

2008-07-12 Thread sebor at roguewave dot com
Gcc 4.3.0 diagnoses the line marked error? in the program below. I'd like to believe the program is well-formed and that the compiler should be able to correctly deduce the template arguments from the initialed expression without explicitly providing the template argument list. template class T

[Bug target/36782] php-5.2.5, error: unable to find a register to spill in class 'R0_REGS'

2008-07-12 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2008-07-12 23:46 --- Created an attachment (id=15905) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15905action=view) A reduced test case for -O1 -fpic -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36782

[Bug target/36782] [4.3/4.4 Regression] SH: spill failure in class 'R0_REGS' with -fpic

2008-07-12 Thread kkojima at gcc dot gnu dot org
--- Comment #3 from kkojima at gcc dot gnu dot org 2008-07-12 23:53 --- I've added a reduced testcase and confirmed that 4.2.4 works too. The RTL dumps show what is going on in the problematic case. The backend creates a REG_EQUAL note for the GOT access and CSE pass locates a memory

[Bug target/36784] [4.3 Regression] g++ internal compiler error: in remove_insn, at emit-rtl.c:3601

2008-07-12 Thread kkojima at gcc dot gnu dot org
--- Comment #2 from kkojima at gcc dot gnu dot org 2008-07-13 00:05 --- I've confirmed that 4.2.4 works and the patch suggested at #1 fixes this error on 4.3. I'll test it when 4.3 can be built for SH again. -- kkojima at gcc dot gnu dot org changed: What|Removed