competime_assert failure without -O3 optimization flag expected ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +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
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux