diff options
author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-30 11:43:14 +0000 |
---|---|---|
committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-30 11:43:14 +0000 |
commit | d98fd4a471919b0ce96c3424b1ef398c8b242a18 (patch) | |
tree | cab53a5bbcf101f0462b2c5d3119d48bcfc3bf6c /gcc/testsuite/gcc.dg/inline-21.c | |
parent | 7e3d3ba64fc63800a4f465d17d9b99ff76232213 (diff) | |
download | ppe42-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/inline-21.c')
0 files changed, 0 insertions, 0 deletions