public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
@ 2015-08-07  9:06 trippels at gcc dot gnu.org
  2015-08-07 12:15 ` [Bug c++/67144] " trippels at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-07  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67144
           Summary: [6 Regression] [C++1z] ICE; in get_constraints, at
                    cp/pt.c:23346
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---

trippels@gcc2-power8 ipdl % cat BluetoothTypes.ii
typedef unsigned uint32_t;
class A {
public:
  void operator==(A);
  operator uint32_t() const;
  operator int() const;
};
class BluetoothNamedValue {
  bool operator==(const BluetoothNamedValue &) const;
  A value() const;
};
auto BluetoothNamedValue::
operator==(const BluetoothNamedValue &) const -> bool {
  value() == value();
  return true;
}

trippels@gcc2-power8 ipdl % g++ -Wall -Wextra -c BluetoothTypes.ii
trippels@gcc2-power8 ipdl % g++ -c -std=c++1z BluetoothTypes.ii
BluetoothTypes.ii: In member function ‘bool
BluetoothNamedValue::operator==(const BluetoothNamedValue&) const’:
BluetoothTypes.ii:14:20: internal compiler error: in get_constraints, at
cp/pt.c:23346
   value() == value();
                    ^
0x101f3a2f get_constraints(tree_node*)
        ../../gcc/gcc/cp/pt.c:23346
0x104498b3 more_constrained(tree_node*, tree_node*)
        ../../gcc/gcc/cp/constraint.cc:2251
0x10185603 joust
        ../../gcc/gcc/cp/call.c:9164
0x10186713 joust
        ../../gcc/gcc/cp/call.c:9388
0x10186713 tourney
        ../../gcc/gcc/cp/call.c:9352
0x1019577b build_new_op_1
        ../../gcc/gcc/cp/call.c:5589
0x1019600f build_new_op(unsigned int, tree_code, int, tree_node*, tree_node*,
tree_node*, tree_node**, int)
        ../../gcc/gcc/cp/call.c:5776
0x1031ffa3 build_x_binary_op(unsigned int, tree_code, tree_node*, tree_code,
tree_node*, tree_code, tree_node**, int)
        ../../gcc/gcc/cp/typeck.c:3820
0x102ec417 cp_parser_binary_expression
        ../../gcc/gcc/cp/parser.c:8362
0x102ecccb cp_parser_assignment_expression
        ../../gcc/gcc/cp/parser.c:8481
0x102f7e03 cp_parser_expression
        ../../gcc/gcc/cp/parser.c:8635
0x102fa55b cp_parser_expression_statement
        ../../gcc/gcc/cp/parser.c:10049
0x102dfe77 cp_parser_statement
        ../../gcc/gcc/cp/parser.c:9900
0x102e0ee3 cp_parser_statement_seq_opt
        ../../gcc/gcc/cp/parser.c:10172
0x102e10ff cp_parser_compound_statement
        ../../gcc/gcc/cp/parser.c:10126
0x10308963 cp_parser_function_body
        ../../gcc/gcc/cp/parser.c:19783
0x10308963 cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/gcc/cp/parser.c:19819
0x1030992b cp_parser_function_definition_after_declarator
        ../../gcc/gcc/cp/parser.c:24426
0x1030aa4f cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/gcc/cp/parser.c:24338
0x1030aa4f cp_parser_init_declarator
        ../../gcc/gcc/cp/parser.c:17619
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.
>From gcc-bugs-return-494341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Aug 07 09:42:09 2015
Return-Path: <gcc-bugs-return-494341-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 44989 invoked by alias); 7 Aug 2015 09:42:08 -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 44963 invoked by uid 55); 7 Aug 2015 09:42:05 -0000
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/66929] [6 regression] ICE with iso_varying_string
Date: Fri, 07 Aug 2015 09:42:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mikael at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: mikael at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66929-4-mAxCYjp9D8@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66929-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66929-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-08/txt/msg00483.txt.bz2
Content-length: 858

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

--- Comment #10 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Fri Aug  7 09:41:31 2015
New Revision: 226717

URL: https://gcc.gnu.org/viewcvs?rev"6717&root=gcc&view=rev
Log:
Fix latent elemental wrong code

        PR fortran/66929
gcc/fortran/
        * trans-array.c (gfc_get_proc_ifc_for_expr): Use esym as procedure
        symbol if available.
gcc/testsuite/
        PR fortran/66929
        * gfortran.dg/generic_30.f90: New.
        * gfortran.dg/generic_31.f90: New.


Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/generic_30.f90
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/generic_31.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-array.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/67144] [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
  2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
@ 2015-08-07 12:15 ` trippels at gcc dot gnu.org
  2015-08-08  5:13 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-07 12:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with C++ concepts merge.


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

* [Bug c++/67144] [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
  2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
  2015-08-07 12:15 ` [Bug c++/67144] " trippels at gcc dot gnu.org
@ 2015-08-08  5:13 ` rguenth at gcc dot gnu.org
  2015-08-08 20:45 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-08  5:13 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug c++/67144] [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
  2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
  2015-08-07 12:15 ` [Bug c++/67144] " trippels at gcc dot gnu.org
  2015-08-08  5:13 ` rguenth at gcc dot gnu.org
@ 2015-08-08 20:45 ` jason at gcc dot gnu.org
  2015-08-08 22:05 ` jason at gcc dot gnu.org
  2015-08-08 22:05 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-08 20:45 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-08-08
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org
     Ever confirmed|0                           |1


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

* [Bug c++/67144] [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
  2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2015-08-08 20:45 ` jason at gcc dot gnu.org
@ 2015-08-08 22:05 ` jason at gcc dot gnu.org
  2015-08-08 22:05 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-08 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Aug  8 22:04:34 2015
New Revision: 226740

URL: https://gcc.gnu.org/viewcvs?rev=226740&root=gcc&view=rev
Log:
        PR c++/67144
        * call.c (joust): Only call more_constrained on decls.

Modified:
    trunk/gcc/cp/ChangeLog


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

* [Bug c++/67144] [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346
  2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2015-08-08 22:05 ` jason at gcc dot gnu.org
@ 2015-08-08 22:05 ` jason at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2015-08-08 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07  9:06 [Bug c++/67144] New: [6 Regression] [C++1z] ICE; in get_constraints, at cp/pt.c:23346 trippels at gcc dot gnu.org
2015-08-07 12:15 ` [Bug c++/67144] " trippels at gcc dot gnu.org
2015-08-08  5:13 ` rguenth at gcc dot gnu.org
2015-08-08 20:45 ` jason at gcc dot gnu.org
2015-08-08 22:05 ` jason at gcc dot gnu.org
2015-08-08 22:05 ` jason 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).