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

2010-05-06 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 libmudflap/38766] mudflap cannot detect errors on stack of nptl thread

2010-05-06 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 inline-asm/43998] New: inline assembler: can't set clobbering for input register

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

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

2010-05-06 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

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

2010-05-06 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=gccview=revrev=159095 Log: PR tree-optimization/43901 * tree-vect-stmts.c

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

2010-05-06 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=gccview=revrev=159096 Log: C++ support for -Wunused-but-set-variable gcc/cp/ChangeLog:

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

2010-05-06 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2010-05-06 07:11 --- You can use cpuid.h. BTW: Please ask questions about using gcc in gcc-help@ or elsewhere. Not a bug. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug c/44000] New: gcc/resource.h conflicts with sysroot/usr/include/resource.h (alpha-dec-vms)#8207;

2010-05-06 Thread jay dot krell at cornell dot edu
lpha-dec-vms-gcc -c -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attri bute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. - I. -I/src/gcc-4.5.0/gcc

[Bug c/44001] New: .o vs. obj = @OBJEXT@ and $ac_objext

2010-05-06 Thread jay dot krell at cornell dot edu
host=target=alpha-dec-vms build=anything else .o vs. obj = @OBJEXT@ and $ac_objext diff -u /src/orig/gcc-4.5.0/libiberty/Makefile.in /src/gcc-4.5.0/libiberty/Makefile.in --- /src/orig/gcc-4.5.0/libiberty/Makefile.in 2010-03-01 22:09:56.0 -0800 +++ /src/gcc-4.5.0/libiberty/Makefile.in

[Bug c/44001] .o vs. obj = @OBJEXT@ and $ac_objext

2010-05-06 Thread jay dot krell at cornell dot edu
--- Comment #1 from jay dot krell at cornell dot edu 2010-05-06 07:52 --- Created an attachment (id=20576) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20576action=view) same patch as in the bug description -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44001

[Bug c/44002] New: need to #include unistd.h for pid_t

2010-05-06 Thread jay dot krell at cornell dot edu
host=target=alpha-dec-vms build=anything else need to #include unistd.h for pid_t diff -u /src/orig/gcc-4.5.0/libiberty/pex-common.h /src/gcc-4.5.0/libiberty/pex-common.h --- /src/orig/gcc-4.5.0/libiberty/pex-common.h 2009-04-13 03:45:58.0 -0700 +++ /src/gcc-4.5.0/libiberty/pex-common.h

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

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-06 08:06 --- To answer the exact question, yes, using a dummy variable as output (perhaps with 1 instead of a for the matching input) is the right fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43998

[Bug c/44001] .o vs. obj = @OBJEXT@ and $ac_objext

2010-05-06 Thread jay dot krell at cornell dot edu
--- Comment #2 from jay dot krell at cornell dot edu 2010-05-06 08:07 --- Created an attachment (id=20577) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20577action=view) fix same issue in libdecnumber -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44001

[Bug c/44003] New: gcc 4.5.0 stddef.h clobbers __size_t with #define, breaks VMS (code already avoids similar on FreeBSD)#8207;

2010-05-06 Thread jay dot krell at cornell dot edu
gcc 4.5.0 stddef.h clobbers __size_t with #define, breaks VMS (code already avoids similar on FreeBSD)#8207; VMS decc$types.h: typedef unsigned int __size_t; but with GCC 4.5.0 this preprocesses as: typedef unsigned int ; and there are ensuing errors e.g. when compiling

[Bug c/44004] New: gcc 4.5.0 vms-gcc_shell_handler.c needs #define __NEW_STARLET#8207;

2010-05-06 Thread jay dot krell at cornell dot edu
/src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c: In function 'get_dyn_handler_pointer': /src/gcc-4.5.0/libgcc/../gcc/config/alpha/vms-gcc_shell_handler.c:73:3: error: 'PDSCDEF' undeclared (first use in this function)

[Bug c/44005] New: gcc should implement __int64, so it can e.g. read the VMS system headers

2010-05-06 Thread jay dot krell at cornell dot edu
VMS headers use __int64. I hack mine up with #ifdef __GNUC__ #ifndef __int64 #define __int64 long long #endif #endif It seems to me gcc should recognize __int64, at least on VMS and Win32 targets. - Jay -- Summary: gcc should implement __int64, so it can e.g. read the

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

2010-05-06 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2010-05-06 08:23 --- Same bootstrap failure on powerpc-apple-darwin9. It seems to be fixed by the patch in comment #6, bootstrap in progress. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43994

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

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-05-06 08:44 --- Created an attachment (id=20578) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20578action=view) gcc46-pr43983.patch Updated patch that should fix both issues, currently bootstrapping/regtesting it. -- jakub

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

2010-05-06 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-05-06 08:51 --- (In reply to comment #8) For increasing N it (a) takes longer and longer - probably quadratic time - N=100: 0.716u 0.031s 0:00.75 N=200: 5.297u 0.071s 0:05.37 N=400: 40.334u 0.125s 0:40.76 It looks like cubic

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

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #19 from rguenth at gcc dot gnu dot org 2010-05-06 08:53 --- Subject: Bug 43987 Author: rguenth Date: Thu May 6 08:53:19 2010 New Revision: 159098 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159098 Log: 2010-05-06 Richard Guenther rguent...@suse.de PR

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

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2010-05-06 08:54 --- Fixed on the trunk. Queued for backporting to 4.5.1. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43934] LIM should handle PHI nodes

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-06 09:04 --- Subject: Bug 43934 Author: rguenth Date: Thu May 6 09:04:00 2010 New Revision: 159099 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159099 Log: 2010-05-06 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/43571] domwalk sucks

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-06 09:09 --- Subject: Bug 43571 Author: rguenth Date: Thu May 6 09:08:57 2010 New Revision: 159100 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159100 Log: 2010-05-06 Richard Guenther rguent...@suse.de PR

[Bug tree-optimization/43571] domwalk sucks

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

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

2010-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-05-06 09:26 --- Subject: Bug 43985 Author: burnus Date: Thu May 6 09:26:16 2010 New Revision: 159101 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159101 Log: 2010-05-06 Tobias Burnus bur...@net-b.de PR

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

2010-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2010-05-06 09:27 --- FIXED on the 4.6 trunk and the 4.5 branch. Thanks for the report! -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/44011] New: missed optimization of min/max_expr or strict overflow warnings for intended code.

2010-05-06 Thread pluto at agmk dot net
hi, please consider following code snippet from large CairoMM base application. it creates a planar region with top left and bottom right points from two points passed to RegionT constructor. $ cat 0.cpp static inline int min( int a, int b ) { if ( a b ) return a;

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

2010-05-06 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2010-05-06 10:00 --- (In reply to comment #9) It looks like cubic time in N. http://en.wikipedia.org/wiki/Matrix_multiplication#Algorithms_for_efficient_matrix_multiplication: The running time of square matrix multiplication, if

[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-05-06 10:12 --- Subject: Bug 40989 Author: manu Date: Thu May 6 10:12:36 2010 New Revision: 159102 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159102 Log: 2010-05-06 Manuel López-Ibáñez m...@gcc.gnu.org PR

[Bug tree-optimization/44011] missed optimization of min/max_expr or strict overflow warnings for intended code.

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-05-06 10:14 --- Place the pragma outside of the function (though it'll probably not help due to the inlining). The min/max expression missed-optimization is due to the lack of a tree combiner. tree forwprop would be the natural

[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2010-05-06 10:22 --- OK, this is fixed for -Wimplicit and the infrastructure is there to fix it for all other group flags (just use the new handle_option to enable sub-flags). However, I don't have time at the moment to go over all

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

2010-05-06 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2010-05-06 10:27 --- ... O(mnp) ... With m=n=N and p=1, this gives O(N^2), hence my expectation for MATMUL in comment #9!-) Question: what is the origin of the O(N^3) time? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43996

[Bug middle-end/35505] builtins.c: 5 * set but not used

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2010-05-06 10:29 --- I guess this is fixed because -Wunused-but-set is enabled by default. -- manu at gcc dot gnu dot org changed: What|Removed |Added

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

2010-05-06 Thread dfranke at gcc dot gnu dot org
--- Comment #12 from dfranke at gcc dot gnu dot org 2010-05-06 10:32 --- (In reply to comment #11) Question: what is the origin of the O(N^3) time? Building of and operating on a tree of 10.000, 40.000, 90.000, ... elements respectively? Probably cheaper then linked lists, but not

[Bug middle-end/25547] 3 * dead data in compiler source code

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #5 from manu at gcc dot gnu dot org 2010-05-06 10:46 --- This should be fixed by the new -Wunused-but-set flags. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/25567] 4 * set but never used

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2010-05-06 10:56 --- Thanks for the report. I think all these have been fixed already in GCC 4.6 and regressions would be detected by the new -Wunused-but-set flags. -- manu at gcc dot gnu dot org changed: What|Removed

[Bug other/26245] 10 * local variable set but not used

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2010-05-06 10:57 --- Thanks for the report. I think all these have been fixed already in GCC 4.6 and regressions would be detected by the new -Wunused-but-set flags. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26245

[Bug other/26245] 10 * local variable set but not used

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-05-06 10:58 --- FIXED in GCC 4.6 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug other/34592] useless computation found

2010-05-06 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2010-05-06 10:59 --- Thanks for the report. I think all these have been fixed already in GCC 4.6 and regressions would be detected by the new -Wunused-but-set flags. -- manu at gcc dot gnu dot org changed: What|Removed

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

2010-05-06 Thread socketpair at gmail dot com
--- Comment #3 from socketpair at gmail dot com 2010-05-06 11:00 --- Thanks alot, but I think it is bug in gcc inline assembler. I think I wrote correct asm() line. I know about cpuid.h I listed this instruction just as example. -- socketpair at gmail dot com changed:

[Bug tree-optimization/44011] missed optimization of min/max_expr or strict overflow warnings for intended code.

2010-05-06 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2010-05-06 11:27 --- (In reply to comment #1) Place the pragma outside of the function (though it'll probably not help due to the inlining). with new function attribute warning(string...) similary to existing target and optimize

[Bug tree-optimization/44011] missed optimization of min/max_expr or strict overflow warnings for intended code.

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-06 11:30 --- (In reply to comment #2) (In reply to comment #1) Place the pragma outside of the function (though it'll probably not help due to the inlining). with new function attribute warning(string...) similary to

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

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-06 11:31 --- You can't at the same time force something into aregs and clobber them. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2010-05-06 Thread socketpair at gmail dot com
--- Comment #5 from socketpair at gmail dot com 2010-05-06 11:41 --- Well, how to say that to compiler: This instruction receives input in register eax, but after executing it, eax value will be corrupted. I don't need this new value, but compiler should not think that eax is

[Bug rtl-optimization/44012] New: ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
Tested revisions: r159062 - crash r159045 - crash r158683 - OK Output with valgrind: $ valgrind --trace-children=yes -q /mnt/svn/gcc-trunk/binary-159062-lto-fortran/bin/g++ -O2 -fno-strict-aliasing sqcompiler-noempty.ii ==28996== Invalid read of size 4 ==28996==at 0x801DD0:

[Bug rtl-optimization/44013] New: VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
I first found this bug in GCC 4.5.0, but it is repeatable in mainline as of 159067. The attached preprocessed testcase, when compiled using -O2 -S will show the problem. We have a basic block [bb 3] with the following piece of code. [32] X(SI) = unspec_volatile (const_int 3) [33] var_location

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #1 from hariharans at picochip dot com 2010-05-06 13:00 --- Created an attachment (id=20584) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20584action=view) The test sourcecode -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-06 13:07 --- DEBUG_INSNs must not affect code generation (in scheduling case scheduling of non-DEBUG_INSNs). Does the testcase fail with -fcompare-debug? From your description it is unclear what is going on. Perhaps you should

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

2010-05-06 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2010-05-06 13:09 --- (In reply to comment #5) Well, how to say that to compiler: This instruction receives input in register eax, but after executing it, eax value will be corrupted. I don't need this new value, but compiler

[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-06 Thread hubicka at gcc dot gnu dot org
--- Comment #22 from hubicka at gcc dot gnu dot org 2010-05-06 13:11 --- Testing the following patch. For some reason we skip updates of costs at alwaysinline callers. This is wrong. Honza Index: ipa-inline.c === ---

[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-06 Thread rogutes at googlemail dot com
--- Comment #23 from rogutes at googlemail dot com 2010-05-06 13:17 --- Justin, your comment 7 reminded me of my problem (unrelated to this bug report - sorry): 'busybox ls' and 'ninit' (didn't test SYSV 'init') segfault when booting a kernel compiled with CONFIG_CC_OPTIMIZE_FOR_SIZE=y

[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-06 Thread rogutes at googlemail dot com
--- Comment #24 from rogutes at googlemail dot com 2010-05-06 13:19 --- (In reply to comment #23) Justin, your comment 7 reminded me of my problem (unrelated to this bug report Should be comment 20. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791

[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-06 Thread justinmattock at gmail dot com
--- Comment #25 from justinmattock at gmail dot com 2010-05-06 13:27 --- Subject: Re: [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009 On 05/06/2010 06:11 AM, hubicka at gcc dot gnu dot org wrote:

[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-06 Thread justinmattock at gmail dot com
--- Comment #26 from justinmattock at gmail dot com 2010-05-06 13:31 --- (In reply to comment #23) Justin, your comment 7 reminded me of my problem (unrelated to this bug report - sorry): 'busybox ls' and 'ninit' (didn't test SYSV 'init') segfault when booting a kernel compiled

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

2010-05-06 Thread socketpair at gmail dot com
--- Comment #7 from socketpair at gmail dot com 2010-05-06 13:42 --- Just make eax both input and output. it's not optimal. gcc will try to preserve new eax value. So it will not use eax register in next instructions. If eax is really need, it will save it in esi, edi or so on - it's

[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-06 Thread justinmattock at gmail dot com
--- Comment #27 from justinmattock at gmail dot com 2010-05-06 13:44 --- (In reply to comment #24) (In reply to comment #23) Justin, your comment 7 reminded me of my problem (unrelated to this bug report Should be comment 20. ah.. oh-well.. in any case though this error is

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-05-06 13:50 --- Created an attachment (id=20585) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20585action=view) partially reduced testcase Compiler flags: g++ -O1 -fgcse -findirect-inlining -fipa-sra or g++ -O2 -fno-strict-aliasing

[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-06 Thread hubicka at ucw dot cz
--- Comment #28 from hubicka at ucw dot cz 2010-05-06 13:50 --- Subject: Re: [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009 --- Comment #27 from justinmattock at gmail dot

[Bug driver/43371] Add -fresolution to the list of switches that take arguments

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-06 13:54 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug lto/43857] -fresolution causes an ICE

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-06 13:54 --- Mine. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

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

2010-05-06 Thread matz at gcc dot gnu dot org
--- Comment #9 from matz at gcc dot gnu dot org 2010-05-06 13:55 --- Subject: Bug 43984 Author: matz Date: Thu May 6 13:54:32 2010 New Revision: 159106 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159106 Log: PR tree-optimization/43984 * tree-ssa-pre.c

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

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2010-05-06 13:55 --- (In reply to comment #7) Just make eax both input and output. it's not optimal. gcc will try to preserve new eax value. So it will not use eax register in next instructions. If eax is really need, it will save

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

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2010-05-06 13:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/43934] LIM should handle PHI nodes

2010-05-06 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-06 13:56 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #3 from hariharans at picochip dot com 2010-05-06 14:02 --- This test does fail with -fcompare-debug. The relevant part of this basic block just before sched1 is (debug_insn 33 32 34 3 vta_bug.i:12 (var_location:SI converter$rawValue (unspec_volatile:SI [

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #4 from hariharans at picochip dot com 2010-05-06 14:03 --- Created an attachment (id=20586) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20586action=view) debug dump for combine stage -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #5 from hariharans at picochip dot com 2010-05-06 14:05 --- Created an attachment (id=20587) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20587action=view) debug dump just before sched1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #6 from hariharans at picochip dot com 2010-05-06 14:06 --- Created an attachment (id=20588) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20588action=view) sched1 output obtained with -fsched-verbose=8 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[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-06 Thread hubicka at gcc dot gnu dot org
--- Comment #29 from hubicka at gcc dot gnu dot org 2010-05-06 14:15 --- Subject: Bug 43791 Author: hubicka Date: Thu May 6 14:15:22 2010 New Revision: 159108 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159108 Log: PR tree-optimization/43791 * ipa-inline.c

[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-06 Thread justinmattock at gmail dot com
--- Comment #30 from justinmattock at gmail dot com 2010-05-06 14:36 --- (In reply to comment #28) Subject: Re: [4.6 Regression] kernel/rtmutex.c:1138:1: internal compiler error: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009 ---

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-05-06 14:38 --- When reducing this testcase, PR43791 was triggered. Upgrading to r159108 to verify this still crashes... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44012

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-05-06 14:45 --- It was caused by revision 158827: http://gcc.gnu.org/ml/gcc-cvs/2010-04/msg00934.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

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

2010-05-06 Thread dominiq at lps dot ens dot fr
--- Comment #22 from dominiq at lps dot ens dot fr 2010-05-06 14:59 --- Have you been able to identify if there is an invalid optimization? I have started to follow the spaghetti plate without success so far. However, although I don't think the problem comes from any invalid

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

2010-05-06 Thread socketpair at gmail dot com
--- Comment #9 from socketpair at gmail dot com 2010-05-06 15:03 --- Not if you make the output unused by not using it. I do not understand why gcc distinguish between 'specifying register as output' and 'specifying as clobbering'. I always considered, that 'clobber list' specify list

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
--- Comment #4 from zsojka at seznam dot cz 2010-05-06 15:04 --- Created an attachment (id=20589) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20589action=view) reduced testcase Command line: gcc -O1 -fgcse -findirect-inlining pr44012.c not tested with r159108 yet -- zsojka

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

2010-05-06 Thread maxim at codesourcery dot com
--- Comment #23 from mkuvyrkov at gcc dot gnu dot org 2010-05-06 15:07 --- Subject: Re: [4.6 Regression] Revision 158105 miscompiles doduc.f90 On 5/6/10 6:59 PM, dominiq at lps dot ens dot fr wrote: ... Now the questions are: (1) why a change dealing with the propagation of minus

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

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2010-05-06 15:34 --- Sure, I'll do it later today. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40406

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

2010-05-06 Thread dominiq at lps dot ens dot fr
--- Comment #24 from dominiq at lps dot ens dot fr 2010-05-06 15:34 --- Now the questions are: (1) why a change dealing with the propagation of minus signs interferes with reciprocal-math? (2) why moving VEC_safe_push from negate_value to eliminate_plus_minus_pair trigger the

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
--- Comment #5 from zsojka at seznam dot cz 2010-05-06 15:54 --- Still crashes in r159109, so not a dup of PR43791 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44012

[Bug target/43888] [4.5/4.6 Regression] FAIL: gcc.dg/alias-7.c execution test

2010-05-06 Thread davek at gcc dot gnu dot org
--- Comment #4 from davek at gcc dot gnu dot org 2010-05-06 16:06 --- Subject: Bug 43888 Author: davek Date: Thu May 6 16:06:18 2010 New Revision: 159111 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159111 Log: PR target/43888 * config/i386/winnt.c

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

2010-05-06 Thread paolo at gcc dot gnu dot org
--- Comment #5 from paolo at gcc dot gnu dot org 2010-05-06 16:07 --- Subject: Bug 40406 Author: paolo Date: Thu May 6 16:07:02 2010 New Revision: 159112 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159112 Log: 2010-05-06 Paolo Carlini paolo.carl...@oracle.com PR

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

2010-05-06 Thread paolo at gcc dot gnu dot org
--- Comment #6 from paolo at gcc dot gnu dot org 2010-05-06 16:08 --- Subject: Bug 40406 Author: paolo Date: Thu May 6 16:07:28 2010 New Revision: 159113 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159113 Log: 2010-05-06 Paolo Carlini paolo.carl...@oracle.com PR

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

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #7 from paolo dot carlini at oracle dot com 2010-05-06 16:09 --- Done. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug target/42811] [4.5 regression] java.lang.ExceptionInInitializerError in ecj1

2010-05-06 Thread davek at gcc dot gnu dot org
--- Comment #15 from davek at gcc dot gnu dot org 2010-05-06 16:21 --- Subject: Bug 42811 Author: davek Date: Thu May 6 16:20:53 2010 New Revision: 159115 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159115 Log: PR target/42811 * tests/staticrootstest.c: New

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

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #19 from paolo dot carlini at oracle dot com 2010-05-06 16:24 --- Note that in all those patches, the open curly brackets are in the wrong place: in GCC, C++ runtime included, must *always* follow a newline. Just stylistic issues, of course. --

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

2010-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-05-06 16:27 --- See also PR 43895 - the issue seems to be similar though one does not have an except that there one has no static-memory initialization. [I might also be completely off.] --

[Bug fortran/43895] [OOP] internal compiler error: verify_ssa failed

2010-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2010-05-06 16:28 --- See also PR 43990 - I think the PRs might be related, though I have not really studied this PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43895

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

2010-05-06 Thread jiez at gcc dot gnu dot org
--- Comment #8 from jiez at gcc dot gnu dot org 2010-05-06 16:35 --- I see similar issue on ARM target. It seems to be fixed by the patch in comment #6 . -- jiez at gcc dot gnu dot org changed: What|Removed |Added

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

2010-05-06 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-05-06 16:37 --- (In reply to comment #3) See also PR 43895 As I feared there: There seems to be an inconsistency with CLASS with POINTER or ALLOCATABLE attribute: Is class.$DATA or class the pointer variable. If one adds b =

[Bug rtl-optimization/44012] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-05-06 16:38 --- (In reply to comment #4) Created an attachment (id=20589) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20589action=view) [edit] reduced testcase Command line: gcc -O1 -fgcse -findirect-inlining pr44012.c

[Bug rtl-optimization/44012] [4.5/4.6 Regression] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-06 Thread zsojka at seznam dot cz
--- Comment #7 from zsojka at seznam dot cz 2010-05-06 16:47 --- You are right, the reduced testcase from comment #4 crashes with: Command line: $ gcc -O1 -fgcse pr44012.c Tested revisions: r159109 - crash r158683 - crash r157702 - crash r153685 - crash 4.5 r158978 - crash 4.4 r158133

[Bug c++/43856] [C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement

2010-05-06 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2010-05-06 16:49 --- Fixed for 4.5.1. -- jason at gcc dot gnu dot org changed: What|Removed |Added Target

[Bug c++/43856] [C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement

2010-05-06 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2010-05-06 16:49 --- . -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

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

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-05-06 16:59 --- The reference is created at df-scan.c:2940 in df_ref_record. reg (as well as *loc) passed to that function is SImode reg 112 (in0), i.e. a hard register, but df_ref_create_structure is called with regno_reg_rtx[i],

[Bug libstdc++/44014] New: no std::string in API documentation

2010-05-06 Thread giecrilj at stegny dot 2a dot pl
Reading the autogenerated API documentation page [1], there are the following typedefs starting with s: * seconds : std::chrono * sregex_token_iterator : std * ssub_match : std * streambuf : std * streamoff : std * streampos : std * streamsize : std * stringbuf :

[Bug other/43620] [4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue

2010-05-06 Thread rwild at gcc dot gnu dot org
--- Comment #11 from rwild at gcc dot gnu dot org 2010-05-06 17:20 --- Subject: Bug 43620 Author: rwild Date: Thu May 6 17:19:46 2010 New Revision: 159116 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159116 Log: Avoid automake distdir rule. libgfortran/: PR

[Bug other/43620] [4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue

2010-05-06 Thread rwild at gcc dot gnu dot org
--- Comment #12 from rwild at gcc dot gnu dot org 2010-05-06 17:22 --- Fixed. -- rwild at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/44014] no std::string in API documentation

2010-05-06 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-05-06 17:33 --- Funny. Let's add Benjamin in CC. -- paolo dot carlini at oracle dot com changed: What|Removed |Added

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

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-05-06 17:35 --- Subject: Bug 43994 Author: jakub Date: Thu May 6 17:34:47 2010 New Revision: 159117 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159117 Log: PR bootstrap/43994 * df-problems.c

[Bug libstdc++/44015] New: template parameters not documented

2010-05-06 Thread giecrilj at stegny dot 2a dot pl
Reading the page std::basic_string _CharT, _Traits, _Alloc Class Template Reference [1]: The template parameters are not documented; in particular, their default assignments are not mentioned. [1] URL:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00260.html#_details --

  1   2   >