public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "LpSolit at netscape dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug web/52239] Upgrade GCC Bugzilla to 4.4
Date: Wed, 08 May 2013 12:49:00 -0000	[thread overview]
Message-ID: <bug-52239-4-rvSoP9RfK4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52239-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #8 from Frédéric Buclin <LpSolit at netscape dot net> 2013-05-08 12:49:05 UTC ---
(In reply to comment #7)
> Any chance we can take the occasion to restore the svn -> Bugzilla link, where
> the former automatically sends the commit ChangeLogs to the audit trails?

That's out of my control. This must be fixed on the SVN side, not the Bugzilla
one.
>From gcc-bugs-return-421848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed May 08 12:52:25 2013
Return-Path: <gcc-bugs-return-421848-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 13719 invoked by alias); 8 May 2013 12:52:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 13681 invoked by uid 48); 8 May 2013 12:52:22 -0000
From: "damien.levac at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57210] New: Using alignas with an union does not compile.
Date: Wed, 08 May 2013 12:52:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: damien.levac at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57210-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg00521.txt.bz2
Content-length: 1082


http://gcc.gnu.org/bugzilla/show_bug.cgi?idW210

             Bug #: 57210
           Summary: Using alignas with an union does not compile.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: damien.levac@gmail.com


I have a construct of the form:

template <unsigned int ALIGNMENT>
class foo {
    /* ... */
    private:
        alignas(ALIGNMENT) union bar_ { /* ... */ } bar;
};

which does not compile with the following errors:
    error: 'ALIGNMENT' is not a type
    error: ISO C++ forbids declaration of 'alignas' with no type [-fpermissive]
    error: expected ';' at end of member declaration

The following alternatives have been tried without success:

/* ... */
union alignas(ALIGNMENT) bar_ { /* ... */ } bar;
union bar_ { alignas(ALIGNMENT) int foo; /* ... */ } bar;
/* ... */

With different but equivalent error messages.


  parent reply	other threads:[~2013-05-08 12:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 19:23 [Bug web/52239] New: Upgrade GCC Bugzilla to 4.2 LpSolit at netscape dot net
2012-02-17 21:28 ` [Bug web/52239] " pinskia at gcc dot gnu.org
2012-02-17 21:58 ` LpSolit at netscape dot net
2012-02-22 19:42 ` LpSolit at netscape dot net
2012-08-14 18:58 ` LpSolit at netscape dot net
2013-01-04 21:16 ` [Bug web/52239] Upgrade GCC Bugzilla to 4.4 LpSolit at netscape dot net
2013-04-18 16:19 ` LpSolit at netscape dot net
2013-05-08 11:43 ` LpSolit at netscape dot net
2013-05-08 12:49 ` LpSolit at netscape dot net [this message]
2013-05-08 12:57 ` paolo.carlini at oracle dot com
2013-05-09  0:17 ` LpSolit at netscape dot net
2013-05-09  0:20 ` LpSolit at netscape dot net
2013-05-09 12:14 ` LpSolit at netscape dot net
2013-05-09 12:23 ` LpSolit at netscape dot net
2013-05-09 19:33 ` LpSolit at netscape dot net
2013-05-11  8:41 ` glisse at gcc dot gnu.org
2013-05-11 10:41 ` LpSolit at netscape dot net
2013-05-11 10:59 ` LpSolit at netscape dot net
2013-05-16  8:55 ` burnus at gcc dot gnu.org
2013-05-16 10:50 ` LpSolit at netscape dot net
2013-05-16 16:55 ` burnus at gcc dot gnu.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-52239-4-rvSoP9RfK4@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).