[Bug c++/13661] New: Internal compiler error in c_expand_expr, at c-common.c:3714
cgl20 at cam dot ac dot uk
gcc-bugzilla@gcc.gnu.org
Mon Jan 12 20:24:00 GMT 2004
----- end part of error message ----
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichStuff.tcc:
In static member function `static double Lester::RichStuff<Mode,
mode>::totalLogProb(const Lester::RichParams<Mode, mode>&, const
Lester::Data<Mode, mode>&, const Lester::Alterations<Mode, mode>&) [with
Mode = Lester::Rich2Configuration, const Mode&mode =
Lester::globalRich2Configuration]':
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/MyRichMetropolisSampler.h:60:
instantiated from `double Lester::MyRichMetropolisSampler<Mode,
mode>::logTargetDistribution(Lester::RichSpace<Mode, mode>::PointType&) const
[with Mode = Lester::Rich2Configuration, const Mode&mode =
Lester::globalRich2Configuration]'
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MarkovChainSampler/MarkovChainSampler.h:30:
instantiated from here
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichStuff.tcc:68:
Internal compiler error in c_expand_expr, at c-common.c:3714
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-------------------------------------------------
On my computer (pccn) with the following snippets of configuration ...
pccn:cmt> ldd `which g++`
libc.so.6 => /lib/libc.so.6 (0x4002c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
pccn:cmt> which g++
/usr/local/bin/g++
pccn:cmt> g++ --version
g++ (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pccn:lester> uname -a
Linux pccn 2.4.20-24.7.cb1 #1 Thu Dec 18 16:18:47 GMT 2003 i686 unknown
... I find that ...
g++ -c /tmp/pps.c++ -g -Df2cFortran -fPIC -shared -D_GNU_SOURCE -Dlinux -Dunix
-pipe -ansi -Wall -W -pthread -pedantic -D_GNU_SOURCE
... produces the output reported below which ends in the internal compiler error
reported at the top of this message. Note that the code (/tmp/pps.c++) being
compiled PROBABLY SHOULD NOT COMPILE: it was in a mid-debug state when the error
below was reported. I expect the code to constitute "bad input". Nevertheless,
I report the internal compiler error it in case this is of any use to anyone.
Note also that only the last 13 lines of the output reproduced below are
important. All the earlier lines containing messages about "warning: style of
line directive is a GCC extension" were not produced by the compiler (with the
same options) until I generated the pre-processed file that is to be bundled
with this error report (if I figure out how). These earlier lines seem to be a
consequence of the way I have produced the pre-processed file, and are
(presumably) unrelated to the final internal compiler error message ....
-------- full output of above command -----------
/tmp/pps.c++:1:3: warning: style of line directive is a GCC extension
../src/test/MarkovTest.cpp:1:3: warning: style of line directive is a GCC extension
<built-in>:1:3: warning: style of line directive is a GCC extension
<command line>:1:3: warning: style of line directive is a GCC extension
../src/test/MarkovTest.cpp:2:3: warning: style of line directive is a GCC extension
In file included from ../src/test/MarkovTest.cpp:2:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:1:3: warning:
style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:22:3:
warning: style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:23:3:
warning: style of line directive is a GCC extension
In file included from
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:23,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_sys.h:1:3: warning:
style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_sys.h:61:3: warning:
style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:24:3:
warning: style of line directive is a GCC extension
In file included from
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:24,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_machine.h:5:3:
warning: style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_machine.h:6:3:
warning: style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_machine.h:7:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:25:3:
warning: style of line directive is a GCC extension
In file included from
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_math.h:25,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MathsConstants/MathsConstants.h:5,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Constants.h:4,
from ../src/test/MarkovTest.cpp:2:
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_precision.h:1:3:
warning: style of line directive is a GCC extension
/afs/cern.ch/sw/packages/GSL/1.4/rh73_gcc32/include/gsl/gsl_precision.h:24:3:
warning: style of line directive is a GCC extension
[ ----------- snip ------------]
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichMarkovRingFinder.h:181,
from ../src/test/MarkovTest.cpp:25:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichMarkovRingFinder.tcc:272:3:
warning: style of line directive is a GCC extension
In file included from ../src/test/MarkovTest.cpp:25:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichMarkovRingFinder.h:182:3:
warning: style of line directive is a GCC extension
../src/test/MarkovTest.cpp:26:3: warning: style of line directive is a GCC extension
In file included from ../src/test/MarkovTest.cpp:26:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Rich2Configuration.h:4:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Rich2Configuration.h:4,
from ../src/test/MarkovTest.cpp:26:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichConfiguration.h:4:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichConfiguration.h:4,
from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Rich2Configuration.h:4,
from ../src/test/MarkovTest.cpp:26:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Configuration.h:1:3:
warning: style of line directive is a GCC extension
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Configuration.h:21:3:
warning: style of line directive is a GCC extension
In file included from
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Rich2Configuration.h:4,
from ../src/test/MarkovTest.cpp:26:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichConfiguration.h:14:3:
warning: style of line directive is a GCC extension
In file included from ../src/test/MarkovTest.cpp:26:
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/Rich2Configuration.h:14:3:
warning: style of line directive is a GCC extension
../src/test/MarkovTest.cpp:84:3: warning: style of line directive is a GCC extension
../src/test/MarkovTest.cpp:179:3: warning: style of line directive is a GCC
extension
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichStuff.tcc:
In
static member function `static double Lester::RichStuff<Mode,
mode>::totalLogProb(const Lester::RichParams<Mode, mode>&, const
Lester::Data<Mode, mode>&, const Lester::Alterations<Mode, mode>&) [with
Mode = Lester::Rich2Configuration, const Mode&mode =
Lester::globalRich2Configuration]':
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/MyRichMetropolisSampler.h:60:
instantiated from `double Lester::MyRichMetropolisSampler<Mode,
mode>::logTargetDistribution(Lester::RichSpace<Mode, mode>::PointType&) const
[with Mode = Lester::Rich2Configuration, const Mode&mode =
Lester::globalRich2Configuration]'
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/MarkovChainSampler/MarkovChainSampler.h:30:
instantiated from here
/var/pcce/usera/lester/mycmt/Rich/RichMarkovRingFinder/v1r0/src/finder/RichStuff.tcc:68:
Internal
compiler error in c_expand_expr, at c-common.c:3714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-----------------------------------------------
--
Summary: Internal compiler error in c_expand_expr, at c-
common.c:3714
Product: gcc
Version: 3.2.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cgl20 at cam dot ac dot uk
CC: cgl20 at cam dot ac dot uk,gcc-bugs at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13661
More information about the Gcc-bugs
mailing list