Flexible I/O Tester development
 help / color / mirror / Atom feed
* competime_assert failure without -O3 optimization flag expected ?
@ 2015-06-29 14:46 Alireza Haghdoost
  2015-06-29 15:47 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Alireza Haghdoost @ 2015-06-29 14:46 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio@vger.kernel.org

> +struct all_io_list *get_all_io_list(int save_mask, size_t *sz)
> +{
> +       struct all_io_list *rep;
> +       struct thread_data *td;
> +       size_t depth;
> +       void *next;
> +       int i, nr;
> +
> +       compiletime_assert(sizeof(struct all_io_list) == 8, "all_io_list");


I am getting compile time assertion failure on the following line of
code when I remove the optimization flag (-O3) in the Makefile. Is
this something expected ? I want to remove optimizations in order to
debug my code based on original source code line order not optimized
code order.


--Alireza


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-29 19:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29 14:46 competime_assert failure without -O3 optimization flag expected ? Alireza Haghdoost
2015-06-29 15:47 ` Jens Axboe
2015-06-29 15:53   ` Alireza Haghdoost
2015-06-29 15:55     ` Jens Axboe
2015-06-29 16:04       ` Jens Axboe
2015-06-29 17:42         ` Alireza Haghdoost
2015-06-29 17:50           ` Jens Axboe
2015-06-29 18:25             ` Alireza Haghdoost
2015-06-29 18:29               ` Jens Axboe
2015-06-29 18:58                 ` Alireza Haghdoost
2015-06-29 19:11                   ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox