https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102842
Bug ID: 102842
Summary: [10 Regression] ICE in cselib_record_set at 02 or
greater
Product: gcc
Version: 10.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: herrtimson at yahoo dot de
Target Milestone: ---
Created attachment 51634
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51634&action=edit
compressed build log
I'm hitting this when compiling firefox nightly with --enable-jxl, using
gcc-10.3.0 cross-compiler with amd64 host and armv7a target. Affected are -02
and -03, -01 is fine. It is unknown wether the error is cross compile specific,
my rpi2 device doesn't have near enough ram to compile firefox with native gcc
on it. Anyway, here is the error message:
23:39.63 | ^~~~~~
23:41.47 during RTL pass: postreload
23:41.47
/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/work/firefox-95.0/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc:
In function 'jxl::Status jxl::FinalizeImageRect(jxl::Image3F*, const
jxl::Rect&, const std::vector<std::pair<jxl::Plane<float>*, jxl::Rect> >&,
jxl::PassesDecoderState*, size_t, jxl::ImageBundle*, const jxl::Rect&)':
23:41.47
/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/work/firefox-95.0/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc:1080:1:
internal compiler error: in cselib_record_set, at cselib.c:2614
23:41.47 1080 | }
23:41.47 | ^
23:41.80 In file included from
/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/work/firefox_build/dist/include/nsTArray.h:3331,
23:41.80 from
/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/work/firefox-95.0/netwerk/cache2/CacheIOThread.h:11,
23:41.80 from
/usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-95.0/work/firefox-95.0/netwerk/cache2/CacheFileIOManager.h:8,
23
the souce code in question can be accessed via this link:
https://github.com/mozilla/gecko-dev/blob/master/third_party/jpeg-xl/lib/jxl/dec_reconstruct.cc#L1080