This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/15193] New: Unary minus using pointer to V4SF vector causes -fforce-mem to exhaust all memory
- From: "ahu at ds9a dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2004 19:06:01 -0000
- Subject: [Bug optimization/15193] New: Unary minus using pointer to V4SF vector causes -fforce-mem to exhaust all memory
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compile the below with gcc chelper-exploit.c -c -O -fforce-mem -msse :
typedef int v4sf __attribute__ ((mode(V4SF)));
void cprocess(v4sf* d_r)
{
v4sf force= -(*d_r);
}
And the compiler (cc1) will try to allocate all memory.
Problem disappears with removing the '-', or by switching to 3.3.3 or to the SSA
branche, by removing -O or removing -fforce-mem, by removing -msse
--
Summary: Unary minus using pointer to V4SF vector causes -fforce-
mem to exhaust all memory
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ahu at ds9a dot nl
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15193