<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pyopyopyo</author_name>
  <author_url>https://blog.hatena.ne.jp/pyopyopyo/</author_url>
  <blog_title>pyopyopyo - Linuxとかプログラミングの覚え書き - </blog_title>
  <blog_url>https://pyopyopyo.hatenablog.com/</blog_url>
  <categories>
    <anon>c/c++</anon>
    <anon>macro</anon>
  </categories>
  <description>dereferencing type-punned pointer will break strict-aliasing の警告を回避する方法．C/C++では，以下のようなType-punned pointerを使うコードは，厳密には動作が保証できない． float f = 123; uint32_t u = *(uint32_t*)&amp;f; このようなコードは，例えば GCCで &quot;-O3 -Wall&quot;のようなオプションを付けてコンパイルすると dereferencing type-punned pointer will break strict-aliasing という警告が出る．理由は，以下…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyopyopyo.hatenablog.com%2Fentry%2F20130716%2Fp1&quot; title=&quot; dereferencing type-punned pointer will break strict-aliasing - pyopyopyo - Linuxとかプログラミングの覚え書き - &quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-07-16 00:00:00</published>
  <title> dereferencing type-punned pointer will break strict-aliasing</title>
  <type>rich</type>
  <url>https://pyopyopyo.hatenablog.com/entry/20130716/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
