public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11061] New: Internal Compiler Error in g++-2.95.4 while using multiple templates
@ 2003-06-02 8:28 hplip@web.de
2003-06-02 10:23 ` [Bug c++/11061] " dhazeghi@yahoo.com
2003-06-02 15:17 ` bangerth@dealii.org
0 siblings, 2 replies; 3+ messages in thread
From: hplip@web.de @ 2003-06-02 8:28 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11061
Summary: Internal Compiler Error in g++-2.95.4 while using
multiple templates
Product: gcc
Version: 2.95.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hplip@web.de
CC: gcc-bugs@gcc.gnu.org
GCC build triplet: i686-linux-pc-gnu
GCC host triplet: i686-linux-pc-gnu
GCC target triplet: i686-linux-pc-gnu
While compiling the following code:
---
template <class T, template <class> class C> class derived : public C<T> {
public:
derived(int dim) : C<T> (dim) { }
};
int main(int argc, char *argv[]) {
return 0;
}
---
with the command:
~/src/bugs$ g++ -o bug bug.cc
I get the error message:
bug.cc: In method `derived<T,C>::derived(int)':
bug.cc:5: Internal compiler error.
bug.cc:5: Please submit a full bug report.
bug.cc:5: Internal compiler error:
bug.cc:5: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
my gcc -v reports:
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4
20011002 (Debian prerelease)
Note: The same code works fine with gcc-3.2.3!
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/11061] Internal Compiler Error in g++-2.95.4 while using multiple templates
2003-06-02 8:28 [Bug c++/11061] New: Internal Compiler Error in g++-2.95.4 while using multiple templates hplip@web.de
@ 2003-06-02 10:23 ` dhazeghi@yahoo.com
2003-06-02 15:17 ` bangerth@dealii.org
1 sibling, 0 replies; 3+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-02 10:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11061
dhazeghi@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From dhazeghi@yahoo.com 2003-06-02 10:23 -------
Hello,
gcc 2.X is quite old, and is no longer maintained at this point. Do you have this problem with a
current version of gcc? If not, then it is a bug that has been fixed since 2.95.4, and we will close
the bug report, since this is a database for unfixed bugs, not fixed ones.
Thank you,
Dara
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/11061] Internal Compiler Error in g++-2.95.4 while using multiple templates
2003-06-02 8:28 [Bug c++/11061] New: Internal Compiler Error in g++-2.95.4 while using multiple templates hplip@web.de
2003-06-02 10:23 ` [Bug c++/11061] " dhazeghi@yahoo.com
@ 2003-06-02 15:17 ` bangerth@dealii.org
1 sibling, 0 replies; 3+ messages in thread
From: bangerth@dealii.org @ 2003-06-02 15:17 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11061
bangerth@dealii.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
------- Additional Comments From bangerth@dealii.org 2003-06-02 15:17 -------
Confirmed with 2.95, but already fixed since 3.0. Time to upgrade.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-02 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02 8:28 [Bug c++/11061] New: Internal Compiler Error in g++-2.95.4 while using multiple templates hplip@web.de
2003-06-02 10:23 ` [Bug c++/11061] " dhazeghi@yahoo.com
2003-06-02 15:17 ` bangerth@dealii.org
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).