This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29984] SPE GCC segfaults with MAX_EXPR <a, a>
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2006 08:05:52 -0000
- Subject: [Bug target/29984] SPE GCC segfaults with MAX_EXPR <a, a>
- References: <bug-29984-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-11-26 08:05 -------
Here is a short testcase:
int f(int a, int b)
{
int i;
int c = a>=b?a:b;
for(i = 0;i<1000;i++) ; // Needed otherwise Jump threading gets in the way
int d = c>=a?c:a;
return d;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29984