[Bug c/18624] GCC does not detect local variable set but never used

2010-05-05 Thread dodji at gcc dot gnu dot org
--- Comment #26 from dodji at gcc dot gnu dot org 2010-05-06 06:52 --- Subject: Bug 18624 Author: dodji Date: Thu May 6 06:52:30 2010 New Revision: 159096 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159096 Log: C++ support for -Wunused-but-set-variable gcc/cp/ChangeLog:

[Bug middle-end/43901] [4.6 Regression] FAIL: gcc.c-torture/compile/pr42196-2.c

2010-05-05 Thread irar at gcc dot gnu dot org
--- Comment #15 from irar at gcc dot gnu dot org 2010-05-06 06:43 --- Subject: Bug 43901 Author: irar Date: Thu May 6 06:42:51 2010 New Revision: 159095 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159095 Log: PR tree-optimization/43901 * tree-vect-stmts.c (v

[Bug c/43999] New: Gcc (lib1funcs.asm) doesn't build on ARM/Thumb2

2010-05-05 Thread cedric at berger dot to
/Users/cedric/software/gcc-4.5.0/build-stm32xx/./gcc/xgcc -B/Users/cedric/software/gcc-4.5.0/build-stm32xx/./gcc/ -B/nfs/darwin/arm-stm32xx-eabi/bin/ -B/nfs/darwin/arm-stm32xx-eabi/lib/ -isystem /nfs/darwin/arm-stm32xx-eabi/include -isystem /nfs/darwin/arm-stm32xx-eabi/sys-include-mcpu=cortex-m

[Bug inline-asm/43998] New: inline assembler: can't set clobbering for input register

2010-05-05 Thread socketpair at gmail dot com
mma...@mmarkk-desktop:~/src/vmdetect$ gcc --version gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 -- #include #include int main (void) { size_t ecx; asm ("cpuid": "=c" (ecx): "a" (0x1):"eax","ebx","edx"); printf ("Suspected %s machine!\n", (ecx >> 31) ? "vi

[Bug libmudflap/38766] mudflap cannot detect errors on stack of nptl thread

2010-05-05 Thread anemo at mba dot ocn dot ne dot jp
--- Comment #2 from anemo at mba dot ocn dot ne dot jp 2010-05-06 06:23 --- I confirmed gcc 4.4.3 (fedora 12) behaves same. -- anemo at mba dot ocn dot ne dot jp changed: What|Removed |Added

[Bug c++/40406] ICE with broken template member declaration

2010-05-05 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2010-05-06 06:05 --- Yes, it's fixed in GCC 4.5.0 and later. Paolo, would you mind adding a testcase? -- reichelt at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/43791] [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #21 from hjl dot tools at gmail dot com 2010-05-06 03:57 --- *** Bug 43997 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-06 03:57 --- *** This bug has been marked as a duplicate of 43791 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added --

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

2010-05-05 Thread rus at google dot com
--- Comment #18 from rus at google dot com 2010-05-06 02:18 --- Created an attachment (id=20575) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20575&action=view) Minor fix to previous patch. Here's a minor fix. It will not affect tests, but just in case you're trying it for real,

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

2010-05-05 Thread rus at google dot com
--- Comment #17 from rus at google dot com 2010-05-06 02:03 --- Created an attachment (id=20574) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20574&action=view) Wrote custom algos, removed include algorithm, minor fixes. This should fix several issues. I still see failing tests

[Bug debug/43478] Missing DW_AT_location for a variable

2010-05-05 Thread meissner at linux dot vnet dot ibm dot com
--- Comment #13 from meissner at linux dot vnet dot ibm dot com 2010-05-05 23:30 --- Subject: Re: Missing DW_AT_location for a variable On Wed, May 05, 2010 at 09:40:00PM -, jakub at gcc dot gnu dot org wrote: > > > --- Comment #12 from jakub at gcc dot gnu dot org 2010-05-

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

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #8 from dfranke at gcc dot gnu dot org 2010-05-05 23:08 --- It's late, but a conjecture ... trans-array.c (gfc_conv_array_initializer): /* Create an array constructor from an initialization expression. We assume the frontend already did any expansions and conversions. */

[Bug middle-end/43997] [4.6 Regression] -finline-small-functions related oops

2010-05-05 Thread falk at debian dot org
--- Comment #2 from falk at debian dot org 2010-05-05 22:46 --- Confirmed, here is a smaller testcase: extern inline void add_1(int *dst, const int *src, int n) { if (n) dst[n] = src[n]; } typedef void (*aors_1_t)(int *, const int *, int); aors_1_t fudge(aors_1_t f) { return

[Bug target/43744] SH: Error: pcrel too far

2010-05-05 Thread kkojima at gcc dot gnu dot org
--- Comment #11 from kkojima at gcc dot gnu dot org 2010-05-05 22:46 --- Fixed. -- kkojima at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENE

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

2010-05-05 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-05-05 22:28 --- > The patch has the same effect as the -fmax-array-constructor=HUGE. It makes also the compilation slightly faster: [macbook] f90/bug% time gfcp -fmax-array-constructor=259200 pr40472_1.f90 4.524u 0.547s 0:05.22 96.

[Bug target/43744] SH: Error: pcrel too far

2010-05-05 Thread kkojima at gcc dot gnu dot org
--- Comment #10 from kkojima at gcc dot gnu dot org 2010-05-05 22:28 --- Subject: Bug 43744 Author: kkojima Date: Wed May 5 22:27:57 2010 New Revision: 159088 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159088 Log: Backport from mainline: 2010-04-22 Kaz Koj

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

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-05 22:18 --- Ignore my previous claims. I now realized that you used a somewhat different testcase, not the one from PR40472 - my bad :( $ time gfortran-svn pr43996.f90 pr43996.f90: In function 'MAIN__': pr43996.f90:4:0: interna

[Bug target/43744] SH: Error: pcrel too far

2010-05-05 Thread kkojima at gcc dot gnu dot org
--- Comment #9 from kkojima at gcc dot gnu dot org 2010-05-05 22:12 --- Subject: Bug 43744 Author: kkojima Date: Wed May 5 22:12:17 2010 New Revision: 159087 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159087 Log: Backport from mainline: 2010-04-22 Kaz Kojim

[Bug fortran/43985] [4.5/4.6 Regression] ICE when assumed size cray-pointee passed as argument

2010-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-05-05 22:11 --- Subject: Bug 43985 Author: burnus Date: Wed May 5 22:11:14 2010 New Revision: 159086 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159086 Log: 2010-05-06 Tobias Burnus PR fortran/43985 *

[Bug middle-end/43997] -finline-small-functions related oops

2010-05-05 Thread dps at simpson dot demon dot co dot uk
--- Comment #1 from dps at simpson dot demon dot co dot uk 2010-05-05 22:04 --- Created an attachment (id=20573) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20573&action=view) code for test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43997

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

2010-05-05 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-05-05 22:02 --- What is before MAIN__ is: [ibook-dhum] f90/bug% valgrind --leak-check=full --show-reachable=yes /opt/gcc/gcc4.5w/libexec/gcc/i686-apple-darwin9/4.5.0/f951 pr40472_1.f90 ==187== Memcheck, a memory error detector. ==18

[Bug middle-end/43997] New: -finline-small-functions related oops

2010-05-05 Thread dps at simpson dot demon dot co dot uk
The following source file, which a reduced version of a gmp 5.0.1 test triggers and internal compiler error when compiled with -finline-small-functions. I have removed most of what is not required to tickle the bug. I aware of at least one other file which triggers the same bug for me. Screen sho

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

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-05 21:59 --- For ICEs, the interesting messages are before the ICE itself; most often something like "invalid read", "invalid write" or "used of uninitialized value". The loss records are (mainly) due to the ICE which doesn't al

[Bug debug/43370] [4.4/4.5/4.6 Regression] ICE gen_type_die_with_usage, at dwarf2out.c:14745

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2010-05-05 21:53 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

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

2010-05-05 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2010-05-05 21:48 --- With i686-apple-darwin9 at revision 156693, valgrind gives: MAIN__ pr40472_1.f90:2:0: internal compiler error: in gfc_conv_array_initializer, at fortran/trans-array.c:4189 Please submit a full bug report, with prepr

[Bug debug/43478] Missing DW_AT_location for a variable

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2010-05-05 21:39 --- Please try the PR43994 patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43478

[Bug debug/43478] Missing DW_AT_location for a variable

2010-05-05 Thread meissner at gcc dot gnu dot org
--- Comment #11 from meissner at gcc dot gnu dot org 2010-05-05 21:37 --- The patch checked in as subversion id 159063 causes the powerpc64-linux bootstrap to fail when building libgcc with release checking enabled: /home/meissner/fsf-build-ppc64/trunk/./gcc/xgcc -B/home/meissner/fsf-b

[Bug debug/43478] Missing DW_AT_location for a variable

2010-05-05 Thread meissner at gcc dot gnu dot org
--- Comment #10 from meissner at gcc dot gnu dot org 2010-05-05 21:36 --- Created an attachment (id=20572) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20572&action=view) -save-temps=obj output of failing module -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43478

[Bug other/43977] Patches from oldlto branch to be salvaged

2010-05-05 Thread steven at gcc dot gnu dot org
--- Comment #5 from steven at gcc dot gnu dot org 2010-05-05 21:36 --- r114283 has been committed with some changes to fix bootstrap. The other patches may take a bit more time. Not one of the revisions I brought over passes bootstrap or testing without further modifications. -- ht

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

2010-05-05 Thread dominiq at lps dot ens dot fr
--- Comment #2 from dominiq at lps dot ens dot fr 2010-05-05 21:30 --- > And I checked again. There's nothing on i686-pc-linux-gnu. Not even with > valgrind, Could someone try on x86_64-*-linux-*? > Btw, Dominique, since valgrind-3.5.0, it is available for Mac as well [1]. > Would you

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

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-05 21:22 --- And I checked again. There's nothing on i686-pc-linux-gnu. Not even with valgrind, Btw, Dominique, since valgrind-3.5.0, it is available for Mac as well [1]. Would you mind to get valgrind and run f951 through it? I

[Bug fortran/43945] [OOP] Derived type with GENERIC: resolved to the wrong specific TBP

2010-05-05 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2010-05-05 21:04 --- Created an attachment (id=20571) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20571&action=view) Fix for the PR Boostraps and regtests on RHEL5.4/i686 Will add testcase and ChangeLogs tomorrow. Paul -- h

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

2010-05-05 Thread dominiq at lps dot ens dot fr
The following test extracted from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40472#c21 gives an ICE with vanilla trunk at revision 159082: REAL, DIMENSION(720,360), PARAMETER :: ZLON_MASK = SPREAD( (/ (JLON , JLON=1,720) /) , DIM=2, NCOPIES=360 ) print *, size(ZLON_MASK), ZLON_MASK(720,360) end

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread janr at adax dot com
--- Comment #6 from janr at adax dot com 2010-05-05 20:58 --- Created an attachment (id=20570) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20570&action=view) recovery.i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-05-05 20:54 --- Can you attach recovery.i ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug target/43941] Impossible to build any version beyond 4.2.4

2010-05-05 Thread sje at cup dot hp dot com
--- Comment #4 from sje at cup dot hp dot com 2010-05-05 20:54 --- I have reproduced this failure, and the problem seems to be in GMP. You mention that you set ABI to 64. I noticed that if I built GMP with the HP compiler ABI is set to 32 and then when I built GCC with that GMP it fail

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread janr at adax dot com
--- Comment #4 from janr at adax dot com 2010-05-05 20:53 --- That last attachment with the build command was a mess, I re ran the build without the -v for gcc, but added a V=1 to the makefile, and got something a little cleaner: --

[Bug debug/43370] [4.4/4.5/4.6 Regression] ICE gen_type_die_with_usage, at dwarf2out.c:14745

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-05-05 20:32 --- Subject: Bug 43370 Author: jason Date: Wed May 5 20:31:53 2010 New Revision: 159084 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159084 Log: PR debug/43370 * c-common.c (handle_aligned_attri

[Bug debug/43370] [4.4/4.5/4.6 Regression] ICE gen_type_die_with_usage, at dwarf2out.c:14745

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-05-05 20:31 --- Subject: Bug 43370 Author: jason Date: Wed May 5 20:30:37 2010 New Revision: 159083 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159083 Log: PR debug/43370 * c-common.c (handle_aligned_attri

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread janr at adax dot com
--- Comment #3 from janr at adax dot com 2010-05-05 20:30 --- Created an attachment (id=20569) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20569&action=view) crc32 build output (verbose) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug tree-optimization/43716] [4.6 Regression] Revision 158105 miscompiles doduc.f90

2010-05-05 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #21 from mkuvyrkov at gcc dot gnu dot org 2010-05-05 20:28 --- Dominique, Have you been able to identify if there is an invalid optimization? It seems using -ffast-math -ffinite-math-only is very error-prone. -ffast-math implies -fassociative-math, which can generate NaNs

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-05-05 20:15 --- Can you provide the full command line to compile crc32.c ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug middle-end/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug c/43995] internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread janr at adax dot com
--- Comment #1 from janr at adax dot com 2010-05-05 20:11 --- Created an attachment (id=20568) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20568&action=view) The .i file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43995

[Bug c/43995] New: internal compiler error: Segmentation fault on Mips64 crossbuild of ext2progs

2010-05-05 Thread janr at adax dot com
This happens while building under the T2 SDE environment, which is a framework for cross building an entire Linux distribution. GCC 4.43 Builds this OK, switching to GCC 4.5 failes while building the e2fsprogs project. I tried this with gcc 4.5.0, and the 4.5.1 latest snapshot The build host is U

[Bug debug/43983] var-tracking needlessly throws away location info for SRAed vars

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-05 20:02 --- (In reply to comment #3) > Two issues discovered with the patch. One is easy: > --- gcc/dwarf2out.c 2010-05-05 17:14:56.0 +0200 > +++ gcc/dwarf2out.c 2010-05-05 20:51:40.0 +0200 > @@ -7916,7 +7916,7

[Bug testsuite/43758] [4.6 Regression] 19 new GCC h...@158360 regressions

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-05-05 19:57 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING

[Bug debug/43370] [4.4/4.5/4.6 Regression] ICE gen_type_die_with_usage, at dwarf2out.c:14745

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-05-05 19:47 --- Subject: Bug 43370 Author: jason Date: Wed May 5 19:46:41 2010 New Revision: 159081 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159081 Log: PR debug/43370 * c-common.c (handle_aligned_attri

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #36 from dfranke at gcc dot gnu dot org 2010-05-05 19:41 --- (In reply to comment #35) > Fixed in trunk. No backport to 4.5 as the required constructor rework is not > ported either. Closing. 2nd try, -- dfranke at gcc dot gnu dot org changed: What|Remov

[Bug fortran/32331] Better error message for variable bond of DATA implied do

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-05 19:40 --- See: http://gcc.gnu.org/viewcvs?view=revision&revision=159080 Fixed in trunk. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added -

[Bug middle-end/43976] warning about increased alignment during casting printed even though variable is properly aligned

2010-05-05 Thread thiago at kde dot org
--- Comment #4 from thiago at kde dot org 2010-05-05 19:39 --- (In reply to comment #3) > The struct Foo looks like an odd way to try and express > > union Foo > { > int i; > char c[sizeof (int)]; > }; Well, that is the objective, but you can't replace int with a non-POD type in C+

[Bug middle-end/34212] spurious warning: value computed is not used

2010-05-05 Thread pluto at agmk dot net
--- Comment #13 from pluto at agmk dot net 2010-05-05 19:35 --- queue.push_back with low prio ;) -- pluto at agmk dot net changed: What|Removed |Added CC|

[Bug testsuite/43758] [4.6 Regression] 19 new GCC h...@158360 regressions

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-05-05 19:33 --- Subject: Bug 43758 Author: jason Date: Wed May 5 19:33:11 2010 New Revision: 159079 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159079 Log: PR testsuite/43758 * target.h (struct gcc_target)

[Bug middle-end/43976] warning about increased alignment during casting printed even though variable is properly aligned

2010-05-05 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2010-05-05 19:17 --- The struct Foo looks like an odd way to try and express union Foo { int i; char c[sizeof (int)]; }; but that doesn't work either, for my 4.3.1 arm-linux build. Neither does moving the attribute just before the ";" (

[Bug debug/43950] fortran: Use DW_AT_identifier_case

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-05 19:12 --- Subject: Bug 43950 Author: jakub Date: Wed May 5 19:11:16 2010 New Revision: 159077 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159077 Log: PR debug/43950 * dwarf2out.c (gen_compile_unit_di

[Bug debug/43983] var-tracking needlessly throws away location info for SRAed vars

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-05-05 19:06 --- Two issues discovered with the patch. One is easy: --- gcc/dwarf2out.c 2010-05-05 17:14:56.0 +0200 +++ gcc/dwarf2out.c 2010-05-05 20:51:40.0 +0200 @@ -7916,7 +7916,7 @@ {

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #35 from dfranke at gcc dot gnu dot org 2010-05-05 19:03 --- Fixed in trunk. No backport to 4.5 as the required constructor rework is not ported either. Closing. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug testsuite/43758] [4.6 Regression] 19 new GCC h...@158360 regressions

2010-05-05 Thread meissner at gcc dot gnu dot org
--- Comment #5 from meissner at gcc dot gnu dot org 2010-05-05 18:58 --- The second patch fixes the problem on the powerpc. Patch approved if documentation is added for the new hook. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43758

[Bug fortran/24978] ICE in gfc_assign_data_value_range

2010-05-05 Thread dfranke at gcc dot gnu dot org
--- Comment #34 from dfranke at gcc dot gnu dot org 2010-05-05 18:54 --- Subject: Bug 24978 Author: dfranke Date: Wed May 5 18:53:23 2010 New Revision: 159076 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159076 Log: gcc/fortran/: 2010-05-05 Daniel Franke PR fortr

[Bug tree-optimization/41442] missed optimization for boolean expression

2010-05-05 Thread bernds at gcc dot gnu dot org
--- Comment #5 from bernds at gcc dot gnu dot org 2010-05-05 18:48 --- Fixed. -- bernds at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/39427] F2003: Procedures with same name as types/type constructors

2010-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #9 from burnus at gcc dot gnu dot org 2010-05-05 18:14 --- (In reply to comment #8) > Created an attachment (id=20567) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20567&action=view) [edit] > Second draft patch And another omission: --- a/gcc/fortran/module.c +++ b/gc

[Bug fortran/39427] F2003: Procedures with same name as types/type constructors

2010-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2010-05-05 18:09 --- Created an attachment (id=20567) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20567&action=view) Second draft patch (In reply to comment #6) > First draft patch Updated patch: Fixes the reversed order, fixes

[Bug bootstrap/43994] [4.6 Regression] Revision 159063 failed to bootstrap on Linux/ia64

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-05-05 18:00 --- Created an attachment (id=20566) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20566&action=view) gcc46-pr43994.patch I must say I don't understand why this happens, but in this case DF_REF_REAL_REG is a (reg:DI

[Bug fortran/40165] Excessive warnings for REAL DO loops

2010-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #11 from burnus at gcc dot gnu dot org 2010-05-05 17:42 --- (In reply to comment #10) > See comment #1 and #3. The standard explicitly states that a Fortran > processor must "detect and report" the use of deleted features. It must report them - but the standard does not tel

[Bug testsuite/43758] [4.6 Regression] 19 new GCC h...@158360 regressions

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-05-05 16:56 --- Created an attachment (id=20565) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20565&action=view) patch that uses a target hook another patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43758

[Bug bootstrap/43994] [4.6 Regression] Revision 159063 failed to bootstrap on Linux/ia64

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-05-05 16:51 --- Created an attachment (id=20564) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20564&action=view) A testcase "-O2 -g" will fail. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43994

[Bug bootstrap/43994] [4.6 Regression] Revision 159063 failed to bootstrap on Linux/ia64

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-05-05 16:45 --- Could you please attach preprocessed source? Setting up a ia64 build box always takes me a lot of time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43994

[Bug c++/43787] [4.5/4.6 Regression] memory copy of empty class (sizeof is one)

2010-05-05 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2010-05-05 16:32 --- Subject: Bug 43787 Author: jason Date: Wed May 5 16:32:20 2010 New Revision: 159072 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159072 Log: PR c++/43787 gcc: * gimplify.c (gimplify_expr):

[Bug bootstrap/43994] [4.6 Regression] Revision 159063 failed to bootstrap on Linux/ia64

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-05 16:26 --- It is caused by revision 159063: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00112.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug fortran/43954] gfortran-4.4 does not support -Wp, -MD for *.F (4.3 -> 4.4 regression, needed for auto-dependencies)

2010-05-05 Thread kirr at landau dot phys dot spbu dot ru
--- Comment #6 from kirr at landau dot phys dot spbu dot ru 2010-05-05 16:24 --- > So, if this is so dear to your heart, pull up your sleeves and start trying > to fix the problem. I see. And thanks for the workaround. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43954

[Bug bootstrap/43994] [4.6 Regression] Failed to bootstrap on Linux/ia64

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-05-05 16:17 --- Jakub, it fails only with -g. It may be caused by: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00107.html -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug bootstrap/43994] [4.6 Regression] Failed to bootstrap on Linux/ia64

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

[Bug bootstrap/43994] [4.6 Regression] Failed to bootstrap on Linux/ia64

2010-05-05 Thread hjl dot tools at gmail dot com
unknown-linux-gnu"... r Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r -fpreprocessed x.i -quiet -dumpbase x.i -auxbase x -g -O2 -version -o x.s Starting program: /export/gnu/import/svn/gcc-test/bld/gcc/cc1 -fpreprocessed x.i -quiet -dumpbase x.i -auxbase x -g -O2 -

[Bug bootstrap/43994] New: [4.6 Regression] Failed to bootstrap on Linux/ia64

2010-05-05 Thread hjl dot tools at gmail dot com
On Linux/ia64, revision 159067 gave: libtool: compile: /export/gnu/import/svn/gcc-test/bld/./gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./gcc/ -B/usr/local/ia64-unknown-linux-gnu/bin/ -B/usr/local/ia64-unknown-linux-gnu/lib/ -isystem /usr/local/ia64-unknown-linux-gnu/include -isystem /usr/loc

[Bug ada/43993] New: Foreign thread results in Task_Alternate_Stack being used unitialized on linux

2010-05-05 Thread baldrick at gcc dot gnu dot org
Noticed with valgrind. Suppose a foreign thread calls Ada code. This results in Register_Foreign_Thread being called, which creates an ATCB. At the end of this routine, Enter_Task is called. Enter_Task is defined in s-taprop-linux.adb on linux. It contains this code that causes Task_Alternate_

[Bug target/40243] no aligned instruction generated for i386

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-05-05 15:49 --- Fixed in gcc 4.4.0. No plan to fix 4.3. -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug other/43992] Suboptimal x86 pre/postamble emitted

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-05-05 15:44 --- *** This bug has been marked as a duplicate of 42778 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug target/42778] Superfluous stack management code is generated

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-05-05 15:44 --- *** Bug 43992 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug fortran/43829] Scalarization of reductions

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-05-05 15:44 --- Indeed the patch looks a lot nicer and less like a hack than mine. Re-assigning to you ;) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2010-05-05 15:41 --- Subject: Bug 43880 Author: rguenth Date: Wed May 5 15:40:51 2010 New Revision: 159069 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159069 Log: 2010-05-05 Richard Guenther PR c++/43880

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

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-05 15:41 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/43592] Unexpected INTERFACE statement in INTERFACE block at (1)

2010-05-05 Thread kargl at gcc dot gnu dot org
-- kargl at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43592

[Bug fortran/43592] Unexpected INTERFACE statement in INTERFACE block at (1)

2010-05-05 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2010-05-05 15:33 --- Fixed on trunk and 4.5. Closing. -- kargl at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43592] Unexpected INTERFACE statement in INTERFACE block at (1)

2010-05-05 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2010-05-05 15:31 --- Subject: Bug 43592 Author: kargl Date: Wed May 5 15:30:54 2010 New Revision: 159068 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159068 Log: 2010-05-05 Steven G. Kargl PR fortran/43592 *

[Bug debug/43983] var-tracking needlessly throws away location info for SRAed vars

2010-05-05 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-05 15:22 --- Created an attachment (id=20563) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20563&action=view) gcc46-pr43983.patch So far only lightly tested patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43983

[Bug fortran/40165] Excessive warnings for REAL DO loops

2010-05-05 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2010-05-05 14:54 --- (In reply to comment #7) > > OTOH I can see where a program that has a lot of real do loops would be > irritating. I think that the standard does not explicitly say issue four > warnings as long as each is detected. I

[Bug other/43992] Suboptimal x86 pre/postamble emitted

2010-05-05 Thread hv at crypt dot org
--- Comment #1 from hv at crypt dot org 2010-05-05 14:39 --- Created an attachment (id=20562) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20562&action=view) Example C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43992

[Bug other/43992] New: Suboptimal x86 pre/postamble emitted

2010-05-05 Thread hv at crypt dot org
zen% /opt/gcc-4.5.0/bin/gcc -v Using built-in specs. COLLECT_GCC=/opt/gcc-4.5.0/bin/gcc COLLECT_LTO_WRAPPER=/opt/gcc-4.5.0/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: /src/package/lang/other/gcc-4.5.0/configure --prefix=/opt/gcc-4.5.0 --with-gmp=/opt/g

[Bug middle-end/43958] FAIL: gcc.dg/ipa/ipa-pta-10.c scan-ipa-dump pta "ESCAPED = { }"

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-05 14:24 --- Ah, we have __builtin_va_start (&ap, 0); ap.1_1 = ap; D.2000_2 = ap.1_1 + -4; D.2001_3 = (long unsigned int) D.2000_2; D.2002_4 = D.2001_3 & -4; ap.2_5 = (void *) D.2002_4; From /* Copied from va

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

2010-05-05 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-05-05 14:23 --- Adjusted the target milestone. -- paolo dot carlini at oracle dot com changed: What|Removed |Added ---

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

2010-05-05 Thread pzhao at gcc dot gnu dot org
--- Comment #3 from pzhao at gcc dot gnu dot org 2010-05-05 14:18 --- fixed for 4.6.0 -- pzhao at gcc dot gnu dot org changed: What|Removed |Added Status|ASSI

[Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used

2010-05-05 Thread rguenther at suse dot de
--- Comment #18 from rguenther at suse dot de 2010-05-05 14:13 --- Subject: Re: [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used On Wed, 5 May 2010, thomas at archlinux dot org wrote: > --- Comment #17 from thomas at archlinux dot org 2010-05-05 14:10

[Bug fortran/43990] [OOP] ICE in output_constructor_regular_field, at varasm.c:4995

2010-05-05 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-05-05 14:12 --- The problem seems to be the initialization at gfc_conv_structure (init = 1) in trans-expr.c: We have: logical :: l = .true. class(t),pointer :: cp => null() and thus: (gdb) p expr->ts.u.derived->components

[Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used

2010-05-05 Thread thomas at archlinux dot org
--- Comment #17 from thomas at archlinux dot org 2010-05-05 14:10 --- > I have a patch. Workaround for 4.5.0: -fno-pta. There is no -fno-pta option in 4.5.0, but I can confirm that -fno-tree-pta fixes the problem in the testcase and in busybox. -- http://gcc.gnu.org/bugzilla/show_

[Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2010-05-05 14:01 --- Runtime testcase: char B[256 * sizeof(void *)]; typedef void *FILE; typedef struct globals { int c; FILE *l; } __attribute__((may_alias)) T; void add_input_file(FILE *file) { (*(T*)&B).l[0] = file; } ext

[Bug middle-end/43987] [4.5/4.6 Regression] type-punning causes broken binaries unless -O0 is used

2010-05-05 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2010-05-05 13:56 --- Testcase that does not violate strict aliasing rules (and thus should not be miscompiled at -O2 or -Os either): extern char B[256 * sizeof(void *)]; typedef void *FILE; typedef struct globals { int c; FILE

[Bug tree-optimization/43984] PRE misses full-redundancies, inserts into loops

2010-05-05 Thread steven at gcc dot gnu dot org
--- Comment #8 from steven at gcc dot gnu dot org 2010-05-05 13:52 --- I think that's an oversight, then. You shouldn't have to use the delayed edge insert functions if you've pre-split all edges. Perhaps PRE can always use the _immediate insert functions, and save a walk over all edges

[Bug tree-optimization/43984] PRE misses full-redundancies, inserts into loops

2010-05-05 Thread rguenther at suse dot de
--- Comment #7 from rguenther at suse dot de 2010-05-05 13:33 --- Subject: Re: PRE misses full-redundancies, inserts into loops On Wed, 5 May 2010, steven at gcc dot gnu dot org wrote: > --- Comment #5 from steven at gcc dot gnu dot org 2010-05-05 13:10 > --- > I don't unde

[Bug tree-optimization/43984] PRE misses full-redundancies, inserts into loops

2010-05-05 Thread matz at gcc dot gnu dot org
--- Comment #6 from matz at gcc dot gnu dot org 2010-05-05 13:32 --- PRE seems to have done this since forever. All edge inserts are delayed if the _immediate forms aren't used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43984

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

2010-05-05 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-05 13:28 --- (In reply to comment #2) > Does the failure on ia64 only happen with -O3? > It fails with -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions and -O3 -fomit-frame-pointer -funroll-loops -- http:/

  1   2   >