[Bug ada/37430] [4.4 Regression] C974013 gives exception

2009-01-27 Thread laurent at guerby dot net
--- Comment #5 from laurent at guerby dot net 2009-01-27 19:12 --- Note: C974013 was in the past victim of another miscompilation bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25737 It was about type based aliasing with a quite long discussion. -- laurent at guerby dot net chang

[Bug c++/38990] New: preprocessing different in g++ -E and regular compiling.

2009-01-27 Thread kkylheku at gmail dot com
(This might affect the C front end also, I have not tried). Basically, there are situations where g++ -E accepts multi-line string literals and glues them together into a proper string literal token. If the resulting preprocessor output is compiled, there are no diagnostics. But if the compiler is

[Bug ada/38989] How much stack space should c380004 take?

2009-01-27 Thread laurent at guerby dot net
--- Comment #1 from laurent at guerby dot net 2009-01-27 19:31 --- This test has arrays of complicated Ada entities so I'm not surprised by stack usage. Could you report at what task size it passes? -- laurent at guerby dot net changed: What|Removed

Re: [Bug testsuite/38946] [trunk regression]?gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread DJ Delorie
I think adding a printf() clone to libiberty is WAY overkill just to silence one failing test.

[Bug testsuite/38946] [trunk regression]�gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread dj at redhat dot com
--- Comment #9 from dj at redhat dot com 2009-01-27 19:38 --- Subject: Re: [trunk regression]?gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously I think adding a printf() clone to libiberty is WAY overkill just to silence one failing test. -- http://gcc.

[Bug libstdc++/15088] 27_io/ostream_inserter_arith test05/06 failures

2009-01-27 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2009-01-27 19:47 --- 4.2.1 arm-eabi doesn't show this: http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00989.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15088

[Bug c++/37554] [4.3/4.4 regression] ICE with invalid cast

2009-01-27 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2009-01-27 19:47 --- Subject: Bug 37554 Author: paolo Date: Tue Jan 27 19:47:28 2009 New Revision: 143711 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143711 Log: /cp 2009-01-27 Paolo Carlini PR c++/37554 * c

[Bug c++/37554] [4.3 regression] ICE with invalid cast

2009-01-27 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2009-01-27 19:48 --- Fixed for 4.4.0. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-01-27 19:55 --- Created an attachment (id=17195) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17195&action=view) Patch to fix crtstuff.c failure This patch fixes crtstuff failure with -mcmodel=large. -- ubizjak at gmail dot co

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2009-01-27 19:57 --- Steve, can you test this patch if it fixes your bootstrap? -- ubizjak at gmail dot com changed: What|Removed |Added --

[Bug middle-end/38969] [4.3 Regression] -foptimize-sibling-calls generates wrong code on alpha

2009-01-27 Thread aurelien at aurel32 dot net
--- Comment #7 from aurelien at aurel32 dot net 2009-01-27 20:00 --- Thanks a lot, I confirm it also fixes the original problem, that is problem in glibc testsuite (test-float and test-ifloat failing on most of the complex number functions). -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread sje at cup dot hp dot com
--- Comment #7 from sje at cup dot hp dot com 2009-01-27 20:03 --- Did you change cselib_hash_rtx too? I don't see that change in your patch but I know I need it to get to the shared rtx bug that your patch will hopefully fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38988

[Bug ada/38989] How much stack space should c380004 take?

2009-01-27 Thread joel dot sherrill at oarcorp dot com
--- Comment #2 from joel dot sherrill at oarcorp dot com 2009-01-27 20:10 --- Subject: Re: How much stack space should c380004 take? laurent at guerby dot net wrote: > --- Comment #1 from laurent at guerby dot net 2009-01-27 19:31 --- > This test has arrays of complicated Ada

[Bug ada/38989] How much stack space should c380004 take?

2009-01-27 Thread laurent at guerby dot net
--- Comment #3 from laurent at guerby dot net 2009-01-27 20:16 --- in gcc/testsuite/ada/acats/run_all.sh there is already some handling of special tests: case $i in cxb30*) EXTERNAL_OBJECTS="$dir/support/cxb30040.o $dir/support/cxb30060.o $dir/support/cxb30130.o $dir/suppo

[Bug ada/38989] How much stack space should c380004 take?

2009-01-27 Thread joel dot sherrill at oarcorp dot com
--- Comment #4 from joel dot sherrill at oarcorp dot com 2009-01-27 20:21 --- Subject: Re: How much stack space should c380004 take? laurent at guerby dot net wrote: > --- Comment #3 from laurent at guerby dot net 2009-01-27 20:16 --- > in gcc/testsuite/ada/acats/run_all.sh t

[Bug target/38991] New: ICE in extract_insn at recog.c:1990

2009-01-27 Thread rmansfield at qnx dot com
$ cat /home/ryan/reduced.i typedef unsigned int _Uint16t __attribute__((__aligned__(2))) __attribute__((__mode__(__HI__))); struct timeval { unsigned tv_sec; }; extern volatile struct timeval mono_time; struct a { unsigned int time1; }; void sppp_input() { struct

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2009-01-27 20:28 --- (In reply to comment #7) > Did you change cselib_hash_rtx too? I don't see that change in your patch but > I know I need it to get to the shared rtx bug that your patch will hopefully > fix. The fix is not necessary, sin

[Bug libstdc++/14608] nukes isfinite macro from

2009-01-27 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2009-01-27 20:49 --- Looks to me like the flipside of libstdc++/7439. More broadly speaking, C99 macros vs. C++98/0x. The current status on this issue is: For 4.1/4.2/4.3/trunk, C99 macros should be visible with 1) -std=gnu99/c99 in "C

[Bug fortran/37614] [Fix pending] Change position of padding for aligned COMMONs

2009-01-27 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-27 20:53 --- See http://gcc.gnu.org/ml/fortran/2009-01/msg00217.html and subsequent postings. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libstdc++/15088] 27_io/ostream_inserter_arith test05/06 failures

2009-01-27 Thread jifl-bugzilla at jifvik dot org
--- Comment #9 from jifl-bugzilla at jifvik dot org 2009-01-27 21:07 --- I've just tried it on gcc 4.3.2 for arm-eabi, and can't reproduce it with either 5.cc or 6.cc any more. -O0 or -O2 didn't make a difference either. While the principle sort-of seems sound that you shouldn't push t

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-27 Thread rob1weld at aol dot com
--- Comment #36 from rob1weld at aol dot com 2009-01-27 21:12 --- (In reply to comment #33) *** Bug 38820 has been marked as a duplicate of this bug. *** (In reply to comment #34) > If I have an old gcc 4.4 installed on my machine, will setting > GCC_EXEC_PREFIX use the old installed gcc

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-27 Thread rob1weld at aol dot com
--- Comment #37 from rob1weld at aol dot com 2009-01-27 21:26 --- (In reply to comment #20) > (In reply to comment #19) > > Subject: Re: [4.3/4.4 Regression]: HOSTCC doesn't work > > with installed gcc > > hjl dot tools at gmail dot com wrote: > > > They sound to me the ideal usage for

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-27 Thread rob1weld at aol dot com
--- Comment #38 from rob1weld at aol dot com 2009-01-27 21:32 --- Clearly, it is wrong: # locate crtprec80.o /mnt/drive2/gcc_build/gcc/crtprec80.o /mnt/drive2/gcc_build/i386-redhat-linux/libgcc/crtprec80.o /mnt/drive2/gcc_build/prev-gcc/crtprec80.o /mnt/drive2/gcc_build/prev-i386-redhat

[Bug target/38991] ICE in extract_insn at recog.c:1990

2009-01-27 Thread rmansfield at qnx dot com
--- Comment #1 from rmansfield at qnx dot com 2009-01-27 21:36 --- Also reproducible with gcc version 4.4.0 20090127 (experimental) [trunk revision 143711] (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38991

[Bug bootstrap/38992] New: [LTO] Bootstrap failed on RHEL5/ia32 and RHEL5/ia64

2009-01-27 Thread hjl dot tools at gmail dot com
On RHEL5/ia32 and RHEL5/ia64, revision 143711 gave /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes

[Bug bootstrap/38992] [LTO] Bootstrap failed on RHEL5/ia32 and RHEL5/ia64

2009-01-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-27 22:00 --- Yes this comes down to having the correct version of libelf. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38992

[Bug bootstrap/38992] [LTO] Bootstrap failed on RHEL5/ia32 and RHEL5/ia64

2009-01-27 Thread dnovillo at gcc dot gnu dot org
--- Comment #2 from dnovillo at gcc dot gnu dot org 2009-01-27 22:10 --- The libelf included in Red Hat based distros is different than the one we used to develop LTO. There was a thread on IRC recently where Jakub proposed a way of working around this: (16:27:18) jakub: dnovillo: ver

[Bug bootstrap/38992] [LTO] Bootstrap failed on RHEL5/ia32 and RHEL5/ia64

2009-01-27 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-01-27 22:17 --- I will give it a try. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38992

[Bug testsuite/38946] [trunk regression]�gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread rob1weld at aol dot com
--- Comment #10 from rob1weld at aol dot com 2009-01-27 22:28 --- (In reply to comment #1) Note that some of the tests require specific features (such as denormalized long doubles) and are ... (In reply to comment #4) > (In reply to comment #3) > > This is not so much an error in Fortr

[Bug fortran/38993] New: better error needed for incompatible f90 modules

2009-01-27 Thread colinlee at cray dot com
When using gfortran 4.3.1 with Fortran modules compiled by older, incompatible releases like 4.2.4, the error message emitted is vague and does not attempt to point out the possible incompatibility between compiler and Fortran module. Many users keep Fortran modules around and would encounter this

[Bug middle-end/38934] [4.3/4.4 Regression] ICE in set_value_range, at tree-vrp.c:398

2009-01-27 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug testsuite/38946] [trunk regression]�gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread rob1weld at aol dot com
--- Comment #11 from rob1weld at aol dot com 2009-01-27 22:45 --- (In reply to comment #9) > Subject: Re: [trunk regression]?gcc trunk 143562 - Testsuite - gfortran > failing tests that worked previously > > > I think adding a printf() clone to libiberty is WAY overkill just to > sile

[Bug bootstrap/38994] New: [LTO] lto1 isn't built when configured with --enable-languages=c,c++,fortran

2009-01-27 Thread hjl dot tools at gmail dot com
When I configured gcc with --enable-languages=c,c++,fortran, lto1 wasn't built. -- Summary: [LTO] lto1 isn't built when configured with --enable- languages=c,c++,fortran Product: gcc Version: lto Status: UNCONFIRMED Sever

[Bug bootstrap/38994] [LTO] lto1 isn't built when configured with --enable-languages=c,c++,fortran

2009-01-27 Thread dnovillo at gcc dot gnu dot org
--- Comment #1 from dnovillo at gcc dot gnu dot org 2009-01-27 23:00 --- No, of course not. This is by design. The lto1 binary is the front end for GIMPLE, as with any other front end, it has to be specifically requested when configuring the compiler. You have to add 'lto' to the li

[Bug c++/38880] [4.4 Regression] g++.dg/init/const7.C XFAILed

2009-01-27 Thread jason at redhat dot com
--- Comment #5 from jason at redhat dot com 2009-01-27 23:25 --- Subject: Re: [4.4 Regression] g++.dg/init/const7.C XFAILed rguenth at gcc dot gnu dot org wrote: > I just found this, I tried to fix this in fold but in the end agreed with > Andrew that the C++ FE should do what the C FE

[Bug testsuite/38946] [trunk regression]�gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread rob1weld at aol dot com
--- Comment #12 from rob1weld at aol dot com 2009-01-27 23:26 --- (In reply to comment #11) > (In reply to comment #9) > Two alternatives are: I guess there is three. 3. The gcc Testsuite is testing 'outside of gcc' and exercising the libraries of the Operating System (maybe GNU libc /

[Bug libgcj/36640] Build gcc-4.2.1 release fails when configured with --with-xmlj using Sun's ld

2009-01-27 Thread rob1weld at aol dot com
--- Comment #7 from rob1weld at aol dot com 2009-01-27 23:33 --- Added "Known to work" 4.4.0 (gcc version 4.4.0 20090126 (experimental) [trunk revision 143680]). Tested on OpenSolaris 2008.11 i386-pc-solaris2.11 and Fedora 10 i386-redhat-linux-gnu . Rob -- rob1weld at aol dot com c

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread sje at cup dot hp dot com
--- Comment #9 from sje at cup dot hp dot com 2009-01-27 23:45 --- Yes, your patch does fix my problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38988

[Bug testsuite/38946] [4.4 Regression] gcc trunk 143562 - Testsuite - gfortran failing tests that worked previously

2009-01-27 Thread rob1weld at aol dot com
--- Comment #13 from rob1weld at aol dot com 2009-01-27 23:47 --- This post: http://gcc.gnu.org/ml/gcc/2008-12/msg00135.html says: To get on the radar regressions have to be marked [4.4 Regression], with the target milestone set to 4.4.0 ... Changing "Summary" from / to: [trunk regre

[Bug bootstrap/38992] [LTO] Bootstrap failed on RHEL5/ia32 and RHEL5/ia64

2009-01-27 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2009-01-27 23:51 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01338.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug other/38995] New: lto1 uses unaligned data accesses

2009-01-27 Thread schwab at suse dot de
$ awk '/lto1.*unaligned access to/ {sub(/.*ip=/, ""); print}' testsuite/*/*.log | sort -u | addr2line -e lto1 ../../gcc/lto/lto.c:186 ../../gcc/lto/lto.c:197 ../../gcc/lto/lto.c:201 ../../gcc/lto/lto.c:272 ../../gcc/lto/lto.c:273 ../../gcc/lto/lto.c:216 ../../gcc/lto/lto.c:229 ../../gcc/lto/lto.c:2

[Bug other/38995] lto1 uses unaligned data accesses

2009-01-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-01-28 01:20 --- data_ptr = (const uint32_t *) ((const char*) data + decl_offset); num_decl_states = *data_ptr++; So either decl_offset is unaligned. Are we storing this packed? -- pinskia at gcc dot gnu dot org changed:

[Bug libstdc++/28811] --with-pic vs static libraries and libstdc++

2009-01-27 Thread bkoz at gcc dot gnu dot org
--- Comment #14 from bkoz at gcc dot gnu dot org 2009-01-28 01:41 --- Mine. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at g

[Bug middle-end/38996] New: [LTO] lto1 doesn't work on RHEL5

2009-01-27 Thread hjl dot tools at gmail dot com
[...@gnu-3 gcc]$ /export/gnu/import/svn/gcc-test/bld/gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/gcc/ /export/gnu/import/svn/gcc-test/src-lto/gcc/testsuite/gcc.c-torture/execute/builtins/fputs.c /export/gnu/import/svn/gcc-test/src-lto/gcc/testsuite/gcc.c-torture/execute/builtins/fputs-lib.c /exp

[Bug middle-end/38996] [LTO] lto1 doesn't work on RHEL5

2009-01-27 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-01-28 01:51 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-01/msg01342.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc

2009-01-27 Thread rob1weld at aol dot com
--- Comment #39 from rob1weld at aol dot com 2009-01-28 03:08 --- H.J. Lu, This comment ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14435#c25 ) requests that Bug Report be modified "restore to P3 if it affects non-Ada testsuites or any case where the compiler exports GCC_EXEC_PREFIX i

[Bug libstdc++/28811] --with-pic vs static libraries and libstdc++

2009-01-27 Thread bkoz at gcc dot gnu dot org
--- Comment #15 from bkoz at gcc dot gnu dot org 2009-01-28 03:25 --- Here are my thoughts on how to fix this. None of the presented options is workable, IMHO. The preferred end goal is to only have the compatibilty.cc and compatibilty-ldbl.cc objects in the shared library, and not in

[Bug target/38941] CX isn't preserved with shift

2009-01-27 Thread hjl at gcc dot gnu dot org
--- Comment #10 from hjl at gcc dot gnu dot org 2009-01-28 03:38 --- Subject: Bug 38941 Author: hjl Date: Wed Jan 28 03:38:41 2009 New Revision: 143719 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143719 Log: 2009-01-27 H.J. Lu PR target/38941 * doc/extend.

[Bug target/38941] CX isn't preserved with shift

2009-01-27 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2009-01-28 03:39 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFI

[Bug target/34163] [4.3/4.4 Regression] 10% performance regression since Nov 1 on Polyhedron's "NF" on AMD64

2009-01-27 Thread rob1weld at aol dot com
--- Comment #12 from rob1weld at aol dot com 2009-01-28 03:54 --- On the Trunk using "-O2" or "-O3" can produce slower code. I built gcc version 4.4.0 20090126 [trunk revision 143680] for i386-redhat-linux and was dismayed to find that libmudflaps had a few FAILs: Results for 4.4.0 200

[Bug fortran/38915] [Fix pending] wrong results for structure assignment of character components when left and right sides overlap

2009-01-27 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2009-01-28 06:21 --- See http://gcc.gnu.org/ml/fortran/2009-01/msg00331.html -- pault at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/38934] [4.3/4.4 Regression] ICE in set_value_range, at tree-vrp.c:398

2009-01-27 Thread rob1weld at aol dot com
--- Comment #20 from rob1weld at aol dot com 2009-01-28 06:23 --- (In reply to comment #17) > Subject: Re: [4.3/4.4 Regression] ICE in set_value_range, > On Tue, 27 Jan 2009, bonzini at gnu dot org wrote: > > > > It's very clear to me by now that HOST_WIDE_INT should only depend on the

[Bug tree-optimization/38997] New: -ftree-loop-distribution ICEs

2009-01-27 Thread kazu at gcc dot gnu dot org
Consider: char a[8][8]; char b[8]; void foo (int i) { int j; for (j = 0; j < 8; j++) { a[i][j] = 0; b[j] = j; } } I get: $ ./cc1 -quiet -O2 -ftree-loop-distribution min.c min.c: In function 'foo': min.c:5: internal compiler error: in build2_stat, at tree.c:3298 Please su

[Bug fortran/18918] Eventually support Fortran 2008's coarrays [co-arrays]

2009-01-27 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-01-28 07:11 --- Someone (Toon?) mentioned a plan to make the GOMP backend infrastructure usable for shared memory. I also found the following paper: "Prototyping the automatic generation of MPI code from OpenMP programs in GCC" at h

[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2

2009-01-27 Thread uros at gcc dot gnu dot org
--- Comment #10 from uros at gcc dot gnu dot org 2009-01-28 07:58 --- Subject: Bug 38988 Author: uros Date: Wed Jan 28 07:58:07 2009 New Revision: 143720 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143720 Log: PR target/38988 * config/i386/i386.md (set_rip_rex

<    1   2