[Bug fortran/43919] New: Coarrays: ICE in simplify_cobound

2010-04-28 Thread burnus at gcc dot gnu dot org
The following program gives an ICE: f951: internal compiler error: in simplify_cobound, at fortran/simplify.c:2969 integer :: a[*] print *,a print *,lcobound(a), ucobound(a) end Patch (untested): Index: gcc/fortran/simplify.c === -

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread suresh dot gumpula at amd dot com
--- Comment #1 from suresh dot gumpula at amd dot com 2010-04-28 07:56 --- Created an attachment (id=20503) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20503&action=view) patch for target i586-pc-msdosdjgpp for undefined error constants -- http://gcc.gnu.org/bugzilla/show_

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread suresh dot gumpula at amd dot com
--- Comment #2 from suresh dot gumpula at amd dot com 2010-04-28 08:00 --- (In reply to comment #1) > Created an attachment (id=20503) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20503&action=view) [edit] > patch for target i586-pc-msdosdjgpp for undefined error constants I c

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread suresh dot gumpula at amd dot com
--- Comment #3 from suresh dot gumpula at amd dot com 2010-04-28 08:02 --- (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=20503) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20503&action=view) [edit] > > patch for target i586-pc-msdosdjgpp for

[Bug target/43920] New: A lot of instructions for condition (start == -1 || end == -1)

2010-04-28 Thread carrot at google dot com
Compile the attached source code with options -march=armv7-a -mthumb -Os, gcc generates following instructions for "if (start == -1 || end == -1)": ... cmp r4, #-1 ite ne movne r3, #0 moveq r3, #1 cmp r0, #-1 it eq

[Bug target/43920] A lot of instructions for condition (start == -1 || end == -1)

2010-04-28 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-04-28 08:18 --- Created an attachment (id=20504) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20504&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43920

[Bug fortran/43919] Coarrays: ICE in simplify_cobound

2010-04-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-28 08:30 --- Mine. Patch works. -- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug c++/9335] [4.3/4.4/4.5/4.6 regression] repeated diagnostic when maximum template depth is exceeded

2010-04-28 Thread manu at gcc dot gnu dot org
--- Comment #26 from manu at gcc dot gnu dot org 2010-04-28 08:34 --- Subject: Bug 9335 Author: manu Date: Wed Apr 28 08:34:01 2010 New Revision: 158823 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158823 Log: 2010-04-28 Manuel López-Ibáñez PR c++/9335 cp/

[Bug c++/9335] [4.3/4.4/4.5/4.6 regression] repeated diagnostic when maximum template depth is exceeded

2010-04-28 Thread manu at gcc dot gnu dot org
--- Comment #27 from manu at gcc dot gnu dot org 2010-04-28 08:38 --- The current output is: recurse2.C:5:38: error: template instantiation depth exceeds maximum of 1024 (use -ftemplate-depth= to increase the maximum) instantiating ‘struct X<-0x00018>’ recurse2.C:5:38: rec

[Bug fortran/40117] [OOP][F2008] Type-bound procedure: allow list after PROCEDURE

2010-04-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-28 08:42 --- Fortran 2008 FDIS (ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1826.pdf) has: R448 type-bound-procedure-stmt is PROCEDURE [ [ , binding-attr -list ] :: ] type-bound-proc-decl -list or PROCEDURE (interface-na

[Bug c++/43113] too long diagnostics in some cases of recursive template instantiation

2010-04-28 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-04-28 08:46 --- The output is now: $ cc1plus pr43113.C -ftemplate-depth=10 pr43113.C:7:11: error: template instantiation depth exceeds maximum of 10 (use -ftemplate-depth= to increase the maximum) instantiating ‘struct A::S>::S>::S>:

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2010-04-28 08:50 --- > Two questions - are you sure you didn't reverse the _w and _f files (i.e. > maybe > _f is the working version and _w the failing one)? I have looked at how I have generated the archive and I don't think so. I'l

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #20 from dominiq at lps dot ens dot fr 2010-04-28 08:54 --- I have forgotten to ask my question! Could it be a similar issue to that you fixed for pr42220? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43858

[Bug fortran/43412] [OOP] BT_CLASS does not does not set array spec

2010-04-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-04-28 08:57 --- Created an attachment (id=20505) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20505&action=view) coarray_13.f90 test case Depending on this fix are constraint checking for coarrays, cf. attached test case.

[Bug target/43920] A lot of instructions for condition (start == -1 || end == -1)

2010-04-28 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2010-04-28 09:01 --- The expected sequence should be: ... cmp r4, #-1 beq .L4 cmp r0, #-1 beq .L4 ... When changes the options to -march=armv5te -mthumb -Os, gcc can generate the expected codes. Th

[Bug libstdc++/43917] [C++0x] std::swap not working

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-28 09:07 --- *** Bug 43916 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43917

[Bug libstdc++/43916] std::swap not working with -std=c++0x

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-04-28 09:07 --- *** This bug has been marked as a duplicate of 43917 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfi

[Bug libstdc++/43917] [C++0x] std::swap not working

2010-04-28 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-04-28 09:09 --- Likely, something is broken in your installation, this problem cannot be reproduced in a sane installation of 4.5.0 or mainline. Note that the std::swap overload for std::pair takes *lvalue* references. --

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-04-28 09:12 --- Dave, do you know this target? Is it a supported one? Thanks... -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug libstdc++/43785] [C++0x] std::make_pair vs explicit template arguments

2010-04-28 Thread paolo dot carlini at oracle dot com
--- Comment #19 from paolo dot carlini at oracle dot com 2010-04-28 09:14 --- Closing as invalid, then. -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'

2010-04-28 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.4.3 4.5.0 Summary|[4.4.3/4.5.0 regression] g++|[4.4/4.5

[Bug bootstrap/42347] [4.5/4.6 Regression] sched-deps.c:3840:1: internal compiler error: in fixup_reorder_chain, at cfglayout.c:796

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2010-04-28 09:16 --- May be related to PR43740 which also sees cc1 miscompilation but even with release checking. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42347

[Bug c++/43779] Parts of message not available for translation

2010-04-28 Thread pzhao at gcc dot gnu dot org
-- pzhao at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pzhao at gcc dot gnu dot org |dot org

[Bug c++/43911] [4.4/4.5 Regression] g++ can't compile any even trivial c++ source: undefined reference to `_Unwind_GetIPInfo'

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2010-04-28 09:23 --- _Unwind_GetIPInfo is exported since 4.2.0, the symbol should be > objdump -T /lib/libgcc_s.so.1 | grep GetIPI 00013f30 gDF .text 0016 GCC_4.2.0 _Unwind_GetIPInfo what binutils version are you using (w

[Bug bootstrap/43921] New: Bootstrap comparison fails when using -march=atom

2010-04-28 Thread nisselarsson at home dot se
When I try to build gcc-4.5 with gcc-4.5 using -march=atom it fails when comparing stage2 and 3: Comparing stages 2 and 3 warning: gcc/cc1plus-checksum.o differs warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! gcc/graphite-interchange.o differs gcc/dwarf2out.o differs gcc/tree-c

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43918

[Bug target/43920] Choosing conditional execution over conditional branches for code size in some cases.

2010-04-28 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2010-04-28 09:55 --- Confirmed though it isn't as simple as an "expand" time problem alone. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43862] GCC doesn't use 16-bit armv5te multiplies when possible

2010-04-28 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2010-04-28 10:06 --- * I don't see why smulbb, smultb, smulbt, smultt shouldn't be generated for their respective cases. So, yes that's correct. * smulwy is not supported in the backend, so that's a feature enhancement * smlawy is again

[Bug rtl-optimization/43908] [4.5 only] Unnecessary conditionals

2010-04-28 Thread ramana at gcc dot gnu dot org
--- Comment #1 from ramana at gcc dot gnu dot org 2010-04-28 10:10 --- On trunk I don't see the movne / moveq problem but the extra mov r3, #1 could be removed. (I think one of Bernd's recent fixes to ifcvt.c fixed these issues). tst r1, #1 mov r3, #1

[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-28 10:28 --- Subject: Bug 43880 Author: rguenth Date: Wed Apr 28 10:28:24 2010 New Revision: 158824 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158824 Log: 2010-04-28 Richard Guenther PR c++/43880

[Bug middle-end/43880] [4.5 Regression] internal compiler error: in make_decl_rtl

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-04-28 10:28 --- Fixed for 4.6 sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug libgomp/39098] FAIL: libgomp.fortran/reduction3.f90

2010-04-28 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2010-04-28 10:38 --- (In reply to comment #3) > Subject: Re: FAIL: libgomp.fortran/reduction3.f90 > > > Does it work without -fopenmp? > > Yes. > > Dave Does this still fail ? Recent testresults don't show this failure in libgomp.

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-04-28 11:15 --- I think this error is correct: ./boost/thread/pthread/thread_heap_alloc.hpp: In function 'T* boost::detail::heap_new(A1&&) [with T = boost::detail::thread_data, A1 = void (*&)()]': ./boost/thread/detail/thread.hpp:130:

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2010-04-28 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #7 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-28 11:16 --- Subject: Re: lto-elf.c fails to compile on Solaris > --- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-23 14:34 > --- > What's the status of this bug? I haven't checked anything before

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #6 from redi at gcc dot gnu dot org 2010-04-28 11:17 --- In this diagnostic: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread' it might be clearer if the latter type was given as 'boost::thread&' so that it's clear it is a

[Bug c++/43922] New: internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp

2010-04-28 Thread stephan dot aiche at fu-berlin dot de
After some recent changes to our code we observed that g++ fails with ICE when compiled with -fopenmp. The error occurs only with the 4.3.4 compiler, 4.4.1 works. g++-4.3 -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.4-5ubuntu1

[Bug c++/43922] internal compiler error: in copy_body_r, at tree-inline.c:748 when compiling with -fopenmp

2010-04-28 Thread stephan dot aiche at fu-berlin dot de
--- Comment #1 from stephan dot aiche at fu-berlin dot de 2010-04-28 11:23 --- The preprocessed file is to big for bugzille but it can be downloaded here http://page.mi.fu-berlin.de/aiche/FeatureFinder.ii -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43922

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-04-28 11:28 --- DJ Delorie is the port maintainer. The patch needs (at least) the right copyright dates -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43918

[Bug libstdc++/43918] gcc 4.5.0 is failing for i586-pc-msdosdjgpp

2010-04-28 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-04-28 11:35 --- Ah, thanks. Let's add DJ in CC, otherwise, as far as I'm concerned, the patch could go also in 4_5-branch (dates fixed of course). -- paolo dot carlini at oracle dot com changed: What|Remove

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #7 from redi at gcc dot gnu dot org 2010-04-28 11:40 --- N.B. I stopped testing boost trunk against gcc trunk ages ago and I don't think anyone does it these days, which means that boost releases often don't work with GCC versions that come out after the release, especially i

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #8 from redi at gcc dot gnu dot org 2010-04-28 11:46 --- (In reply to comment #6) > In this diagnostic: > > invalid initialization of reference of type 'boost::thread&&' from expression > of type 'boost::thread' > > it might be clearer if the latter type was given as 'boost

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-04-28 11:51 --- Subject: Bug 43879 Author: rguenth Date: Wed Apr 28 11:51:31 2010 New Revision: 158825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158825 Log: 2010-04-28 Richard Guenther PR tree-optimization/

[Bug c++/43909] trunk rev158780. compile with --enable-build-with-cxx fails in get_function_part_constraint

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-28 11:51 --- Subject: Bug 43909 Author: rguenth Date: Wed Apr 28 11:51:31 2010 New Revision: 158825 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158825 Log: 2010-04-28 Richard Guenther PR tree-optimization/

[Bug c++/43909] trunk rev158780. compile with --enable-build-with-cxx fails in get_function_part_constraint

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-28 11:52 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-28 11:55 --- I'm not sure, let's as honza. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43729] Mach-O LTO support needed for darwin

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2010-04-28 12:20 --- > proof-of-concept patch Great!-) Thanks a lot. Besides the 17 C failures, for all languages but ADA, I also see FAIL: g++.dg/lto/20100302 cp_lto_20100302_0.o-cp_lto_20100302_1.o link and FAIL: gcc.c-torture/ex

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-04-28 12:53 --- Real miscompiles prevailing: === libstdc++ tests === Running target unix/-fipa-pta/ FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test FAIL: 23_containers/bitset/cons/1.cc execu

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2010-04-28 Thread hubicka at gcc dot gnu dot org
--- Comment #9 from hubicka at gcc dot gnu dot org 2010-04-28 13:01 --- Hmm, I am not at all sure what problem I should have with this? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40702

[Bug target/43729] Mach-O LTO support needed for darwin

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-04-28 13:04 --- Note also that the polyhedron test aermod.f90 fails with -flto or -whopr at any level of optimization with: ld: in /var/tmp//ccDGk6QZ.o, in section __TEXT,__text reloc 17: local relocation for address 0x000E58F4 in

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-28 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-04-28 13:10 --- Subject: Bug 43846 Author: jamborm Date: Wed Apr 28 13:09:56 2010 New Revision: 158826 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158826 Log: 2010-04-28 Martin Jambor PR tree-optimization/438

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-28 Thread jamborm at gcc dot gnu dot org
--- Comment #7 from jamborm at gcc dot gnu dot org 2010-04-28 13:15 --- This is now fixed on both the trunk and the 4.5 branch. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added -

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #21 from dominiq at lps dot ens dot fr 2010-04-28 13:19 --- > Two questions - are you sure you didn't reverse the _w and _f files (i.e. > maybe > _f is the working version and _w the failing one)? I have double checked and I confirm that the *_f.* files are coming from th

[Bug lto/41376] collect2 does not handle static libraries

2010-04-28 Thread davek at gcc dot gnu dot org
--- Comment #2 from davek at gcc dot gnu dot org 2010-04-28 13:38 --- Quoting RG from the gcc list: "[ ... ] Or you fix collect2 to do processing of archives and hand lto1 the required information (it expects archive components with LTO bytecode like archiv...@offset with offset being t

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-04-28 Thread tbptbp at gmail dot com
--- Comment #8 from tbptbp at gmail dot com 2010-04-28 13:43 --- Allow me to extend to you my most profuse praises and blessing; may all the woman in your vicinity fall pregnant and your male progeny be granted abounding chest hair. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43

[Bug target/43921] Bootstrap comparison fails when using -march=atom

2010-04-28 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added CC|hjl at gcc dot gnu dot org |hjl dot tools at gmail dot |

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread bernds at codesourcery dot com
--- Comment #22 from bernds at codesourcery dot com 2010-04-28 13:59 --- (In reply to comment #20) > I have forgotten to ask my question! Could it be a similar issue to that you > fixed for pr42220? No, that looks completely unrelated at first glance. -- http://gcc.gnu.org/bugzill

[Bug tree-optimization/43924] New: [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread dominiq at lps dot ens dot fr
Since revision 158788 (see http://gcc.gnu.org/ml/gcc-regression/2010-04/msg00294.html) gfortran.dg/array_constructor_11.f90 fails with '-O3 -g' with: /opt/gcc/_clean/gcc/testsuite/gfortran.dg/array_constructor_11.f90:6:0: internal compiler error: in output_die, at dwarf2out.c:10649 --

[Bug lto/40702] lto-elf.c fails to compile on Solaris

2010-04-28 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #10 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-28 14:40 --- Subject: Re: lto-elf.c fails to compile on Solaris > --- Comment #9 from hubicka at gcc dot gnu dot org 2010-04-28 13:01 > --- > Hmm, I am not at all sure what problem I should have with this?

[Bug fortran/42958] Weird temporary array allocation

2010-04-28 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2010-04-28 14:52 --- Updating the status on this bugreport. I am working on middle-end support for hoisting/sinking malloc/free pairs out of loops (in case the size is loop invariant). The Fortran FE makes this somewhat difficult. F

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-28 Thread zsojka at seznam dot cz
--- Comment #7 from zsojka at seznam dot cz 2010-04-28 15:09 --- Created an attachment (id=20507) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20507&action=view) first part of reduced testcase second part to follow -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879

[Bug tree-optimization/43879] -fipa-pta causes various miscompilations

2010-04-28 Thread zsojka at seznam dot cz
--- Comment #8 from zsojka at seznam dot cz 2010-04-28 15:12 --- Created an attachment (id=20508) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20508&action=view) second part of reduced testcase These testcases demonstrate what happens in cfgrtl.c, why is cfg_layout_merge_blocks m

[Bug fortran/42958] Weird temporary array allocation

2010-04-28 Thread amonakov at gcc dot gnu dot org
--- Comment #19 from amonakov at gcc dot gnu dot org 2010-04-28 15:15 --- (In reply to comment #18) > 3) for the same reason you can also drop the + 1 in computing the allocation > size which is currently (ubound - lbound + 1) * 4 Sorry, but isn't +1 needed because bounds are inclusiv

[Bug fortran/42958] Weird temporary array allocation

2010-04-28 Thread jv244 at cam dot ac dot uk
--- Comment #20 from jv244 at cam dot ac dot uk 2010-04-28 15:20 --- (In reply to comment #18) > > If that's all acceptable I will work on this soon. > FYI, this would fix PR38318 and PR21046 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42958

[Bug fortran/42958] Weird temporary array allocation

2010-04-28 Thread jb at gcc dot gnu dot org
--- Comment #21 from jb at gcc dot gnu dot org 2010-04-28 15:43 --- (In reply to comment #19) > (In reply to comment #18) > > 3) for the same reason you can also drop the + 1 in computing the > > allocation > > size which is currently (ubound - lbound + 1) * 4 > > Sorry, but isn't +1

[Bug middle-end/14192] Restrict pointers don't help

2010-04-28 Thread alexey dot salmin at gmail dot com
--- Comment #13 from alexey dot salmin at gmail dot com 2010-04-28 15:53 --- Sorry, but I still don't get it :( Why exactly we can't remove the second load of "*b"? void f(int *a, const int *restrict b) { *a++ = *b + 1; *a++ = *b + 1; } -- http://gcc.gnu.org/bugzil

[Bug target/22224] Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-04-28 16:24 --- Subject: Bug 4 Author: ro Date: Wed Apr 28 16:24:28 2010 New Revision: 158831 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158831 Log: PR target/4 * config/alpha/osf5.h (ASM_OUTPUT_LOCAL

[Bug target/22224] Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #4 from ro at gcc dot gnu dot org 2010-04-28 16:26 --- Subject: Bug 4 Author: ro Date: Wed Apr 28 16:26:24 2010 New Revision: 158832 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158832 Log: PR target/4 * config/alpha/osf.h (ASM_OUTPUT_LOCAL)

[Bug target/22224] Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #5 from ro at gcc dot gnu dot org 2010-04-28 16:28 --- Fixed for 4.5.1, 4.6.0. -- ro at gcc dot gnu dot org changed: What|Removed |Added Status|AS

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread howarth at nitro dot med dot uc dot edu
--- Comment #23 from howarth at nitro dot med dot uc dot edu 2010-04-28 16:50 --- Dominique, Are you saying you regression hunted and this was triggered by... Author: bernds Date: Thu Apr 22 11:47:52 2010 New Revision: 158643 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-04-28 17:07 --- > Are you saying you regression hunted and this was triggered by... > Author: bernds > Date: Thu Apr 22 11:47:52 2010 > New Revision: 158643 No. If you read the thread, it was due to revision 158639 (see comment #6)

[Bug testsuite/43925] New: Plugin tests unresolved on IRIX 6.5: libintl.h: No such file or directory

2010-04-28 Thread ro at gcc dot gnu dot org
I've just noticed that all plugin tests are UNRESOLVED on IRIX 6.5, with the following error: UNRESOLVED: attribute_plugin.c compilation, -I. -I/vol/gcc/src/hg/trunk/local/g cc/testsuite -I/vol/gcc/src/hg/trunk/local/gcc/testsuite/../../gcc -I/vol/gcc/ob j/regression/trunk/6.5-gcc/build/gcc/testsu

[Bug libstdc++/43917] [C++0x] std::swap not working

2010-04-28 Thread navin dot kumar at gmail dot com
--- Comment #3 from navin dot kumar at gmail dot com 2010-04-28 17:43 --- Are you compiling with -std=c++0x or without? It compiles fine without the -std=c++0x flag. The issue is when it is supplied. Look at line 134 of include/c++/4.5.0/bits/stl_pair.h; inside a #ifdef __GXX_EXPERIM

[Bug bootstrap/43870] ICE in gcc/config/soft-fp/divtf3.c

2010-04-28 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-28 17:51 --- Subject: Re: ICE in gcc/config/soft-fp/divtf3.c "gcc-tgc at jupiterrise dot com" writes: > Program received signal SIGSEGV, Segmentation fault. > 0x084bd3c5 in df_ref_compare (r1=0xa3278a4, r2=0xa3278ac)

[Bug middle-end/39883] preprocessor fails with myassertion

2010-04-28 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-28 18:00 --- Subject: Re: preprocessor fails with myassertion > --- Comment #1 from steven at gcc dot gnu dot org 2010-04-23 22:43 > --- > This one appears to have fallen through the cracks. Reported exactly

[Bug bootstrap/43733] bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #22 from ro at gcc dot gnu dot org 2010-04-28 18:13 --- (In reply to comment #20) > I don't think it should be closed: the installation docs for Solaris x86 > recommend to use the default binutils 2.15 and say it works fine, but that's > not the case if you use --with-arch=c

[Bug target/43426] dlsym: invalid version 5 (max 0)

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2010-04-28 18:19 --- (In reply to comment #0) > gcc -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE > -mtune=niagara -mcpu=niagara -m64 -m64 -m64 -m64 -o .libs/sqlite3 shell.o > -L/usr/lib/sparcv9 ./.libs/libsqlite3.so -lre

[Bug c++/43915] Compiler flags error: error: invalid initialization of reference of type 'boost::thread&&' from expression of type 'boost::thread'

2010-04-28 Thread mlrus at mac dot com
--- Comment #9 from mlrus at mac dot com 2010-04-28 18:20 --- Appended status to booost bug 3944 http://svn.boost.org/trac/boost/ticket/3844 -- mlrus at mac dot com changed: What|Removed |Added -

[Bug c++/31512] function template with member reference compile failure

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2010-04-28 18:23 --- all three forms compile ok with 4.4.3 or 4.6.0 -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/43921] Bootstrap comparison fails when using -march=atom

2010-04-28 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-04-28 18:24 --- A patch is posed at http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01755.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug target/43324] core dump on throw

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2010-04-28 18:35 --- I couldn't reproduce this so far, neither on the 4.4 branch nor on mainline. OTOH, I don't have snv_111b available here, but know that there are EH issues on Solaris 11/x86. I've posted a patch which works for snv_130/13

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #12 from ro at gcc dot gnu dot org 2010-04-28 18:36 --- Any progress on this? The bug is open for almost 2 months now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43259

[Bug bootstrap/43733] bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #23 from redi at gcc dot gnu dot org 2010-04-28 18:38 --- core2 works fine for bi-arch linux builds, but I'll try your suggestion on Solaris asap I assume it will work, but 64bit code will not use the core2 instructions, which might be suboptimal (I want to use the cpu to th

[Bug libstdc++/43917] [C++0x] std::swap not working

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-28 18:40 --- No, that's not what pair::swap looks like in 4.5.0, your installation is broken. This is what I have in 4.5.0 void swap(pair& __p) { using std::swap; swap(first, __p.first); sw

[Bug target/42753] _Complex_I is reported as undeclared. Code builds with Sun compiler.

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #14 from ro at gcc dot gnu dot org 2010-04-28 18:45 --- The bug was fixed for 4.5 by this patch: PATCH: Fix IRIX 6.5/Solaris 2 for GCC (PR libfortran/41169) http://gcc.gnu.org/ml/gcc-patches/2009-09/msg00114.html with a subsequent fix by Ralf Wildenhues. The 4.4 branc

[Bug middle-end/39883] preprocessor fails with myassertion

2010-04-28 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2010-04-28 18:46 --- > I'll try to go through the Solaris bugs in the near future, but have > concentrated on getting the 4.5 release in shape until now. I totally missed it as well... > Maybe Eric has a sparcv9 compiler around and

[Bug c++/31584] ICE on probably invalid code

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-04-28 18:47 --- compiles without error using 4.4.3 or 4.6.0 -- redi at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/9335] [4.3/4.4/4.5/4.6 regression] repeated diagnostic when maximum template depth is exceeded

2010-04-28 Thread jason at gcc dot gnu dot org
--- Comment #28 from jason at gcc dot gnu dot org 2010-04-28 18:49 --- Agreed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug bootstrap/43926] New: missing crti.o file during build

2010-04-28 Thread jjlucido at gmail dot com
I am trying to install gcc version 4.5.0. I have untarred and placed the latest versions of gmp (5.0.1). mpc (0.8.1) and mpfr (2.4.2) into my source directory, and I am building in a separate directory. My system is SuSE Linux version 2.6.5-7.244-smp and I currently have gcc v3.3.3 installed curre

[Bug bootstrap/43926] missing crti.o file during build

2010-04-28 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-04-28 18:55 --- >32 I think you don't have the 32bit userland fully installed. Either use --disable-multilib or install the 32bit userland. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/43259] ext/profile/all.cc fails on Solaris

2010-04-28 Thread rus at google dot com
--- Comment #13 from rus at google dot com 2010-04-28 19:06 --- Subject: Re: ext/profile/all.cc fails on Solaris On Wed, Apr 28, 2010 at 11:36 AM, ro at gcc dot gnu dot org wrote: > > > --- Comment #12 from ro at gcc dot gnu dot org  2010-04-28 18:36 --- > Any progress on this

[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2010-04-28 19:08 --- The regression is also seen on i686-*-freebsd. The regression dissappears if r158788 is reverted. -- kargl at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/42278] [4.4, 4.5, 4.6 regression] incorrect dwarf data gcc-4.4.2

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-28 19:08 --- Right: this is both a regression from 3.4 and in violation of the DWARF-3 spec, p. 63, 5.1, where DW_AT_name is a required field for DW_TAG_base_type. -- ro at gcc dot gnu dot org changed: What|Removed

[Bug c++/43890] [4.6 Regression] invalid uninitialized reference in class

2010-04-28 Thread fabien dot chene at gmail dot com
--- Comment #3 from fabien dot chene at gmail dot com 2010-04-28 19:14 --- patch here: http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01759.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43890

[Bug target/40483] gcc 4.x needs to utilize better COMDAT mechanism under Solaris

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-28 19:15 --- One part of this PR (supporting COMDAT group on Solaris 2 with GNU as) is implemented by this patch: [build, doc] Support COMDAT group with recent Sun ld http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01482.html which

[Bug c++/31902] "Internal compiler error while tryint to compile cinelerra/mjpegtools-1.6.3-rc1/y4mdenoise/MotionSearcher.hh:2444" can i do something simple to fix that ?

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-28 19:20 --- *** This bug has been marked as a duplicate of 30797 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30797] Failure to build Cinelerra 2.1

2010-04-28 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-04-28 19:20 --- *** Bug 31902 has been marked as a duplicate of this bug. *** -- redi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug driver/40227] Solaris standard link libraries missing /lib

2010-04-28 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2010-04-28 19:21 --- Ok, although we should only do this on Solaris 10 and up. At the moment, only very few specialized libraries are affected since compatibility links exist in /usr/lib. -- ro at gcc dot gnu dot org changed:

[Bug tree-optimization/43924] [4.6 Regression] FAIL: gfortran.dg/array_constructor_11.f90 -O3 -g (internal compiler error)

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-04-28 19:21 --- I did not filled the triplets since I see the ICE on *-darwin-* and *-linux-* as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43924

[Bug bootstrap/43858] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: cannot compute suffix of object files

2010-04-28 Thread dominiq at lps dot ens dot fr
--- Comment #25 from dominiq at lps dot ens dot fr 2010-04-28 19:27 --- The following change applied on top of revision 158827 is enough to reach stage 3 (and probably to bootstrap -answer tomorrow): --- ../_gcc_clean/gcc/ifcvt.c 2010-04-22 13:23:31.0 +0200 +++ ../gcc-4.6-work

  1   2   >