Re: Strict aliasing-related bug even with optimizations disabled

2018-03-17 Thread Andrew Pinski
On Sat, Mar 17, 2018 at 11:40 AM, Jonathon Reinhart wrote: > This was originally posted on Stack Overflow: > https://stackoverflow.com/a/49339771/119527 > > The following program: > > #include > > static void pshort(short val) > { >printf("0x%hx ", val); > } > > int ma

Re: Strict aliasing-related bug even with optimizations disabled

2018-03-17 Thread Jonathan Wakely
On 17/03/18 14:40 -0400, Jonathon Reinhart wrote: This was originally posted on Stack Overflow: https://stackoverflow.com/a/49339771/119527 This mailing list is for automated emails from Bugzilla, not for reporting bugs. Please use Bugzilla to report bugs, as explained at https://gcc.gnu.org/bu