]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c/89946
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Apr 2019 07:28:35 +0000 (07:28 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Apr 2019 07:28:35 +0000 (07:28 +0000)
commita538a79e3cdbad6b4df6423ccfc80717fee16d6e
treef7af5b463b314e35498410d956c116c93deeeae3
parent18635244e887054776640d8f3349d0cfd55de448
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270305 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-attribs.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr89946.c [new file with mode: 0644]
gcc/varasm.c