diff options
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-mpx-map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-mpx-map.c b/gdb/testsuite/gdb.arch/i386-mpx-map.c index 8a9094c..ee7f11b 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx-map.c +++ b/gdb/testsuite/gdb.arch/i386-mpx-map.c @@ -70,8 +70,9 @@ foo (T *p) #if defined __GNUC__ && !defined __INTEL_COMPILER __bnd_store_ptr_bounds (x, &x); #endif - - return; /* after-assign */ + /* Dummy assign. */ + x = x + 1; /* after-assign */ + return; } int |