This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14731] New: [tree-ssa] missed jump threading on the tree level
- 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: 25 Mar 2004 06:51:09 -0000
- Subject: [Bug optimization/14731] New: [tree-ssa] missed jump threading on the tree level
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Some more missed jump threading on the tree level.
#ifdef __cplusplus
#define _Bool bool
#endif
int link_error(void);
int s(void);
int t(int i)
{
_Bool g = i == 4;
int h = g;
_Bool j = h;
int k = j;
_Bool l = k == 0;
_Bool o = !l;
int m = o;
if (m)
if (i != 4)
return link_error();
return 0;
}
--
Summary: [tree-ssa] missed jump threading on the tree level
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: pessimizes-code
Severity: enhancement
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,law at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14731