public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/99450] New: ICE: unrecognizable insn with lto build
@ 2021-03-07 13:31 doko at debian dot org
  2021-03-08  8:50 ` [Bug lto/99450] " marxin at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: doko at debian dot org @ 2021-03-07 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99450
           Summary: ICE: unrecognizable insn with lto build
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

seen with the gcc-10 branch 20210306 on x86_64-linux-gnu, building the emoslib
4.5.9 package.  the package fails with other issues building with trunk.

$ gfortran -Wl,-z,defs -Wl,--as-needed -flto=auto -Wl,-z,relro
-Wl,--disable-new-dtags -g -O2 -ffile-prefix-map=/packages/tmp/emoslib-4.5.9=.
-flto=auto -ffat-lto-objects -fstack-protector-strong -fallow-argument-mismatch
-ffixed-line-length-none -fcray-pointer -fno-second-underscore -Wuninitialized
-Wunused-variable -Wno-maybe-uninitialized -DSHAREDMEMORY -fdefault-real-8
-fdefault-double-8 -fdefault-real-8 -fdefault-double-8 -O3 -DNDEBUG
-funroll-all-loops -finline-functions -O2 CMakeFiles/bufr_0t2.dir/bufr_0t2.F.o
-o ../../usr/bin/bufr_0t2 -Wl,-rpath,$ORIGIN/../lib libmy_exit.a
../../usr/lib/x86_64-linux-gnu/libemosR64.a
/usr/lib/x86_64-linux-gnu/libeccodes.so.0 -lpng -laec -lm
/usr/lib/x86_64-linux-gnu/libopenjp2.so -lpthread
/usr/lib/x86_64-linux-gnu/libfftw3.so

../../libemos-dp/./bufrdc_wmo/buens4.F:268:57: warning: type of ‘bugbytesr4’
does not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bugbytesR4.F:11:28: note: ‘bugbytesr4’ was
previously declared here
../../libemos-dp/./bufrdc_wmo/bugbytesR4.F:11:28: note: code may be
misoptimized unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/buens4.F:275:56: warning: type of ‘bugbytesr8’
does not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bugbytesR8.F:11:28: note: ‘bugbytesr8’ was
previously declared here
../../libemos-dp/./bufrdc_wmo/bugbytesR8.F:11:28: note: code may be
misoptimized unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./pbio/pbbufr.F:90:57: warning: type of ‘bufrread’ does not
match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./pbio/pbio.c:1288:6: note: ‘bufrread_’ was previously
declared here
../../libemos-dp/./pbio/pbio.c:1288:6: note: code may be misoptimized unless
‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: warning: type of ‘bcmctc’ does
not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: note: ‘bcmctc’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcmctc.F:13:21: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: warning: type of ‘bcmwtc’ does
not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: note: ‘bcmwtc’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcmwtc.F:12:21: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: warning: type of ‘bcmroot’ does
not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: note: ‘bcmroot’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcmroot.F:11:22: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: warning: type of ‘bcomctc’ does
not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: note: ‘bcomctc’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcomctc.F:13:22: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: warning: type of ‘bcomroot’
does not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: note: ‘bcomroot’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcomroot.F:12:23: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: warning: type of
‘bcomtabloadc’ does not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: note: ‘bcomtabloadc’ was
previously declared here
../../libemos-dp/./bufrdc_wmo/bcomtabloadc.F:12:28: note: code may be
misoptimized unless ‘-fno-strict-aliasing’ is used
../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: warning: type of ‘bcomdefc’
does not match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: note: ‘bcomdefc’ was previously
declared here
../../libemos-dp/./bufrdc_wmo/bcomdefc.F:12:23: note: code may be misoptimized
unless ‘-fno-strict-aliasing’ is used
./tools/bufrtools_wmo/bufr_0t2.F:138:47: warning: type of ‘pbopen’ does not
match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./pbio/pbio.c:84:6: note: type mismatch in parameter 5
../../libemos-dp/./pbio/pbio.c:84:6: note: type ‘int’ should match type ‘long
int’
../../libemos-dp/./pbio/pbio.c:84:6: note: ‘pbopen_’ was previously declared
here
../../libemos-dp/./pbio/pbio.c:84:6: note: code may be misoptimized unless
‘-fno-strict-aliasing’ is used
./tools/bufrtools_wmo/bufr_0t2.F:208:47: warning: type of ‘pbwrite’ does not
match original declaration [-Wlto-type-mismatch]
../../libemos-dp/./pbio/pbio.c:721:6: note: ‘pbwrite_’ was previously declared
here
../../libemos-dp/./pbio/pbio.c:721:6: note: code may be misoptimized unless
‘-fno-strict-aliasing’ is used
./tools/bufrtools_wmo/bufr_0t2.F: In function ‘bufr0t2’:
./tools/bufrtools_wmo/bufr_0t2.F:473:9: error: unrecognizable insn:
(insn 1547 1546 1548 125 (set (reg:DI 1180)
        (const:DI (plus:DI (symbol_ref:DI ("values.6.lto_priv.0") [flags 0x202]
<var_decl 0x7f39d9dc3b40 values>)
                (const_int -8 [0xfffffffffffffff8]))))
"./tools/bufrtools_wmo/bufr_0t2.F":1957:15 -1
     (nil))
during RTL pass: vregs
./tools/bufrtools_wmo/bufr_0t2.F:473:9: internal compiler error: in
extract_insn, at recog.c:2294
0x7f39da22dd09 __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.

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

* [Bug lto/99450] ICE: unrecognizable insn with lto build
  2021-03-07 13:31 [Bug lto/99450] New: ICE: unrecognizable insn with lto build doko at debian dot org
@ 2021-03-08  8:50 ` marxin at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08  8:50 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-03-08
             Status|UNCONFIRMED                 |WAITING

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Please reduce the testcase..

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

end of thread, other threads:[~2021-03-08  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 13:31 [Bug lto/99450] New: ICE: unrecognizable insn with lto build doko at debian dot org
2021-03-08  8:50 ` [Bug lto/99450] " marxin 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).