[Bug c++/41776] New: Segmentation fault printf(NULL\n)

2009-10-20 Thread new_men at km dot ru
Segmentation fault on gcc 4.3.4 On gcc 3.4.6 not affected gcc chk.c g++ chk.cpp === chk.c or chk.cpp #include int main() { char *mystr; mystr=NULL; printf("%s\n", mystr); //fault // printf("%s", mystr); //not fault // printf("%s\n%s\n", mystr, mys

[Bug c++/41775] ice in rewrite_stmt, at tree-into-ssa.c:1302

2009-10-20 Thread regehr at cs dot utah dot edu
--- Comment #1 from regehr at cs dot utah dot edu 2009-10-21 04:13 --- Created an attachment (id=18848) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18848&action=view) failure inducing input -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41775

[Bug c++/41775] New: ice in rewrite_stmt, at tree-into-ssa.c:1302

2009-10-20 Thread regehr at cs dot utah dot edu
ome/regehr/z/tmp/gcc-r153044-install/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: ../configure --enable-lto --prefix=/home/regehr/z/tmp/gcc-r153044-install --program-prefix=r153044- --enable-languages=c,c++ Thread model: posix gcc version 4.5.

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-10-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2009-10-21 03:04 --- With your patch, I am not seeing the double free. But I do get this: 85078576 85078520 85078576 85078576 2 2 ==27755== ==27755== ERROR SU

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails

2009-10-20 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2009-10-21 01:48 --- I would prefer a solution that does not involve linking xgcc and cpp with libgmp since that links in unecessary code and/or yields a runtime penalty for loading the shared library. It's unusual that we've only just no

[Bug debug/41739] [4.5 Regression] Failed to bootstrap on Linux/ia64

2009-10-20 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-10-21 00:52 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c++/41774] New: ice: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757

2009-10-20 Thread regehr at cs dot utah dot edu
Target: i686-pc-linux-gnu Configured with: ../configure --enable-lto --prefix=/home/regehr/z/tmp/gcc-r153044-install --program-prefix=r153044- --enable-languages=c,c++ Thread model: posix gcc version 4.5.0 20091020 (experimental) (GCC) reg...@john-home:~/volatile/tmp208$ cat small.cpp namespa

[Bug testsuite/41700] g++.dg/debug/dwarf2/icf.C

2009-10-20 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2009-10-20 23:12 --- Subject: Re: g++.dg/debug/dwarf2/icf.C > The insn UID is changed when the call_insn is split, so the vtable slot index > can't be found when it's time to build the vcall table. So, it seems this is a midd

[Bug target/41702] FAIL: abi/demangle/abi_text/09.cc execution test

2009-10-20 Thread danglin at gcc dot gnu dot org
--- Comment #4 from danglin at gcc dot gnu dot org 2009-10-20 22:46 --- Subject: Bug 41702 Author: danglin Date: Tue Oct 20 22:46:16 2009 New Revision: 153043 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153043 Log: Backport from mainline: 2009-10-15 John Davi

[Bug target/41702] FAIL: abi/demangle/abi_text/09.cc execution test

2009-10-20 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2009-10-20 22:44 --- Subject: Bug 41702 Author: danglin Date: Tue Oct 20 22:44:08 2009 New Revision: 153042 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153042 Log: Backport from mainline: 2009-10-15 John Davi

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2009-10-20 22:15 --- I meant info about __restrict__ of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41763

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-10-20 22:14 --- Fixed, anyway. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #8 from paolo dot carlini at oracle dot com 2009-10-20 22:14 --- Ok, thanks Jakub. By the way, I was looking for some info about export, beyond C99 and the GCC specifics, and found docs about the IBM compiler saying that in case of pointers to const, it is still safe to use

[Bug libstdc++/41773] [4.5 Regression] Many libstdc++ failures

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-10-20 22:02 --- Done -- paolo dot carlini at oracle dot com changed: What|Removed |Added Status|

[Bug libstdc++/41773] [4.5 Regression] Many libstdc++ failures

2009-10-20 Thread paolo at gcc dot gnu dot org
--- Comment #3 from paolo at gcc dot gnu dot org 2009-10-20 21:54 --- Subject: Bug 41773 Author: paolo Date: Tue Oct 20 21:54:22 2009 New Revision: 153040 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153040 Log: 2009-10-20 Paolo Carlini PR libstdc++/41773 R

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-20 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2009-10-20 21:53 --- Subject: Re: [4.5 Regression] apparent integer wrong code bug > The problem is that we follow SSA edges into loops that may not be executed. It is correct to follow SSA edges in loops that may not execute,

[Bug libstdc++/41773] [4.5 Regression] Many libstdc++ failures

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-10-20 21:48 --- Ok, I'm going to revert it for now, crazy. -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

[Bug fortran/41772] [4.4/4.5 Regression] Wrong code due to TRANSFER of EMPTY array section

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-10-20 21:45 --- Working: 2009-01-16-r143426 Failing: 2009-01-17-r143463 Possibly caused by: r143462 | pault | 2009-01-17 12:32:02 +0100 (Sat, 17 Jan 2009) | 17 lines http://gcc.gnu.org/viewcvs?view=rev&revision=143462 2009-01-17

[Bug libstdc++/41773] [4.5 Regression] Many libstdc++ failures

2009-10-20 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-10-20 21:21 --- Revision 153021 is OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41773

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2009-10-20 21:21 --- Subject: Bug 41763 Author: paolo Date: Tue Oct 20 21:21:11 2009 New Revision: 153039 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153039 Log: 2009-10-20 Paolo Carlini PR libstdc++/41763 *

[Bug fortran/41772] [4.4/4.5 Regression] Wrong code due to TRANSFER of EMPTY array section

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-10-20 21:16 --- Reduced testcase. The problem is - as often - the empty array section. With 4.1, 4.2 and 4.3 it works, while with 4.4 and 4.5 I get a segfault. module m implicit none contains pure function str_vs(vs) result(s)

[Bug libstdc++/41773] New: [4.5 Regression] Many libstdc++ failures

2009-10-20 Thread hjl dot tools at gmail dot com
On Linux/ia32, revision 153024 has many failures: http://gcc.gnu.org/ml/gcc-regression/2009-10/msg00193.html It may be caused by revision 153023: http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg00676.html -- Summary: [4.5 Regression] Many libstdc++ failures Product: gcc

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-10-20 21:15 --- Not compared with other arguments to be precise. It is fine to have void foo (int *__restrict__ p, int *__restrict__ q) { int *r = p + 10; while (p != r) *p++ = *q++; } Although p is compared here, it is compa

[Bug tree-optimization/36646] [4.3/4.4/4.5 Regression] Unnecessary moves generated on loop boundaries

2009-10-20 Thread astrange at ithinksw dot com
--- Comment #7 from astrange at ithinksw dot com 2009-10-20 21:10 --- Tried with SVN today and it's fixed: L6: incb(%ebx) jmp L12 .align 4,0x90 Close if you want; I don't think it's worth finding when this happened. -- http://gcc.gnu.org/bugzilla/sh

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #12 from janus at gcc dot gnu dot org 2009-10-20 20:54 --- Here is a simple patch which cures the segfault in comment #9. However it does not tackle the double-free issue. Index: libgfortran/intrinsics/pack_generic.c =

[Bug fortran/41772] segfault due to wrong code in TRANSFER?

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-20 20:31 --- For input.xml "" is enough. Valgrind shows the following (and some more str_vs / vs_str / str_alloc invalid reads). str_vs and vs_str convert (TRANSFER) a multi-character string into a char(1) array and vice versa.

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #11 from janus at gcc dot gnu dot org 2009-10-20 20:15 --- Ok, I have identified the place in libgfortran where the segfault happens: #0 *_gfortran_pack (ret=0x7fffec3ca650, array=0x7fffec3ca620, mask=0x7fffec3ca440, vector=0x0) at /home/jweil/gcc45/trunk/libgfortran/intrin

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #10 from janus at gcc dot gnu dot org 2009-10-20 20:06 --- I have re-checked the F03 standard to verify that the first argument of PACK can indeed be of arbitrary type: 13.7.89 PACK (ARRAY, MASK [, VECTOR]) Description. Pack an array into an array of rank one under the contr

[Bug fortran/41478] Corrupted memory using PACK for derived-types with allocated components

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2009-10-20 19:56 --- Apart from the double free issue, there might be a more fundamental problem with PACK and arrays of derived types. For me, Tobias' test case from comment #8 segfaults already in the call to _gfortran_pack, and so does

[Bug fortran/41772] segfault

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-20 19:52 --- Created an attachment (id=18846) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18846&action=view) input.xml -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41772

[Bug fortran/41772] New: segfault

2009-10-20 Thread burnus at gcc dot gnu dot org
Non-reduced testcase: wget http://www.uszla.me.uk/FoX/source/FoX-4.0.4.tar.gz tar xfz FoX-4.0.4.tar.gz cd FoX-4.0.4 && ./configure FC=gfortran && make -j4 cat < fox.f90 use FoX_dom implicit none type(Node), pointer :: doc type(DOMConfiguration),pointer :: config config => newDOMConfig() call setP

[Bug bootstrap/41771] Bootstrap with Sun Studio 12.1 fails

2009-10-20 Thread ro at gcc dot gnu dot org
--- Comment #1 from ro at gcc dot gnu dot org 2009-10-20 19:16 --- Created an attachment (id=18845) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18845&action=view) Patch to make inline work with Sun Studio 12.1 cc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41771

[Bug bootstrap/41771] New: Bootstrap with Sun Studio 12.1 fails

2009-10-20 Thread ro at gcc dot gnu dot org
I suppose mainline is affected as well, but I've first got a report about this and tested on GCC 4.4.2. Bootstrapping GCC 4.4.2 on Solaris 11/SPARC and Solaris 10/x86 with Sun Studio 12.1 fails in stage 1 linking xgcc: Undefined first referenced symbol

[Bug middle-end/41770] graphite miscompiles 434.zeusmp of the SPEC 2k6

2009-10-20 Thread spop at gcc dot gnu dot org
-- spop at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last recon

[Bug middle-end/41770] New: graphite miscompiles 434.zeusmp of the SPEC 2k6

2009-10-20 Thread spop at gcc dot gnu dot org
On the "test" data set, (not the "ref" data set) of 434.zeusmp there is a miscompare when using -fgraphite-identity. This failure appeared with my patch to handle reductions: Rewrite reductions out of SSA. 2009-07-28 Sebastian Pop * graphite-sese-to-poly.c (loop_entry_phi_arg): New.

[Bug c++/41769] New: Parameter names not restricted to identifiers

2009-10-20 Thread schaub-johannes at web dot de
GCC compiles and runs this code "correctly": void f(void operator+()) { operator+(); } void g() { } int main() { f(g); } It should reject the parameter name, because "operator+" is not an identifier. -- Summary: Parameter names not restricted to identifiers Product: gcc

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-20 Thread rainer at emrich-ebersheim dot de
--- Comment #16 from rainer at emrich-ebersheim dot de 2009-10-20 18:16 --- Created an attachment (id=18844) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18844&action=view) assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-20 Thread rainer at emrich-ebersheim dot de
--- Comment #15 from rainer at emrich-ebersheim dot de 2009-10-20 18:15 --- Created an attachment (id=18843) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18843&action=view) assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-20 Thread rainer at emrich-ebersheim dot de
--- Comment #14 from rainer at emrich-ebersheim dot de 2009-10-20 18:14 --- Created an attachment (id=18842) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18842&action=view) preproccessed source ipa-sra, no-inline -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-20 Thread rainer at emrich-ebersheim dot de
--- Comment #13 from rainer at emrich-ebersheim dot de 2009-10-20 18:13 --- Created an attachment (id=18841) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18841&action=view) preproccessed source no-ipa-sra, no-inline -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2009-10-20 18:12 --- Ok, thanks, now I have a better picture. As a matter of fact, in *most* of the cases we should be *only* comparing pointers to the same object, I think this is the only case guaranteed to behave sanely under th

[Bug libgcj/41768] [regression] build failue in java component.

2009-10-20 Thread ronis at ronispc dot chem dot mcgill dot ca
--- Comment #2 from ronis at ronispc dot chem dot mcgill dot ca 2009-10-20 18:06 --- Shouldn't gjar be built (and used) by the bootstrap build? It seems that it was: find -name gjar -ls 41083574 -rwxr-xr-x 1 ronisronis2048 Oct 20 02:27 ./i686-pc-linux-gnu/libjava/cl

[Bug middle-end/41750] gcc 4.5.0 miscompiles binutils

2009-10-20 Thread rainer at emrich-ebersheim dot de
--- Comment #12 from rainer at emrich-ebersheim dot de 2009-10-20 18:04 --- First of all, it's nearly impossible to create a short self contained test case, at least for me. The function get_got in bfd/elf64-ia64.c shows the issue. Resolving the dependencies of this function is like ope

[Bug libgcj/41768] [regression] build failue in java component.

2009-10-20 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-10-20 17:59 --- The gjar you have installed is broken. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libgcj/41768] New: [regression] build failue in java component.

2009-10-20 Thread ronis at ronispc dot chem dot mcgill dot ca
I configured with default CFLAGS and with: $ ../gcc/configure --host=i686-pc-linux-gnu --prefix=/usr --with-gnu-as --enable-shared --with-gnu-ld --enable-threads=posix --with-ecj-jar=/usr/share/java/ecj.jar --enable-languages=c,c++,fortran,java,objc The java component of the build dies with: lib

[Bug bootstrap/41491] [4.5 regression] ICE in set_value_range, at tree-vrp.c:386

2009-10-20 Thread rmansfield at qnx dot com
tions seemed to be OK. I tested with GNU C (GCC) version 4.5.0 20091020 (experimental) [trunk revision 153012] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41491

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #4 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18840) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18840&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #3 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18839) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18839&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #2 from espindola at gcc dot gnu dot org 2009-10-20 17:55 --- Created an attachment (id=18838) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18838&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
--- Comment #1 from espindola at gcc dot gnu dot org 2009-10-20 17:54 --- Created an attachment (id=18837) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18837&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41767

[Bug lto/41767] New: assertion in tree-sra.c

2009-10-20 Thread espindola at gcc dot gnu dot org
To reproduce: cc1 c-typeck.i -quiet -O2 -flto -o c-typeck.s cc1 c-parser.i -quiet -O2 -flto -o c-parser.s as -o c-typeck.o c-typeck.s as -o c-parser.o c-parser.s lto1 -O2 c-typeck.o c-parser.o -o /dev/null -- Summary: assertion in tree-sra.c Product: gcc Vers

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-10-20 17:48 --- Well, make sure we don't use it when two different pointers point into the same object. As in this example, both __b and __e are begin and end pointers within the same object or one byte after the end of it. And __re

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-10-20 17:28 --- Thanks Gaby. Thus, if I understand the issue correctly, we have to be less aggressive about __restrict__ and make sure we don't use it when we compare pointers to different objects. I can work on the change.

[Bug fortran/41766] [OOP] SELECT TYPE selector as actual argument with INTENT(INOUT)

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-10-20 17:17 --- Mine. Preliminary patch: Index: gcc/fortran/match.c === --- gcc/fortran/match.c (Revision 153009) +++ gcc/fortran/match.c (Arbeitskopie) @@ -4047,9 +4047

[Bug fortran/41765] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1702

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-10-20 17:14 --- Probably indeed PR 40328 - at least it works at home. Close as WORKSFORME. (I really hate the half-broken (broken lib dependency for some /usr/{,local}/bin files) and darn old (Fedora 6) system at work!) -- burnus

[Bug fortran/41766] New: [OOP] SELECT TYPE selector as actual argument with INTENT(INOUT)

2009-10-20 Thread janus at gcc dot gnu dot org
Test case: implicit none type t1 integer :: a end type type, extends(t1) :: t2 integer :: b end type class(t1),pointer :: cp allocate(t2 :: cp) select type (cp) type is (t2) call s(cp) end select contains subroutine s(f) type(t2), intent(inout) :: f end subrou

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread gdr at cs dot tamu dot edu
--- Comment #2 from gdr at cs dot tamu dot edu 2009-10-20 16:42 --- Subject: Re: valarray_array.h seems to overuse __restrict__ "paolo dot carlini at oracle dot com" writes: | I think this line, in general all the uses of __restrict__ in valarray are | *very* old... Let's CC Gaby, in

[Bug libstdc++/41763] valarray_array.h seems to overuse __restrict__

2009-10-20 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-10-20 16:32 --- I think this line, in general all the uses of __restrict__ in valarray are *very* old... Let's CC Gaby, in case he has some comments. -- paolo dot carlini at oracle dot com changed: What|Rem

[Bug java/28474] mangle_name.c mangles names unecessarily

2009-10-20 Thread aph at gcc dot gnu dot org
--- Comment #3 from aph at gcc dot gnu dot org 2009-10-20 16:01 --- Subject: Bug 28474 Author: aph Date: Tue Oct 20 16:01:21 2009 New Revision: 153021 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153021 Log: 2009-10-20 Joel Dice PR java/28474 * mangle_name.c

[Bug fortran/41765] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1702

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-20 15:56 --- Works for me with todays trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41765

[Bug fortran/41765] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1702

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-10-20 15:52 --- Created an attachment (id=18836) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18836&action=view) Test case, might be fixed with PR 40328 Presumably a duplicate of PR 40328. But for completeness, here is the re

[Bug fortran/41765] New: ICE in set_ssa_val_to, at tree-ssa-sccvn.c:1702

2009-10-20 Thread burnus at gcc dot gnu dot org
The attached program gives an ICE with an older 4.5 gfortran. I try to test it later with today's build as it might well have been fixed in the meanwhile. $ gfortran -O3 -c test.f90 test.f90: In function 'genpmat': test.f90:1: internal compiler error: in set_ssa_val_to, at tree-ssa-sccvn.c:1702

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #13 from rearnsha at gcc dot gnu dot org 2009-10-20 15:25 --- Fixed on trunk. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added S

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-20 Thread rearnsha at gcc dot gnu dot org
--- Comment #12 from rearnsha at gcc dot gnu dot org 2009-10-20 15:18 --- Subject: Bug 39247 Author: rearnsha Date: Tue Oct 20 15:17:30 2009 New Revision: 153018 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153018 Log: PR target/39247 * arm.c (arm_override_opt

[Bug debug/41739] [4.5 Regression] Failed to bootstrap on Linux/ia64

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2009-10-20 15:09 --- Subject: Bug 41739 Author: jakub Date: Tue Oct 20 15:09:43 2009 New Revision: 153017 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153017 Log: PR debug/41739 * haifa-sched.c (try_ready): Skip

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
--- Comment #7 from edwintorok at gmail dot com 2009-10-20 15:06 --- (In reply to comment #6) > Fixed. > Thanks, I can now successfully build ClamAV with lto. -- edwintorok at gmail dot com changed: What|Removed |Added ---

[Bug lto/41764] New: Bogus errors from gold with linker-plugin

2009-10-20 Thread rguenth at gcc dot gnu dot org
PROGRAM INIRAN INTEGER IX, IY, IZ COMMON /XXXRAN/ IX, IY, IZ END BLOCKDATA RAEWIN INTEGER IX, IY, IZ COMMON /XXXRAN/ IX, IY, IZ DATA IX, IY, IZ / 1974, 235, 337 / END > gfortran -c ranewr.f -flto > gfortran ranewr.o -flto -use-linker-plugin /usr/bin/

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2009-10-20 14:32 --- The original rtl.ii.gz testcase compiles just fine with -fcompare-debug too (though, it surely used to be something different, as those loop-invariant.c changes are from end of September). -- jakub at gcc dot gnu

[Bug bootstrap/41491] [4.5 regression] ICE in set_value_range, at tree-vrp.c:386

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-20 14:07 --- Works for me (x86_64, -O2). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41491

[Bug libstdc++/41763] New: valarray_array.h seems to overuse __restrict__

2009-10-20 Thread jakub at gcc dot gnu dot org
inline static void _S_do_it(_Tp* __restrict__ __b, _Tp* __restrict__ __e) { while (__b != __e) new(__b++) _Tp(); } is invalid, the __restrict__ keywords say that __b and __e point to different objects and you can't compare pointers to different objects. --

[Bug libfortran/41760] Problem with configure when using --with-gmp and --with-mpfr

2009-10-20 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-10-20 14:02 --- Remove the version of gmp in/usr/lib and /usr/include. This isn't a gfortran problem. It is a user's system configuration problem. -- kargl at gcc dot gnu dot org changed: What|Removed

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-20 13:33 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
to/41761 * gimple.c (gimple_register_type): Make sure we register the types main variant first. * gcc.dg/lto/20091020-1_0.c: New testcase. * gcc.dg/lto/20091020-1_1.c: Likewise. * gcc.dg/lto/20091020-2_0.c: Likewise. * gcc.dg/lto/20091020-2_1.c: Likewise

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2009-10-20 13:29 --- Subject: Bug 41340 Author: jakub Date: Tue Oct 20 13:29:08 2009 New Revision: 153011 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153011 Log: PR debug/41340 * loop-invariant.c (calculate_loo

[Bug bootstrap/41491] [4.5 regression] ICE in set_value_range, at tree-vrp.c:386

2009-10-20 Thread rmansfield at qnx dot com
--- Comment #5 from rmansfield at qnx dot com 2009-10-20 13:02 --- Created an attachment (id=18835) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18835&action=view) preprocessed source from gcc 4.3.3 Reproduced using gcc version 4.5.0 20091003 (experimental) [trunk revision 152434

[Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-10-20 12:29 --- (In reply to comment #4) > Oh bother! I completely forgot to test the subroutine branch - thanks Janus But in your patch you do the argument resolution both in resolve_class_compcall and resolve_class_typebound_call,

[Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP

2009-10-20 Thread paul dot richard dot thomas at gmail dot com
--- Comment #4 from paul dot richard dot thomas at gmail dot com 2009-10-20 12:19 --- Subject: Re: [OOP] Calling one TBP as an actual argument of another TBP Oh bother! I completely forgot to test the subroutine branch - thanks Janus On Tue, Oct 20, 2009 at 1:30 PM, janus a

[Bug fortran/41706] [OOP] Calling one TBP as an actual argument of another TBP

2009-10-20 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-10-20 11:30 --- Reopening. Salvatore's code still fails with the same error, which is due to the analogous case with a subroutine: module m type :: t contains procedure, nopass :: a procedure, nopass :: b end type contains s

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-20 11:04 --- I have a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|

[Bug libstdc++/40852] [parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9

2009-10-20 Thread jaffe at broadinstitute dot org
--- Comment #8 from jaffe at broadinstitute dot org 2009-10-20 10:55 --- Subject: Re: [parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9 Regarding comment #7, I just ran this now on a machine with 32 processors and 512 GB memory. (a) Sorting

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-20 10:16 --- Confirmed. --- t1.i typedef struct { int NumPackStreams; } CSzAr; void cli_7unz (CSzAr db) { } --- t2.i typedef struct { int NumPackStreams; } CSzAr; typedef struct { CSzAr db; } CSzArEx; int SzArEx_Init

[Bug middle-end/41762] internal compiler error when compiling xorg-server

2009-10-20 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2009-10-20 10:12 --- Created an attachment (id=18834) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18834&action=view) reduced testcase (by delta), only 4.4 crashes gcc-4.5.0-alpha20090903 doesn't crash with this testcase -- http://

[Bug tree-optimization/41740] [4.5 Regression] ICE in ipcp_analyze_node, at ipa-cp.c:183

2009-10-20 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2009-10-20 10:11 --- This looks like PR 40556. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/41762] internal compiler error when compiling xorg-server

2009-10-20 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2009-10-20 10:11 --- Created an attachment (id=18833) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18833&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41762

[Bug middle-end/41762] New: internal compiler error when compiling xorg-server

2009-10-20 Thread zsojka at seznam dot cz
Command line: gcc -O2 -march=pentium2 -ftracer -fsched2-use-superblocks -freorder-blocks-and-partition -fpic -c -o xkbInit.o xkbInit.i results in: xkbInit.c: In function 'XkbWriteRulesProp': xkbInit.c:231:1: internal compiler error: Segmentation fault Please submit a full bug report, with preproce

[Bug debug/41340] [4.5 Regression] G++ produces different code with and without -g option

2009-10-20 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-10-20 09:39 --- Created an attachment (id=18832) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18832&action=view) gcc45-pr41340.patch Patch I'm going to bootstrap/regtest. -- jakub at gcc dot gnu dot org changed:

[Bug lto/41756] LTO: -flto -O1 linking files compiled with -fno-exceptions with ones compiled with exceptions yields error "BB 14 can not throw but has an EH edge"

2009-10-20 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-10-20 09:35 --- Even that would be difficult - how would you inline between such functions? I think the only way is to force -fexceptions during the link stage if one translation unit did have it enabled. The -fno-exception TUs sho

[Bug libfortran/41760] Problem with configure when using --with-gmp and --with-mpfr

2009-10-20 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2009-10-20 07:51 --- Disclaimer: I do not know what ./configure does with regards to library search paths. > --with-mpfr=/usr/local > /usr/lib/libmpfr.so.1: undefined symbol: __gmp_get_memory_functions Seemingly, the /usr/lib and not th

[Bug libstdc++/40852] [parallel-mode] parallel sort run time increases ~10 fold when vector size gets over ~4*10^9

2009-10-20 Thread singler at gcc dot gnu dot org
--- Comment #7 from singler at gcc dot gnu dot org 2009-10-20 07:46 --- Sorry, the CC has never reached me. So concerning comment #4: Was the parallel mode actually activated? The multiway mergesort takes another time the space of the input as temporarily. Sure that the program was n

[Bug libstdc++/38875] parallel fill and copy in the parallel version of libstdc++

2009-10-20 Thread singler at gcc dot gnu dot org
--- Comment #5 from singler at gcc dot gnu dot org 2009-10-20 07:37 --- I'm investigating the problem. In the meantime, you might want to "abuse" std::for_each for this task. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38875

[Bug target/41722] internal compiler error / unable to generate reloads

2009-10-20 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-10-20 07:29 --- Marking it as P4 because arm-linux is effectively in maintenance only mode. -- ramana at gcc dot gnu dot org changed: What|Removed |Added --

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
--- Comment #2 from edwintorok at gmail dot com 2009-10-20 07:06 --- Created an attachment (id=18831) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18831&action=view) original files The original 7z.i and 7zIn.i files that show the problem. -- http://gcc.gnu.org/bugzilla/show_

[Bug lto/41761] lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
--- Comment #1 from edwintorok at gmail dot com 2009-10-20 07:05 --- Created an attachment (id=18830) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18830&action=view) reduced testcase reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41761

[Bug lto/41761] New: lto1: error: type mismatch in component reference (const with non-const)

2009-10-20 Thread edwintorok at gmail dot com
$ ~/inst/bin/gcc -v Using built-in specs. COLLECT_GCC=/home/edwin/inst/bin/gcc COLLECT_LTO_WRAPPER=/home/edwin/inst/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --enable-lto --enable-languages=c,c++ --enable-gold Th