public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/6548] Incorrect mangling for extern C and namespace
       [not found] <20020503075601.6548.sdouglass@arm.com>
@ 2003-07-07  1:23 ` pinskia at physics dot uc dot edu
  2003-11-09  0:55 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-07  1: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=6548



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-07 01:23 -------
What is really weird is this bug is not on the tree-ssa branch.


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

* [Bug c++/6548] Incorrect mangling for extern C and namespace
       [not found] <20020503075601.6548.sdouglass@arm.com>
  2003-07-07  1:23 ` [Bug c++/6548] Incorrect mangling for extern C and namespace pinskia at physics dot uc dot edu
@ 2003-11-09  0:55 ` pinskia at gcc dot gnu dot org
  2003-11-10  8:45 ` sdouglass at arm dot com
  2005-01-31 14:58 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-09  0:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-09 00:55 -------
This is a dup of bug 7313, the code is invalid.

*** This bug has been marked as a duplicate of 7313 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Keywords|wrong-code                  |accepts-invalid
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6548


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

* [Bug c++/6548] Incorrect mangling for extern C and namespace
       [not found] <20020503075601.6548.sdouglass@arm.com>
  2003-07-07  1:23 ` [Bug c++/6548] Incorrect mangling for extern C and namespace pinskia at physics dot uc dot edu
  2003-11-09  0:55 ` pinskia at gcc dot gnu dot org
@ 2003-11-10  8:45 ` sdouglass at arm dot com
  2003-11-10 15:08   ` Carlo Wood
  2005-01-31 14:58 ` pinskia at gcc dot gnu dot org
  3 siblings, 1 reply; 5+ messages in thread
From: sdouglass at arm dot com @ 2003-11-10  8:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sdouglass at arm dot com  2003-11-10 08:45 -------
Subject: Re:  Incorrect mangling for extern C and namespace

pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-09 00:55 -------
> This is a dup of bug 7313, the code is invalid.
> 
> *** This bug has been marked as a duplicate of 7313 ***

Please explain why you say "the code is invalid".



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6548


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

* Re: [Bug c++/6548] Incorrect mangling for extern C and namespace
  2003-11-10  8:45 ` sdouglass at arm dot com
@ 2003-11-10 15:08   ` Carlo Wood
  0 siblings, 0 replies; 5+ messages in thread
From: Carlo Wood @ 2003-11-10 15:08 UTC (permalink / raw)
  To: sdouglass.arm.com; +Cc: gcc-bugs

On Mon, Nov 10, 2003 at 08:45:47AM -0000, sdouglass at arm dot com wrote:
> Please explain why you say "the code is invalid".

Because, as Nathan said in PR 7313, of 7.5/5 of the standard.
The text of which is:

5 If two declarations of the same function or object specify different
  linkage-specifications (that is, the linkage-specifications of these
  declarations specify different string-literals), the program is ill-formed
  if the declarations appear in the same translation unit, and the one
  definition rule (3.2) applies if the declarations appear in different
  translation units. Except for functions with C++ linkage, a function
  declaration without a linkage specification shall not precede the first
  linkage specification for that function. A function can be declared
  without a linkage specification after an explicit linkage specification
  has been seen; the linkage explicitly specified in the earlier declaration
  is not affected by such a function declaration.

Don't ask me what that means or how it applies to your case ;)

-- 
Carlo Wood <carlo@alinoe.com>


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

* [Bug c++/6548] Incorrect mangling for extern C and namespace
       [not found] <20020503075601.6548.sdouglass@arm.com>
                   ` (2 preceding siblings ...)
  2003-11-10  8:45 ` sdouglass at arm dot com
@ 2005-01-31 14:58 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-31 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-31 14:58 -------
*** Bug 19474 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sstrasser at systemhaus-
                   |                            |gruppe dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6548


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

end of thread, other threads:[~2005-01-31 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020503075601.6548.sdouglass@arm.com>
2003-07-07  1:23 ` [Bug c++/6548] Incorrect mangling for extern C and namespace pinskia at physics dot uc dot edu
2003-11-09  0:55 ` pinskia at gcc dot gnu dot org
2003-11-10  8:45 ` sdouglass at arm dot com
2003-11-10 15:08   ` Carlo Wood
2005-01-31 14:58 ` pinskia at gcc dot gnu dot 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).