From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81BD53858403; Mon, 24 Oct 2022 17:54:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81BD53858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666634099; bh=OHziRhcFolifs6iOt7zfNOnPzdHVZ/+txFD1Byugmlw=; h=From:To:Subject:Date:From; b=EDwjbo8AI2ODCzKMls+LYH3NO+InuUCPy8l5dEWxC5oukaP6lLWpwrvq/k/1zi8/Y bOXOk4rJgKEM9IwmnAGRjXFgSW2n0EWRqq/5Qtc5MyfjEXZVaLqV362ZIfCnTGZRY6 PssvPrqcC+VKYSwFOuT5voymDzIrQeGdbCYftYeg= From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107382] New: [13 Regression] ICE in cp_common_type, at cp/typeck.cc:436 Date: Mon, 24 Oct 2022 17:54:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107382 Bug ID: 107382 Summary: [13 Regression] ICE in cp_common_type, at cp/typeck.cc:436 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Started between 20221009 and 20221016, with -m16 or -m32 : $ cat z1.cc void f (float a, int* b) { a -=3D b; } $ gcc-13-20221023 -c z1.cc -m32 -std=3Dc++11 z1.cc: In function 'void f(float, int*)': z1.cc:2:8: internal compiler error: in cp_common_type, at cp/typeck.cc:436 2 | a -=3D b; | ^ 0x959f32 cp_common_type ../../gcc/cp/typeck.cc:434 0x96114d cp_build_binary_op(op_location_t const&, tree_code, tree_node*, tree_node*, int) ../../gcc/cp/typeck.cc:6182 0x96a2cd cp_build_modify_expr(unsigned int, tree_node*, tree_code, tree_nod= e*, int) ../../gcc/cp/typeck.cc:9539 0x7a88e6 build_new_op(op_location_t const&, tree_code, int, tree_node*, tree_node*, tree_node*, tree_node*, tree_node**, int) ../../gcc/cp/call.cc:7054 0x96afa8 build_x_modify_expr(unsigned int, tree_node*, tree_code, tree_node= *, tree_node*, int) ../../gcc/cp/typeck.cc:9746 0x8ac37c cp_parser_assignment_expression ../../gcc/cp/parser.cc:10468 0x8ad862 cp_parser_expression ../../gcc/cp/parser.cc:10597 0x8b0b27 cp_parser_expression_statement ../../gcc/cp/parser.cc:12702 0x8bd6d5 cp_parser_statement ../../gcc/cp/parser.cc:12491 0x8be724 cp_parser_statement_seq_opt ../../gcc/cp/parser.cc:12853 0x8be7df cp_parser_compound_statement ../../gcc/cp/parser.cc:12805 0x8de708 cp_parser_function_body ../../gcc/cp/parser.cc:25179 0x8de708 cp_parser_ctor_initializer_opt_and_function_body ../../gcc/cp/parser.cc:25230 0x8debc6 cp_parser_function_definition_after_declarator ../../gcc/cp/parser.cc:31387 0x8dfd49 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/cp/parser.cc:31304 0x8dfd49 cp_parser_init_declarator ../../gcc/cp/parser.cc:22633 0x8bb8a2 cp_parser_simple_declaration ../../gcc/cp/parser.cc:15284 0x8e5aa8 cp_parser_declaration ../../gcc/cp/parser.cc:14970 0x8e6480 cp_parser_translation_unit ../../gcc/cp/parser.cc:5076 0x8e6480 c_parse_file() ../../gcc/cp/parser.cc:48856=