This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translation/82185] ICE: Segmentation fault in expand_binop gcc/optabs.c:1137


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]