This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug translation/82185] ICE: Segmentation fault in expand_binop gcc/optabs.c:1137
- From: "jcmvbkbc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Sep 2017 21:02:11 +0000
- Subject: [Bug translation/82185] ICE: Segmentation fault in expand_binop gcc/optabs.c:1137
- Auto-submitted: auto-generated
- References: <bug-82185-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82185
jcmvbkbc at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard.sandiford at linaro dot or
| |g
--- Comment #1 from jcmvbkbc at gcc dot gnu.org ---
Turns out that refactoring done in commit
e5392ef25735dbf5246ec00c962f8523ebd89aef "Split out parts of
scompare_loc_descriptor and emit_store_flag" left "rtx tem" uninitialized in
the emit_store_flag_int. The uninitialized value was then returned by the
following test at gcc/expmed.c:5659:
if (tem != 0)
return tem;
Initialize rtx tem to NULL_RTX.