This is the mail archive of the gcc-patches@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]

[H8] Fix unwind info for movmd


The h8sx multilib fails to build because h8300_swap_into_er6
used the push function, which set RTX_FRAME_RELATED_P.  This
resulted in mismatched (and incorrect) unwind info across two
different execution paths.

The trivial solution is to unset RTX_FRAME_RELATED_P from 
the push, but it's now possible to generate Really Correct
unwind info for the sequence around movmd.

Tested insofar as the multilib now builds, and visually
inspecting the readelf dump of the unwind info.  Committed.


r~

Attachment: z
Description: Text document


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