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

            Bug ID: 63754
           Summary: h8300 ICE in as_a, at is-a.h:192 during libgcc
                    autoconf probe
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

Created attachment 33898
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33898&action=edit
autoconf probe for ICE

configure:: /users/joel/test-gcc/b-h8300-rtems4.11-gcc/./gcc/xgcc
-B/users/joel/test-gcc/b-h8300-rtems4.11-gcc/./gcc/ -nostdinc
-B/users/joel/test-gcc/b-h8300-rtems4.11-gcc/h8300-rtems4.11/h8300s/newlib/
-isystem
/users/joel/test-gcc/b-h8300-rtems4.11-gcc/h8300-rtems4.11/h8300s/newlib/targ-include
-isystem /users/joel/test-gcc/gcc/newlib/libc/include
-B/users/joel/test-gcc/install-head/h8300-rtems4.11/bin/
-B/users/joel/test-gcc/install-head/h8300-rtems4.11/lib/ -isystem
/users/joel/test-gcc/install-head/h8300-rtems4.11/include -isystem
/users/joel/test-gcc/install-head/h8300-rtems4.11/sys-include  -ms -c
--save-temps -fexceptions  conftest.c >&5
conftest.c: In function 'foo':
conftest.c:19:1: internal compiler error: in as_a, at is-a.h:192
 }
 ^
0xb62c73 rtx_insn* as_a<rtx_insn*, rtx_def>(rtx_def*)
    ../../gcc/gcc/is-a.h:192
0xb62c73 Fpa
    ../../gcc/gcc/config/h8300/h8300.c:525
0xb62c73 h8300_push_pop
    ../../gcc/gcc/config/h8300/h8300.c:719
0xb62fb9 h8300_push_pop
    ../../gcc/gcc/config/h8300/h8300.c:874
0xb62fb9 h8300_expand_prologue()
    ../../gcc/gcc/config/h8300/h8300.c:885
0xb6e25a gen_prologue()
    ../../gcc/gcc/config/h8300/h8300.md:2651
0x6cc4f7 thread_prologue_and_epilogue_insns
    ../../gcc/gcc/function.c:5678
0x6cc4f7 rest_of_handle_thread_prologue_and_epilogue
    ../../gcc/gcc/function.c:6248
0x6cc4f7 execute
    ../../gcc/gcc/function.c:6286
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.
configure:: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| #define SIZEOF_DOUBLE 4
| #define SIZEOF_LONG_DOUBLE 4
| #define HAVE_GETIPINFO 1
| /* end confdefs.h.  */
| 
| void bar ();
| void clean (int *);
| void foo ()
| {
|   int i __attribute__ ((cleanup (clean)));
|   bar();
| }
| 
configure:4262: result: unknown
configure:4278: error: unable to detect exception model
jjjjjjjkz

Reply via email to