Why did gcc stop warning about strict aliasing violation from version 7.2?

后端 未结 0 1076
闹比i
闹比i 2021-01-22 16:46

If I compile this code up to gcc 7.1 with -O2 -Wall (or -O3)

#include 

int main (void)
{
  char array [4] = {0x11,0x22,0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题