Philippe Waroquiers
247d18674e
Bypass warning reported by gcc
...
gcc reports a warning:
m_stacktrace.c:183: warning: ‘xip_verified’ may be used uninitialized in this function
This warning is a false positive:
xip_verified is assigned in the following branch:
if (UNLIKELY(xip_verif >= CFUNWIND)) {
if (xip_verif == CFUNWIND) {
...
} else {
<<<< here xip_verified is initialised >>>>
}
}
xip_verified is then used only if xip_verif > CFUNWIND.
Assign a rubish value to xip_verified to silence gcc.
(??? there are GCC pragmas that can be used to
disable a warning only on a specific line e.g.
something like:
#pragma GCC diagnostic ignored "-Wuninitialized"
Addr xip_verified; // xip for which we have calculated fpverif_uregs
#pragma GCC diagnostic warning "-Wuninitialized"
instead of
Addr xip_verified = 0; // xip for which we have calculated fpverif_uregs
// 0 assigned to silence false positive -Wuninitialized warning
but the #pragma technique seems not used currently.
So, using the bypass by assigning a rubbish value
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13282
2013-01-30 23:53:59 +00:00
..
2013-01-29 21:14:46 +00:00
2012-11-24 19:41:54 +00:00
2013-01-30 23:18:11 +00:00
2012-11-10 22:29:54 +00:00
2012-10-22 17:43:57 +00:00
2013-01-26 16:45:01 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2013-01-23 22:19:36 +00:00
2012-12-16 09:52:38 +00:00
2013-01-21 13:46:57 +00:00
2013-01-15 03:19:54 +00:00
2011-05-10 08:42:14 +00:00
2012-08-05 15:46:46 +00:00
2013-01-26 16:32:18 +00:00
2012-07-20 16:46:54 +00:00
2013-01-21 01:01:13 +00:00
2012-08-05 15:46:46 +00:00
2012-12-17 03:04:35 +00:00
2012-10-04 20:27:38 +00:00
2012-11-23 16:17:43 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2012-11-23 16:17:43 +00:00
2012-12-08 17:54:16 +00:00
2013-01-18 06:19:49 +00:00
2012-10-27 18:39:11 +00:00
2013-01-29 04:25:45 +00:00
2012-11-24 19:41:54 +00:00
2012-11-23 16:17:43 +00:00
2012-10-27 18:39:11 +00:00
2012-11-18 00:36:15 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-12-26 21:12:07 +00:00
2013-01-20 17:11:58 +00:00
2013-01-19 10:33:45 +00:00
2013-01-20 17:11:58 +00:00
2012-11-24 19:41:54 +00:00
2012-10-27 23:07:42 +00:00
2012-11-24 19:41:54 +00:00
2012-12-28 09:12:14 +00:00
2012-11-24 19:41:54 +00:00
2013-01-21 20:29:54 +00:00
2012-10-27 23:07:42 +00:00
2013-01-13 13:59:17 +00:00
2013-01-30 23:53:59 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2013-01-13 13:59:17 +00:00
2012-12-28 09:12:14 +00:00
2012-08-05 15:46:46 +00:00
2012-10-27 18:39:11 +00:00
2012-10-27 23:07:42 +00:00
2012-11-24 19:41:54 +00:00
2012-12-28 09:12:14 +00:00
2012-08-05 15:46:46 +00:00
2012-11-24 19:41:54 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-04 20:27:38 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-07 19:47:04 +00:00
2012-08-05 15:46:46 +00:00
2013-01-30 23:18:11 +00:00
2012-10-27 18:39:11 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-14 16:45:23 +00:00
2013-01-10 20:42:51 +00:00
2013-01-20 17:11:58 +00:00
2012-08-05 15:46:46 +00:00
2013-01-15 03:19:54 +00:00
2012-10-14 00:16:28 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2012-10-14 00:16:28 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-07 19:47:04 +00:00
2013-01-18 06:19:49 +00:00
2013-01-20 17:11:58 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2012-12-28 09:12:14 +00:00
2012-10-27 18:39:11 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-19 14:45:17 +00:00
2012-08-05 15:46:46 +00:00
2013-01-13 13:59:17 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-10-21 19:43:43 +00:00
2012-08-05 15:46:46 +00:00
2012-11-10 22:29:54 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-12-28 09:12:14 +00:00
2012-11-24 19:41:54 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2012-08-05 15:46:46 +00:00
2013-01-15 03:19:54 +00:00
2013-01-15 23:09:41 +00:00