public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jan.smets@alcatel-lucent.com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/58420] New: internal compiler error: in ubsan_type_descriptor, at ubsan.c:280
Date: Fri, 13 Sep 2013 23:43:00 -0000	[thread overview]
Message-ID: <bug-58420-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 58420
           Summary: internal compiler error: in ubsan_type_descriptor, at
                    ubsan.c:280
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.smets@alcatel-lucent.com
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

stl.46/bits/locale_facets.h:1585:46: internal compiler error: in
ubsan_type_descriptor, at ubsan.c:280

Line 1585 is '_CharT  _M_atoms_out[__num_base::_S_oend];'


  template<typename _CharT>
    struct __numpunct_cache : public locale::facet
    {
      const char*                       _M_grouping;
      size_t                            _M_grouping_size;
      bool                              _M_use_grouping;
      const _CharT*                     _M_truename;
      size_t                            _M_truename_size;
      const _CharT*                     _M_falsename;
      size_t                            _M_falsename_size;
      _CharT                            _M_decimal_point;
      _CharT                            _M_thousands_sep;

      // A list of valid numeric literals for output: in the standard
      // "C" locale, this is "-+xX0123456789abcdef0123456789ABCDEF".
      // This array contains the chars after having been passed
      // through the current locale's ctype<_CharT>.widen().
      _CharT                            _M_atoms_out[__num_base::_S_oend];

      // A list of valid numeric literals for input: in the standard
      // "C" locale, this is "-+xX0123456789abcdefABCDEF"
      // This array contains the chars after having been passed
      // through the current locale's ctype<_CharT>.widen().
      _CharT                            _M_atoms_in[__num_base::_S_iend];

      bool                              _M_allocated;

      __numpunct_cache(size_t __refs = 0)
      : facet(__refs), _M_grouping(0), _M_grouping_size(0),
        _M_use_grouping(false),
        _M_truename(0), _M_truename_size(0), _M_falsename(0),
        _M_falsename_size(0), _M_decimal_point(_CharT()),
        _M_thousands_sep(_CharT()), _M_allocated(false)
        { }

      ~__numpunct_cache();

      void
      _M_cache(const locale& __loc);

    private:
      __numpunct_cache&
      operator=(const __numpunct_cache&);

      explicit
      __numpunct_cache(const __numpunct_cache&);
    };


             reply	other threads:[~2013-09-13 23:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 23:43 jan.smets@alcatel-lucent.com [this message]
2013-09-14  0:07 ` [Bug sanitizer/58420] " jan.smets@alcatel-lucent.com
2013-09-14  7:53 ` mpolacek at gcc dot gnu.org
2013-09-14  8:06 ` mpolacek at gcc dot gnu.org
2013-09-14  8:31 ` mpolacek at gcc dot gnu.org
2013-09-16 15:50 ` mpolacek at gcc dot gnu.org
2013-09-25  9:04 ` mpolacek at gcc dot gnu.org
2013-09-25  9:05 ` mpolacek 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-58420-4@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).