Re: Strict aliasing and pointers to functions

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

 



On Nov 26, 2006, at 6:41 AM, Andrew Haley wrote:

union
{
  void *barf;
  void (*fptr) (void);
} bilge;

  bilge.barf = dlsym (NULL, "dummy");
  funcs.dummy = bilge.fptr;

I thought with the new 4.2 compiler, even unions that did not really solve aliasing problems.

Perry Smith ( pedz@xxxxxxxxxxxxxxxx )
Ease Software, Inc. ( http://www.easesoftware.com )

Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux