public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58631] New: Internal compiler error: Error reporting routines re-entered.
@ 2013-10-05 16:57 bsamim at yahoo dot com
  2013-10-05 18:18 ` [Bug c++/58631] " paolo.carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: bsamim at yahoo dot com @ 2013-10-05 16:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58631
           Summary: Internal compiler error: Error reporting routines
                    re-entered.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bsamim at yahoo dot com

Created attachment 30960
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30960&action=edit
Preprocessed source stored into /tmp/cc1xZWpN.out file, please attach this to
your bugreport.

g++ -I/usr/include -I/usr/local/include -std=c++11 -pthread -ggdb -g3 -Wall -c
Deck.cpp -o Deck.o
‘
Internal compiler error: Error reporting routines re-entered.
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/cc1xZWpN.out file, please attach this to
your bugreport.
make: *** [Deck.o] Error 1
>From gcc-bugs-return-431150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 05 18:07:21 2013
Return-Path: <gcc-bugs-return-431150-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 5985 invoked by alias); 5 Oct 2013 18:07:21 -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 5953 invoked by uid 48); 5 Oct 2013 18:07:16 -0000
From: "bsamim at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58631] Internal compiler error: Error reporting routines re-entered.
Date: Sat, 05 Oct 2013 18: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: 4.7.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: bsamim at yahoo 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-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-58631-4-ne36D2AExc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-58631-4@http.gcc.gnu.org/bugzilla/>
References: <bug-58631-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-10/txt/msg00294.txt.bz2
Content-length: 2908

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

--- Comment #1 from bsamim at yahoo dot com ---
It seems this happens in the following code when the copy constructor for is
set as Card(Card& ) = delete;    It will crash the compiler on this as I
believe it is because the vector is expecting it to be copyable even though it
is doing a move. After changing the code a bit and putting it as private I was
able to get the following output but it still crashed the compiler at the end.

Card.h:28:5: error: ‘Card::Card(const Card&)’ is private
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/vector:61,
                 from Card.h:4,
                 from Deck.h:4,
                 from Deck.cpp:1:
/usr/include/c++/4.7/type_traits:762:43: error: within this context
In file included from Deck.h:4:0,
                 from Deck.cpp:1:
/usr/include/c++/4.7/type_traits: In instantiation of ‘struct
std::__is_nt_constructible_impl<Card, Card&&>’:
/usr/include/c++/4.7/type_traits:116:12:   required from ‘struct
std::__and_<std::is_constructible<Card, Card&&>,
std::__is_nt_constructible_impl<Card, Card&&> >’
/usr/include/c++/4.7/type_traits:1002:12:   required from ‘struct
std::is_nothrow_constructible<Card, Card&&>’
/usr/include/c++/4.7/type_traits:1033:12:   required from ‘struct
std::__is_nothrow_move_constructible_impl<Card, false>’
/usr/include/c++/4.7/type_traits:1039:12:   required from ‘struct
std::is_nothrow_move_constructible<Card>’
/usr/include/c++/4.7/type_traits:126:12:   required from ‘struct
std::__not_<std::is_nothrow_move_constructible<Card> >’
/usr/include/c++/4.7/type_traits:116:12:   required from ‘struct
std::__and_<std::__not_<std::is_nothrow_move_constructible<Card> >,
std::is_copy_constructible<Card> >’
/usr/include/c++/4.7/bits/move.h:107:12:   required from ‘struct
std::__move_if_noexcept_cond<Card>’
/usr/include/c++/4.7/bits/stl_iterator.h:1129:32:   required from
‘_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator,
_InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = Card*;
_ForwardIterator = Card*; _Allocator = std::allocator<Card>]’
/usr/include/c++/4.7/bits/vector.tcc:413:6:   required from ‘void
std::vector<_Tp, _Alloc>::_M_emplace_back_aux(_Args&& ...) [with _Args =
{Card}; _Tp = Card; _Alloc = std::allocator<Card>]’
/usr/include/c++/4.7/bits/vector.tcc:102:4:   required from ‘void
std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {Card}; _Tp =
Card; _Alloc = std::allocator<Card>]’
>From gcc-bugs-return-431151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Oct 05 18:18:19 2013
Return-Path: <gcc-bugs-return-431151-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10703 invoked by alias); 5 Oct 2013 18:18:19 -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 10658 invoked by uid 48); 5 Oct 2013 18:18:16 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/57086] Internal compiler error: Error reporting routines re-entered.
Date: Sat, 05 Oct 2013 18: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-Version: 4.7.3
X-Bugzilla-Keywords:
X-Bugzilla-Severity: minor
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-57086-4-TSFvFBDduT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57086-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57086-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: 2013-10/txt/msg00295.txt.bz2
Content-length: 451

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsamim at yahoo dot com

--- Comment #11 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 58631 has been marked as a duplicate of this bug. ***


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

* [Bug c++/58631] Internal compiler error: Error reporting routines re-entered.
  2013-10-05 16:57 [Bug c++/58631] New: Internal compiler error: Error reporting routines re-entered bsamim at yahoo dot com
@ 2013-10-05 18:18 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-10-05 18:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup

*** This bug has been marked as a duplicate of bug 57086 ***


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

end of thread, other threads:[~2013-10-05 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-05 16:57 [Bug c++/58631] New: Internal compiler error: Error reporting routines re-entered bsamim at yahoo dot com
2013-10-05 18:18 ` [Bug c++/58631] " paolo.carlini at oracle 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).