aboutsummaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-09-23 11:39:39 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2007-09-23 11:39:39 +0200
commitd2af6a68d8806cb9c6d2b2e6170f341bea8658e3 (patch)
tree0774e6c9fcd6e02b542fd8dfa85b60147d10b8cc /gcc/modulo-sched.c
parentd752cfdb114944cf3c800fcc2e4d030ab392c52c (diff)
downloadgcc-d2af6a68d8806cb9c6d2b2e6170f341bea8658e3.zip
gcc-d2af6a68d8806cb9c6d2b2e6170f341bea8658e3.tar.gz
gcc-d2af6a68d8806cb9c6d2b2e6170f341bea8658e3.tar.bz2
expr.c (expand_expr_real_1): Use get_callee_fndecl instead of checking CALL_EXPR_FN directly to test for...
* expr.c (expand_expr_real_1) <case CALL_EXPR>: Use get_callee_fndecl instead of checking CALL_EXPR_FN directly to test for builtins. If error or warning attributes are present, print error resp. warning. * c-common.c (handle_error_attribute): New function. (c_common_attribute_table): Add error and warning attributes. * doc/extend.texi: Document error and warning attributes. * gcc.dg/va-arg-pack-len-1.c: Use error and warning attributes. * gcc.dg/va-arg-pack-len-2.c: New test. * g++.dg/ext/va-arg-pack-len-1.C: Use error and warning attributes. * g++.dg/ext/va-arg-pack-len-2.C: New test. From-SVN: r128687
Diffstat (limited to 'gcc/modulo-sched.c')
0 files changed, 0 insertions, 0 deletions