[Bug c++/44855] Static members not initialised in explicit template instances of library

2010-07-24 Thread hlprasu at gmail dot com
--- Comment #6 from hlprasu at gmail dot com 2010-07-25 06:35 --- Subject: Re: Static members not initialised in explicit template instances of library Output of "gcc -v" is given below. I'm using Fedora 13 (with updates till July 24, 2010). The error still persists. =

[Bug c++/44855] Static members not initialised in explicit template instances of library

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-07-25 02:13 --- Works for me on the trunk and in 4.3.2. Can you give the output of "gcc -v"? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/44855] Static members not initialised in explicit template instances of library

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-25 02:04 --- Well for x86_64 we get an error: /usr/bin/ld: testLib.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug bootstrap/44756] [meta-bug] --enable-werror-always issues

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-25 01:59 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-25 01:49 --- *** Bug 44018 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug inline-asm/44018] [4.5/4.6 Regression] Using cpuid.h, can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2010-07-25 01:49 --- (In reply to comment #6) > Perhaps related to PR44174. Not just perhaps but exactly the same both have the same constraints. Note this testcase here works now on the trunk but that could have been because of other

[Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-25 01:48 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug rtl-optimization/45061] [4.6 Regression] ICE: in check_allocation, at ira.c:1677 with -O2 -ftracer -fira-coalesce

2010-07-24 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-07-25 01:21 --- It is caused by revision 162418: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00772.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug fortran/40011] Problems with -fwhole-file

2010-07-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #69 from jvdelisle at gcc dot gnu dot org 2010-07-25 01:21 --- Great detective work folks! The sneaky bugs usually are simple to fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011

[Bug fortran/44931] For INPUT_UNIT, INQUIRE NAME= should not return "stdin"

2010-07-24 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-07-25 00:48 --- test_inquire.f90:17.10: inquire(6,file=str1) 1 Error: INQUIRE statement at (1) cannot contain both FILE and UNIT specifiers However, with a simple modification to the patch the following works. op

[Bug middle-end/37060] [4.3/4.4/4.5/4.6 regression] Bogus __builtin___memcpy_chk overflow warning

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2010-07-25 00:17 --- Here is a simple testcase of why 32bit does not produce the 16: int j(unsigned a) { int c; int b = a; if (a == 1) c = b; else c = 1; return b + c; } --- CUT --- -- http://gcc.gnu.org/bugzilla

[Bug middle-end/37060] [4.3/4.4/4.5/4.6 regression] Bogus __builtin___memcpy_chk overflow warning

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2010-07-25 00:04 --- I think this testcase has some other issues at least on the trunk. sparc_floating_p.isra.0 is produced for 32bit but not 64bit. And then we have: MEM[(const struct type *)type_1(D)].code; Why didn't we just prod

[Bug c++/44254] Template pointer and reference arguments not always recognized as referencing to the same variable

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 23:23 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/44282] fastcall is not mangled at all

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-24 23:17 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug bootstrap/44305] warning: cast discards qualifiers from pointer target type -- -disable-bootstrap should not use -Wcast-qual

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 23:12 --- --disable-bootstrap should not be used unless you know what you are doing. Also this will not cause an error so it is hard to fix really. /* GCC 4.0.x has a bug where it may ICE on this expression, so does GCC 3.

[Bug c++/45043] [4.4/4.5/4.6 Regression] ICE: tree check: expected identifier_node, have bit_not_expr in grokdeclarator, at cp/decl.c:8113 on invalid code

2010-07-24 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-07-24 23:03 --- [...@gnu-26 rrs]$ /export/gnu/import/rrs/125623/usr/bin/gcc -S pr45043.cc pr45043.cc:2: error: \u2018A< >::B\u2019 is not a type pr45043.cc:2: internal compiler error: tree check: expected identifier_node, have bit_

[Bug c++/45043] [4.4/4.5/4.6 Regression] ICE: tree check: expected identifier_node, have bit_not_expr in grokdeclarator, at cp/decl.c:8113 on invalid code

2010-07-24 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-07-24 23:02 --- It failed for me with gcc 4.2.0 and 4.3.0: [...@gnu-26 rrs]$ cat pr45043.cc template < typename > class A; template < typename T > A < T >::B::~B () {} [...@gnu-26 rrs]$ /export/gnu/import/rrs/117167/usr/bin/gcc -S

[Bug tree-optimization/44328] switch/case optimization produces an invalid lookup table index

2010-07-24 Thread jifl-bugzilla at jifvik dot org
--- Comment #23 from jifl-bugzilla at jifvik dot org 2010-07-24 22:23 --- I can confirm this fails with GCC 4.4.4 and that GCC 4.3.2 works. -- jifl-bugzilla at jifvik dot org changed: What|Removed |Added ---

[Bug c++/44225] Workaround for error: ... cannot appear in a constant-expression

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 22:11 --- There is no work around because double is not a valid integer constant expression and because you cannot class initialize a static const double variable. Also this is not the right place to ask questions like this.

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #20 from burnus at gcc dot gnu dot org 2010-07-24 22:05 --- (In reply to comment #19) > $ gfortran -O2 -g gfortran.dg/entry_array_specs_2.f && ./a.out > gfortran.dg/entry_array_specs_2.f:16:0: internal compiler error: > in output_die, at dwarf2out.c:11046 I had a closer lo

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-24 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-07-24 22:04 --- Investigating... -- steven at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug c++/44313] g++ no longer warns about private copy constructors

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-24 22:02 --- See also http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01386.html: When the rvalue references patch went in, DR391 was partially implemented, but only for C++0x mode. This seems wrong to me; if the committee has decid

[Bug c++/44313] g++ no longer warns about private copy constructors

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-24 21:57 --- See PR 25950 which is the bug report which implemented that defect report. I think we should just remove the paragraph from the web page or at least reference we now implement that defect report. -- http://gcc.

[Bug c++/44313] g++ no longer warns about private copy constructors

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 21:56 --- As far as I understand we decided that CD1 resolution Defect reports are going to be implemented as part of C++03/C++98. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44313

[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-24 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2010-07-24 21:52 --- Subject: Re: [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c On Sat, 24 Jul 2010, rguenth at gcc dot gnu dot org wrote: > Please attach preprocessed source. Attached. Howeve

[Bug objc/44887] [4.6 regression] All Objective-C execution tests fail on Solaris 2/SPARC

2010-07-24 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-07-24 21:44 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Assigne

[Bug tree-optimization/43940] DOM doesn't propagate constants properly

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 21:44 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug bootstrap/44993] [4.6 regression] sparc64-linux bootstrap broken

2010-07-24 Thread ebotcazou at gcc dot gnu dot org
-- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org

[Bug bootstrap/44993] [4.6 regression] sparc64-linux bootstrap broken

2010-07-24 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-07-24 21:43 --- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug target/45063] [4.6 Regression] ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-24 21:42 --- Please attach preprocessed source. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45063] New: ICE: Segmentation fault (cc1) compiling matmul_i1.c

2010-07-24 Thread danglin at gcc dot gnu dot org
libtool: compile: /home2/dave/gcc-4.6/objdir/./gcc/xgcc -B/home2/dave/gcc-4.6/o bjdir/./gcc/ -B/home2/dave/opt/gnu/gcc/gcc-4.6.0/hppa-linux/bin/ -B/home2/dave/o pt/gnu/gcc/gcc-4.6.0/hppa-linux/lib/ -isystem /home2/dave/opt/gnu/gcc/gcc-4.6.0/ hppa-linux/include -isystem /home2/dave/opt/gnu/gcc/gcc-

[Bug target/44073] x86 constants could be unduplicated

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-24 21:37 --- CSE/GCSE should be doing it. Oh but CSE does not handle RTL like: (insn 8 5 9 2 t.c:5 (set (mem:SI (reg/v/f:DI 60 [ c ]) [2 *c_2(D)+0 S4 A32]) (const_int -522133280 [0xe0e0e0e0])) 63 {*movsi_internal

[Bug c++/44118] ICE: in instantiate_decl, at cp/pt.c:16657

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-24 21:30 --- (In reply to comment #2) > Related to PR 43630. But not the same as this one still ICEs after the fix for PR 43630. Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/44128] C++ frontend not warn on type shadowing with -Wshadow

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 21:28 --- apin...@apinski-desktop:~/Desktop$ ~/local-gcc/bin/g++ -Wshadow t.c -S t.c: In function ‘void bar()’: t.c:5:14: warning: declaration of ‘Py_ssize_t’ shadows a global declaration [-Wshadow] t.c:1:14: warning: shadowed

[Bug middle-end/44106] False warning: 'control reaches end of non-void function' when comparing to undefined var

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 21:26 --- >The warning does not occur in 4.4.3. For C, it does. And it warns in 4.1.2 also. Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/23104] [4.3/4.4/4.5/4.6 Regression] C does not reject the same function in two different TUs with -combine

2010-07-24 Thread steven at gcc dot gnu dot org
--- Comment #17 from steven at gcc dot gnu dot org 2010-07-24 21:22 --- IMA (-combine) => WONTFIX? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23104

[Bug c/44041] [4.5 regression] -combine ICE: verify_gimple failed (invalid conversion in return statement)

2010-07-24 Thread steven at gcc dot gnu dot org
--- Comment #4 from steven at gcc dot gnu dot org 2010-07-24 21:21 --- IMA (-combine) => WONTFIX? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44041

[Bug c++/44122] Confusing error: cannot convert 'T*' to 'T*' (when T are different scopes)

2010-07-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement GCC build triplet|x86_64-unknown-linux-gnu| GCC h

[Bug c/23104] [4.3/4.4/4.5/4.6 Regression] C does not reject the same function in two different TUs with -combine

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2010-07-24 21:05 --- No longer going to work on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/44041] [4.5 regression] -combine ICE: verify_gimple failed (invalid conversion in return statement)

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-24 21:03 --- Well this no longer compiles on the trunk: src/bregs.h:40:75: error: duplicate member ‘di_hi’ -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/45047] [4.5 Regression] ICE in vectorizable_store

2010-07-24 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2010-07-24 20:51 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/43886] [C++0x] name lookup failure on un-used local variable in lambda compound-statement

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 20:47 --- Let's see CC Jason to see what he thinks. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/45021] Redundant prefetches for some loops (vectorizer produced ones too)

2010-07-24 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #3 from rakdver at kam dot mff dot cuni dot cz 2010-07-24 20:41 --- Subject: Re: Redundant prefetches for some loops (vectorizer produced ones too) > > The direct reason is that prefetching could not differentiate the base > > addresses > > of the vectorized load a

[Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2010-07-24 20:40 --- Mine then. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unass

[Bug rtl-optimization/45061] [4.6 Regression] ICE: in check_allocation, at ira.c:1677 with -O2 -ftracer -fira-coalesce

2010-07-24 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=45061

[Bug c++/45043] [4.4/4.5/4.6 Regression] ICE: tree check: expected identifier_node, have bit_not_expr in grokdeclarator, at cp/decl.c:8113 on invalid code

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 20:38 --- Confirmed. 4.3.2 works. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/45062] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in start_decl, at c-decl.c:4064

2010-07-24 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=45062

[Bug tree-optimization/45047] [4.5 Regression] ICE in vectorizable_store

2010-07-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45047

[Bug target/45039] memory access and address update in one instruction for thumb2

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 20:35 --- This requires scheduling the code better. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/45021] Redundant prefetches for some loops (vectorizer produced ones too)

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 20:32 --- (In reply to comment #1) > The direct reason is that prefetching could not differentiate the base > addresses > of the vectorized load and store (of a[i]): > *vect_pa.6_24 > *vect_pa.19_37 Here is a testcase which s

[Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023

2010-07-24 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-07-24 20:26 --- This is caused by revision 161655: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg6.html -- hjl dot tools at gmail dot com changed: What|Removed |Added -

[Bug c++/45011] template function specialization: does not respect access specifier

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-07-24 20:21 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug middle-end/44974] [4.6 Regression] Function with attribute noreturn omits a call to another function with noreturn

2010-07-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |critical GCC build triplet|x86_64-unknown-linux-gnu| GCC host

[Bug target/44981] cfstring_format_type support needed darwin10

2010-07-24 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44981

[Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-24 20:16 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #19 from burnus at gcc dot gnu dot org 2010-07-24 20:16 --- And of course the patch won't work out of the box: $ gfortran -O2 -g gfortran.dg/entry_array_specs_2.f && ./a.out gfortran.dg/entry_array_specs_2.f:16:0: internal compiler error: in output_die, at dwarf2out.c:1104

[Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-24 20:15 --- Created an attachment (id=21303) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21303&action=view) More reduced -- pinskia at gcc dot gnu dot org changed: What|Removed |Ad

[Bug c++/44924] Broken htons, invalid conversion warning

2010-07-24 Thread ralgith at gmail dot com
--- Comment #6 from ralgith at gmail dot com 2010-07-24 20:02 --- Apparently this is fixed in later versions of glibc already. Thanks for the info. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44924

[Bug target/44631] [sparc] long long to double conversion error

2010-07-24 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2010-07-24 19:59 --- In gcc, soft-fp is used e.g. for x86_64 __float128 support. In glibc, soft-fp is used on several architectures for long double support, e.g. sparc* or alpha. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44631

[Bug fortran/44660] [regression 4.4/4.5/4.6] ICE in resolve_equivalence()

2010-07-24 Thread mikael at gcc dot gnu dot org
--- Comment #18 from mikael at gcc dot gnu dot org 2010-07-24 19:52 --- (In reply to comment #16) > Mikael, what's the status of this patch? > Forgotten :-/ (In reply to comment #17) > With 4.5 about to pop a release it would be good to get this fixed for it, > with > release manager

[Bug c/45062] New: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in start_decl, at c-decl.c:4064

2010-07-24 Thread zsojka at seznam dot cz
This might be related to PR45049 testcase.c void foo(xxx); Compiler output: $ gcc testcase.c testcase.c:1:1: warning: parameter names (without types) in function declaration [enabled by default] testcase.c:1:1: internal compiler error: tree check: expected tre

[Bug tree-optimization/43784] [4.6 Regression] -Os -fkeep-inline-functions causes FAIL: gcc.c-torture/execute/builtins/pr22237.c execution

2010-07-24 Thread joseph at codesourcery dot com
--- Comment #8 from joseph at codesourcery dot com 2010-07-24 19:49 --- Subject: Re: [4.6 Regression] -Os -fkeep-inline-functions causes FAIL: gcc.c-torture/execute/builtins/pr22237.c execution On Fri, 23 Jul 2010, rguenth at gcc dot gnu dot org wrote: > Joseph, this is really trigg

[Bug target/44999] "and r0, r0, #255" can be replace with uxtb in thumb2

2010-07-24 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2010-07-24 19:47 --- *** This bug has been marked as a duplicate of 43461 *** -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/43461] unsigned int var; (var & 0xFF) not translated to uxtb insn in Thumb mode

2010-07-24 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2010-07-24 19:47 --- *** Bug 44999 has been marked as a duplicate of this bug. *** -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/45061] [4.6 Regression] ICE: in check_allocation, at ira.c:1677 with -O2 -ftracer -fira-coalesce

2010-07-24 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-07-24 19:39 --- Created an attachment (id=21302) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21302&action=view) reduced testcase $ gcc -O2 -ftracer -fira-coalesce pr45061.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45061

[Bug rtl-optimization/45061] New: [4.6 Regression] ICE: in check_allocation, at ira.c:1677 with -O2 -ftracer -fira-coalesce

2010-07-24 Thread zsojka at seznam dot cz
Command line: $ gcc -O2 -ftracer -fira-coalesce testcase.c Compiler output: $ gcc -O2 -ftracer -fira-coalesce testcase.c bad allocation for 58 and 60 testcase.c: In function 'foo': testcase.c:26:1: internal compiler error: in check_allocation, at ira.c:1677 Please submit a full bug report, with pr

[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc

2010-07-24 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-07-24 19:36 --- Attempting to bootstrap 4.5.1-RC on powerpc-linux with --enable-target-optspace fails near the end of stage1 while configuring libgomp: configure:3658: checking for C compiler default output file name configure:3680: /ho

[Bug translation/40884] error messages in .md files not translated

2010-07-24 Thread joseph at codesourcery dot com
--- Comment #3 from joseph at codesourcery dot com 2010-07-24 19:29 --- Subject: Re: error messages in .md files not translated On Tue, 20 Jul 2010, steven at gcc dot gnu dot org wrote: > Why should an .md file call error()? The ones in neon.md look like they should > be internal_erro

[Bug tree-optimization/45056] [4.6 Regression] ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1023

2010-07-24 Thread zsojka at seznam dot cz
--- Comment #2 from zsojka at seznam dot cz 2010-07-24 19:26 --- Created an attachment (id=21301) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21301&action=view) more reduced testcase Command line: $ g++ -O1 -fschedule-insns2 -fschedule-insns -g testcase.C (-fsched-pressure is no

[Bug translation/40884] error messages in .md files not translated

2010-07-24 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2010-07-24 19:22 --- Subject: Re: error messages in .md files not translated On Tue, 20 Jul 2010, steven at gcc dot gnu dot org wrote: > Why should an .md file call error()? The ones in neon.md look like they should > be internal_erro

[Bug libstdc++/45060] New: Wreorder warning in bits/hashtable.h

2010-07-24 Thread foom at fuhm dot net
When compiling with -Wsystem-headers, I noticed: /usr/include/c++/4.5/bits/hashtable.h:179:30: warning: 'std::_Hashtable, std::_Identity, ..., ..., std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>::_M_rehash_policy' wil

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2010-07-24 19:13 --- (In reply to comment #17) > comment 1 still fails with current trunk (In reply to comment #1) > subroutine two() > call three() > end subroutine two > > subroutine three() > end subro

[Bug tree-optimization/45059] [4.6 Regression] error: invalid operands in binary operation, leads to ICE: verify_stmts failed

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-07-24 19:09 --- Caused by tree-ssa-reassoc.c -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/44881] toplevel configure assumes that mpc is fine when gmp is a toplevel directory

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:53 --- It does check for mpc.h just not when you are compiling gmp also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/44924] Broken htons, invalid conversion warning

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-07-24 18:48 --- There is nothing in GCC that can be done because the macro is being expanded and glibc defines the macro. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/45034] [4.3/4.4/4.5/4.6 Regression] "safe" conversion from unsigned to signed char gives broken code

2010-07-24 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2010-07-24 18:47 --- (In reply to comment #3) > It is triggered by revision 121254: > > http://gcc.gnu.org/ml/gcc-cvs/2007-01/msg00960.html I don't think that's correct. I definitely see the error with both gcc trunk r121253 (pre 4.3.0) an

[Bug target/44877] [4.6 Regression] C++ compiler can no longer compile dealII for VSX/Altivec vectorization

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2010-07-24 18:41 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRM

[Bug java/44876] internal compiler error: Segmentation fault

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:40 --- Can you try 4.5.0? Also can you attach spring-2.0.6.jar ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/44815] Compiz Core miscompiles with GCC 4.5

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2010-07-24 18:39 --- *** This bug has been marked as a duplicate of 44059 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/44059] [4.5 Regression] Static initializers executed more than once when using unique global symbols

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2010-07-24 18:39 --- *** Bug 44815 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug testsuite/44873] array function not fully defined

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:38 --- >In test case retarray.f90 at line 10 the array TEST is not fully defined. Yes it is not fully initialized but should that matter? The testcase does not depend on those elements. -- http://gcc.gnu.org/bugzilla

[Bug middle-end/44848] Bogus "array subscript is below array bounds" with loops

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-07-24 18:35 --- j_64: [min_order_29(D), +INF] EQUIVALENCES: { j_5 } (1 elements) -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/44854] Improve diagnostic for missing member name or ';' in a struct

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:28 --- identifier is the same as member name. In fact I say GCC's diagnostic is more correct as ( can be there also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/44731] [4.5 Regression] Return value optimization produces inaccurate debug info

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:27 --- Works in 4.3.2 and on the trunk. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/45059] New: error: invalid operands in binary operation, leads to ICE: verify_stmts failed

2010-07-24 Thread regehr at cs dot utah dot edu
[reg...@bethe tmp604]$ current-gcc -O3 small.c -c -fwhole-program small.c: In function 'main': small.c:42:1: error: invalid operands in binary operation D.2852_11 = (unsigned int) D.2845_7 != 4294967295; small.c:42:1: internal compiler error: verify_stmts failed Please submit a full bug report, wi

[Bug c++/44743] Parser does not recognize local variable in constant expression for member function pointers

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-07-24 18:20 --- *** This bug has been marked as a duplicate of 37093 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/37093] [4.2/4.3 Regression] ICE with pointer to member template parameters

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #29 from pinskia at gcc dot gnu dot org 2010-07-24 18:20 --- *** Bug 44743 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug gcov-profile/44728] gcov chokes when "." is present in DIR argument to -o flag

2010-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2010-07-24 18:16 --- Confirmed. apin...@apinski-desktop:~/rrr/1.1$ ~/local-gcc/bin/gcc main.c -fprofile-arcs -ftest-coverage apin...@apinski-desktop:~/rrr/1.1$ ./a.out apin...@apinski-desktop:~/rrr/1.1$ ~/local-gcc/bin/gcov -o ~/rrr/1.1

[Bug fortran/40873] -fwhole-file -fwhole-program: Wrong decls cause too much to be optimized away

2010-07-24 Thread jv244 at cam dot ac dot uk
--- Comment #17 from jv244 at cam dot ac dot uk 2010-07-24 18:15 --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40873#c1 still fails with current trunk -- jv244 at cam dot ac dot uk changed: What|Removed |Added

[Bug fortran/44945] [4.6 Regression] Wrong decl for module vars / FAIL: gfortran.dg/char_array_structure_constructor.f90

2010-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #25 from burnus at gcc dot gnu dot org 2010-07-24 18:14 --- (In reply to comment #21) > In my opinion revision 162487 is only a partial fix of the problem. If I split > a modified test case in two files: [...] I still get [...] Bus error (In reply to comment #24) > Look at -

[Bug middle-end/45058] New: GCC doesn't create functions with multiple entry points.

2010-07-24 Thread svfuerst at gmail dot com
A possible optimization in some cases is to construct a function with multiple entry points. This can save in both size and speed in certain cases. #include /* Example function that does something complex enough not to be optimized away */ static foo(int x) { int i; int j = x;

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2010-07-24 Thread jv244 at cam dot ac dot uk
--- Comment #20 from jv244 at cam dot ac dot uk 2010-07-24 18:12 --- is this now fixed, all test cases seem to be passing ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38913

[Bug fortran/32817] MODULE functions are not inlined

2010-07-24 Thread jv244 at cam dot ac dot uk
--- Comment #10 from jv244 at cam dot ac dot uk 2010-07-24 17:58 --- with -fwhole-file being the default this testcase http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32817#c5 gets properly inlined at -O2. Yeah! I think this can be closed, but probably one would like to add a testcase to

[Bug fortran/45057] New: Unneded temporary / missed bounds violation for PACK

2010-07-24 Thread tkoenig at gcc dot gnu dot org
>From a c.l.f post by "prcirrus". i...@linux-fd1f:~/Krempel/Pack> cat haha.f90 module te type av real a1, a2 end type av end module te PROGRAM test2 use te parameter (mxrec=1) type(av) dat(mxrec) logical mask(mxrec) nrec=6000 mask(1:nrec) = .f

[Bug lto/43788] ICE: verify_stmts failed: statement marked for throw, but doesn't

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-07-24 16:58 --- Works for me. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UN

[Bug lto/43788] ICE: verify_stmts failed: statement marked for throw, but doesn't

2010-07-24 Thread rguenth at gcc dot gnu dot org
to/43788 * g++.dg/lto/20100724-1_0.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/lto/20100724-1_0.C Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43788

[Bug lto/43212] [LTO] error: control flow in the middle of basic block

2010-07-24 Thread rguenth at gcc dot gnu dot org
to/43212 * gcc.dg/lto/20100724-1_0.c: New testcase. * gcc.dg/lto/20100724-1_1.c: Likewise. Added: trunk/gcc/testsuite/gcc.dg/lto/20100724-1_0.c trunk/gcc/testsuite/gcc.dg/lto/20100724-1_1.c Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43212

[Bug lto/43212] [LTO] error: control flow in the middle of basic block

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-07-24 16:46 --- Hm, I can't reproduce this anymore. Thus, fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug other/42903] Compare-debug fails on files compiled with -flto

2010-07-24 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-24 16:38 --- It does since 2010-06-20 Alexandre Oliva * compare-debug: Drop LTO sections. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/40011] Problems with -fwhole-file

2010-07-24 Thread burnus at gcc dot gnu dot org
--- Comment #68 from burnus at gcc dot gnu dot org 2010-07-24 16:32 --- Subject: Bug 40011 Author: burnus Date: Sat Jul 24 16:32:11 2010 New Revision: 162500 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162500 Log: 2010-07-24 Tobias Burnus PR fortran/40011

  1   2   >