http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
--- Comment #4 from brendan.jones.it at gmail dot com 2012-06-24 07:56:59 UTC
---
Hi,
have you been able to replicate this issue with the second example I have sent?
If so is there a known workaround that we can use?
many thanks
Brendan
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
--- Comment #3 from brendan.jones.it at gmail dot com 2012-06-14 09:00:37 UTC
---
Sorry - wrong file
/* -*- Mode: C ; c-basic-offset: 4 -*- */
/* gcc test.c -Wall -Wextra -o test -O1 && ./test ; echo $?
should print 0, prints 10
g
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
Bug #: 53663
Summary: 4.7 inconsistent inline handling of bool within union
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal