https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105970

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>:

https://gcc.gnu.org/g:1f8278bfcfc7f7157bf2b405471e67dd5097636b

commit r13-1156-g1f8278bfcfc7f7157bf2b405471e67dd5097636b
Author: Uros Bizjak <ubiz...@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  <ubiz...@gmail.com>

    gcc/ChangeLog:

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

    gcc/testsuite/ChangeLog:

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

Reply via email to