This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/30564] [4.3 Regression] ice for legal code with -O3
- 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: 24 Jan 2007 07:20:44 -0000
- Subject: [Bug tree-optimization/30564] [4.3 Regression] ice for legal code with -O3
- References: <bug-30564-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-01-24 07:20 -------
Reduced testcase:
static int RawOrEnc = 0;
static inline void addpair(int fp, int un)
{
if (RawOrEnc == 0 && fp != un)
RawOrEnc = 1;
}
int f(int un0, char *a, unsigned int __s2_len)
{
addpair(un0, un0);
__s2_len < 4 ? __builtin_strcmp (a, "-") : 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30564