[Bug c/105970] ICE in ix86_function_arg, at config/i386/i386.cc:3351

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 18:33:35 GMT 2022


--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:


commit r12-8498-gddc9b963ab9f267e8cc54be1fa6fcca2e8b0eb84
Author: Uros Bizjak <ubizjak@gmail.com>
Date:   Fri Jun 17 17:01:31 2022 +0200

    i386: Fix assert in ix86_function_arg [PR105970]

    The mode of pointer argument should equal ptr_mode, not Pmode.

    2022-06-17  Uroš Bizjak  <ubizjak@gmail.com>


            PR target/105970
            * config/i386/i386.cc (ix86_function_arg): Assert that
            the mode of pointer argumet is equal to ptr_mode, not Pmode.


            PR target/105970
            * gcc.target/i386/pr105970.c: New test.

    (cherry picked from commit 1f8278bfcfc7f7157bf2b405471e67dd5097636b)

More information about the Gcc-bugs mailing list