public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* Bug: Segmentation fault
@ 2005-04-14 16:05 Antonio
  0 siblings, 0 replies; only message in thread
From: Antonio @ 2005-04-14 16:05 UTC (permalink / raw)
  To: gcc-bugs

[-- Attachment #1: Type: text/plain, Size: 1987 bytes --]

I wrote a program that is fine compiling by MS VC 7.1 or higher
and works correctly. It also is compiling by CodeWarior 8.0.
Unfortunately gcc says subj. :(

Source code you can find in attach.

gcc --version
  gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
  Copyright (C) 2003 Free Software Foundation, Inc.

bash-2.05b$ uname -a
  Linux ziggurat 2.6.10-gentoo-r6with_mppe #6 Tue Mar 15 17:39:51 EET 2005 
  i686 AMD Athlon(tm)  AuthenticAMD GNU/Linux

dcc was compiled by command
  emerge gcc

program was compiled by command
  gcc 6.cpp

compiler output is
bash-2.05b$ gcc 6.cpp
loki/HierarchyGenerators.h: In instantiation of `Loki::GenLinearHierarchy<Loki:
Typelist<f<1>, Loki::Typelist<f<2>, Loki::NullType> >, Chain<List, i>::Functor,
Chain<Functors, 0>::Stub>':
6.cpp:50:   instantiated from `ChainWrapper<Loki::GenLinearHierarchy<Loki::Type
ist<f<1>, Loki::Typelist<f<2>, Loki::NullType> >, Chain<List, i>::Functor, Chai
<Functors, 0>::Stub> >'
6.cpp:71:   instantiated from `Loki::GenScatterHierarchy<Loki::GenLinearHierarc
y<Loki::Typelist<f<1>, Loki::Typelist<f<2>, Loki::NullType> >, Chain<List, i>::
unctor, Chain<Functors, 0>::Stub>, ChainWrapper>'
6.cpp:71:   instantiated from `Loki::GenScatterHierarchy<Loki::Typelist<Loki::G
nLinearHierarchy<Loki::Typelist<f<1>, Loki::Typelist<f<2>, Loki::NullType> >, C
ain<List, i>::Functor, Chain<Functors, 0>::Stub>, Loki::Typelist<Loki::GenLinea
Hierarchy<Loki::Typelist<f<2>, Loki::Typelist<f<1>, Loki::NullType> >, Chain<Li
t, i>::Functor, Chain<Functors, 1>::Stub>, Loki::NullType> >, ChainWrapper>'
6.cpp:71:   instantiated from here
loki/HierarchyGenerators.h:222: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccW13tKm.out file, please attach this to y
ur bugreport.

-- 
Best Regards,
Antonio

[-- Attachment #2: code.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 8145 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-14 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-14 16:05 Bug: Segmentation fault Antonio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).