public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/27227]  New: [4.0/4.1/4.2 Regression] rejects valid code with some extern "C"
@ 2006-04-20 19:36 pinskia at gcc dot gnu dot org
  2006-04-22 20:28 ` [Bug c++/27227] " pinskia at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-20 19:36 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2007-02-03 16:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20 19:36 [Bug c++/27227] New: [4.0/4.1/4.2 Regression] rejects valid code with some extern "C" pinskia at gcc dot gnu dot org
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

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