[Bug c++/15795] Strange bug / incorrect code generation with SSE
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 3 14:50:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-03 14:50 -------
Not a gcc bug as I can reproduce it withe the following code which is the same as the code you gave,
aka new just calls malloc:
#include <xmmintrin.h>
#include <stdio.h>
#include <stdlib.h>
void __attribute__((noinline)) temp()
{
__m128 * foo = (__m128 * )malloc (200*200*sizeof(__m128));
for(int i = 0 ;i <200*200;i++)
*foo = _mm_setzero_ps();
free (foo);
}
int main(int argc, char **argv)
{
temp();
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15795
More information about the Gcc-bugs
mailing list