This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14792] [tree-ssa] cast elimination opportunity involving an AND
- 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: 31 Mar 2004 03:34:15 -0000
- Subject: [Bug optimization/14792] [tree-ssa] cast elimination opportunity involving an AND
- References: <20040331025513.14792.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-31 03:34 -------
Confirmed, mine.
Here is a better example which causes there to be a reference to link_error (even in RTL):
void link_error (void);
void
foo (char *a)
{
char b = *a;
long c = b;
if (b & 1)
if (! (c & 1))
link_error();
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-31 03:34:14
date| |
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14792