public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4343: Internal compiler error 61
@ 2002-03-24 15:18 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-03-24 15:18 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, rteipen
Synopsis: Internal compiler error 61
State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar 24 15:18:13 2002
State-Changed-Why:
After I apply the patch so that the code can compile
under gcc 3.x, I do not get an Internal error, but I get the following:
../include/error_terms.h:576: instantiated from here
/opt2/gcc3.1/include/g++-v3/bits/stl_algo.h:2681: no match for `const std::pair<double, std::pair<std::_List_iterator<std::pair<double, double>,
std::pair<double, double>&, std::pair<double, double>*>,
std::_List_iterator<std::pair<double, double>, std::pair<double, double>&,
std::pair<double, double>*> > >& < const double&' operator
/opt2/gcc3.1/include/g++-v3/bits/stl_algo.h: In function `_ForwardIter
std::lower_bound(_ForwardIter, _ForwardIter, const _Tp&) [with _ForwardIter
= std::_List_iterator<std::pair<double, double>, std::pair<double,
double>&,
std::pair<double, double>*>, _Tp = double]':
../include/numerical/num_interpolate.h:120: instantiated from `interpolator<Y_type>& interpolator<Y_type>::add(double, const Y_type&) [with Y_type = double]'
../include/mixer.h:372: instantiated from here
/opt2/gcc3.1/include/g++-v3/bits/stl_algo.h:2681: no match for `
std::pair<double, double>& < const double&' operator
make[1]: *** [error_terms.o] Error 1
make[1]: Leaving directory `/home/craigr/testcases/supermix/obj.i386-intel-linux'
gmake: *** [lib] Error 2
This looks like a code error from here, so I'm closing this.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4343
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/4343: Internal compiler error 61
@ 2001-09-28 15:12 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-09-28 15:12 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, rteipen
Synopsis: Internal compiler error 61
State-Changed-From-To: feedback->analyzed
State-Changed-By: rodrigc
State-Changed-When: Fri Sep 28 15:12:55 2001
State-Changed-Why:
I had to patch your code so that it would compile
with gcc 3.0.1.
I have attached the patch to this problem report.
I still could not compile this code, because there are
errors in this code, and incorrect uses of STL.
However, I could not reproduce the error 61, so I think
that from the compiler point of view, this bug report
can be closed.
I'll leave the bug open a bit longer, and see if I can
find the problem, but I would contact the Supermix people
where you got this code from and ask them to fix it.
Specifically, line 417 in num_interpolate.h is wrong:
const const_table_iter j = lower_bound(table.begin(), table.end(), x);
x is of type double, but each element of table is of type
pair< double, pair< data_iter, data_iter > >
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4343&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/4343: Internal compiler error 61
@ 2001-09-27 19:44 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-09-27 19:44 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, rodrigc, rteipen
Synopsis: Internal compiler error 61
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Thu Sep 27 19:44:48 2001
State-Changed-Why:
Your bug report does not contain a file attachment.
See http://gcc.gnu.org/bugs.html
for instructions as to how to submit preprocessed source
along with a bug report.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4343&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/4343: Internal compiler error 61
@ 2001-09-18 3:36 rteipen
0 siblings, 0 replies; 4+ messages in thread
From: rteipen @ 2001-09-18 3:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 4343
>Category: c++
>Synopsis: Internal compiler error 61
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 18 03:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Rafael Teipen
>Release: 2.95.2 20000220 (Debian) / 2.95.3-5 (cygwin)
>Organization:
>Environment:
Debian GNU/Linux 2.2 -- same problem with cygwin
>Description:
"Internal compiler error 61"
occurs when trying to compile c++-Files with make 3.79.1 (Debian and cygwin)
The same problem does not occur when I do the same procedure with RedHat Linux 7.1 (gcc ver 2.96...) although it is said not to be an official release of gcc.
I would be very happy when the problem could be fixed. Otherwise could you help me how to install gcc 3.0.1 under cygwin? Or can you give me a hint for information resources for that topic?
Thank you for your labor!
>How-To-Repeat:
Extract tgz-File and execute "make lib" in directory "supermix"
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-24 23:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24 15:18 c++/4343: Internal compiler error 61 rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-09-28 15:12 rodrigc
2001-09-27 19:44 rodrigc
2001-09-18 3:36 rteipen
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).