c++/3079: Internal compiler error 40

philippeb@corel.com philippeb@corel.com
Thu Jun 7 17:36:00 GMT 2001


>Number:         3079
>Category:       c++
>Synopsis:       Internal compiler error 40
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 07 17:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     gcc
>Release:        gcc version 2.95.4 20010506 (Debian prerelease)
>Organization:
>Environment:
Debian Linux 2.4.0 i686
>Description:
typelistsort2-error.cpp: In function `void foo<u<int,5,empty_t> >(const u<int,5,empty_t> &)':
typelistsort2-error.cpp:23:   instantiated from `foo<u<int,4,u<int,5,empty_t> >
>How-To-Repeat:
Template function overloading
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 >(const u<int,4,u<int,5,empty_t> > &)'
 typelistsort2-error.cpp:23:   instantiated from `foo<u<int,0,u<int,4,u<int,5,empty_t> > > >(const u<int,0,u<int,4,u<int,5,empty_t> > > &)'
 typelistsort2-error.cpp:32:   instantiated from here
 typelistsort2-error.cpp:23: Internal compiler error 40.
 typelistsort2-error.cpp:23: Please submit a full bug report.
 typelistsort2-error.cpp:23: Internal compiler error:
 typelistsort2-error.cpp:23: See <URL: http://www.gnu.org/software/gcc/bugs.html >
 for instructions.
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="typelistsort2-error.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="typelistsort2-error.cpp"

I2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RydWN0IGVtcHR5X3Qge307Cgp0ZW1wbGF0ZSA8Y2xhc3Mg
X1QxLCBfVDEgX1YxLCBjbGFzcyBfVDIgPSBlbXB0eV90PiBzdHJ1Y3QgdSA6IHB1YmxpYyBfVDIK
ewoJc3RhdGljIF9UMSBjb25zdCBoZWFkID0gX1YxOwoJdHlwZWRlZiBfVDIgdGFpbDsKfTsKCnRl
bXBsYXRlIDxjbGFzcyBfVDEsIF9UMSBfVjEsIGNsYXNzIF9UMj4gX1QxIGNvbnN0IHU8X1QxLCBf
VjEsIF9UMj46OmhlYWQ7CgoKdGVtcGxhdGUgPGNsYXNzIF9UMT4gdm9pZCBpdGVyYXRlKF9UMSBj
b25zdCAmIHQpCnsKCWNvdXQgPDwgdCA8PCBlbmRsOwp9CgoKdGVtcGxhdGUgPGNsYXNzIF9UPiBp
bmxpbmUgdm9pZCBmb28oX1QgY29uc3QgJikKewoJaXRlcmF0ZShfVDo6aGVhZCk7Cglmb28oX1Q6
OnRhaWwpOwp9Cgp0ZW1wbGF0ZSA8PiBpbmxpbmUgdm9pZCBmb28oZW1wdHlfdCBjb25zdCAmKQp7
Cn0KCmludCBtYWluKCkKewoJZm9vKHU8aW50LCAwLCB1PGludCwgNCwgdTxpbnQsIDU+ID4gPigp
KTsKfQo=



More information about the Gcc-bugs mailing list