public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738
@ 2003-04-23  4:16 crux
  0 siblings, 0 replies; 2+ messages in thread
From: crux @ 2003-04-23  4:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10458
>Category:       middle-end
>Synopsis:       internal compiler error in `make_decl_rtl', at varasm.c:738
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 23 04:15:59 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tom Ace
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Linux thoth 2.4.1 #1 SMP Tue Feb 27 08:40:43 PST 2001 i686 unknown
>Description:
A small C++ testcase elicits some error messages, then:

     Internal compiler error in `make_decl_rtl', at varasm.c:738

>How-To-Repeat:
Turn gcc loose on the attached source.  
No options to gcc are needed.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="bugsource.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="bugsource.cc"

LyoKCiAgZ2NjIGJ1ZyAoaW50ZXJuYWwgY29tcGlsZXIgZXJyb3IpLCBvYnNlcnZlZCBvbiBBcHJp
bCAyMiwgMjAwMwogIFRvbSBBY2UgIGNydXhAcW5ldC5jb20KCiAgZ2NjIC12ICAgIGdpdmVzOgog
ICAgIFJlYWRpbmcgc3BlY3MgZnJvbSAvdXNyL2xpYi9nY2MtbGliL2kzODYtc2xhY2t3YXJlLWxp
bnV4LzIuOTUuMi9zcGVjcwogICAgIGdjYyB2ZXJzaW9uIDIuOTUuMiAxOTk5MTAyNCAocmVsZWFz
ZSkKCiAgdW5hbWUgLWEgIGdpdmVzOgogICAgIExpbnV4IHRob3RoIDIuNC4xICMxIFNNUCBUdWUg
RmViIDI3IDA4OjQwOjQzIFBTVCAyMDAxIG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SA9IFY7Cn0KCg==


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

* Re: middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738
@ 2003-04-23 14:22 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-23 14:22 UTC (permalink / raw)
  To: crux, gcc-bugs, gcc-prs, nobody

Synopsis: internal compiler error in `make_decl_rtl', at varasm.c:738

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Apr 23 14:22:14 2003
State-Changed-Why:
    With newer versions of gcc I get
    g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
    x.cc:33: error: `saguaro' is not a class-name or namespace-name
    x.cc:34: error: ISO C++ forbids declaration of `saguaro' with no type
    x.cc: In function `int saguaro()':
    x.cc:35: error: `XMaxSize' undeclared (first use this function)
    x.cc:35: error: (Each undeclared identifier is reported only once for each
       function it appears in.)
    x.cc:35: error: `X' undeclared (first use this function)
    x.cc:36: error: `YMaxSize' undeclared (first use this function)
    x.cc:36: error: `Y' undeclared (first use this function)
    x.cc:37: error: `YMInfos' undeclared (first use this function)
    x.cc: At global scope:
    x.cc:40: error: `saguaro' is not a class-name or namespace-name
    x.cc: In function `void setsize(int, int)':
    x.cc:42: error: invalid types `int[int]' for array subscript
    x.cc:42: error: `U' undeclared (first use this function)
    x.cc:43: error: `YMInfos' undeclared (first use this function)
    x.cc:43: error: `V' undeclared (first use this function)
    
    Please note that gcc2.95 is already 3 1/2 years old. You
    should try to upgrade.
    
    W.

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


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

end of thread, other threads:[~2003-04-23 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-23  4:16 middle-end/10458: internal compiler error in `make_decl_rtl', at varasm.c:738 crux
2003-04-23 14:22 bangerth

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