Re: arm-elf float-abi defaults...

2010-05-15 Thread Richard Earnshaw
On Tue, 2010-05-11 at 17:40 -0400, DJ Delorie wrote: I discovered that if you build a plain arm-elf toolchain, the default float-abis for gcc and gas don't match. I added this patch locally to make it just work but it seems to me it would be better to have the defaults match, although I'm

Re: lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:549

2010-05-15 Thread Toon Moene
On 05/14/2010 03:40 PM, Richard Guenther wrote: On Fri, May 14, 2010 at 3:34 PM, Toon Moenet...@moene.org wrote: On 04/25/2010 01:24 PM, Toon Moene wrote: Richard Guenther wrote: [ Concerning this assert ] It is checking that for one symbol we only have one definition. You are using

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-05-15 Thread a14331990 at hotmail dot com
--- Comment #16 from a14331990 at hotmail dot com 2010-05-15 06:01 --- (In reply to comment #8) I think this is a bug the MingW maintainers should handle. While I understand Andrew's position, it seems to me that this is nevertheless a definite regression from the user's

[Bug debug/44112] [4.6 regression] Revision 159354 causes Fortran test failures

2010-05-15 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-05-15 06:01 --- Subject: Bug 44112 Author: jakub Date: Sat May 15 06:01:20 2010 New Revision: 159429 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159429 Log: PR debug/44112 * dwarf2out.c (resolve_one_addr):

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread sfilippone at uniroma2 dot it
--- Comment #5 from sfilippone at uniroma2 dot it 2010-05-15 07:19 --- (In reply to comment #4) When removing the NULL initialization in comment #3, the dump shows: static struct .class.parent.p this = {.$data=0B}; Zeroing the $data pointer is probably not needed without NULL

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-05-15 07:36 --- The actual failure is: libtool: compile: /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/ -B/opt/gcc/gcc4.6w/x86_64-apple-darwin10.3.0/bin/ -B/opt/gcc/gcc4.6w/x86_64-a pple-darwin10.3.0/lib/ -isystem

[Bug c++/44148] New: C++ genericization/gimplification may clobber templare arguments

2010-05-15 Thread jakub at gcc dot gnu dot org
template typename T struct S2 { typedef const T t2; t2 operator* () const {} }; template typename T struct S3 { typedef S2 T t5; }; template typename T1, typename T2 T2 foo1 (T1 x, T2 y) { y (*x); } template class T struct S4 { T operator* () const; }; struct S7 {}; struct S8 {

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #2 from iains at gcc dot gnu dot org 2010-05-15 08:25 --- as of 159429 - m32 seems to be fixed (and m64 improved): === libgomp Summary for unix/-m32 === # of expected passes2490 # of unsupported tests 2 === libgomp

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #3 from iains at gcc dot gnu dot org 2010-05-15 08:29 --- note fails are for O 0 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread hubicka at ucw dot cz
--- Comment #4 from hubicka at ucw dot cz 2010-05-15 08:39 --- Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. The problem is because emultls is handling declarations in a way so references are not visible to middle end. I guess we need to put

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread hubicka at ucw dot cz
--- Comment #4 from hubicka at ucw dot cz 2010-05-15 08:41 --- Subject: Re: r159371 breaks bootstrap on x86_64-apple-darwin10 It appears that only darwin uses the set_user_assembler_name() call so we ought to be able to restore the previous behavior with... Does this help

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #5 from iains at gcc dot gnu dot org 2010-05-15 08:47 --- (In reply to comment #3) The actual failure is: ld: codegen problem, can't use rel32 to external symbol ___emutls_v._ZZN12_GLOBAL__N_110get_globalEvE6global in ___cxa_get_globals_fast from

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-05-15 08:53 --- The bootstrap failure of x86_64-apple-darwin10 seems gone at revision 159429 (now building libjava). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #5 from iains at gcc dot gnu dot org 2010-05-15 08:59 --- (In reply to comment #4) Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. The problem is because emultls is handling declarations in a way so references are not visible to

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #1 from davek at gcc dot gnu dot org 2010-05-15 09:06 --- (In reply to comment #0) Windows targets that use emutls add a . character as a separator from the _emutls_{t,v} and the true symbol name. However, exporting these symbol names from a DLL is problematic (i.e. a

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #6 from iains at gcc dot gnu dot org 2010-05-15 09:25 --- (In reply to comment #5) Index: gcc/varasm.c === --- gcc/varasm.c(revision 159429) +++ gcc/varasm.c(working copy) @@ -386,6 +386,7

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-05-15 Thread a14331990 at hotmail dot com
--- Comment #17 from a14331990 at hotmail dot com 2010-05-15 09:29 --- Created an attachment (id=20662) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20662action=view) enable auto-import in ld This patch comes from a post by Dave Korn and is slightly modified by me [PATCH] Silence

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #7 from iains at gcc dot gnu dot org 2010-05-15 09:29 --- (In reply to comment #6) The bootstrap failure of x86_64-apple-darwin10 seems gone at revision 159429 (now building libjava). confirmed on an un-patched tree - I think this can be closed. --

[Bug lto/44149] New: lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-15 Thread toon at moene dot org
The attached subroutine is compiled as follows: gfortran -c -flto -O2 -fwhole-program bkfconv.F90 and then the object file is placed in a library of its own: ar rv x.a bkfconv.o Subsequently, a main program, b.f: call deep_convection end is linked with this library, as follows:

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-05-15 Thread a14331990 at hotmail dot com
--- Comment #18 from a14331990 at hotmail dot com 2010-05-15 09:31 --- Created an attachment (id=20663) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20663action=view) don't emit dllexport'd inline functions This patch is just a removal of nathan's code. See r147799 | nathan |

[Bug lto/44149] lto1: internal compiler error: in lto_symtab_merge_decls_1, at lto-symtab.c:610

2010-05-15 Thread toon at moene dot org
--- Comment #1 from toon at moene dot org 2010-05-15 09:32 --- Created an attachment (id=20664) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20664action=view) source code that shows the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44149

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #2 from davek at gcc dot gnu dot org 2010-05-15 09:34 --- (In reply to comment #1) In other words, I don't think the runtime loader actually keys off the presence of a dot in the exported symbol, but where the EAT entry points to. If we can persuade ld that sometimes

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread hubicka at ucw dot cz
--- Comment #7 from hubicka at ucw dot cz 2010-05-15 09:35 --- Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. Hi, we can either go with DECL_PRESERVE that is kind of hack but makes situation no worse. Correct fix is to lower emultls earlier so

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2010-05-15 09:37 --- Created an attachment (id=20665) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20665action=view) testcase: main executable source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #4 from davek at gcc dot gnu dot org 2010-05-15 09:37 --- Created an attachment (id=20666) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20666action=view) testcase: dll source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #5 from davek at gcc dot gnu dot org 2010-05-15 09:38 --- Created an attachment (id=20667) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20667action=view) testcase: dll header -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #6 from davek at gcc dot gnu dot org 2010-05-15 09:38 --- Created an attachment (id=20668) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20668action=view) testcase: makefile -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #8 from dominiq at lps dot ens dot fr 2010-05-15 09:43 --- confirmed on an un-patched tree - I think this can be closed. I would prefer to leave it open until the causes of the breakage and the fix are known. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #7 from davek at gcc dot gnu dot org 2010-05-15 09:45 --- So... I think now we just need to figure out how to tell LD that some export directives contain dots because they're exporting a symbol containing a dot. Actually, that's probably all we need to do: when we find an

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-15 10:21 --- (In reply to comment #5) Wild shot: has this anything to do with 43969? Actually I don't think so. At least the patch I posted yesterday does not fix PR43969: http://gcc.gnu.org/ml/fortran/2010-05/msg00155.html

[Bug fortran/43969] [OOP] CLASS(foo), ALLOCATABLE component bad initialization

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-05-15 10:25 --- (In reply to comment #1) Created an attachment (id=20542) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20542action=view) [edit] Looking at the dump of this code shows: The $data component of int is being set

[Bug fortran/43969] [OOP] ALLOCATABLE with polymorphic variables

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-05-15 10:46 --- Turns out that fixing this one is completely trivial, once you actually have a look at it :) The ALLOCATED intrinsic was just not adjusted to handle CLASS variables yet. The patch is as simple as this: Index:

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #8 from iains at gcc dot gnu dot org 2010-05-15 11:24 --- (In reply to comment #7) Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. Correct fix is to lower emultls earlier so both ipa-ref and LTO understands it. This might be bit

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-05-15 11:32 --- I'd rather go with the DECL_PRESERVE_P hack for now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132

[Bug fortran/43969] [OOP] ALLOCATED() with polymorphic variables

2010-05-15 Thread sfilippone at uniroma2 dot it
--- Comment #5 from sfilippone at uniroma2 dot it 2010-05-15 11:33 --- (In reply to comment #4) Turns out that fixing this one is completely trivial, once you actually have a look at it :) The ALLOCATED intrinsic was just not adjusted to handle CLASS variables yet. The patch is as

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-05-15 Thread stahta01 at students dot ipfw dot edu
--- Comment #19 from stahta01 at students dot ipfw dot edu 2010-05-15 11:53 --- Should not the options -fvisibility-inlines-hidden or -fvisibility=hidden fix this problem? Option found on http://gcc.gnu.org/wiki/Visibility. Note: The MinGW GCC 4.5.0-1 does not make smaller DLLs using

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #10 from iains at gcc dot gnu dot org 2010-05-15 11:57 --- hmm - that certainly looks simpler... I guess, otherwise, we have to intercept every circumstance where a __thread var might be used .. and interpose the exchange. --

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread dougsemler at gmail dot com
--- Comment #8 from dougsemler at gmail dot com 2010-05-15 13:03 --- Done cf. http://sourceware.org/bugzilla/show_bug.cgi?id=11603 (note to self, pay more attention to specs and less attention to de facto behavior of toolsets ;-)) --

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-05-15 Thread a14331990 at hotmail dot com
--- Comment #20 from a14331990 at hotmail dot com 2010-05-15 13:24 --- (In reply to comment #19) Should not the options -fvisibility-inlines-hidden or -fvisibility=hidden fix this problem? Option found on http://gcc.gnu.org/wiki/Visibility. Note: The MinGW GCC 4.5.0-1 does not make

[Bug target/44139] Exporting emutls symbols from a DLL broken on w32 targets

2010-05-15 Thread davek at gcc dot gnu dot org
--- Comment #9 from davek at gcc dot gnu dot org 2010-05-15 13:48 --- FTR: Patch posted at http://sourceware.org/ml/binutils/2010-05/msg00171.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44139

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread hubicka at ucw dot cz
--- Comment #11 from hubicka at ucw dot cz 2010-05-15 13:48 --- Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. I'd rather go with the DECL_PRESERVE_P hack for now. Problem with this is that emultls is still broken with LTO. As soon as we merge

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread hubicka at ucw dot cz
--- Comment #12 from hubicka at ucw dot cz 2010-05-15 13:49 --- Subject: Re: [4.6 Regression] emutls is broken under a range of circumstances. I guess, otherwise, we have to intercept every circumstance where a __thread var might be used .. and interpose the exchange. Hmm,

[Bug fortran/43969] [OOP] ALLOCATED() with polymorphic variables

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-15 13:52 --- Subject: Bug 43969 Author: janus Date: Sat May 15 13:52:33 2010 New Revision: 159431 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159431 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/43207] [OOP] ICE for class pointer = null() initialization

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 13:52 --- Subject: Bug 43207 Author: janus Date: Sat May 15 13:52:33 2010 New Revision: 159431 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159431 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug middle-end/44150] New: [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread hjl dot tools at gmail dot com
On Linux/ia32, revision 159428 gave: FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O2 -fwhopr Revision 159421 is OK. -- Summary: [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o Product: gcc

[Bug middle-end/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-05-15 14:00 --- It is caused by revision 159428: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00480.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug fortran/43207] [OOP] invalid pointer assignment = type%parent

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-05-15 14:08 --- r159431 fixes the ICE. Comment #0 is now accepted without an error message. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43969] [OOP] ALLOCATED() with polymorphic arrays

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 14:18 --- r159431 fixes the problems with allocatable scalar class variables in comment #1 and #2, and also the wording of the error message reported in comment #5. However, the ALLOCATED intrinsic still gives a gimplification

[Bug middle-end/44151] New: [4.6 regression] non-const variable in read-only section

2010-05-15 Thread schwab at linux-m68k dot org
Revision 159325 breaks libjava on powerpc. The variable java::lang::Class::class$ is wrongly put in the read-only section. -- Summary: [4.6 regression] non-const variable in read-only section Product: gcc Version: 4.6.0 Status: UNCONFIRMED

[Bug bootstrap/44079] Bootstrap error about elf_getshdrstrndx when configure script does not detect elf_getshdrstrndx

2010-05-15 Thread mikereape at onetel dot com
--- Comment #3 from mikereape at onetel dot com 2010-05-15 15:07 --- Subject: Re: Bootstrap error about elf_getshdrstrndx when configure script does not detect elf_getshdrstrndx On 05/15/2010 03:53 AM, soni dot sandeepb at gmail dot com wrote: --- Comment #2 from soni dot

[Bug other/44038] [4.5 regression] ICE: verify_stmts failed

2010-05-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-15 15:07 --- Fixed on the trunk sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/44038] [4.5 regression] ICE: verify_stmts failed

2010-05-15 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-15 15:07 --- Subject: Bug 44038 Author: rguenth Date: Sat May 15 15:06:47 2010 New Revision: 159434 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159434 Log: 2010-05-15 Richard Guenther rguent...@suse.de PR

[Bug middle-end/44151] [4.6 regression] non-const variable in read-only section

2010-05-15 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-05-15 15:10 --- Should be fixed with r159414. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44150

[Bug lto/44152] New: ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-05-15 Thread howarth at nitro dot med dot uc dot edu
) version 4.6.0 20100515 (experimental) [trunk revision 159301] (x86_64-apple-darwin10.3.0) compiled by GNU C version 4.6.0 20100515 (experimental) [trunk revision 159301], GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min

[Bug lto/44152] ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-05-15 Thread howarth at nitro dot med dot uc dot edu
--- Comment #1 from howarth at nitro dot med dot uc dot edu 2010-05-15 15:21 --- Created an attachment (id=20669) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20669action=view) testcase for xshow.f -O2 -fipa-cp-clone -ftree-vectorize -fno-signed-zeros -fno-trapping-math

[Bug target/44132] [4.6 Regression] emutls is broken under a range of circumstances.

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #13 from iains at gcc dot gnu dot org 2010-05-15 15:40 --- see: http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01119.html for a workaround -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44132

[Bug middle-end/43602] ___emutls_v.__gcov_indirect_call_[counters|callee] undefined on *-*-darwin*

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #21 from iains at gcc dot gnu dot org 2010-05-15 15:40 --- updated: http://gcc.gnu.org/ml/gcc-patches/2010-05/msg01119.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43602

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-05-15 15:45 --- The failure is back at revision 159433, now with: ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebufchar, std::char_traitschar ::xsgetn(char*, long) from .libs/misc-inst.o ld: warning: cannot

[Bug fortran/36928] array temporary for interleaving assignment

2010-05-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2010-05-15 15:55 --- I'm working on this (designing an algorithm so far). It is an interesting problem. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/44152] ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-05-15 16:08 --- AFAICT -fwhole-file is enough to get the ICE: '-O2 -fipa-cp-clone -ftree-vectorize -fno-signed-zeros -fno-trapping-math -fassociative-math -fwhole-file'. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44152

[Bug fortran/43996] ICE in simplification of spread intrinsic

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2010-05-15 16:43 --- AFAICT revision 159366 (fix of pr35779) has the side effect of fixing the ICE reported in comment #0 without patching gcc/fortran/simplify.c as in comment #0. --

[Bug debug/44112] [4.6 regression] Revision 159354 causes Fortran test failures

2010-05-15 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-05-15 16:51 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/44103] [4.6 Regression] New Java test failures

2010-05-15 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-15 16:52 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug fortran/36928] array temporary for interleaving assignment

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-05-15 17:05 --- It is an interesting problem. Should not it be handled by the middle-end, possibly with the help of graphite? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36928

[Bug fortran/36928] array temporary for interleaving assignment

2010-05-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2010-05-15 17:30 --- (In reply to comment #4) It is an interesting problem. Should not it be handled by the middle-end, possibly with the help of graphite? If we can improve dependency analysis in the front end, where we

[Bug fortran/36928] array temporary for interleaving assignment

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2010-05-15 18:01 --- If we can improve dependency analysis in the front end, where we (potentially) have some more information, it should not hurt the middle-end. OTOH, if somebody is already doing work in this direction, it would

[Bug fortran/36928] array temporary for interleaving assignment

2010-05-15 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-05-15 18:13 --- I suggest you give a chat to Richard Guenther who seems quite up on the optimisation aspects of things. If we are creating a temporary in the front end I think that would be the least optimal approach. --

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread howarth at nitro dot med dot uc dot edu
--- Comment #10 from howarth at nitro dot med dot uc dot edu 2010-05-15 18:48 --- Suppressed as by reverting r159371 with... diff -uNr gcc-4.6-20100514/gcc/varpool.c gcc-4.6-20100514.hubicka/gcc/varpool.c --- gcc-4.6-20100514/gcc/varpool.c 2010-05-14 19:37:24.0 -0400 +++

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2010-05-15 19:27 --- (In reply to comment #10) Suppressed as by reverting r159371 with... Confirmed at revision 159435. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146

[Bug libmudflap/32276] [4.3/4.4/4.5/4.6 Regression]: libmudflap.c++/pass41-frag.cxx

2010-05-15 Thread ubizjak at gmail dot com
--- Comment #15 from ubizjak at gmail dot com 2010-05-15 19:43 --- This PR was fixed somewhere between r158731 [1] and r158736 [2]. The only relevant commit in this range is [3, 4]. [1] http://gcc.gnu.org/ml/gcc-testresults/2010-04/msg02458.html [2]

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-05-15 19:53 --- A few comments: (1) adding -flto or -fwhopr solves the linking problem for the polyhedron tests and the reduced one in comment #1. (2) the test in comment #4 is different as it shows up for -fwhole-file and is not

[Bug fortran/44064] [OOP] ICE with file containing two modules and one program

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2010-05-15 20:02 --- Here is a slightly reduced test case: module module_myclass implicit none type :: inner contains procedure :: set end type type :: myclass type(inner) :: slice end type

[Bug lto/44153] New: ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1194

2010-05-15 Thread pluto at agmk dot net
$ LANG=C make clean all LTOFLAGS=-fwhopr rm -f *.o *.s *.ii m g++ -Wall -g0 -O3 -fwhopr a.cpp -c g++ -Wall -g0 -O3 -fwhopr m.cpp -c g++ -Wall -g0 -O3 -fwhopr a.o m.o -o m lto1: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1194 -- Summary: ICE in

[Bug lto/44153] ICE in cgraph_mark_functions_to_output, at cgraphunit.c:1194

2010-05-15 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2010-05-15 20:04 --- Created an attachment (id=20670) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20670action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44153

[Bug fortran/44154] New: initialization problem with allocatable scalars

2010-05-15 Thread janus at gcc dot gnu dot org
Reported by Steve Kargl: FAIL: gfortran.dg/class_19.f03 -O0 execution test Reduced/modified test case: implicit none type foo integer, allocatable :: int(:) end type type(foo),allocatable :: try allocate(try) end This gives (with 4.5 and trunk): Fortran runtime error:

[Bug c++/44148] C++ genericization/gimplification may clobber templare arguments

2010-05-15 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-05-15 20:24 --- Subject: Bug 44148 Author: jakub Date: Sat May 15 20:23:59 2010 New Revision: 159443 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159443 Log: PR c++/44148 * pt.c (tsubst): Unshare template

[Bug c++/44148] C++ genericization/gimplification may clobber templare arguments

2010-05-15 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-15 20:29 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug middle-end/44151] [4.6 regression] non-const variable in read-only section

2010-05-15 Thread schwab at linux-m68k dot org
--- Comment #2 from schwab at linux-m68k dot org 2010-05-15 20:35 --- *** This bug has been marked as a duplicate of 44103 *** -- schwab at linux-m68k dot org changed: What|Removed |Added

[Bug middle-end/44103] [4.6 Regression] New Java test failures

2010-05-15 Thread schwab at linux-m68k dot org
--- Comment #4 from schwab at linux-m68k dot org 2010-05-15 20:35 --- *** Bug 44151 has been marked as a duplicate of this bug. *** -- schwab at linux-m68k dot org changed: What|Removed |Added

[Bug fortran/44154] initialization problem with allocatable scalars

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2010-05-15 20:43 --- Here is the fix: Index: gcc/fortran/trans-decl.c === --- gcc/fortran/trans-decl.c(revision 159433) +++ gcc/fortran/trans-decl.c(working copy) @@

[Bug fortran/43996] ICE in simplification of spread intrinsic

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-05-15 21:21 --- (In reply to comment #13) AFAICT revision 159366 (fix of pr35779) has the side effect of fixing the ICE reported in comment #0 without patching gcc/fortran/simplify.c as in comment comment #0. No longer true at

[Bug fortran/44154] initialization problem with allocatable scalars

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-05-15 21:24 --- This PR looks related to pr42647. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44154

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-05-15 21:25 --- See also pr44154. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42647

[Bug middle-end/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #12 from dominiq at lps dot ens dot fr 2010-05-15 21:50 --- I have looked to my logs and the warnings ld: warning: cannot export hidden symbol std::basic_stringbufwchar_t, std::char_traitswchar_t, std::allocatorwchar_t ::~basic_stringbuf() from .libs/complex_io.o ... are

[Bug fortran/44154] initialization problem with allocatable scalars

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2010-05-15 22:03 --- Subject: Bug 44154 Author: janus Date: Sat May 15 22:03:09 2010 New Revision: 159445 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159445 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-15 22:03 --- Subject: Bug 42647 Author: janus Date: Sat May 15 22:03:09 2010 New Revision: 159445 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159445 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/44154] initialization problem with allocatable scalars

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #4 from janus at gcc dot gnu dot org 2010-05-15 22:05 --- (In reply to comment #2) This PR looks related to pr42647. Thanks for the remark, Dominique. I think they're pretty much identical. The commit (r159445) includes PR42647 comment #2/#3 as a test case. -- janus at

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 22:16 --- r159445 should fix all the initialization trouble. Comment #2/#3 has been included as a test case. For the automatic deallocation there is be a problem remaining: In comment #0, a itself is now automatically

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-05-15 22:29 --- (In reply to comment #7) For the automatic deallocation there is be a problem remaining: In comment #0, a itself is now automatically deallocated, but not a%d any more. This is fixed by this patchlet (which is

[Bug lto/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2010-05-15 22:49 --- OK, here's what's going wrong: The LTO design is such that EH is only enabled if we encounter a function with an EH personality. With -fwhopr we process one translation unit at a time, so when we look at

[Bug lto/44150] [4.6 regression] g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o

2010-05-15 Thread steven at gcc dot gnu dot org
--- Comment #3 from steven at gcc dot gnu dot org 2010-05-15 23:04 --- Why is flag_exceptions not just streamed out/in with other options? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44150

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #13 from iains at gcc dot gnu dot org 2010-05-16 00:24 --- (In reply to comment #12) ld: codegen problem, can't use rel32 to external symbol ___emutls_v._ZZN12_GLOBAL__N_110get_globalEvE6global in ___cxa_get_globals_fast from

[Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10

2010-05-15 Thread iains at gcc dot gnu dot org
--- Comment #14 from iains at gcc dot gnu dot org 2010-05-16 00:56 --- in the compilation of eh_globals.cc: the i686-apple-darwin9 compiler does *not* produce any emutls refs (at m32 or m64) - but rather all the thread stuff is handled via pthread interfaces. --

[Bug fortran/43986] [OOP] gfortran.dg/dynamic_dispatch_4.f03 doesn't work on Linux/ia64

2010-05-15 Thread wilson at gcc dot gnu dot org
--- Comment #4 from wilson at gcc dot gnu dot org 2010-05-16 02:07 --- The testcase fails with -O2 -funroll-loops. It works with -O2. The problem occurs in main at line 89, which is the second doit call. We get a segfault when dereferencing a null pointer. The code is wrong because

[Bug fortran/44155] New: gfortran segmentation fault using iso_c_binding

2010-05-15 Thread whalen at cray dot com
-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=gcc/dev/20100515/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../../src/gcc-dev/configure --prefix=gcc/dev/20100515/ --with-gmp=gmp/4.3.2/ --with-mpfr=mpfr/2.4.2/ --with-mpc=mpc/0.8.1

[Bug target/44129] Building linux kernel with gcc-4.5.0 and CONFIG_CC_OPTIMIZE_FOR_SIZE segfaults

2010-05-15 Thread bdubbs at linuxfromscratch dot org
--- Comment #8 from bdubbs at linuxfromscratch dot org 2010-05-16 05:55 --- Created an attachment (id=20671) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20671action=view) Linux kernel configuration that fails with gcc-4.5 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129