This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48446] [4.3/4.4/4.5/4.6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1946
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Apr 2011 15:22:46 +0000
- Subject: [Bug c++/48446] [4.3/4.4/4.5/4.6 Regression] internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:1946
- Auto-submitted: auto-generated
- References: <bug-48446-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48446
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.7.0
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-14 15:22:41 UTC ---
This is now fixed for 4.7.0. The fix seems reasonably safe to backport since
it only affects bounds expressions with side-effects, but it also seems easy to
work around in user code: just factor out the bounds expression into a local
variable.