[Bug fortran/23280] gfortran does not emit DW_AT_entry_point (dwarf-2) debugging info

2009-06-12 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-06-13 06:10 --- (In reply to comment #2) > We should actually emit DW_AT_calling_convention for the main program. We currently correctly emit DW_AT_calling_convention. > The DW_AT_entry_point attribute is for alternate entries,

[Bug gcov-profile/40433] /usr/bin/ld: cannot open crti.o: No such file or directory

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-13 01:55 --- You need to install the 32bit glibc. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug gcov-profile/40433] New: /usr/bin/ld: cannot open crti.o: No such file or directory

2009-06-12 Thread ksong at lbl dot gov
Hi, I got the error of /usr/bin/ld: cannot open crti.o: No such file or directorycollect2: ld returned 1 exit status make[2]: *** [32/libgcc_s.so] Error 1 make[1]: *** [stmp-multilib] Error 2 make: *** [all-gcc] Error 2 I actually have the crti.o file at /usr/lib64/ Don't know how to setup the l

[Bug target/40428] build fails for sh2a

2009-06-12 Thread ce at embedded-software dot de
--- Comment #5 from ce at embedded-software dot de 2009-06-13 01:26 --- OK, you are right, this patch fixes this, but the unsupported configuration leads to failures in different other files like gcc-4.4.0/gcc/config/sh/sh.c ... long way to go for me, as I try to make a toolchain. THX

[Bug target/39146] Unnecessary stack alignment

2009-06-12 Thread hjl dot tools at gmail dot com
--- Comment #20 from hjl dot tools at gmail dot com 2009-06-13 00:10 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFI

[Bug testsuite/40384] [4.5 regression] Revision 148277 failed gcc.dg/tree-ssa/prefetch-5.c

2009-06-12 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2009-06-13 00:09 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug middle-end/32950] [4.5 regression] ICE with __complex__ double

2009-06-12 Thread sje at cup dot hp dot com
--- Comment #19 from sje at cup dot hp dot com 2009-06-12 23:17 --- See http://gcc.gnu.org/ml/gcc-patches/2009-06/msg01023.html for a possible patch and for a question about two different approaches. -- sje at cup dot hp dot com changed: What|Removed

[Bug target/40428] build fails for sh2a

2009-06-12 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2009-06-12 22:53 --- Because sh2a-*-linux* is an unsupported configuration for gcc-4.4. Could you try the patch below? --- ORIG/gcc-4_4-branch/gcc/config.gcc 2009-05-19 07:23:48.0 +0900 +++ gcc-4_4-branch/gcc/config.gcc

[Bug c/37041] -Wc++-compat refinements

2009-06-12 Thread ian at airs dot com
--- Comment #3 from ian at airs dot com 2009-06-12 21:07 --- -Wc++-compat now warns about alternative representations for operators and punctuators such as "and". The other issues have not yet been addressed. -- ian at airs dot com changed: What|Removed

[Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure

2009-06-12 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |janus at gcc dot gnu dot org |dot org

[Bug fortran/40176] Fortran 2003: Procedure pointers with array return value

2009-06-12 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-06-12 20:45 --- The remaining issue from comment #5 has been fixed with the commit in comment #7. So this can be closed. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-12 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-06-12 20:41 --- (In reply to comment #3) > Can someone identify the patch that fixed that on the trunk? I've identified r139702, the fix for PR37005, as the revision which fixed this test case on gcc-4.4. That change applies easily to c

[Bug fortran/40176] Fortran 2003: Procedure pointers with array return value

2009-06-12 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-06-12 20:39 --- Subject: Bug 40176 Author: janus Date: Fri Jun 12 20:39:39 2009 New Revision: 148440 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148440 Log: 2009-06-12 Janus Weil PR fortran/40176 * reso

[Bug tree-optimization/38865] missing FRE with VIEW_CONVERT_EXPR

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-06-12 19:01 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/38865] missing FRE with VIEW_CONVERT_EXPR

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-06-12 19:00 --- Subject: Bug 38865 Author: pinskia Date: Fri Jun 12 19:00:39 2009 New Revision: 148437 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148437 Log: 2009-06-12 Andrew Pinski PR tree-opt/38865

[Bug c++/40389] optimizer bug (possibly)

2009-06-12 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2009-06-12 18:58 --- Often you don't see the constructor body, but still even if the constructor isn't defined in the current CU this address can be taken there. Also, even if the ctor doesn't remember the address of this, IMHO because of

[Bug tree-optimization/40432] [4.5 Regression] verify_stmts failed with -O2: non-register as LHS of unary operation

2009-06-12 Thread dcb314 at hotmail dot com
--- Comment #2 from dcb314 at hotmail dot com 2009-06-12 18:58 --- Created an attachment (id=17990) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17990&action=view) gzipped C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40432

[Bug tree-optimization/40432] [4.5 Regression] verify_stmts failed with -O2: non-register as LHS of unary operation

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-12 18:57 --- I want to say the SRA changes caused this ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/40432] New: verify_stmts failed with -O2: non-register as LHS of unary operation

2009-06-12 Thread dcb314 at hotmail dot com
I just tried to compile the Linux kernel 2.6.30 with the GNU gcc version 4.5 snapshot 20090611. The compiler said drivers/usb/host/ehci-hcd.c:1177:1: error: non-register as LHS of unary operation # .MEM_144 = VDEF <.MEM_130> qh_11(D)->qh_next.qh = (struct ehci_qh *) here$ptr_140; drivers/usb/hos

[Bug fortran/40149] variable length still 6 ???

2009-06-12 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2009-06-12 18:08 --- Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added Status|WAI

[Bug fortran/40149] variable length still 6 ???

2009-06-12 Thread plivings at arb dot ca dot gov
--- Comment #3 from plivings at arb dot ca dot gov 2009-06-12 18:03 --- Subject: RE: variable length still 6 ??? Bud, Thanks for your response to my earlier bug report, and sorry for not informing you earlier that the bug was apparently related to the computer OS-Compiler mismatch. I

[Bug bootstrap/40430] collect2.c fails to compile: new qualifiers in middle of multi-level non-const cast are unsafe

2009-06-12 Thread ian at airs dot com
--- Comment #2 from ian at airs dot com 2009-06-12 17:57 --- Fixed. The update to the docs in the patch you mention explain why this new warning is appropriate for -Wcast-qual. Let me know if you see how to make the docs clearer. http://gcc.gnu.org/viewcvs/trunk/gcc/doc/invoke.texi?r1

[Bug bootstrap/40430] collect2.c fails to compile: new qualifiers in middle of multi-level non-const cast are unsafe

2009-06-12 Thread ian at gcc dot gnu dot org
--- Comment #1 from ian at gcc dot gnu dot org 2009-06-12 17:46 --- Subject: Bug 40430 Author: ian Date: Fri Jun 12 17:45:57 2009 New Revision: 148434 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148434 Log: PR bootstrap/40430 * collect2.c (main): Use CONST_CAS

[Bug c++/40389] optimizer bug (possibly)

2009-06-12 Thread jason at redhat dot com
--- Comment #17 from jason at redhat dot com 2009-06-12 17:30 --- Subject: Re: optimizer bug (possibly) On 06/10/2009 05:27 PM, jakub at gcc dot gnu dot org wrote: > Yes, as I said earlier, I think we should handle > D.2249 = baz (); [return slot optimization] > as taking address of D.

[Bug target/40428] build fails for sh2a

2009-06-12 Thread ce at embedded-software dot de
--- Comment #3 from ce at embedded-software dot de 2009-06-12 17:30 --- I reported this bug to binutils as bug # 10271 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40428

[Bug fortran/40149] variable length still 6 ???

2009-06-12 Thread bdavis at gcc dot gnu dot org
--- Comment #2 from bdavis at gcc dot gnu dot org 2009-06-12 17:17 --- i created a compilable example from the code snippet given: INTEGER PBLJARRAYPT(341,341,1) INTEGER NCSP0,IARRAY2,I NCSP0 = 1 IARRAY2 = 0 DO I = 2, 341 IARRAY2 = IARRAY2 + 1

[Bug bootstrap/40431] New: ICE in div_data_align, at dwarf2out.c:533 while configuring sparcv9 libgcc

2009-06-12 Thread ro at gcc dot gnu dot org
Between 20090522 (rev 147798) and 20090612 (rev 148427), Solaris 11/SPARC bootstrap broke configuring the stage1 sparcv9 libgcc: in config.log, I find configure:2590: checking for suffix of object files configure:2611: /vol/gccsrc/obj/gcc-4.5.0-20090612/11-gcc/./gcc/xgcc -B/vol/gccsrc/obj/gcc

[Bug bootstrap/40430] New: collect2.c fails to compile: new qualifiers in middle of multi-level non-const cast are unsafe

2009-06-12 Thread ro at gcc dot gnu dot org
Between 20090522 (rev 147798) and 20090612 (rev 148427), collect2.c failed to compile in stage2: /vol/gccsrc/obj/gcc-4.5.0-20090612/6.5-gcc/./prev-gcc/xgcc -B/vol/gccsrc/obj/gcc-4.5.0-20090612/6.5-gcc/./prev-gcc/ -B/vol/gcc/mips-sgi-irix6.5/bin/ -B/vol/gcc/mips-sgi-irix6.5/bin/ -B/vol/gcc/mips

[Bug lto/40429] New: [LTO] Handling of -o without space

2009-06-12 Thread rmansfield at qnx dot com
If -o is specified multiple -o options are passed to the assembler, and the assembly from lto1 is compiled into file specified the user, and the temporary objfile is empty. r...@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B. -flto t.c -c r...@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B

[Bug target/40428] build fails for sh2a

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-06-12 15:15 --- >Internal error, aborting at /var/tmp/cross/sh2a-linux-uclibc/portage/cross-sh2a-linux-uclibc/binutils-2.19.1-r1/work/binutils-2.19.1/gas/config/tc-sh.c line 3968 in md_apply_fix Please report this bug. This really

[Bug c/40428] build fails for sh2a

2009-06-12 Thread ce at embedded-software dot de
--- Comment #1 from ce at embedded-software dot de 2009-06-12 14:57 --- Created an attachment (id=17989) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17989&action=view) Log for GCC compile run -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40428

[Bug c/40428] New: build fails for sh2a

2009-06-12 Thread ce at embedded-software dot de
I am trying to make a cross toolchain for sh2a-linux-uclib, bu I always get: "Internal error, aborting at /var/tmp/cross/sh2a-linux-uclibc/por tage/cross-sh2a-linux-uclibc/binutils-2.19.1-r1/work/binutils-2.19.1/gas/config/ tc-sh.c line 3968 in md_apply_fix Please report this bug." and that is what

[Bug rtl-optimization/33928] [4.3/4.4/4.5 Regression] 30% performance slowdown in floating-point code caused by r118475

2009-06-12 Thread bonzini at gnu dot org
--- Comment #92 from bonzini at gnu dot org 2009-06-12 14:50 --- In the meanwhile something caused "tree incremental SSA" to jump up from 10s to 26s. Sob. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33928

[Bug testsuite/40384] [4.5 regression] Revision 148277 failed gcc.dg/tree-ssa/prefetch-5.c

2009-06-12 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2009-06-12 13:38 --- Subject: Bug 40384 Author: hjl Date: Fri Jun 12 13:37:50 2009 New Revision: 148431 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148431 Log: 2009-06-12 H.J. Lu PR testsuite/40384 * gcc.dg/tr

[Bug testsuite/40384] [4.5 regression] Revision 148277 failed gcc.dg/tree-ssa/prefetch-5.c

2009-06-12 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-06-12 13:24 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00964.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug testsuite/40426] [4.5 Regression] Revision 148408 caused many DWARF tests faulures

2009-06-12 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2009-06-12 13:19 --- See also . Not entering it in the patch field yet for reasons mentioned. -- hp at gcc dot gnu dot org changed: What|Removed

[Bug testsuite/40384] [4.5 regression] Revision 148277 failed gcc.dg/tree-ssa/prefetch-5.c

2009-06-12 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfi

[Bug fortran/40427] New: [F03] Procedure Pointer Components with OPTIONAL arguments

2009-06-12 Thread janus at gcc dot gnu dot org
The following was reported by John McFarland: PROGRAM prog ABSTRACT INTERFACE SUBROUTINE sub_template(i,j,o) INTEGER, INTENT(in) :: i INTEGER, INTENT(in), OPTIONAL :: j, o END SUBROUTINE sub_template END INTERFACE TYPE container PROCEDURE(sub_template), POINTER, NOPASS :: s END TY

[Bug libffi/40242] unsupported asm instructions in libffi/src/arm/sysv.S

2009-06-12 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-06-12 13:13 --- There was a merge of some work from libffi recently and IIRC I saw some commits go into the same file. Can you check if that fixes your problem ? Ramana > > This means we cannot use "-mfloat-abi=soft" uncondition

[Bug testsuite/40426] New: [4.5 Regression] Revision 148408 caused many DWARF tests faulures

2009-06-12 Thread hjl dot tools at gmail dot com
Revision 148408: http://gcc.gnu.org/ml/gcc-cvs/2009-06/msg00388.html caused: FAIL: g++.dg/debug/anonunion1.C -gdwarf-21 (test for excess errors) FAIL: g++.dg/debug/anonunion1.C -gdwarf-21 -O2 (test for excess errors) FAIL: g++.dg/debug/anonunion1.C -gdwarf-21 -O3 (test for excess errors) FAIL: g

[Bug target/39146] Unnecessary stack alignment

2009-06-12 Thread hjl at gcc dot gnu dot org
--- Comment #19 from hjl at gcc dot gnu dot org 2009-06-12 12:54 --- Subject: Bug 39146 Author: hjl Date: Fri Jun 12 12:54:30 2009 New Revision: 148428 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148428 Log: gcc/ 2009-06-12 Joey Ye PR middle-end/39146 * c

[Bug target/40416] unnecessary register spill

2009-06-12 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-06-12 12:54 --- (In reply to comment #1) > Created an attachment (id=17983) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17983&action=view) [edit] > test case > Your attachment didn't have #include - Please try and supply p

[Bug tree-optimization/40425] [4.5 Regression] error: invalid conversion in gimple call

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-06-12 12:20 --- *** This bug has been marked as a duplicate of 30210 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/30210] [4.5 Regression] Altivec builtins have inaccurate return types

2009-06-12 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2009-06-12 12:20 --- *** Bug 40425 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/40425] [4.5 Regression] error: invalid conversion in gimple call

2009-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-12 12:14 --- The following tests fails with the same kind of ICE: gcc.dg/vect/slp-perm-1.c gcc.dg/vect/slp-perm-2.c gcc.dg/vect/slp-perm-3.c gcc.dg/vect/slp-perm-8.c gcc.dg/vect/no-scevccp-outer-13.c gcc.dg/vect/no-scevccp-outer-

[Bug tree-optimization/40425] New: [4.5 Regression]

2009-06-12 Thread dominiq at lps dot ens dot fr
Compiling /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c with -O3 gives the following ICE: [karma] f90/bug% gcc45 -O3 /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c /opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vect/vect-reduc-dot-u8b.c: In function 'foo': /opt/g

[Bug testsuite/40359] [4.5 Regression] Revision 148211 caused a lot of failures in the vect test suite.

2009-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2009-06-12 12:00 --- Created an attachment (id=17988) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17988&action=view) dump file with -fdump-tree-vect-details (In reply to comment #10) [karma] f90/bug% grep "Alignment of access" v

[Bug target/40424] --verbose-asm option not list all enbaled command line option flags

2009-06-12 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2009-06-12 10:00 --- That might be because you have differences in your override_options from the "native" compiler. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40424

[Bug target/40424] New: --verbose-asm option not list all enbaled command line option flags

2009-06-12 Thread MR dot Swami dot Reddy at nsc dot com
"-fverbose-asm" is not listing the command line option flgas, as same version of native gcc does. For ex: > crx-elf-gcc test.c -O1 --verbose-asm -save-temps -c In test.s: command line options enabled flags will be listed out. This is not done with crx-elf-gcc compiler. -- Summary:

[Bug middle-end/40421] [4.5 Regression] Revision 148352 failed 416.gamess in SPEC CPU 2006

2009-06-12 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2009-06-12 09:45 --- The code in comment #1 compiles on powerpc-apple-darwin9 at revision 148391 with '-O3 -ffast-math -funroll-loops'. On i686-apple-darwin9 at revision 148399, compilation fails at -O3 with: [ibook-dhum] f90/bug% gfc -O

[Bug c++/40423] namespace nested in class is a parse error

2009-06-12 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-06-12 09:16 --- It is invalid, see 7.3.1/4, "Every namespace-definition shall appear in the global scope or in a namespace scope (3.3.5).", thus, no class scope. -- paolo dot carlini at oracle dot com changed:

[Bug c/40422] using optimization breaks code

2009-06-12 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-06-12 07:38 --- The testcase is buggy, fix_end(((unsigned int*)&i)[0]); etc. violates strict aliasing. Either compile with -fno-strict-aliasing, or better yet fix it to be valid C code. -- jakub at gcc dot gnu dot org changed:

[Bug c++/40423] New: namespace nested in class is a parse error

2009-06-12 Thread mjtruog at fastmail dot ca
The following does not work: #include class A { private: namespace B { enum { aaa, bbb }; } public: int getB() const { return B::bbb; } }; int main() { A objA; std::cout << objA.getB() << std::endl; return 0; } However, the followi