public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/65241] New: [5 Regression] ICE (in remove_local_expressions_from_table, at tree-ssa-dom.c:1081) on powerpc64le-linux-gnu
@ 2015-02-27 17:20 doko at gcc dot gnu.org
  2015-03-02  8:45 ` [Bug tree-optimization/65241] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2015-02-27 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65241
           Summary: [5 Regression] ICE (in
                    remove_local_expressions_from_table, at
                    tree-ssa-dom.c:1081) on powerpc64le-linux-gnu
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org

with r221042

$ gcc -c -g -O3 -Wno-implicit-int wmccc_dialogs.i 
wmccc_dialogs.i: In function 'fn3':
wmccc_dialogs.i:19:3: warning: implicit declaration of function 'fn4'
[-Wimplicit-function-declaration]
   fn4();
   ^
wmccc_dialogs.i:17:1: internal compiler error: in
remove_local_expressions_from_table, at tree-ssa-dom.c:1081
 fn3(wmccc_dialog_t p1) {
 ^
Please submit a full bug report,
with preprocessed source if appropriate.

$ cat wmccc_dialogs.i
typedef enum {
  DLG_SITELIST,
  DLG_NEW_BOARD,
  DLG_NEW_RSS,
  NB_DLG
} wmccc_dialog_t;
fn1(wmccc_dialog_t p1) {
  static w[NB_DLG];
  if (w[p1])
    switch (p1)
    case DLG_NEW_RSS:
  w[p1] = 0;
}

fn2(p1) { fn1(p1); }

fn3(wmccc_dialog_t p1) {
  fn2(p1);
  fn4();
  fn2(p1);
}


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

end of thread, other threads:[~2015-03-03 11:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 17:20 [Bug middle-end/65241] New: [5 Regression] ICE (in remove_local_expressions_from_table, at tree-ssa-dom.c:1081) on powerpc64le-linux-gnu doko at gcc dot gnu.org
2015-03-02  8:45 ` [Bug tree-optimization/65241] " rguenth at gcc dot gnu.org
2015-03-02  9:52 ` [Bug tree-optimization/65241] [5 Regression] ICE (in remove_local_expressions_from_table, at tree-ssa-dom.c:1081) mpolacek at gcc dot gnu.org
2015-03-02 10:00 ` mpolacek at gcc dot gnu.org
2015-03-02 20:32 ` law at redhat dot com
2015-03-03 11:55 ` law at gcc dot gnu.org
2015-03-03 11:57 ` law at redhat dot 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).