--- Comment #12 from cdfrey at netdirect dot ca 2008-11-28 23:36 ---
> The reason why the union case is considered
> unspecified is because it depends on the under
> laying bit representation of float.
That makes sense. In this case, it's not really a type punning issue
--- Comment #8 from cdfrey at netdirect dot ca 2008-11-28 19:24 ---
Why is the union access not portable, and listed as a GCC extension?
According to the quotation of the standard at:
http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
(this link is found in the GCC docs on
--- Comment #4 from cdfrey at netdirect dot ca 2005-12-05 04:00 ---
Just adding a link to a comp.lang.c++.moderated discussion on this, for future
reference, when other folks run into this again.
Subject line: alias rules and optimization
http://groups.google.ca/group/comp.lang.c
--- Comment #2 from cdfrey at netdirect dot ca 2005-12-03 00:32 ---
Thanks for the info!
I can understand the examples in the article at
http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html but with my example
source code in this bug report, I can't seem to follo
cc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cdfrey at netdirect dot ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25235