public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8160: Internal compiler error in build_modify_expr, at cp/typeck.c:5494
@ 2002-10-07  8:16 sdementen
  0 siblings, 0 replies; 2+ messages in thread
From: sdementen @ 2002-10-07  8:16 UTC (permalink / raw)
  To: gcc-gnats

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]


>Number:         8160
>Category:       c++
>Synopsis:       Internal compiler error in build_modify_expr, at cp/typeck.c:5494
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 07 08:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sébastien de Menten
>Release:        gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
>Organization:
>Environment:
Fresh Mandrake 9.0 installation (gcc-2.96 is also installed)
>Description:
Compilation of the file leads to

error_build_modify_expr.cpp: In constructor `foo<D>::foo() [with int D = 1]':
error_build_modify_expr.cpp:15:   instantiated from here
error_build_modify_expr.cpp:11: Internal compiler error in build_modify_expr, at cp/typeck.c:5494
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
>How-To-Repeat:
Compile the file with no special flags

g++ error_build_modify_expr.cpp
>Fix:
Remove the templateness of the file (in this case, the template is useless :-)).
Otherwise, this is not possible. The const array must be initialised in another way.
But the standard C++ does not define any way, I think...
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="error_build_modify_expr.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="error_build_modify_expr.cpp"

I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGU8aW50IEQ+CmNsYXNzIGZvbyB7CnB1YmxpYzoK
ICBjb25zdCBpbnQgZFszXTsKICBmb28oKTsKfTsKCnRlbXBsYXRlPGludCBEPgpmb288RD46OmZv
bygpIDogZCgoY29uc3QgaW50W10pezEsMiwzfSkgewp9OwoKaW50IG1haW4oaW50IGFyZ2MsY2hh
ciAqKmFyZ3YpIHsKICBmb288MT4gYjsKfTsK


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/8160: Internal compiler error in build_modify_expr, at cp/typeck.c:5494
@ 2002-10-27  6:44 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-10-27  6:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, sdementen

Synopsis: Internal compiler error in build_modify_expr, at cp/typeck.c:5494

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Oct 27 06:44:32 2002
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8160


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-27 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-07  8:16 c++/8160: Internal compiler error in build_modify_expr, at cp/typeck.c:5494 sdementen
2002-10-27  6:44 lerdsuwa

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).