aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorDan Carpenter <dan.carpenter@linaro.org>2025-10-28 16:05:59 +0300
committerChris Li <chriscli@google.com>2025-12-01 19:17:56 +0400
commitc1f02d959ac047a980f121f0be077e5905560ec6 (patch)
tree7ec90e5e43cc0efcaa10c2f0a181e1d412ceccd5 /validation
parent27b34d720c4a06a90ed1982e91e1c049471f12e2 (diff)
downloadsparse-dev-master.tar.gz
symbol: preserve address space qualifiers with typeof()HEADmaster
When we're parsing typeof(var) we then preserve the address space qualifiers as well. Otherwise it leads to warnings like this: "warning: cast removes address space '__seg_gs' of expression" Reported-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Chris Li <chriscli@google.com>
Diffstat (limited to 'validation')
-rw-r--r--validation/typeof-addresspace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/validation/typeof-addresspace.c b/validation/typeof-addresspace.c
index a94f77a3..34ac3089 100644
--- a/validation/typeof-addresspace.c
+++ b/validation/typeof-addresspace.c
@@ -16,5 +16,4 @@ static void test_as(void)
/*
* check-name: typeof-addresspace.c
- * check-known-to-fail
*/