public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65034] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
@ 2015-02-12  6:28 doko at gcc dot gnu.org
  2015-02-12  9:25 ` [Bug ipa/65034] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: doko at gcc dot gnu.org @ 2015-02-12  6:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65034
           Summary: [5 Regression] ICE (segfault) on arm-linux-gnueabihf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

seen with 20150205 on arm-linux-gnueabihf, configured --with-arch=armv7-a
--with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb

$ g++ -c -g -O2 vga_tseng.ii
vga_tseng.ii:37:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.

$ cat vga_tseng.ii 
enum LOG_TYPES { LOG_VGAMISC };
enum LOG_SEVERITIES { LOG_NORMAL };
struct A {
  A(LOG_TYPES, LOG_SEVERITIES) {}
};
typedef struct {
  unsigned store_3c0_16;
  unsigned store_3c0_17;
  unsigned store_3c4_06;
  unsigned store_3c4_07;
} SVGA_ET3K_DATA;
SVGA_ET3K_DATA a;
void fn1(unsigned p1, unsigned p2, unsigned) {
  switch (p1) {
  case 6:
    a.store_3c4_06 = p2;
    break;
  case 7:
    a.store_3c4_07 = p2;
    break;
  default:
    A(LOG_VGAMISC, LOG_NORMAL);
  }
}

void fn2(unsigned p1, unsigned p2, unsigned) {
  switch (p1) {
  case 6:
    a.store_3c0_16 = p2;
    break;
  case 7:
    a.store_3c0_17 = p2;
    break;
  default:
    A(LOG_VGAMISC, LOG_NORMAL);
  }
}


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

end of thread, other threads:[~2015-02-13 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-12  6:28 [Bug target/65034] New: [5 Regression] ICE (segfault) on arm-linux-gnueabihf doko at gcc dot gnu.org
2015-02-12  9:25 ` [Bug ipa/65034] " jakub at gcc dot gnu.org
2015-02-12  9:30 ` jakub at gcc dot gnu.org
2015-02-13 14:43 ` jakub at gcc dot gnu.org
2015-02-13 16:25 ` jakub at gcc dot gnu.org

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