public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/59167] Add a specialization for std::hash<__gnu_debug::string>
Date: Thu, 09 Apr 2015 15:04:00 -0000 [thread overview]
Message-ID: <bug-59167-4-JqTg4LV5T3@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59167-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59167
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-04-09
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
#include <debug/string>
auto h = std::hash<__gnu_debug::string>{}({});
hh.cc:3:41: error: invalid use of incomplete type ‘struct
std::hash<__gnu_debug::basic_string<char> >’
auto h = std::hash<__gnu_debug::string>{}({});
^
In file included from
/home/jwakely/gcc/5/include/c++/5.0.0/bits/basic_string.h:5466:0,
from /home/jwakely/gcc/5/include/c++/5.0.0/string:52,
from /home/jwakely/gcc/5/include/c++/5.0.0/debug/string:32,
from hh.cc:1:
/home/jwakely/gcc/5/include/c++/5.0.0/bits/functional_hash.h:58:12: note:
declaration of ‘struct std::hash<__gnu_debug::basic_string<char> >’
struct hash;
^
>From gcc-bugs-return-483148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 09 15:07:34 2015
Return-Path: <gcc-bugs-return-483148-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7642 invoked by alias); 9 Apr 2015 15:07:33 -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 7235 invoked by uid 55); 9 Apr 2015 15:07:29 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65690] [5 Regression] typedef alignment lost since r219705
Date: Thu, 09 Apr 2015 15:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65690-4-1Elpkza2Hm@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65690-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65690-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg00700.txt.bz2
Content-length: 564
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide690
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 9 15:06:56 2015
New Revision: 221952
URL: https://gcc.gnu.org/viewcvs?rev"1952&root=gcc&view=rev
Log:
PR c++/65690
* tree.c (build_cplus_array_type): Layout type before variants are
set, but copy over TYPE_SIZE and TYPE_SIZE_UNIT from the main
variant.
* c-c++-common/attr-aligned-1.c: New test.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
prev parent reply other threads:[~2015-04-09 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 8:26 [Bug libstdc++/59167] New: " bmerry at gmail dot com
2015-04-09 15:04 ` redi at gcc dot gnu.org [this message]
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-59167-4-JqTg4LV5T3@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).