This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30253] [4.3 Regression] ICE with statement expression inside a conditional
- From: "gerald at pfeifer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2006 14:27:43 -0000
- Subject: [Bug middle-end/30253] [4.3 Regression] ICE with statement expression inside a conditional
- References: <bug-30253-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from gerald at pfeifer dot com 2006-12-31 14:27 -------
(In reply to comment #9)
> Another Testcase (simplier):
> #define f(x) ({ unsigned tmp=x; tmp; })
>
> unsigned foo(unsigned x) {
> return __builtin_constant_p(x) ? 0 : f(x);
> }
Note that this small testcase of mine is destilled from FreeBSD's system
header. This bug causes bootstrap failure on all FreeBSD systems I am
aware of (which is why Andrew labeled this a blocker, I assume).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30253