summaryrefslogtreecommitdiff
path: root/gcc/c-family/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-04-12 09:28:35 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2019-04-12 09:28:35 +0200
commit8e8225e69d1173cf0095a59ccf9bad219d016cdd (patch)
treef7af5b463b314e35498410d956c116c93deeeae3 /gcc/c-family/ChangeLog
parentc758576accc3eef33c31766352453b0ad1953569 (diff)
downloadgcc-8e8225e69d1173cf0095a59ccf9bad219d016cdd.tar.gz
re PR c/89946 (ICE in assemble_start_function, at varasm.c:1871)
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. From-SVN: r270305
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r--gcc/c-family/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 2d118f2f73b..aeba529b232 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2019-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/89946
+ * c-attribs.c (handle_patchable_function_entry_attribute): Add
+ function comment. Warn if arguments of the attribute are not positive
+ integer constants.
+
2019-04-09 Eric Botcazou <ebotcazou@adacore.com>
* c-ada-spec.c (print_destructor): Deal with deleting destructors.