public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/55750] New: [4.8 Regression] :-( in expand_expr_addr_expr_1, at expr.c:7646
Date: Thu, 20 Dec 2012 05:48:00 -0000	[thread overview]
Message-ID: <bug-55750-4@http.gcc.gnu.org/bugzilla/> (raw)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55750

             Bug #: 55750
           Summary: [4.8 Regression] :-( in expand_expr_addr_expr_1, at
                    expr.c:7646
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: d.g.gorbachev@gmail.com


$ cat bug.c
struct S {
  unsigned m : 1;
  unsigned n : 7;
} arr[2];

void foo(unsigned i)
{
  arr[i].n++;
}
$ gcc -S bug.c
bug.c: In function 'foo':
bug.c:8:11: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7646
   arr[i].n++;
           ^
0x8387af9 expand_expr_addr_expr_1
    ../../gcc-4.8/gcc/expr.c:7646
0x8387e16 expand_expr_addr_expr
    ../../gcc-4.8/gcc/expr.c:7688
0x8393de1 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
    ../../gcc-4.8/gcc/expr.c:10369
0x83883dc expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**)
    ../../gcc-4.8/gcc/expr.c:7848
0x837dc00 store_expr(tree_node*, rtx_def*, int, bool)
    ../../gcc-4.8/gcc/expr.c:5224
0x837cac8 expand_assignment(tree_node*, tree_node*, bool)
    ../../gcc-4.8/gcc/expr.c:5010
0x828c3eb expand_gimple_stmt_1
    ../../gcc-4.8/gcc/cfgexpand.c:2209
0x828c7ee expand_gimple_stmt
    ../../gcc-4.8/gcc/cfgexpand.c:2305
0x829337d expand_gimple_basic_block
    ../../gcc-4.8/gcc/cfgexpand.c:4084
0x8294c86 gimple_expand_cfg
    ../../gcc-4.8/gcc/cfgexpand.c:4603


             reply	other threads:[~2012-12-20  5:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20  5:48 d.g.gorbachev at gmail dot com [this message]
2012-12-20  5:51 ` [Bug middle-end/55750] " pinskia at gcc dot gnu.org
2012-12-20  5:55 ` d.g.gorbachev at gmail dot com
2012-12-20  8:08 ` mpolacek at gcc dot gnu.org
2012-12-20  8:49 ` jakub at gcc dot gnu.org
2012-12-20  8:51 ` jakub at gcc dot gnu.org
2012-12-20 13:29 ` jakub at gcc dot gnu.org
2012-12-20 18:14 ` jakub at gcc dot gnu.org
2012-12-21  7:57 ` 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-55750-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).