public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/58970] New: internal compiler error: in get_bit_range, at expr.c:4562
@ 2013-11-02 10:16 jan.smets@alcatel-lucent.com
  2013-11-02 10:17 ` [Bug middle-end/58970] " jan.smets@alcatel-lucent.com
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: jan.smets@alcatel-lucent.com @ 2013-11-02 10:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58970
           Summary: internal compiler error: in get_bit_range, at
                    expr.c:4562
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jan.smets@alcatel-lucent.com

/tmp/minimal9.i: In function 'function':
/tmp/minimal9.i:15:28: internal compiler error: in get_bit_range, at
expr.c:4562
     pInfo->mode[x].member1 = 0;
                            ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.



struct info
{
    struct {
        unsigned char member1 : 1;
        unsigned char member2;
    } mode[1];
};

extern void call(void);

void function(int x, struct info *pInfo)
{
    if (x != -1)
        call();
    pInfo->mode[x].member1 = 0;
    if (pInfo->mode[x].member2 == (((x) == 1) ? 2 : 1))
    {
        call();
    }
}


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

end of thread, other threads:[~2014-04-23 12:39 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-02 10:16 [Bug middle-end/58970] New: internal compiler error: in get_bit_range, at expr.c:4562 jan.smets@alcatel-lucent.com
2013-11-02 10:17 ` [Bug middle-end/58970] " jan.smets@alcatel-lucent.com
2013-11-02 13:38 ` [Bug middle-end/58970] [4.7/4.8/4.9 Regression] " mpolacek at gcc dot gnu.org
2013-11-03 19:16 ` bernd.edlinger at hotmail dot de
2013-11-04  0:56 ` jan.smets@alcatel-lucent.com
2013-11-04  8:41 ` jakub at gcc dot gnu.org
2013-11-04  9:00 ` bernd.edlinger at hotmail dot de
2013-11-04  9:31 ` jakub at gcc dot gnu.org
2013-11-04  9:32 ` jakub at gcc dot gnu.org
2013-11-04  9:54 ` bernd.edlinger at hotmail dot de
2013-11-04 10:01 ` jakub at gcc dot gnu.org
2013-11-04 10:07 ` bernd.edlinger at hotmail dot de
2013-11-04 10:12 ` jakub at gcc dot gnu.org
2013-11-04 10:32 ` bernd.edlinger at hotmail dot de
2013-11-04 11:07 ` bernd.edlinger at hotmail dot de
2013-11-04 11:30 ` jakub at gcc dot gnu.org
2013-11-04 11:46 ` bernd.edlinger at hotmail dot de
2013-11-04 12:10 ` bernd.edlinger at hotmail dot de
2013-11-04 12:15 ` jakub at gcc dot gnu.org
2013-11-04 14:28 ` rguenth at gcc dot gnu.org
2013-11-04 16:02 ` jakub at gcc dot gnu.org
2013-11-04 17:55 ` ebotcazou at gcc dot gnu.org
2013-11-05  8:28 ` bernd.edlinger at hotmail dot de
2013-11-05 19:37 ` bernd.edlinger at hotmail dot de
2013-11-06  7:50 ` jakub at gcc dot gnu.org
2013-11-06 14:11 ` jan.smets@alcatel-lucent.com
2013-11-11  7:57 ` jakub at gcc dot gnu.org
2013-11-11  9:41 ` jan.smets@alcatel-lucent.com
2013-11-19 13:33 ` [Bug middle-end/58970] [4.7 " rguenth at gcc dot gnu.org
2014-04-23 12:39 ` jan.smets@alcatel-lucent.com

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).