public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/67289] New: ICE in ipa-devirt.c
@ 2015-08-20 11:22 rainer@emrich-ebersheim.de
  0 siblings, 0 replies; only message in thread
From: rainer@emrich-ebersheim.de @ 2015-08-20 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67289
           Summary: ICE in ipa-devirt.c
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rainer@emrich-ebersheim.de
  Target Milestone: ---

Trying to bootstrap trunk revision 227003 using build configuration
bootstrap-lto and ada enabled fails with an ICE in stage 2 while linking gnat1.

/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/x86_64-pc-linux-gnu/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu

-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/opt/devel/gnu/src/gcc/gcc-6.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -DIN_GCC -fPIC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o ada/adaint.o
ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o ada/initialize.o
ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o ada/decl.o ada/rtfinal.o
ada/rtinit.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o
ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o
ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o
ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o
ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o
ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o
ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o
ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o
ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o
ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o
ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o
ada/exp_tss.o ada/exp_unst.o ada/exp_util.o ada/expander.o ada/fmap.o
ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o
ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o
ada/get_spark_xrefs.o ada/get_targ.o ada/ghost.o ada/gnat.o ada/gnatvsn.o
ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o
ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o
ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o
ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o
ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o
ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o
ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o
ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o
ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o
ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o
ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o
ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o
ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o
ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o
ada/s-utf_32.o ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o
ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o
ada/scos.o ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_warn.o ada/set_targ.o
ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o
ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o
ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o
ada/targparm.o ada/tbuild.o ada/tree_gen.o ada/tree_in.o ada/tree_io.o
ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o ada/uintp.o ada/uname.o
ada/urealp.o ada/usage.o ada/validsw.o ada/warnsw.o ada/widechar.o
ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o libbackend.a main.o
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a attribs.o \
  libcommon-target.a libcommon.a ../libcpp/libcpp.a  
../libbacktrace/.libs/libbacktrace.a ../libiberty/pic/libiberty.a
../libdecnumber/libdecnumber.a  
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-lisl
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-lmpc -lmpfr -lgmp -rdynamic -ldl  -L./../zlib -lz -g -O2 -flto=jobserver
-frandom-seed=1
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/gcc-interface/gigi.h:344:6:
warning: type ‘attr_type’ violates the C++ One Definition Rule [-Wodr]
 enum attr_type
      ^
./insn-attr-common.h:8:6: note: an enum with different value name is defined in
another translation unit
 enum attr_type {TYPE_OTHER, TYPE_MULTI, TYPE_ALU, TYPE_ALU1, TYPE_NEGNOT,
TYPE_IMOV, TYPE_IMOVX, TYPE_LEA, TYPE_INCDEC, TYPE_ISHIFT, TYPE_ISHIFTX,
TYPE_ISHIFT1, TYPE_ROTATE, TYPE_ROTATEX, TYPE_ROTATE1, TYPE_IMUL, TYPE_IMULX,
TYPE_IDIV, TYPE_ICMP, TYPE_TEST, TYPE_IBR, TYPE_SETCC, TYPE_ICMOV, TYPE_PUSH,
TYPE_POP, TYPE_CALL, TYPE_CALLV, TYPE_LEAVE, TYPE_STR, TYPE_BITMANIP,
TYPE_FMOV, TYPE_FOP, TYPE_FSGN, TYPE_FMUL, TYPE_FDIV, TYPE_FPSPC, TYPE_FCMOV,
TYPE_FCMP, TYPE_FXCH, TYPE_FISTP, TYPE_FISTTP, TYPE_FRNDINT, TYPE_SSE,
TYPE_SSEMOV, TYPE_SSEADD, TYPE_SSEADD1, TYPE_SSEIADD, TYPE_SSEIADD1,
TYPE_SSEMUL, TYPE_SSEIMUL, TYPE_SSEDIV, TYPE_SSELOG, TYPE_SSELOG1,
TYPE_SSEISHFT, TYPE_SSEISHFT1, TYPE_SSECMP, TYPE_SSECOMI, TYPE_SSECVT,
TYPE_SSECVT1, TYPE_SSEICVT, TYPE_SSEINS, TYPE_SSESHUF, TYPE_SSESHUF1,
TYPE_SSEMULADD, TYPE_SSE4ARG, TYPE_LWP, TYPE_MSKMOV, TYPE_MSKLOG, TYPE_MMX,
TYPE_MMXMOV, TYPE_MMXADD, TYPE_MMXMUL, TYPE_MMXCMP, TYPE_MMXCVT, TYPE_MMXSHFT,
TYPE_MPXMOV, TYPE_MPXMK, TYPE_MPXCHK, TYPE_MPXLD, TYPE_MPXST};
      ^
/usr/include/sys/resource.h:69:12: warning: type of ‘setrlimit’ does not match
original declaration [-Wlto-type-mismatch]
 extern int setrlimit (__rlimit_resource_t __resource,
            ^
/usr/include/sys/resource.h:69:12: note: type mismatch in parameter 1
 extern int setrlimit (__rlimit_resource_t __resource,
            ^
/usr/include/sys/resource.h:42:13: note: type ‘__rlimit_resource_t’ should
match type ‘__rlimit_resource_t’
 typedef int __rlimit_resource_t;
             ^
/usr/include/sys/resource.h:38:32: note: the incompatible type is defined here
 typedef enum __rlimit_resource __rlimit_resource_t;
                                ^
/usr/include/sys/resource.h:69:12: note: ‘setrlimit’ was previously declared
here
 extern int setrlimit (__rlimit_resource_t __resource,
            ^
/usr/include/sys/resource.h:50:12: warning: type of ‘getrlimit’ does not match
original declaration [-Wlto-type-mismatch]
 extern int getrlimit (__rlimit_resource_t __resource,
            ^
/usr/include/sys/resource.h:50:12: note: type mismatch in parameter 1
 extern int getrlimit (__rlimit_resource_t __resource,
            ^
/usr/include/sys/resource.h:42:13: note: type ‘__rlimit_resource_t’ should
match type ‘__rlimit_resource_t’
 typedef int __rlimit_resource_t;
             ^
/usr/include/sys/resource.h:38:32: note: the incompatible type is defined here
 typedef enum __rlimit_resource __rlimit_resource_t;
                                ^
/usr/include/sys/resource.h:50:12: note: ‘getrlimit’ was previously declared
here
 extern int getrlimit (__rlimit_resource_t __resource,
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/libiberty/xstrerror.c:40:14:
warning: type of ‘strerror’ does not match original declaration
[-Wlto-type-mismatch]
 extern char *strerror (int);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-os_lib.adb:939:16:
note: return value type mismatch
       function strerror (errnum : Integer) return System.Address;
                ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-os_lib.adb:939:16:
note: ‘system__os_lib__errno_message__strerror’ was previously declared here
/usr/include/stdlib.h:480:14: warning: type of ‘realloc’ does not match
original declaration [-Wlto-type-mismatch]
 extern void *realloc (void *__ptr, size_t __size)
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:192:13:
note: return value type mismatch
    function realloc
             ^
/usr/include/stdlib.h:480:14: warning: type of ‘realloc’ does not match
original declaration [-Wlto-type-mismatch]
 extern void *realloc (void *__ptr, size_t __size)
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:192:13:
note: return value type mismatch
    function realloc
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:192:13:
note: ‘system__crtl__realloc’ was previously declared here
/usr/include/stdlib.h:466:14: warning: type of ‘malloc’ does not match original
declaration [-Wlto-type-mismatch]
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:174:13:
note: return value type mismatch
    function malloc (Size : size_t) return System.Address;
             ^
/usr/include/stdlib.h:466:14: warning: type of ‘malloc’ does not match original
declaration [-Wlto-type-mismatch]
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:174:13:
note: return value type mismatch
    function malloc (Size : size_t) return System.Address;
             ^
/usr/include/stdlib.h:466:14: warning: type of ‘malloc’ does not match original
declaration [-Wlto-type-mismatch]
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:174:13:
note: return value type mismatch
    function malloc (Size : size_t) return System.Address;
             ^
/usr/include/stdlib.h:466:14: warning: type of ‘malloc’ does not match original
declaration [-Wlto-type-mismatch]
 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:174:13:
note: return value type mismatch
    function malloc (Size : size_t) return System.Address;
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/s-crtl.ads:174:13:
note: ‘system__crtl__malloc’ was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint.adb:3214:16:
warning: type of ‘osint__update_path__c_update_path’ does not match original
declaration [-Wlto-type-mismatch]
       function C_Update_Path (Path, Component : Address) return Address;
                ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/prefix.c:247:1:
note: return value type mismatch
 update_path (const char *path, const char *key)
 ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/prefix.c:247:1:
note: ‘update_path’ was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint.ads:762:14:
warning: ‘osint__write_info’ violates the C++ One Definition Rule  [-Wodr]
    procedure Write_Info (Info : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint.adb:3245:4:
note: ‘osint__write_info’ was previously declared here
    procedure Write_Info (Info : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.ads:66:14:
warning: ‘osint__c__write_debug_info’ violates the C++ One Definition Rule 
[-Wodr]
    procedure Write_Debug_Info (Info : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.adb:524:14:
note: ‘osint__c__write_debug_info’ was previously declared here
    procedure Write_Debug_Info (Info : String) renames Write_Info;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.ads:31:14:
warning: ‘osint__c__set_output_object_file_name’ violates the C++ One
Definition Rule  [-Wodr]
    procedure Set_Output_Object_File_Name (Name : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.adb:438:4:
note: ‘osint__c__set_output_object_file_name’ was previously declared here
    procedure Set_Output_Object_File_Name (Name : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.ads:136:14:
warning: ‘osint__c__write_library_info’ violates the C++ One Definition Rule 
[-Wodr]
    procedure Write_Library_Info (Info : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/osint-c.adb:530:14:
note: ‘osint__c__write_library_info’ was previously declared here
    procedure Write_Library_Info (Info : String) renames Write_Info;
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/namet.ads:499:14:
warning: ‘namet__add_str_to_name_buffer’ violates the C++ One Definition Rule 
[-Wodr]
    procedure Add_Str_To_Name_Buffer (S : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/namet.adb:116:4:
note: ‘namet__add_str_to_name_buffer’ was previously declared here
    procedure Add_Str_To_Name_Buffer (S : String) is
    ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
<built-in>: warning: type of ‘__builtin_fputs’ does not match original
declaration [-Wlto-type-mismatch]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
/usr/include/stdio.h:689:12: warning: type of ‘fputs’ does not match original
declaration [-Wlto-type-mismatch]
 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
            ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: type mismatch in parameter 1
    function fputs (Strng : C_chars; Stream : FILEs) return Integer;
             ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/exp_cg.adb:59:13:
note: ‘exp_cg__fputs’ was previously declared here
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/erroutc.ads:429:14:
warning: ‘erroutc__prescan_message’ violates the C++ One Definition Rule 
[-Wodr]
    procedure Prescan_Message (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/erroutc.adb:754:4:
note: ‘erroutc__prescan_message’ was previously declared here
    procedure Prescan_Message (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:716:14:
warning: ‘errout__error_msg_sp’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_SP (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:716:14:
warning: ‘errout__error_msg_sp’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_SP (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:1356:4:
note: ‘errout__error_msg_sp’ was previously declared here
    procedure Error_Msg_SP (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:703:14:
warning: ‘errout__error_msg_bc’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_BC (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:619:4:
note: ‘errout__error_msg_bc’ was previously declared here
    procedure Error_Msg_BC (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:710:14:
warning: ‘errout__error_msg_sc’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_SC (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:710:14:
warning: ‘errout__error_msg_sc’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_SC (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:710:14:
warning: ‘errout__error_msg_sc’ violates the C++ One Definition Rule  [-Wodr]
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:1337:4:
note: ‘errout__error_msg_sc’ was previously declared here
    procedure Error_Msg_SC (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:695:14:
warning: ‘errout__error_msg_s’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_S (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:695:14:
warning: ‘errout__error_msg_s’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_S (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:695:14:
warning: ‘errout__error_msg_s’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_S (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:695:14:
warning: ‘errout__error_msg_s’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_S (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:1328:4:
note: ‘errout__error_msg_s’ was previously declared here
    procedure Error_Msg_S (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:699:14:
warning: ‘errout__error_msg_ap’ violates the C++ One Definition Rule  [-Wodr]
    procedure Error_Msg_AP (Msg : String);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:543:4:
note: ‘errout__error_msg_ap’ was previously declared here
    procedure Error_Msg_AP (Msg : String) is
    ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:872:14:
warning: ‘errout__error_msg_ada_2012_feature’ violates the C++ One Definition
Rule  [-Wodr]
    procedure Error_Msg_Ada_2012_Feature (Feature : String; Loc : Source_Ptr);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.ads:872:14:
warning: ‘errout__error_msg_ada_2012_feature’ violates the C++ One Definition
Rule  [-Wodr]
    procedure Error_Msg_Ada_2012_Feature (Feature : String; Loc : Source_Ptr);
              ^
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/errout.adb:525:4:
note: ‘errout__error_msg_ada_2012_feature’ was previously declared here
    procedure Error_Msg_Ada_2012_Feature (Feature : String; Loc : Source_Ptr)
is
    ^
lto1: internal compiler error: Segmentation fault
0xbf97cc crash_signal
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/toplev.c:352
0x9aa29c type_with_linkage_p(tree_node const*)
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:234
0x9aa49e odr_type_p(tree_node const*)
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:297
0x9aae84 odr_or_derived_type_p(tree_node const*)
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:646
0x749dde warn_type_compatibility_p
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:204
0x749f39 warn_type_compatibility_p
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:228
0x74a1ab lto_symtab_merge
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:315
0x74a72d lto_symtab_merge_decls_2
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:506
0x74accf lto_symtab_merge_decls_1
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:659
0x74ada3 lto_symtab_merge_decls()
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:682
0x737a66 read_cgraph_and_symbols
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto.c:2879
0x7388e1 lto_main()
       
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto.c:3265
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.
lto-wrapper: fatal error:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++
returned 1 exit status
compilation terminated.
/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/bin/ld:
lto-wrapper failed
collect2: error: ld returned 1 exit status
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ada/gcc-interface/Make-lang.in:600:
recipe for target 'gnat1' failed
make[3]: *** [gnat1] Error 1
make[3]: Leaving directory
'/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/gcc'


Target: x86_64-pc-linux-gnu
Configured with:
../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/configure
--prefix=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test
--with-gnu-as
--with-as=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/bin/as
--with-gnu-ld
--with-ld=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/bin/ld
--enable-threads=posix --enable-shared --enable-__cxa_atexit --enable-plugin
--enable-languages=c,ada,c++
--with-gmp-include=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/include
--with-gmp-lib=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
--with-mpfr-include=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/include
--with-mpfr-lib=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
--with-mpc-include=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/include
--with-mpc-lib=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
--with-isl-include=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/include
--with-isl-lib=/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
--with-local-prefix=/opt/devel/tec/devel/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test
--enable-checking=release --disable-werror --disable-multilib
--enable-host-shared --with-build-config=bootstrap-lto
Thread model: posix
gcc version 6.0.0 20150819 (experimental) [trunk revision 227003] (GCC)

binutils-2.25.1


gdb backtrace:

gdb --args
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/x86_64-pc-linux-gnu/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu

-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/opt/devel/gnu/src/gcc/gcc-6.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -DIN_GCC -fPIC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  -o gnat1 ada/adadecode.o ada/adaint.o
ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o ada/initialize.o
ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o ada/decl.o ada/rtfinal.o
ada/rtinit.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o
ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o
ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o
ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o
ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o
ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o
ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o
ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o
ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o
ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o
ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o
ada/exp_tss.o ada/exp_unst.o ada/exp_util.o ada/expander.o ada/fmap.o
ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o
ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o
ada/get_spark_xrefs.o ada/get_targ.o ada/ghost.o ada/gnat.o ada/gnatvsn.o
ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o
ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o
ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o
ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o
ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o
ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o
ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o
ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o
ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o
ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o
ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o
ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o
ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o
ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o
ada/s-utf_32.o ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o
ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o
ada/scos.o ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_warn.o ada/set_targ.o
ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o
ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o
ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o
ada/targparm.o ada/tbuild.o ada/tree_gen.o ada/tree_in.o ada/tree_io.o
ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o ada/uintp.o ada/uname.o
ada/urealp.o ada/usage.o ada/validsw.o ada/warnsw.o ada/widechar.o
ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o libbackend.a main.o
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a attribs.o \
>   libcommon-target.a libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a   -L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64 -lisl -L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64 -L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64 -L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64 -lmpc -lmpfr -lgmp -rdynamic -ldl  -L./../zlib -lz -g -O2 -flto=jobserver -frandom-seed=1
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/xg++...done.
warning: File
"/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/gcc/.gdbinit"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/gcc/.gdbinit
line to your configuration file "/home/rainer/.gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/rainer/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
        info "(gdb)Auto-loading safe path"
(gdb) set follow-fork-mode child
(gdb) run
Starting program:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-gcc/xg++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/./prev-gcc/
-B/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/x86_64-pc-linux-gnu/bin/
-nostdinc++
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc/gcc-6.0.0-test/libstdc++-v3/libsupc++
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie -g -O2 -flto=jobserver -frandom-seed=1 -DIN_GCC -fPIC -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc -o gnat1 ada/adadecode.o ada/adaint.o
ada/argv.o ada/cio.o ada/cstreams.o ada/env.o ada/init.o ada/initialize.o
ada/raise.o ada/seh_init.o ada/targext.o ada/cuintp.o ada/decl.o ada/rtfinal.o
ada/rtinit.o ada/misc.o ada/utils.o ada/utils2.o ada/trans.o ada/targtyps.o
ada/a-charac.o ada/a-chlat1.o ada/a-elchha.o ada/a-except.o ada/a-ioexce.o
ada/ada.o ada/spark_xrefs.o ada/ali.o ada/alloc.o ada/aspects.o ada/atree.o
ada/butil.o ada/casing.o ada/checks.o ada/comperr.o ada/csets.o ada/cstand.o
ada/debug.o ada/debug_a.o ada/einfo.o ada/elists.o ada/err_vars.o ada/errout.o
ada/erroutc.o ada/eval_fat.o ada/exp_aggr.o ada/exp_spark.o ada/exp_atag.o
ada/exp_attr.o ada/exp_cg.o ada/exp_ch11.o ada/exp_ch12.o ada/exp_ch13.o
ada/exp_ch2.o ada/exp_ch3.o ada/exp_ch4.o ada/exp_ch5.o ada/exp_ch6.o
ada/exp_ch7.o ada/exp_ch8.o ada/exp_ch9.o ada/exp_code.o ada/exp_dbug.o
ada/exp_disp.o ada/exp_dist.o ada/exp_fixd.o ada/exp_imgv.o ada/exp_intr.o
ada/exp_pakd.o ada/exp_prag.o ada/exp_sel.o ada/exp_smem.o ada/exp_strm.o
ada/exp_tss.o ada/exp_unst.o ada/exp_util.o ada/expander.o ada/fmap.o
ada/fname-uf.o ada/fname.o ada/freeze.o ada/frontend.o ada/g-byorma.o
ada/g-hesora.o ada/g-htable.o ada/g-spchge.o ada/g-speche.o ada/g-u3spch.o
ada/get_spark_xrefs.o ada/get_targ.o ada/ghost.o ada/gnat.o ada/gnatvsn.o
ada/hostparm.o ada/impunit.o ada/inline.o ada/interfac.o ada/itypes.o
ada/krunch.o ada/layout.o ada/lib-load.o ada/lib-util.o ada/lib-writ.o
ada/lib-xref.o ada/lib.o ada/live.o ada/namet-sp.o ada/namet.o ada/nlists.o
ada/nmake.o ada/opt.o ada/osint-c.o ada/osint.o ada/output.o ada/par.o
ada/par_sco.o ada/prep.o ada/prepcomp.o ada/put_spark_xrefs.o ada/put_scos.o
ada/repinfo.o ada/restrict.o ada/rident.o ada/rtsfind.o ada/s-addope.o
ada/s-assert.o ada/s-bitops.o ada/s-carun8.o ada/s-casuti.o ada/s-conca2.o
ada/s-conca3.o ada/s-conca4.o ada/s-conca5.o ada/s-conca6.o ada/s-conca7.o
ada/s-conca8.o ada/s-conca9.o ada/s-crc32.o ada/s-crtl.o ada/s-excdeb.o
ada/s-except.o ada/s-exctab.o ada/s-htable.o ada/s-imenne.o ada/s-imgenu.o
ada/s-mastop.o ada/s-memory.o ada/s-os_lib.o ada/s-parame.o ada/s-purexc.o
ada/s-restri.o ada/s-secsta.o ada/s-soflin.o ada/s-sopco3.o ada/s-sopco4.o
ada/s-sopco5.o ada/s-stache.o ada/s-stalib.o ada/s-stoele.o ada/s-strcom.o
ada/s-strhas.o ada/s-string.o ada/s-strops.o ada/s-traent.o ada/s-unstyp.o
ada/s-utf_32.o ada/s-valint.o ada/s-valuns.o ada/s-valuti.o ada/s-wchcnv.o
ada/s-wchcon.o ada/s-wchjis.o ada/scans.o ada/scil_ll.o ada/scn.o ada/scng.o
ada/scos.o ada/sdefault.o ada/sem.o ada/sem_aggr.o ada/sem_attr.o ada/sem_aux.o
ada/sem_case.o ada/sem_cat.o ada/sem_ch10.o ada/sem_ch11.o ada/sem_ch12.o
ada/sem_ch13.o ada/sem_ch2.o ada/sem_ch3.o ada/sem_ch4.o ada/sem_ch5.o
ada/sem_ch6.o ada/sem_ch7.o ada/sem_ch8.o ada/sem_ch9.o ada/sem_dim.o
ada/sem_disp.o ada/sem_dist.o ada/sem_elab.o ada/sem_elim.o ada/sem_eval.o
ada/sem_intr.o ada/sem_mech.o ada/sem_prag.o ada/sem_res.o ada/sem_scil.o
ada/sem_smem.o ada/sem_type.o ada/sem_util.o ada/sem_warn.o ada/set_targ.o
ada/sinfo-cn.o ada/sinfo.o ada/sinput-d.o ada/sinput-l.o ada/sinput.o
ada/snames.o ada/sprint.o ada/stand.o ada/stringt.o ada/style.o ada/styleg.o
ada/stylesw.o ada/switch-c.o ada/switch.o ada/system.o ada/table.o
ada/targparm.o ada/tbuild.o ada/tree_gen.o ada/tree_in.o ada/tree_io.o
ada/treepr.o ada/treeprs.o ada/ttypes.o ada/types.o ada/uintp.o ada/uname.o
ada/urealp.o ada/usage.o ada/validsw.o ada/warnsw.o ada/widechar.o
ada/back_end.o ada/gnat1drv.o ada/b_gnat1.o libbackend.a main.o
libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a attribs.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a
../libiberty/pic/libiberty.a ../libdecnumber/libdecnumber.a
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-lisl
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-L/opt/devel/gnu/gcc/Linux/x86_64-unknow---Type <return> to continue, or q
<return> to quit---
n-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-L/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64
-lmpc -lmpfr -lgmp -rdynamic -ldl -L./../zlib -lz -g -O2 -flto=jobserver
-frandom-seed=1
[New process 10505]
process 10505 is executing new program:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-gcc/collect2
[New process 10506]
process 10506 is executing new program:
/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/bin/ld
[New process 10507]
process 10507 is executing new program:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-gcc/lto-wrapper
[New process 10508]
process 10508 is executing new program:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-gcc/xg++
[New process 10509]
process 10509 is executing new program:
/opt/devel/SCRATCH/tmp.Gw2rTvUmtk/gcc-6.0.0-test/gcc-6.0.0-test/prev-gcc/lto1
warning: File
"/opt/devel/gnu/gcc/Linux/x86_64-unknown-linux-gnu/openSUSE_13.2/gcc-6.0.0-test/lib64/libisl.so.13.1.0-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 10509]
0x00000000009aa29c in type_with_linkage_p (t=0x7ffff5cd0aa0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:234
234           || !TYPE_NAME (t) || TREE_CODE (TYPE_NAME (t)) != TYPE_DECL
(gdb) thread apply all bt full

Thread 6 (process 10509):
#0  0x00000000009aa29c in type_with_linkage_p (t=0x7ffff5cd0aa0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:234
No locals.
#1  0x00000000009aa49f in odr_type_p (t=0x7ffff5cd0aa0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:297
No locals.
#2  0x00000000009aae85 in odr_or_derived_type_p (t=0x7ffff5cd0aa0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/ipa-devirt.c:646
No locals.
#3  0x0000000000749ddf in warn_type_compatibility_p
(prevailing_type=0x7ffff5cd0aa0, type=0x7ffff4fcdfa0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:204
        lev = 0
#4  0x0000000000749f3a in warn_type_compatibility_p
(prevailing_type=0x7ffff5cd79d8, type=0x7ffff4ffbb28) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:228
        parm1 = 0x7ffff5cd6098
        parm2 = 0x7ffff4ffc130
        lev = 0
#5  0x000000000074a1ac in lto_symtab_merge (prevailing=0x7fffe92b4cf0,
entry=0x7fffe8326000) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:315
        prevailing_decl = 0x7ffff5ccbc40
        decl = 0x7ffff4ff4460
#6  0x000000000074a72e in lto_symtab_merge_decls_2 (first=0x7fffe92b4cf0,
diagnosed_p=false) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:506
        prevailing = 0x7fffe92b4cf0
        e = 0x7fffe8326000
        mismatches = {m_vec = 0x229c070}
        i = 32767
        decl = 0x7ffff5cd0ac8
---Type <return> to continue, or q <return> to quit---
#7  0x000000000074acd0 in lto_symtab_merge_decls_1 (first=0x7fffe92b4cf0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:659
        e = 0x0
        prevailing = 0x7fffe92b4cf0
        diagnosed_p = false
        __FUNCTION__ = "lto_symtab_merge_decls_1"
#8  0x000000000074ada4 in lto_symtab_merge_decls () at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto-symtab.c:682
        node = 0x7fffe92b4cf0
#9  0x0000000000737a67 in read_cgraph_and_symbols (nfiles=666,
fnames=0x1f646c0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto.c:2879
        i = 666
        last_file_ix = 666
        resolution = 0x1f79f00
        count = 666
        decl_data = 0x7ffff7fac000
        snode = 0x0
        __FUNCTION__ = "read_cgraph_and_symbols"
        res = 0x0
#10 0x00000000007388e2 in lto_main () at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/lto/lto.c:3265
No locals.
#11 0x0000000000bf9de6 in compile_file () at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/toplev.c:544
        node = 0x201f48730
#12 0x0000000000bfcc68 in do_compile () at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/toplev.c:2046
        i = 1
#13 0x0000000000bfcf64 in toplev::main (this=0x7fffffffd190, argc=700,
argv=0x1f2b3b0) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/toplev.c:2153
---Type <return> to continue, or q <return> to quit---
No locals.
#14 0x00000000014bbec0 in main (argc=35, argv=0x7fffffffd298) at
../../../../../../../opt/devel/gnu/src/gcc/gcc-6.0.0-test/gcc/main.c:39
        toplev = {m_use_TV_TOTAL = true, m_init_signals = true}
(gdb)
>From gcc-bugs-return-495275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Aug 20 11:24:46 2015
Return-Path: <gcc-bugs-return-495275-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 121388 invoked by alias); 20 Aug 2015 11:24:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 121302 invoked by uid 48); 20 Aug 2015 11:24:42 -0000
From: "ssaraswati at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/61441] ARM aarch64 fails to quiet signaling NaN
Date: Thu, 20 Aug 2015 11:24:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ssaraswati at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61441-4-bs5FgGcCGd@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61441-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61441-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-08/txt/msg01417.txt.bz2
Content-length: 390

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida441

--- Comment #10 from Sujoy <ssaraswati at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #9)

> There is no need to wait for bugs to move state (rather, if working on a
> bug, you may wish to change it to ASSIGNED yourself with yourself as
> assignee).

Ok, I started working on this and hope to send a fix soon.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-20 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20 11:22 [Bug bootstrap/67289] New: ICE in ipa-devirt.c rainer@emrich-ebersheim.de

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