This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11599] gcc generates wrong code when predicate is used
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2003 23:52:04 -0000
- Subject: [Bug optimization/11599] gcc generates wrong code when predicate is used
- References: <20030719234032.11599.hjl@lucon.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11599
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |optimization
GCC build triplet|ia64-unknown-linux-gnu |
GCC host triplet|ia64-unknown-linux-gnu |
GCC target triplet|ia64-unknown-linux-gnu |ia64-*-linux-gnu, powerpc-
| |apple-darwin6.6
Summary|ia64: gcc generates wrong |gcc generates wrong code
|code when predicate is used |when predicate is used
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-19 23:52 -------
Do not confirm your own bugs, please. We like to use peer review.
It also happens on powerpc-apple-darwin6.6 so it looks like a generic bug:
_prefetch:
dcbtst 0,r3
blr
gcc -S -O -Wall -o - pr11599.c -v -maltivec, where pr11599.c contains:
void t(void *p, int s)
{
if (s)
__builtin_altivec_dst (p, 0, 0);
}
produces:
_t:
li r0,0
dst r3,r0,0
blr
So very much a generic bug.