[Bug c++/35008] New: Bug in processing nested typedef in nested template class in method definition

2008-01-28 Thread wirawan0 at gmail dot com
The following testcase fails to compile: template struct outer1 { typedef int my_value_type; // define a nested datatype template struct inner1 { typedef outer1 myboss; // borrow the boss's datatype << -- don't reduce or change this one: typedef typename myboss::my

[Bug fortran/34828] ICE: GNU MP: Cannot reallocate memory for gfortran.dg/parameter_array_init_3.f90

2008-01-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-01-29 03:33 --- Here is a modified test case that illustrates the problem better. It was just dumb luck that the test case was passing on some platforms. The following segfaults on x86-64 with current trunk. module abuse_mod

[Bug fortran/35009] New: error on valid with -std=f95 (character arrays in format tags)

2008-01-28 Thread bcbarnes at gmail dot com
from my original report: I have a program which uses conditional format tags, similar to this testcase which is taken from page 187 of Metcalf, Reid and Cohen's Fortran 95/2003 explained: --- program testcase integer :: ival(30),key,i character(30) :: buffer character(6) :

[Bug c++/35007] [4.3 Regression] Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array

2008-01-28 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org

[Bug testsuite/34880] gcc.c-torture/execute/float-floor.c fails for targets with no 64-bit double type

2008-01-28 Thread pmarques at grupopie dot com
--- Comment #1 from pmarques at grupopie dot com 2008-01-29 04:13 --- Created an attachment (id=15045) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15045&action=view) patch to allow target to set double type as unsupported with this patch, the target can simply add: set_board_i

[Bug fortran/34828] ICE: GNU MP: Cannot reallocate memory for gfortran.dg/parameter_array_init_3.f90

2008-01-28 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-01-29 05:17 --- Code in Comment #10 is invalid. I have a fix for that segfault though. Continuing the hunt. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34828

[Bug rtl-optimization/34773] [4.3 regression] miscompilation of vfprintf_r

2008-01-28 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-01-29 05:39 --- I'm learning; first time around this new df and cfglayout stuff. I haven't stumbled on anything anywhere actually explicitly saying so, but the "fake" fallthrough edges are apparently the main part of cfglayout; better t

[Bug c++/35007] [4.3 Regression] Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array

2008-01-28 Thread jason at gcc dot gnu dot org
--- Comment #8 from jason at gcc dot gnu dot org 2008-01-29 05:53 --- Subject: Bug 35007 Author: jason Date: Tue Jan 29 05:52:20 2008 New Revision: 131933 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131933 Log: PR c++/35007 * class.c (build_base_path): Fix !wa

[Bug c++/35007] [4.3 Regression] Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array

2008-01-28 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2008-01-29 05:51 --- Subject: Bug 35007 Author: jason Date: Tue Jan 29 05:50:24 2008 New Revision: 131931 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131931 Log: PR c++/35007 * class.c (build_base_path): Fix !wa

[Bug c++/35007] [4.3 Regression] Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array

2008-01-28 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2008-01-29 05:52 --- Subject: Bug 35007 Author: jason Date: Tue Jan 29 05:52:13 2008 New Revision: 131932 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131932 Log: PR c++/35007 * class.c (build_base_path): Fix !wa

[Bug fortran/19925] Implied do-loop in an initialization expression is broken

2008-01-28 Thread jv244 at cam dot ac dot uk
--- Comment #15 from jv244 at cam dot ac dot uk 2008-01-29 06:31 --- the comment #10 test case is still broken, and reaching its 3rd anniversary soon. Just a back trace to the segfault: 1347 cons = cons->next; (gdb) bt #0 0x00422cda in find_array_section (expr=0xf7

[Bug libstdc++/34794] build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47

2008-01-28 Thread tammer at tammer dot net
--- Comment #14 from tammer at tammer dot net 2008-01-29 07:03 --- Hello, I just tested HEAD on AIX 6.1 and you are right ... the build crashes here: /opt/freeware/bin/bash ../../gcc-4.3.0/gcc/../move-if-change tmp-attr.h insn-attr.h echo timestamp > s-attr /opt/freeware/src/packages/BU

[Bug c++/35007] [4.3 Regression] Firefox fails to build with affentry.cpp:94: error: ISO C++ forbids subscripting non-lvalue array

2008-01-28 Thread steven at gcc dot gnu dot org
--- Comment #9 from steven at gcc dot gnu dot org 2008-01-29 07:29 --- Zap. -- steven at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug preprocessor/35010] New: preprocessor loses leading whitespace

2008-01-28 Thread sabre at nondot dot org
This testcase: #define debug(format, ...) format, ## __VA_ARGS__) debug(X); debug(Y, 1, 2); debug(Y, 1, 2 ); debug(Z, ); debug(W,); Should preprocess to: X); Y, 1, 2); Y, 1, 2); Z, ); W, ); not: X); Y, 1, 2); Y, 1, 2); Z,); W,); Z/W should have spaces. -- Summary: preprocessor

<    1   2