public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/27227]  New: [4.0/4.1/4.2 Regression] rejects valid code with some extern "C"
Date: Thu, 20 Apr 2006 19:36:00 -0000	[thread overview]
Message-ID: <bug-27227-6528@http.gcc.gnu.org/bugzilla/> (raw)

Testcase:
namespace x {
extern "C" const int y;
};
using x::y;
extern "C" int const y=0;
-------

The testcase is orginally from Alex Rosenberg on the IRC channel, modified to
make it valid code so that the linkage specifications match.

This used to work before 4.0.0


-- 
           Summary: [4.0/4.1/4.2 Regression] rejects valid code with some
                    extern "C"
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


             reply	other threads:[~2006-04-20 19:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 19:36 pinskia at gcc dot gnu dot org [this message]
2006-04-22 20:28 ` [Bug c++/27227] " pinskia at gcc dot gnu dot org
2006-05-26 15:28 ` bangerth at dealii dot org
2006-06-04 18:28 ` mmitchel at gcc dot gnu dot org
2006-06-14  4:19 ` mmitchel at gcc dot gnu dot org
2006-06-14 17:48 ` mmitchel at gcc dot gnu dot org
2006-06-14 17:51 ` [Bug c++/27227] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2006-06-14 19:17 ` mmitchel at gcc dot gnu dot org
2006-06-14 19:19 ` [Bug c++/27227] [4.0 " mmitchel at gcc dot gnu dot org
2006-06-15 16:19 ` sje at cup dot hp dot com
2006-06-15 16:50 ` pinskia at gcc dot gnu dot org
2006-06-30 18:03 ` ben at decadentplace dot org dot uk
2006-07-15 10:18 ` tbm at cyrius dot com
2006-07-15 10:28 ` pinskia at gcc dot gnu dot org
2006-07-15 10:41 ` pinskia at gcc dot gnu dot org
2006-07-15 10:42 ` tbm at cyrius dot com
2006-07-15 10:48 ` pinskia at gcc dot gnu dot org
2006-07-15 10:58 ` tbm at cyrius dot com
2006-07-19  6:00 ` mark at codesourcery dot com
2007-02-03 16:52 ` gdr at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-27227-6528@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).