summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/wchar_t-2.c
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-30 11:43:14 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-30 11:43:14 +0000
commitd98fd4a471919b0ce96c3424b1ef398c8b242a18 (patch)
treecab53a5bbcf101f0462b2c5d3119d48bcfc3bf6c /gcc/testsuite/gcc.dg/wchar_t-2.c
parent7e3d3ba64fc63800a4f465d17d9b99ff76232213 (diff)
downloadppe42-gcc-d98fd4a471919b0ce96c3424b1ef398c8b242a18.tar.gz
ppe42-gcc-d98fd4a471919b0ce96c3424b1ef398c8b242a18.zip
Fix va_start related location
In gcc/testsuite/gcc.dg/pr30457.c, the first warning was not being emitted because the relevant location was inside the var_start macro defined in a system header. It can even point to a token for a builtin macro there. This patch unwinds to the first token in real source code in that case. Tested on x86_64-unknown-linux-gnu against trunk. * builtins.c (fold_builtin_next_arg): Unwinds to the first location in real source code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/wchar_t-2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud