public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list
@ 2013-04-03 12:18 williams.kevin at gmail dot com
  2013-04-03 12:22 ` [Bug c++/56832] " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: williams.kevin at gmail dot com @ 2013-04-03 12:18 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56832
           Summary: g++-4.7.2 falls over when compiling vector
                    intialization list
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: williams.kevin@gmail.com


g++-4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



src$ g++-4.7 -std=c++11 runner.cpp -I/opt/cxxtest-4.1 -Iinclude
-I/usr/include/libxml2

In file included from runner.cpp:22:0:
/home/kwilliams/srcw/dacas/branches/appdetection/src/unit/appdetection/tcp/tcpsignature_test.h:
In member function ‘void
TcpSignatureTestSuite::test_validate_sequence_state_transitions_SingleSequenceNoEntryState_ReturnsFalse()’:
/home/kwilliams/srcw/dacas/branches/appdetection/src/unit/appdetection/tcp/tcpsignature_test.h:278:39:
internal compiler error: in force_constant_size, at gimplify.c:703
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccmrJONL.out file, please attach this to
your bugreport.
Traceback (most recent call last):
  File "/usr/share/apport/gcc_ice_hook", line 34, in <module>
    pr.write(open(apport.fileutils.make_report_path(pr), 'w'))
  File "/usr/lib/python2.7/dist-packages/problem_report.py", line 251, in write
    self._assert_bin_mode(file)
  File "/usr/lib/python2.7/dist-packages/problem_report.py", line 629, in
_assert_bin_mode
    assert (type(file) == BytesIO or 'b' in file.mode), 'file stream must be in
binary mode'
AssertionError: file stream must be in binary mode
>From gcc-bugs-return-419128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Apr 03 12:18:41 2013
Return-Path: <gcc-bugs-return-419128-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6233 invoked by alias); 3 Apr 2013 12:18:41 -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 6062 invoked by uid 48); 3 Apr 2013 12:18:38 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/56815] void pointer arithmetic
Date: Wed, 03 Apr 2013 12:18: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-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56815-4-zedLx3tfnB@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56815-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56815-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-04/txt/msg00273.txt.bz2
Content-length: 188


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

--- Comment #17 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-03 12:18:37 UTC ---
Ok, let's handle that separately.


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

* [Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list
  2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
@ 2013-04-03 12:22 ` paolo.carlini at oracle dot com
  2013-04-03 12:28 ` williams.kevin at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-04-03 12:22 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-04-03
     Ever Confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-03 12:21:59 UTC ---
Doesn't look like a C++ issue. In any case, please provide the preprocessed
file, per: http://gcc.gnu.org/bugs/#report


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

* [Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list
  2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
  2013-04-03 12:22 ` [Bug c++/56832] " paolo.carlini at oracle dot com
@ 2013-04-03 12:28 ` williams.kevin at gmail dot com
  2013-04-03 12:29 ` williams.kevin at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: williams.kevin at gmail dot com @ 2013-04-03 12:28 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from Kevin Williams <williams.kevin at gmail dot com> 2013-04-03 12:28:48 UTC ---
Created attachment 29793
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29793
preprocess dump from g++


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

* [Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list
  2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
  2013-04-03 12:22 ` [Bug c++/56832] " paolo.carlini at oracle dot com
  2013-04-03 12:28 ` williams.kevin at gmail dot com
@ 2013-04-03 12:29 ` williams.kevin at gmail dot com
  2013-04-03 12:34 ` paolo.carlini at oracle dot com
  2013-04-03 12:49 ` williams.kevin at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: williams.kevin at gmail dot com @ 2013-04-03 12:29 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #3 from Kevin Williams <williams.kevin at gmail dot com> 2013-04-03 12:29:46 UTC ---

Apologies, the file failed to attach the first time. Attached now.

(In reply to comment #2)
> Created attachment 29793 [details]
> preprocess dump from g++


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

* [Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list
  2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
                   ` (2 preceding siblings ...)
  2013-04-03 12:29 ` williams.kevin at gmail dot com
@ 2013-04-03 12:34 ` paolo.carlini at oracle dot com
  2013-04-03 12:49 ` williams.kevin at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-04-03 12:34 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-03 12:34:55 UTC ---
Thanks. Confirmed in the 4_7-branch, mainline and 4_8-branch reject it.


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

* [Bug c++/56832] g++-4.7.2 falls over when compiling vector intialization list
  2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
                   ` (3 preceding siblings ...)
  2013-04-03 12:34 ` paolo.carlini at oracle dot com
@ 2013-04-03 12:49 ` williams.kevin at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: williams.kevin at gmail dot com @ 2013-04-03 12:49 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #5 from Kevin Williams <williams.kevin at gmail dot com> 2013-04-03 12:48:58 UTC ---

The crash seems to only happen when the objects in the intializer list have
members of type std::bitset<LONG_MAX>.

When I change this member to a std::set the code compiles fine.


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

end of thread, other threads:[~2013-04-03 12:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 12:18 [Bug c++/56832] New: g++-4.7.2 falls over when compiling vector intialization list williams.kevin at gmail dot com
2013-04-03 12:22 ` [Bug c++/56832] " paolo.carlini at oracle dot com
2013-04-03 12:28 ` williams.kevin at gmail dot com
2013-04-03 12:29 ` williams.kevin at gmail dot com
2013-04-03 12:34 ` paolo.carlini at oracle dot com
2013-04-03 12:49 ` williams.kevin at gmail dot com

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