c-common.c (c_common_truthvalue_conversion): Warn if the address of a non-weak function is used as a truth value. gcc/ * c-common.c (c_common_truthvalue_conversion): Warn if the address of a non-weak function is used as a truth value. cp/ * cvt.c (ocp_convert): Move warning to C common code. testsuite/ * gcc.dg/weak/weak-3.c: Fix for new warning. From-SVN: r72409
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
typeof-2.c | Loading commit data... | |
weak-1.c | Loading commit data... | |
weak-2.c | Loading commit data... | |
weak-3.c | Loading commit data... | |
weak-4.c | Loading commit data... | |
weak-5.c | Loading commit data... | |
weak-6.c | Loading commit data... | |
weak-7.c | Loading commit data... | |
weak-8.c | Loading commit data... | |
weak-9.c | Loading commit data... | |
weak.exp | Loading commit data... |