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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Apr 12 07:28:35 2019
New Revision: 270305

URL: https://gcc.gnu.org/viewcvs?rev=270305&root=gcc&view=rev
Log:
        PR c/89946
        * varasm.c (assemble_start_function): Don't use tree_fits_uhwi_p
        and gcc_unreachable if it fails, just call tree_to_uhwi which
        verifies that too.  Test TREE_CHAIN instead of list_length > 1.
        Start warning message with a lower-case letter.  Formatting fixes.
c-family/
        * c-attribs.c (handle_patchable_function_entry_attribute): Add
        function comment.  Warn if arguments of the attribute are not positive
        integer constants.
testsuite/
        * c-c++-common/pr89946.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/pr89946.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-attribs.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c

Reply via email to