summaryrefslogtreecommitdiffstats
path: root/libjava/java/beans/PropertyEditorManager.java
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-16 07:58:27 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-16 07:58:27 +0000
commit8a8cdb8db5460d347fb62587e3becfe7f69e64ae (patch)
treea6e02ea18c49961a7fc38f54f53192e537f6e3af /libjava/java/beans/PropertyEditorManager.java
parent8d083f495bff49a08a632c2be2d50f8f7451d7ce (diff)
downloadppe42-gcc-8a8cdb8db5460d347fb62587e3becfe7f69e64ae.tar.gz
ppe42-gcc-8a8cdb8db5460d347fb62587e3becfe7f69e64ae.zip
* c-common.c (handle_warn_unused_result_attribute): New function.
(c_common_attribute_table): Add warn_unused_result. (c_expand_expr): Issue warning when result of inlined function with warn_unused_result attribute is ignored. * calls.c (expand_call): Issue warning when result of function with warn_unused_result attribute is ignored. * c-common.h (STMT_EXPR_WARN_UNUSED_RESULT): Define. * expr.c (expr_wfl_stack): Define. (expand_expr) <case EXPR_WITH_FILE_LOCATION>: If ignore, pass const0_rtx as target. Chain locations into expr_wfl_stack. * tree-inline.c (expand_call_inline): Set STMT_EXPR_WARN_UNUSED_RESULT bit if inlined function has warn_unused_result attribute. * input.h (expr_wfl_stack): Declare. * doc/extend.texi: Document warn_unused_result attribute. * gcc.dg/attr-warn-unused-result.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71424 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/beans/PropertyEditorManager.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud