public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/6074: gcc snapshot 20020325 alias problem
@ 2002-03-27 15:46 qzb04471
0 siblings, 0 replies; 2+ messages in thread
From: qzb04471 @ 2002-03-27 15:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 6074
>Category: c++
>Synopsis: gcc snapshot 20020325 alias problem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Wed Mar 27 15:46:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Yoshinori Sato
>Release: gcc version 3.1 20020325 (prerelease)
>Organization:
>Environment:
linux-2.2.20
glibc-2.1.3
>Description:
It will become an error is compiled by c++.
$ h8300-elf-gcc -mh -mint32 -S -xc++ weak.c
weak.c:7: `void foo()' defined both normally and as an alias
weak.c:7: weak declaration of `void foo()' must precede definition
In C, it can compile normally.
$ h8300-elf-gcc -mh -mint32 -S -xc weak.c
no error.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="weak.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="weak.c"
I2lmIGRlZmluZWQoX19HTlVHX18pCmV4dGVybiAiQyIgewojZW5kaWYKZXh0ZXJuIHZvaWQgZm9v
KHZvaWQpOwoKdm9pZCAKZm9vKHZvaWQpIF9fYXR0cmlidXRlX18gKCh3ZWFrKSkgX19hdHRyaWJ1
dGVfXyAoKGFsaWFzICgiX19mb28iKSkpOwoKdm9pZCBfX2Zvbyh2b2lkKQp7Cn0KI2lmIGRlZmlu
ZWQoX19HTlVHX18pCn0KI2VuZGlmCg==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/6074: gcc snapshot 20020325 alias problem
@ 2002-10-26 7:27 lerdsuwa
0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2002-10-26 7:27 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, qzb04471
Synopsis: gcc snapshot 20020325 alias problem
State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Oct 26 07:27:59 2002
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6074
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-26 14:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-27 15:46 c++/6074: gcc snapshot 20020325 alias problem qzb04471
2002-10-26 7:27 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).