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
--- 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
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) :
--
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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
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
101 - 114 of 114 matches
Mail list logo