public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65936] New: [6 Regression] ICE building libboost_log.so.1.58.0
@ 2015-04-30  5:39 jamrial at gmail dot com
  2015-04-30  7:43 ` [Bug c++/65936] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jamrial at gmail dot com @ 2015-04-30  5:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936

            Bug ID: 65936
           Summary: [6 Regression] ICE building libboost_log.so.1.58.0
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamrial at gmail dot com
  Target Milestone: ---

Created attachment 35428
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35428&action=edit
Preprocessed source as generated by -freport-bug

In file included from ./boost/move/utility_core.hpp:29:0,
                 from ./boost/intrusive/list.hpp:39,
                 from libs/log/src/attribute_set.cpp:19:
./boost/log/attributes/attribute_set.hpp: In member function
‘boost::log::v2_mt_posix::attribute_set::operator
boost::rv<boost::log::v2_mt_posix::attribute_set>&()’:
./boost/move/core.hpp:246:56: internal compiler error: canonical types differ
for identical types boost::rv<boost::log::v2_mt_posix::attribute_set>* and
boost::rv<boost::log::v2_mt_posix::attribute_set>*
       {  return *static_cast< ::boost::rv<TYPE>* >(this);  }\
                                                        ^
./boost/log/attributes/attribute_set.hpp:82:5: note: in expansion of macro
‘BOOST_COPYABLE_AND_MOVABLE_ALT’
     BOOST_COPYABLE_AND_MOVABLE_ALT(attribute_set)
     ^
0x746a4e comptypes(tree_node*, tree_node*, int)
        /home/jamrial/gcc-6-20150426/gcc/cp/typeck.c:1428
0x7619de ocp_convert(tree_node*, tree_node*, int, int, int)
        /home/jamrial/gcc-6-20150426/gcc/cp/cvt.c:704
0x607310 convert_like_real
        /home/jamrial/gcc-6-20150426/gcc/cp/call.c:6557
0x612e0b initialize_reference(tree_node*, tree_node*, int, int)
        /home/jamrial/gcc-6-20150426/gcc/cp/call.c:9746
0x750bf2 check_return_expr(tree_node*, bool*)
        /home/jamrial/gcc-6-20150426/gcc/cp/typeck.c:8718
0x78e59e finish_return_stmt(tree_node*)
        /home/jamrial/gcc-6-20150426/gcc/cp/semantics.c:887
0x731cbe cp_parser_jump_statement
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:11057
0x731cbe cp_parser_statement
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:9707
0x732252 cp_parser_statement_seq_opt
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:10095
0x7323ab cp_parser_compound_statement
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:10049
0x7325db cp_parser_function_body
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:19185
0x7325db cp_parser_ctor_initializer_opt_and_function_body
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:19221
0x73341a cp_parser_function_definition_after_declarator
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:23467
0x736a6c cp_parser_late_parsing_for_member
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:24150
0x711c71 cp_parser_class_specifier_1
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:20041
0x711c71 cp_parser_class_specifier
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:20067
0x711c71 cp_parser_type_specifier
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:14707
0x724eff cp_parser_decl_specifier_seq
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:11938
0x7361b1 cp_parser_simple_declaration
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:11515
0x72fe23 cp_parser_block_declaration
        /home/jamrial/gcc-6-20150426/gcc/cp/parser.c:11462
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

-----

This is one of many ICEs i get while compiling libboost_log.so from Boost 1.58
with GCC 6.0.0 (20150426 snapshot) on ArchLinux x86_64. Most if not all seem to
have a similar backtrace, so I'm posting only the first.
>From gcc-bugs-return-485019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 30 06:13:07 2015
Return-Path: <gcc-bugs-return-485019-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 20869 invoked by alias); 30 Apr 2015 06:13:07 -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 20837 invoked by uid 48); 30 Apr 2015 06:13:03 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65936] [6 Regression] ICE building libboost_log.so.1.58.0
Date: Thu, 30 Apr 2015 06:13: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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: bug_status cf_reconfirmed_on cc cf_known_to_work everconfirmed
Message-ID: <bug-65936-4-AaawKijpkz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65936-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65936-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: 2015-04/txt/msg02571.txt.bz2
Content-length: 1100

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-30
                 CC|                            |trippels at gcc dot gnu.org
      Known to work|                            |5.0
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat test.ii
class A;
template <typename> struct B
{
  typedef A type;
};
template <class T> class C : public B<T>::type
{
}

__attribute__ ((__may_alias__));
class A
{
  operator const C<int> &() { return *static_cast<const C<int> *> (this); }
};

markus@x4 tmp % g++ -c test.ii
test.ii: In member function ‘A::operator const C<int>&()’:
test.ii:13:72: internal compiler error: canonical types differ for identical
types const C<int>* and const C<int>*
>From gcc-bugs-return-485020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Apr 30 06:21:21 2015
Return-Path: <gcc-bugs-return-485020-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 30627 invoked by alias); 30 Apr 2015 06:21:20 -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 30601 invoked by uid 48); 30 Apr 2015 06:21:17 -0000
From: "vries at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/65785] libgo TestIPv4MulticastListener test fails on machine with no network connection
Date: Thu, 30 Apr 2015 06:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: trivial
X-Bugzilla-Who: vries at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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-65785-4-lr1QS7WDli@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65785-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65785-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/msg02572.txt.bz2
Content-length: 146

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide785

--- Comment #1 from vries at gcc dot gnu.org ---
ran into this again with new build and test


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

* [Bug c++/65936] [6 Regression] ICE building libboost_log.so.1.58.0
  2015-04-30  5:39 [Bug c++/65936] New: [6 Regression] ICE building libboost_log.so.1.58.0 jamrial at gmail dot com
@ 2015-04-30  7:43 ` rguenth at gcc dot gnu.org
  2015-04-30 14:58 ` mpolacek at gcc dot gnu.org
  2015-05-23 22:30 ` [Bug c++/65936] [6 Regression] ICE: canonical types differ for identical types nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-04-30  7:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0


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

* [Bug c++/65936] [6 Regression] ICE building libboost_log.so.1.58.0
  2015-04-30  5:39 [Bug c++/65936] New: [6 Regression] ICE building libboost_log.so.1.58.0 jamrial at gmail dot com
  2015-04-30  7:43 ` [Bug c++/65936] " rguenth at gcc dot gnu.org
@ 2015-04-30 14:58 ` mpolacek at gcc dot gnu.org
  2015-05-23 22:30 ` [Bug c++/65936] [6 Regression] ICE: canonical types differ for identical types nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-04-30 14:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r222419.


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

* [Bug c++/65936] [6 Regression] ICE: canonical types differ for identical types
  2015-04-30  5:39 [Bug c++/65936] New: [6 Regression] ICE building libboost_log.so.1.58.0 jamrial at gmail dot com
  2015-04-30  7:43 ` [Bug c++/65936] " rguenth at gcc dot gnu.org
  2015-04-30 14:58 ` mpolacek at gcc dot gnu.org
@ 2015-05-23 22:30 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nathan at gcc dot gnu.org @ 2015-05-23 22:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65936

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Patch committed to trunk


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

end of thread, other threads:[~2015-05-23 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30  5:39 [Bug c++/65936] New: [6 Regression] ICE building libboost_log.so.1.58.0 jamrial at gmail dot com
2015-04-30  7:43 ` [Bug c++/65936] " rguenth at gcc dot gnu.org
2015-04-30 14:58 ` mpolacek at gcc dot gnu.org
2015-05-23 22:30 ` [Bug c++/65936] [6 Regression] ICE: canonical types differ for identical types nathan at gcc dot gnu.org

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