[Bug target/39989] No need to save LR in some cases

2009-05-01 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-05-01 06:12 --- Created an attachment (id=17787) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17787action=view) sample code showing the optimization opportunity -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39989

[Bug target/39989] No need to save LR in some cases

2009-05-01 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2009-05-01 06:21 --- Actually gcc has already implemented this optimization, but it doesn't work for this case. Reload pass tries to determine the stack frame, so it needs to check the push/pop lr optimization opportunity. One of the

[Bug c/39990] New: Failed to compile mplayer

2009-05-01 Thread yast4ik at yahoo dot com
GCC 4.4.1 (prerelease) 20090425 The output can be seen here: http://www.spinics.net/lists/fedora-testing/msg78463.html -- Summary: Failed to compile mplayer Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal

[Bug c/39990] Failed to compile mplayer

2009-05-01 Thread yast4ik at yahoo dot com
--- Comment #1 from yast4ik at yahoo dot com 2009-05-01 08:05 --- Created an attachment (id=17788) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17788action=view) mangle.h config.h imdct.i imdct.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39990

[Bug c/39990] Failed to compile mplayer

2009-05-01 Thread yast4ik at yahoo dot com
--- Comment #2 from yast4ik at yahoo dot com 2009-05-01 08:07 --- Command line is: gcc -v -save-temps -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=core2 -msse4.1 -pipe

[Bug target/38570] [arm] -mthumb generates sub-optimal prolog/epilog

2009-05-01 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-05-01 08:39 --- *** Bug 39989 has been marked as a duplicate of this bug. *** -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39989] No need to save LR in some cases

2009-05-01 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-05-01 08:39 --- Marking as duplicate of PR38570 *** This bug has been marked as a duplicate of 38570 *** -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #6 from steven at gcc dot gnu dot org 2009-05-01 08:44 --- I still see no answer to my question from comment #1. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34849

[Bug bootstrap/36481] gcc fails to build on Solaris x86 - it forgets the locations of libmpfr

2009-05-01 Thread gbarnt at student dot dtu dot dk
--- Comment #10 from gbarnt at student dot dtu dot dk 2009-05-01 09:01 --- In reply to #9: I have tried to build gcc with and without my own patch on our solaris machines. While both of them fails they fail at the same place (namely configuration of [arch]/libgcc trying to figure out

[Bug fortran/39991] New: wrong locus in error message

2009-05-01 Thread dfranke at gcc dot gnu dot org
$ cat locus.f90 MODULE m PUBLIC :: s CONTAINS SUBROUTINE s() END SUBROUTINE SUBROUTINE s() END SUBROUTINE END MODULE $ gfortran-svn locus.f90 locus.f90:6.14: SUBROUTINE s() 1 locus.f90:2.13: PUBLIC :: s 2 Error: Procedure 's' at (1) is already defined at

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2009-05-01 09:39 --- On i686-apple-darwin9: [ibook-dhum] bug/java_test% /opt/gcc/gcc4.5w/bin/gcj -v Using built-in specs. Reading specs from /Volumes/MacBook/opt/gcc/gcc4.5w/bin/../lib/gcc/i686-apple-darwin9/4.5.0/../../../libgcj.spec

[Bug bootstrap/36481] gcc fails to build on Solaris x86 - it forgets the locations of libmpfr

2009-05-01 Thread schwab at linux-m68k dot org
--- Comment #11 from schwab at linux-m68k dot org 2009-05-01 09:51 --- GNU make is required for building gcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36481

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2009-05-01 11:13 --- Note 1: java is broken on ppc-darwin with -m64. Note 2: the error does not appear at -O1 and -m32 (default). Note 3: removing the -quiet and some other options, I get: [karma] bug/java_test%

[Bug middle-end/39685] ICE: in copyprop_hardreg_forward_1, at regrename.c:1603

2009-05-01 Thread MR dot Swami dot Reddy at nsc dot com
--- Comment #6 from MR dot Swami dot Reddy at nsc dot com 2009-05-01 11:42 --- This problem is reproduced with latest gcc-4.4.0 release tools (ie crx-elf-gcc version 4.4.0). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39685

[Bug inline-asm/39543] [4.4/4.5 Regression] Reload failure on mplayer from SVN

2009-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #17 from pinskia at gcc dot gnu dot org 2009-05-01 13:15 --- *** Bug 39990 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/39990] Failed to compile mplayer

2009-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-05-01 13:15 --- *** This bug has been marked as a duplicate of 39543 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread howarth at nitro dot med dot uc dot edu
--- Comment #15 from howarth at nitro dot med dot uc dot edu 2009-05-01 14:06 --- Java has always been broken at -m64 on ppc-darwin since no one has ever ported ffi to work on ppc64 for darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940

[Bug c++/39992] cc1plus exhausts memory with deeply nested unclosed constructor parens

2009-05-01 Thread cbm at whatexit dot org
--- Comment #1 from cbm at whatexit dot org 2009-05-01 14:08 --- ... rather, int f(int); int x=f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(f(0 fails immediately. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39992

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2009-05-01 14:08 --- (In reply to comment #4) (In reply to comment #3) I couldn't find any other gmp or mpfr in the system. Also tried using the system's ld and as (both version 2.11.2) but the same error pops up (see below). Using

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread dominiq at lps dot ens dot fr
--- Comment #16 from dominiq at lps dot ens dot fr 2009-05-01 14:08 --- Java has always been broken at -m64 on ppc-darwin since no one has ever ported ffi to work on ppc64 for darwin. This is precisely why I have tried the test without -m64. --

[Bug testsuite/37960] FAIL: gcc.dg/pr11492.c (test for bogus messages, line 8)

2009-05-01 Thread manu at gcc dot gnu dot org
--- Comment #11 from manu at gcc dot gnu dot org 2009-05-01 14:37 --- FIXED by Janis. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39978] [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-05-01 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-05-01 14:49 --- I don't see this with a bootstrap that I was doing with r147003. /home/ramana/build-combined-arm-gcc-20090430/./gcc/xgcc -v Using built-in specs. Target: armv5tel-unknown-linux-gnueabi Configured with:

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread dominiq at lps dot ens dot fr
--- Comment #17 from dominiq at lps dot ens dot fr 2009-05-01 14:50 --- At revision 147032 on i686-apple-darwin9 the bootstrap still fails. Using the built jc1 I get: [ibook-dhum] bug/java_test% /opt/gcc/i686-darwin/gcc/jc1

[Bug middle-end/39579] [4.5 regression] revisions 145171/145172 caused 2 extra failures

2009-05-01 Thread sje at cup dot hp dot com
--- Comment #5 from sje at cup dot hp dot com 2009-05-01 14:52 --- XFAILed on IA64 and SPARC because they do not support the required vector instructions used by these tests. -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread gustcr at yahoo dot com dot ar
--- Comment #6 from gustcr at yahoo dot com dot ar 2009-05-01 14:57 --- (In reply to comment #5) Well... I already read the installation instructions and know them almost by hard... and a bit more. At the web page it says: First, we highly recommend that GCC be built into a separate

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2009-05-01 15:04 --- What's the content of your generated file kinds.h? (It's in the target libgfortran directory)? I suspect that the generation of kinds.h fails but the Makefile continues, and the content of kinds.h makes it error

[Bug fortran/37159] RANDOM_SEED: GET= check array size at compile time and respect -fdefault-integer-*

2009-05-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #15 from fxcoudert at gcc dot gnu dot org 2009-05-01 15:10 --- Daniel, shouldn't this PR be closed? -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/37159] RANDOM_SEED: GET= check array size at compile time and respect -fdefault-integer-*

2009-05-01 Thread dfranke at gcc dot gnu dot org
--- Comment #16 from dfranke at gcc dot gnu dot org 2009-05-01 15:21 --- Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread gustcr at yahoo dot com dot ar
--- Comment #8 from gustcr at yahoo dot com dot ar 2009-05-01 15:25 --- I think that it fails in building libgfortran.h This is the last part of the output: . make[4]: Leaving directory `/home2/gdb/local/gcc-4.4.0-obj/i686-pc-linux-gnu/libssp' make[3]: Leaving directory

[Bug middle-end/39978] [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-05-01 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2009-05-01 15:30 --- This smells like a memory corruption problem in the compiler... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39978

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2009-05-01 15:44 --- (In reply to comment #8) I think that it fails in building libgfortran.h libgfortran.h is not built, it's a source file. There was one question only in my comment: What's the content of your generated file

[Bug bootstrap/39977] [4.5 Regression] r1467817 broke bootstrap on PA

2009-05-01 Thread sje at cup dot hp dot com
--- Comment #3 from sje at cup dot hp dot com 2009-05-01 15:54 --- Looking at exp when we enter expand_expr_addr_expr_1 I see: ssa_name 79f80070 type real_type 79f56e70 TFtype TF size integer_cst 79edb760 constant 128 unit size integer_cst 79edb780 constant 16

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread gustcr at yahoo dot com dot ar
--- Comment #10 from gustcr at yahoo dot com dot ar 2009-05-01 15:59 --- dirac:~/local/gcc-4.4.0-obj$ cat ./i686-pc-linux-gnu/libgfortran/kinds.h typedef int8_t GFC_INTEGER_1; typedef uint8_t GFC_UINTEGER_1; typedef GFC_INTEGER_1 GFC_LOGICAL_1; #define HAVE_GFC_LOGICAL_1 #define

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2009-05-01 16:12 --- Oh, I think I see. Do you have a really old glibc? What happens if you use a newer one? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39971

[Bug c++/39993] New: missing diagnostic on conflicting exception specifications

2009-05-01 Thread sebor at roguewave dot com
As mentioned in this post: http://gcc.gnu.org/ml/libstdc++/2009-05/msg0.html gcc accepts the ill-formed code below. According to [except.spec], p2: If any declaration of a function has an exception-specification, all declarations, including the definition and an explicit specialization,

[Bug c++/39993] missing diagnostic on conflicting exception specifications

2009-05-01 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug fortran/39971] kinds.h fails at building libgfortran

2009-05-01 Thread gustcr at yahoo dot com dot ar
--- Comment #12 from gustcr at yahoo dot com dot ar 2009-05-01 17:14 --- Yes, glibc is old: dirac:~/local/gcc-4.4.0-obj$ /lib/libc.so.6 GNU C Library stable release version 2.1.3, by Roland McGrath et al. Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99 Free Software

[Bug bootstrap/39977] [4.5 Regression] r1467817 broke bootstrap on PA

2009-05-01 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-05-01 17:22 --- That shouldn't happen yes. We are trying to expand __fixunstfdi (D.1248_5) As far as the gimple side is concerned this is a normal pass-by-value call hence the SSA name therein is perfectly fine. But it seems the

[Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.

2009-05-01 Thread julian1844 at yahoo dot com
--- Comment #11 from julian1844 at yahoo dot com 2009-05-01 17:26 --- (In reply to comment #9, comment #10) I did not build MinGW 4.3.0. I got it from the official MinGW site (gcc-4.3.0-20080502-mingw32-alpha). I have also found that on www.equation.com there are even newer versions

[Bug fortran/39994] New: Bounds checking (-fcheck=bounds): A = [ constructor ] does not work

2009-05-01 Thread burnus at gcc dot gnu dot org
There are currently no checks for LHS = RHS where RHS is an array constructor, if -fbounds-check / -fcheck=bounds is used. (Neither is it detected by NAG f95, ifort, g95.) Example: integer :: a(2), b(5), i b = 0 i = 2 a = [1, 2, b(1:i)] ! RHS too many items i = 1 a = [ b(1:i)] ! RHS too few

[Bug fortran/39995] New: Open MP compile fails with internal compiler error

2009-05-01 Thread mmsussman at gmail dot com
The following error occurs on more than one system with more than one version of the compiler! I am running Ubuntu 8.04. The output of uname -a is: Linux ozhp 2.6.24-23-generic #1 SMP Wed Apr 1 21:47:28 UTC 2009 i686 GNU/Linux Command line: and its output: \gfortran -v -fopenmp simple.f90 -o

[Bug fortran/39995] Open MP compile fails with internal compiler error

2009-05-01 Thread mmsussman at gmail dot com
--- Comment #1 from mmsussman at gmail dot com 2009-05-01 18:26 --- Created an attachment (id=17789) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17789action=view) copy of original source code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39995

[Bug bootstrap/39977] [4.5 Regression] r1467817 broke bootstrap on PA

2009-05-01 Thread sje at cup dot hp dot com
--- Comment #5 from sje at cup dot hp dot com 2009-05-01 18:30 --- The proposed patch fixed my bootstrap failure. I haven't run the testsuite yet to look for regressions but the bootstrap is working. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39977

[Bug target/39986] decimal float constant is incorrect when cc1 is a 64-bit binary

2009-05-01 Thread janis at gcc dot gnu dot org
--- Comment #1 from janis at gcc dot gnu dot org 2009-05-01 18:57 --- The problem is that in dfp.c, functions encode_decimal* and decode_decimal* use memcpy from a 32-bit int to a long for 32 bits. This works fine with -32 where long is 32 bits, but not for -m64 where long is 32 bits.

[Bug target/39986] decimal float constant is incorrect when cc1 is a 64-bit binary

2009-05-01 Thread janis at gcc dot gnu dot org
--- Comment #2 from janis at gcc dot gnu dot org 2009-05-01 19:03 --- D'oh, I of course meant that long is 32-bits when GCC is build with default -m32 and that long is 64-bits when GCC is built with default -m64; the host size of long, not the target size. --

[Bug fortran/39996] New: Double typing of function results not detected

2009-05-01 Thread burnus at gcc dot gnu dot org
Found at c.l.f where Giorgio Pastore reported it. http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/a48b6b038baabd90 gfortran -std=f95 does not detect the following: interface function square (x) result (s) real,intent (in) ::x real ::s end function

[Bug fortran/39995] Open MP compile fails with internal compiler error

2009-05-01 Thread kargl at gcc dot gnu dot org
--- Comment #2 from kargl at gcc dot gnu dot org 2009-05-01 19:29 --- (In reply to comment #1) Created an attachment (id=17789) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17789action=view) [edit] copy of original source code. Works for me with REMOVE:kargl[208] gfc43

[Bug libgomp/39939] MinGW 4.3.0 fails to link sample programme.

2009-05-01 Thread dannysmith at users dot sourceforge dot net
--- Comment #12 from dannysmith at users dot sourceforge dot net 2009-05-01 19:48 --- (In reply to comment #11) (In reply to comment #9, comment #10) I did not build MinGW 4.3.0. I got it from the official MinGW site (gcc-4.3.0-20080502-mingw32-alpha). I have also found that on

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2009-05-01 19:54 --- Hm, with a cross configured like configure --disable-nls --enable-languages=java --target=i686-apple-darwin9 and make all-gcc I just get gcc$ ./jc1 -quiet

[Bug middle-end/39983] ICE: type mismatch in address expression

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-01 19:56 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/39977] [4.5 Regression] r1467817 broke bootstrap on PA

2009-05-01 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2009-05-01 20:01 --- I finished testing and it looks OK. The failures that I see also appear on other platforms (hppa64 and ia64) so I think the patch is good. FAIL: libgomp.c++/task-4.C -O (internal compiler error) FAIL:

[Bug middle-end/39978] [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-05-01 20:01 --- Which pass? p *pass in frame 20 should tell you. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39978

[Bug c++/39754] [4.5 Regression] ICE: tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:9248

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-05-01 20:03 --- *** Bug 39980 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39980] C++ ICE in tsubst

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-05-01 20:03 --- *** This bug has been marked as a duplicate of 39754 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-05-01 20:07 --- bb 45: # crkveuk_lsm.686_3635 = PHI crkveuk_lsm.686_517(44) # cikve_lsm.685_3640 = PHI cikve_lsm.685_528(44) # crkveuk_lsm.686_3564 = PHI crkveuk_lsm.686_517(44) Interesting, I wonder if that causes

[Bug fortran/39997] New: Procedure(), pointer implicit typing: rejects-valid / accepts-invalid?

2009-05-01 Thread burnus at gcc dot gnu dot org
This is a tracking bug. It partially applies directly and partially for the almost ready proc-pointer components patch. I first ask ask comp.lang.fortran, but Richard Maine's reply was that he sees the problem but feels he cannot answer it:

[Bug middle-end/39978] [4.5 Regression] SEGV compiling libiberty/regex.c in stage2

2009-05-01 Thread danglin at gcc dot gnu dot org
--- Comment #5 from danglin at gcc dot gnu dot org 2009-05-01 20:32 --- I'm not in my office where the box is, however, I believe the ICE occurs in stage2. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39978

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-05-01 20:34 --- We can't perform loop store sinking as in and res alias. And our other store sinking pass is just too stupid for this case as we have a missed CSE opportunity for the address stored to: D.1243_8 = *D.1242_7;

[Bug fortran/39995] Open MP compile fails with internal compiler error

2009-05-01 Thread msussman at verizon dot net
--- Comment #3 from msussman at verizon dot net 2009-05-01 21:39 --- Subject: Re: Open MP compile fails with internal compiler error On Fri, 2009-05-01 at 19:29 +, kargl at gcc dot gnu dot org wrote: --- Comment #2 from kargl at gcc dot gnu dot org 2009-05-01 19:29

[Bug fortran/39998] New: Procedure Pointer Assignments: Statement Functions Internal Functions

2009-05-01 Thread janus at gcc dot gnu dot org
According to the following passage of the Fortran 2003 standard, statement functions and internal functions are forbidden in procedure pointer assignments: C727 (R742) A procedure-name shall be the name of an external, module, or dummy procedure, a specific intrinsic function listed in 13.6 and

[Bug fortran/39995] Open MP compile fails with internal compiler error

2009-05-01 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-05-01 21:50 --- (In reply to comment #3) On Fri, 2009-05-01 at 19:29 +, kargl at gcc dot gnu dot org wrote: Created an attachment (id=17789) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17789action=view) [edit]

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2009-05-01 21:51 --- Crossjumping does nothing, because there is nothing to crossjump anymore at that point. The two stores have been replaced with one and a conditional set: - in .ce1 (ifcvt1) we haven't converted to a conditional set

[Bug c/39983] ICE: type mismatch in address expression

2009-05-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-05-01 21:13 --- FE problem. In extern const int b[1]; static const int * const c[] = { b }; b decays to type int * instead of const int *. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-05-01 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2009-05-01 22:27 --- FWIW, early crossjumping (after ce1) doesn't work either. The code before trying to crossjump looks like this: 44 pc={(cc:CC=0x0)?L50:pc} REG_DEAD: cc:CC REG_BR_PROB: 0x1388 45

[Bug c/39999] New: gcc 4.4.0 compiles in infinite loop

2009-05-01 Thread howarth at nitro dot med dot uc dot edu
The following code... #include stdlib.h extern int *MMAPMON (int m, int *A); extern void MMAPREM (int m, int *A, int *B); int *MMAPGCD(p,A,B) int p,*A,*B; { int *A1,*A2,*t,*C,m,n; if (((A[-1]) == 0 (A[0]) == 0)) { C = MMAPMON(p,B); goto Return; } if (((B[-1]) == 0

[Bug middle-end/39999] gcc 4.4.0 compiles in infinite loop

2009-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-01 22:49 --- So GCC hangs and not the compiled code? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40000] New: [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better?

2009-05-01 Thread pinskia at gcc dot gnu dot org
+++ This bug was initially created as a clone of Bug #5 +++ [C89 regression] C++ has too much stuff. Make it smaller. Release: C++98 -- Summary: [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better? Product: gcc

[Bug c++/40000] [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better?

2009-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-01 22:51 --- *** This bug has been marked as a duplicate of 5 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/5] [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better?

2009-05-01 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2009-05-01 22:51 --- *** Bug 4 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40000] [1.36.3/1.37/.../3.2/3.3/3.4 regression] C++ sucks, can't you make it better?

2009-05-01 Thread fang at csl dot cornell dot edu
--- Comment #2 from fang at csl dot cornell dot edu 2009-05-01 22:57 --- shakeblink Congratulations, winner! You are the 40,000th visitor! Click here to claim your prize! /blink/shake (or just mark as a dup of pr3 :P) Woo-hoo! --

[Bug middle-end/39999] gcc 4.4.0 compiles in infinite loop

2009-05-01 Thread howarth at nitro dot med dot uc dot edu
--- Comment #2 from howarth at nitro dot med dot uc dot edu 2009-05-01 23:00 --- On Linux and Darwin, it seems to be constantly allocating memory and never finishes the compilation (at least over 10+ minutes). The example code compiles instantly at -O1. I've not discovered any -O2

[Bug regression/40001] New: [4.5 Regression] r1467817 broke libgloss build for SPU

2009-05-01 Thread tsmigiel at gcc dot gnu dot org
The following test case, simplified from newlib's libgloss/spu/sbrk.c, breaks a combined SPU build. This test case works if sp_r1 is declared globally. It fails at the new assert in cfgexpand.c:expand_one_var() which tests DECL_HARD_REGISTER. void * sbrk (unsigned int increment) { volatile

[Bug java/39940] [4.5 Regression] Bootstrap failure in libjava on i686-apple-darwin9

2009-05-01 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2009-05-01 23:09 --- The ICE is also produced by prev-gcc/jc1 [ibook-dhum] bug/java_test% /opt/gcc/i686-darwin/prev-gcc/jc1 /opt/gcc/_gcc_clean/libjava/classpath/lib/gnu/CORBA/Poa/gnuPOA\$RefTemplate.class -fhash-synchronization

[Bug testsuite/40002] New: Testsuite not finding libc headers with cross builds and only previous version of GCC installed

2009-05-01 Thread pinskia at gcc dot gnu dot org
I have built a 4.4.0 version of GCC and built newlib with that version and installed it in say /MYPREFIX and then go and try to build 4.5.0. I then build GCC with the same /MYPREFIX but not a combined build, the testsuite is not able to find the libc headers. I don't know if this a regression

[Bug regression/40001] [4.5 Regression] r146817 broke libgloss build for SPU

2009-05-01 Thread matz at gcc dot gnu dot org
--- Comment #1 from matz at gcc dot gnu dot org 2009-05-02 02:34 --- The assert triggers because of a real pre-existing bug. local variables with DECL_HARD_REGISTER set must not be put into SSA form. is_gimple_reg has to return false for them. It doesn't anymore since some changes by

[Bug c/40003] New: apparent spurious uninitialized read from r147052 on integer code

2009-05-01 Thread regehr at cs dot utah dot edu
See below. The output at -O0 looks good. At -O3 the wrong result is printed and valgrind reports a read of uninitialized memory. reg...@john-home:~/volatile/tmp160$ current-gcc -O0 -Wall small.c -o small reg...@john-home:~/volatile/tmp160$ valgrind ./small ==26152== Memcheck, a memory error

[Bug c/40003] apparent spurious uninitialized read from r147052 on integer code

2009-05-01 Thread regehr at cs dot utah dot edu
--- Comment #1 from regehr at cs dot utah dot edu 2009-05-02 05:47 --- Created an attachment (id=17790) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17790action=view) preprocessed failure-inducing input -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40003