public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64768] New: internal compiler error: tree check: expected tree that contains ‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1274
Date: Sat, 24 Jan 2015 10:27:00 -0000	[thread overview]
Message-ID: <bug-64768-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 64768
           Summary: internal compiler error: tree check: expected tree
                    that contains ‘decl with RTL’ structure, have
                    ‘field_decl’ in set_decl_rtl, at emit-rtl.c:1274
           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

./cc1 ice2.c
ice2.c:2:12: error: array size missing in ‘a’
 struct { A a;
            ^
ice2.c:2:8: internal compiler error: tree check: expected tree that contains
‘decl with RTL’ structure, have ‘field_decl’ in set_decl_rtl, at
emit-rtl.c:1274
 struct { A a;
        ^
0xfad59a tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
    /home/marek/src/gcc/gcc/tree.c:9462
0x672d2d contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
    /home/marek/src/gcc/gcc/tree.h:2960
0x89dfd7 set_decl_rtl(tree_node*, rtx_def*)
    /home/marek/src/gcc/gcc/emit-rtl.c:1274
0xca6a3c relayout_decl(tree_node*)
    /home/marek/src/gcc/gcc/stor-layout.c:829
0x655c81 finish_decl(tree_node*, unsigned int, tree_node*, tree_node*,
tree_node*)
    /home/marek/src/gcc/gcc/c/c-decl.c:4780
0x65d2f3 grokfield(unsigned int, c_declarator*, c_declspecs*, tree_node*,
tree_node**)
    /home/marek/src/gcc/gcc/c/c-decl.c:7337
0x6b34d7 c_parser_struct_declaration
    /home/marek/src/gcc/gcc/c/c-parser.c:2986
0x6b2e22 c_parser_struct_or_union_specifier
    /home/marek/src/gcc/gcc/c/c-parser.c:2790
0x6b2070 c_parser_declspecs
    /home/marek/src/gcc/gcc/c/c-parser.c:2402
0x6b02f3 c_parser_declaration_or_fndef
    /home/marek/src/gcc/gcc/c/c-parser.c:1571
0x6b0109 c_parser_external_declaration
    /home/marek/src/gcc/gcc/c/c-parser.c:1452
0x6afd1c c_parser_translation_unit
    /home/marek/src/gcc/gcc/c/c-parser.c:1339
0x6d2ce1 c_parse_file()
    /home/marek/src/gcc/gcc/c/c-parser.c:15416
0x72b672 c_common_parse_file()
    /home/marek/src/gcc/gcc/c-family/c-opts.c:1052
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.


typedef int A[];
struct { A a;
>From gcc-bugs-return-474683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jan 24 10:30:26 2015
Return-Path: <gcc-bugs-return-474683-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11392 invoked by alias); 24 Jan 2015 10:30:25 -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 11322 invoked by uid 48); 24 Jan 2015 10:30:20 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64768] [4.8/4.9/5 Regression] internal compiler error: tree check:=?UTF-8?Q? expected tree that contains ‘decl with RTL’ structure?=,=?UTF-8?Q? have ‘field_decl’ in set_decl_rtl?=, at emit-rtl.c:1274
Date: Sat, 24 Jan 2015 10:30: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: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.5
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on everconfirmed
Message-ID: <bug-64768-4-AGJUKDRs8J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64768-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64768-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/msg02677.txt.bz2
Content-length: 403

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-24
     Ever confirmed|0                           |1


             reply	other threads:[~2015-01-24 10:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-24 10:27 mpolacek at gcc dot gnu.org [this message]
2015-01-24 10:30 ` [Bug c/64768] [4.8/4.9/5 Regression] " mpolacek at gcc dot gnu.org
2015-01-24 10:39 ` mpolacek at gcc dot gnu.org
2015-01-24 10:46 ` mpolacek at gcc dot gnu.org
2015-01-24 11:51 ` jakub at gcc dot gnu.org
2015-01-24 18:18 ` mpolacek at gcc dot gnu.org
2015-01-26 11:31 ` rguenth at gcc dot gnu.org
2015-02-14 11:25 ` mpolacek at gcc dot gnu.org
2015-02-14 11:30 ` mpolacek 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-64768-4@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).