public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64205] [5 Regression] powerpc64-linux --with-cpu=G5 bootstrap failure
Date: Tue, 20 Jan 2015 23:04:00 -0000	[thread overview]
Message-ID: <bug-64205-4-8FYkdA4cg8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64205-4@http.gcc.gnu.org/bugzilla/>

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

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-20
                 CC|                            |bergner at gcc dot gnu.org,
                   |                            |meissner at gcc dot gnu.org,
                   |                            |uweigand at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> ---
Confirmed.  Here's a simplified test case and simplified options:

[bergner@makalu-lp1 PR64687]$ cat decode.i 
union ieee754r_Decimal32
{
  _Decimal32 sd;
  unsigned int cc0;
};

unsigned int
__decoded32 (_Decimal32 a)
{
    union ieee754r_Decimal32 d;
    d.sd = a;
    return d.cc0;
}

[bergner@makalu-lp1 PR64687]$
/home/bergner/gcc/build/gcc-fsf-mainline-pr64687-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-pr64687-debug/gcc -O1 -mno-hard-dfp
-mcpu=power7 -S decode.i 
decode.i: In function ‘__decoded32’:
decode.i:13:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 16 4 3 2 (set (mem/c:SD (plus:DI (reg/f:DI 1 1)
                (const_int 48 [0x30])) [0 a+0 S4 A64])
        (reg:SD 33 1)) decode.i:9 492 {movsd_hardfloat}
     (nil))
decode.i:13:1: internal compiler error: in extract_constrain_insn, at
recog.c:2246

Basically we hit this with "-O1 -mno-hard-dfp -maltivec" which matches the ICE
seen with "-mcpu=G5" and "-mno-hard-dfp -mcpu=power7".
>From gcc-bugs-return-474146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 23:23:33 2015
Return-Path: <gcc-bugs-return-474146-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 26777 invoked by alias); 20 Jan 2015 23:23:32 -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 26743 invoked by uid 48); 20 Jan 2015 23:23:24 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64701] New: internal compiler error:=?UTF-8?Q? unexpected expression ‘?=<statement>=?UTF-8?Q?’ of kind do_stmt?Date: Tue, 20 Jan 2015 23:23:00 -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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-64701-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-01/txt/msg02140.txt.bz2
Content-length: 3086

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

            Bug ID: 64701
           Summary: internal compiler error: unexpected expression
                    ‘<statement>’ of kind do_stmt
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org

Created attachment 34508
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34508&action=edit
preprocessed source

$ ./cc1plus -quiet -fpreprocessed ccBLvhHJ.err -o /dev/null 
In file included from
/builddir/build/BUILD/open-vm-tools-9.4.6-1770165/lib/include/hostinfo.h:34:0,
                 from dndGuest/rpcV3Util.cpp:45:
/builddir/build/BUILD/open-vm-tools-9.4.6-1770165/lib/include/x86cpuid.h: In
function ‘uint32 CPUID_EFFECTIVE_FAMILY(uint32)’:
/builddir/build/BUILD/open-vm-tools-9.4.6-1770165/lib/include/x86cpuid.h:1038:339:
internal compiler error: unexpected expression ‘<statement>’ of kind do_stmt
0x86232f cxx_eval_constant_expression
    /home/marek/src/gcc/gcc/cp/constexpr.c:3450
0x86710f cxx_eval_statement_list
    /home/marek/src/gcc/gcc/cp/constexpr.c:2855
0x8619fd cxx_eval_constant_expression
    /home/marek/src/gcc/gcc/cp/constexpr.c:3374
0x8620ba cxx_eval_constant_expression
    /home/marek/src/gcc/gcc/cp/constexpr.c:3380
0x86748b cxx_eval_outermost_constant_expr
    /home/marek/src/gcc/gcc/cp/constexpr.c:3505
0x86acf8 maybe_constant_value(tree_node*, tree_node*)
    /home/marek/src/gcc/gcc/cp/constexpr.c:3617
0x7b1bcc cp_convert_and_check(tree_node*, tree_node*, int)
    /home/marek/src/gcc/gcc/cp/cvt.c:639
0x64fd87 convert_like_real
    /home/marek/src/gcc/gcc/cp/call.c:6565
0x650e31 perform_implicit_conversion_flags(tree_node*, tree_node*, int, int)
    /home/marek/src/gcc/gcc/cp/call.c:9405
0x6f8fe1 digest_init_r
    /home/marek/src/gcc/gcc/cp/typeck2.c:1068
0x6fbf5a digest_init_flags
    /home/marek/src/gcc/gcc/cp/typeck2.c:1137
0x6fbf5a store_init_value(tree_node*, tree_node*, vec<tree_node*, va_gc,
vl_embed>**, int)
    /home/marek/src/gcc/gcc/cp/typeck2.c:811
0x6698e4 check_initializer
    /home/marek/src/gcc/gcc/cp/decl.c:5980
0x690bdc cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
    /home/marek/src/gcc/gcc/cp/decl.c:6616
0x776229 cp_parser_init_declarator
    /home/marek/src/gcc/gcc/cp/parser.c:17291
0x7779ad cp_parser_simple_declaration
    /home/marek/src/gcc/gcc/cp/parser.c:11601
0x7571d3 cp_parser_block_declaration
    /home/marek/src/gcc/gcc/cp/parser.c:11475
0x758421 cp_parser_declaration_statement
    /home/marek/src/gcc/gcc/cp/parser.c:11122
0x75b687 cp_parser_statement
    /home/marek/src/gcc/gcc/cp/parser.c:9830
0x75be89 cp_parser_statement_seq_opt
    /home/marek/src/gcc/gcc/cp/parser.c:10108
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-474147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jan 20 23:36:30 2015
Return-Path: <gcc-bugs-return-474147-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32421 invoked by alias); 20 Jan 2015 23:36:29 -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 32378 invoked by uid 48); 20 Jan 2015 23:36:24 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64701] internal compiler error:=?UTF-8?Q? unexpected expression ‘?=<statement>=?UTF-8?Q?’ of kind do_stmt?Date: Tue, 20 Jan 2015 23:36: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
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: cc
Message-ID: <bug-64701-4-FdR0fR3enf@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64701-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64701-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-01/txt/msg02141.txt.bz2
Content-length: 386

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reducing.


  parent reply	other threads:[~2015-01-20 23:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 23:52 [Bug target/64205] New: " amodra at gmail dot com
2014-12-08 13:35 ` [Bug target/64205] [5 Regression] " rguenth at gcc dot gnu.org
2014-12-11 11:49 ` rguenth at gcc dot gnu.org
2015-01-20 22:56 ` bergner at gcc dot gnu.org
2015-01-20 23:04 ` bergner at gcc dot gnu.org [this message]
2015-02-03  4:13 ` segher at gcc dot gnu.org
2015-02-03 22:36 ` meissner at gcc dot gnu.org
2015-02-03 22:46 ` meissner at gcc dot gnu.org
2015-02-05 20:54 ` meissner at gcc dot gnu.org
2015-02-05 20:55 ` meissner at gcc dot gnu.org
2015-02-06 19:16 ` meissner at gcc dot gnu.org
2015-02-06 19:34 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64205-4-8FYkdA4cg8@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).