/abuild/jh/trunk-install/bin/g++ -O2 qq.ii In file included from ../../../netwerk/cache/nsDiskCacheMap.cpp:44:0: ../../../netwerk/cache/nsDiskCacheMap.h: In member function ‘void nsDiskCacheHeader::Swap()’: ../../../netwerk/cache/nsDiskCacheMap.h:362:28: internal compiler error: in gimplify_expr, at gimplify.c:7463
Created attachment 21081 [details] testcase
Mine (mem-ref related). Reducing.
Reduced testcase: unsigned int mEvictionRank[(1 << 5)]; void Unswap(int i) { mEvictionRank[i] = ({ unsigned int __v = i; __v; }); }
Created attachment 21083 [details] patch Patch I'm testing.
Subject: Bug 44809 Author: rguenth Date: Sun Jul 4 16:55:40 2010 New Revision: 161803 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161803 Log: 2010-07-04 Richard Guenther <rguenther@suse.de> PR middle-end/44809 * gimplify.c (gimplify_expr): Properly build a MEM_REF instead of an INDIRECT_REF. * g++.dg/torture/pr44809.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/torture/pr44809.C Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog
Fixed.