[Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf

2009-12-07 Thread rth at gcc dot gnu dot org
-- rth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c/31499] rejects vector int a[] = {1,1,1,1,1};

2009-12-07 Thread uweigand at gcc dot gnu dot org
--- Comment #4 from uweigand at gcc dot gnu dot org 2009-12-07 22:20 --- Subject: Bug 31499 Author: uweigand Date: Mon Dec 7 22:20:06 2009 New Revision: 155055 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155055 Log: 2008-12-07 Ulrich Weigand Backport from mainli

[Bug other/40302] [4.5 Regression] GCC must hard-require MPC before release

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #13 from rth at gcc dot gnu dot org 2009-12-07 22:22 --- Done, Kaveh? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40302

[Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf

2009-12-07 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-12-07 22:37 --- Subject: Bug 42244 Author: jakub Date: Mon Dec 7 22:37:21 2009 New Revision: 155062 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155062 Log: PR debug/42244 * ddg.c (add_inter_loop_mem_dep):

[Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf

2009-12-07 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-12-07 22:39 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/42166] [4.5 Regression] internal compiler error: verify_ssa failed

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #8 from rth at gcc dot gnu dot org 2009-12-07 22:42 --- Subject: Bug 42166 Author: rth Date: Mon Dec 7 22:42:10 2009 New Revision: 155063 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155063 Log: PR debug/42299 PR debug/42166 * tree-ssa.c (i

[Bug debug/42299] [4.5 Regression] another verify_ssa failure with -g -O2

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #5 from rth at gcc dot gnu dot org 2009-12-07 22:42 --- Subject: Bug 42299 Author: rth Date: Mon Dec 7 22:42:10 2009 New Revision: 155063 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155063 Log: PR debug/42299 PR debug/42166 * tree-ssa.c (i

[Bug c++/42328] New: rejects valid friend

2009-12-07 Thread igodard at pacbell dot net
This code: template class freeList { public: void foo() {}; }; class bar {}; class baz : protected freeList { template friend voidfreeList::foo(); }; int main() { baz b; return 0; } gets you: s3:~/ootbc/personal/ivan$ g++ foo.cc foo.cc:12: error: member ‘void

[Bug c++/42328] rejects valid friend

2009-12-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-12-07 23:13 --- Comeau C++ also rejects this code with the following error message: "ComeauTest.c", line 12: error: declaration is incompatible with nontype " freeList::foo [with T=T, U=baz]" (declared at line 12

[Bug c++/42329] New: Deduction of template template argument via base class fails

2009-12-07 Thread trevor at scurrilous dot com
The following program fails to compile with GCC 4.3.3 (but compiles successfully with Comeau C/C++ 4.3.10.1 and MSVC 15.00.30729.01): template class B {}; template class D : public B {}; template void f(B*) {} template class U, typename T1, typename T2> void g(U*) {} template class U> voi

[Bug debug/42166] [4.5 Regression] internal compiler error: verify_ssa failed

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #9 from rth at gcc dot gnu dot org 2009-12-07 23:31 --- Fixed. -- rth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/42328] rejects valid friend

2009-12-07 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-12-07 23:35 --- Likewise SunStudio and Icc reject it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42328

[Bug debug/42186] [4.5 Regression] [graphite] internal compiler error: verify_ssa failed

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #2 from rth at gcc dot gnu dot org 2009-12-07 23:59 --- Continues to fail with: -fgraphite-identity -O -ffast-math -- rth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/42326] segfault in tree-data-ref.c with Graphite building 200.sixtrack

2009-12-07 Thread janis at gcc dot gnu dot org
--- Comment #1 from janis at gcc dot gnu dot org 2009-12-08 00:31 --- This testcase minimized from 173.applu fails in the same place when compiled with "-m32 -O2 floop-strip-mine -fprefetch-loop-arrays" on powerpc64-linux. subroutine blts ( ldmx, ldmy, v, tmp1, i, j, k) impl

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:34 --- On x86_64-apple-darwin10, the section of the test case that is failing is... /* Test that we don't overflow. */ TESTIT (double, (__DBL_MAX__ * 0.5 + __DBL_MAX__ * 0.5i), /,

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:35 --- Created an attachment (id=19254) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19254&action=view) preprocessed source of reduced builtin-math-7 test case on x86_64-apple-darwin10 -- http://gcc.gn

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2009-12-08 00:36 --- Created an attachment (id=19255) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19255&action=view) assembly of reduced builtin-math-7 test case on x86_64-apple-darwin10 compiled at -O0. -- http://

[Bug rtl-optimization/42269] [4.4/4.5 Regression] Extra sign extension instructions generated

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #3 from rth at gcc dot gnu dot org 2009-12-08 00:44 --- Subject: Bug 42269 Author: rth Date: Tue Dec 8 00:44:28 2009 New Revision: 155071 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155071 Log: PR rtl-opt/42269 * combine.c (setup_incoming_promotio

[Bug target/42312] config/mep/mep.c:2856: (error) Uninitialized variable: frame_size

2009-12-07 Thread dj at gcc dot gnu dot org
--- Comment #1 from dj at gcc dot gnu dot org 2009-12-08 00:48 --- Subject: Bug 42312 Author: dj Date: Tue Dec 8 00:47:58 2009 New Revision: 155072 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155072 Log: PR c/42312 * config/mep/mep.c (mep_expand_prologue): Set really_need_st

[Bug rtl-optimization/42269] [4.4/4.5 Regression] Extra sign extension instructions generated

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #4 from rth at gcc dot gnu dot org 2009-12-08 00:48 --- Fixed for 4.5; I don't think I want to backport to 4.4 without a lot more testing. -- rth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/27469] zero extension not eliminated

2009-12-07 Thread rth at gcc dot gnu dot org
--- Comment #4 from rth at gcc dot gnu dot org 2009-12-08 00:55 --- 4.5 regression fixed in pr42269. I don't know that we'll ever be able to fix the original PR. The problem is that we need to work backward from the "x &= 0xf" through the xor, and see that the srl doesn't actually use

[Bug c++/42328] rejects valid friend

2009-12-07 Thread igodard at pacbell dot net
--- Comment #3 from igodard at pacbell dot net 2009-12-08 02:16 --- I stand corrected about Comeau - I missed the error and only noticed the warning. Regardless, there must be some way to solve this problem: template class freeList { public: void foo(); }; class bar {}; cl

[Bug c++/42330] New: undefined reference to "static const int" in class when passing as "const int &" to a function

2009-12-07 Thread aijunbai at gmail dot com
consider the flowing code: struct A { static const int i = 0; }; void foo(int) { } void bar(const int &) { } int main() { foo(A::i); bar(A::i); return 0; } when compiling with -O0 option, g++ reports that: undefined reference to `A::i', but it will be ok if i use -O3 option.

[Bug other/40302] [4.5 Regression] GCC must hard-require MPC before release

2009-12-07 Thread ghazi at gcc dot gnu dot org
--- Comment #14 from ghazi at gcc dot gnu dot org 2009-12-08 05:24 --- Done. :-) -- ghazi at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug rtl-optimization/42269] [4.4/4.5 Regression] Extra sign extension instructions generated

2009-12-07 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-12-08 06:05 --- On Linux/ia32, I got FAIL: gcc.c-torture/execute/pr42269-2.c execution, -O1 FAIL: gcc.c-torture/execute/pr42269-2.c execution, -O2 FAIL: gcc.c-torture/execute/pr42269-2.c execution, -O2 -flto FAIL: gcc.c-tortu

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread ghazi at gcc dot gnu dot org
--- Comment #7 from ghazi at gcc dot gnu dot org 2009-12-08 06:10 --- I took a quick look. First, there seems to be two separate bugs reported here. One bug, reported by HJ, appears to be lto/whopr related, and so happens on systems lto is activated. The other bug is specific to Darwi

[Bug lto/42074] gcc.dg/torture/builtin-math-7.c failed

2009-12-07 Thread ghazi at gcc dot gnu dot org
--- Comment #8 from ghazi at gcc dot gnu dot org 2009-12-08 07:18 --- Here's a reduced testcase for the -flto/-fwhopr failures. If you compile it with "-O2 -flto" or "-O2 -fwhopr" you get the wrong answers: nan nan nan nan If you use just -O2, you get the correct output, i.e. it contai

<    1   2