[Bug rtl-optimization/38281] [4.4 Regression] ice: Segmentation fault
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 27 10:03:00 GMT 2008
------- Comment #4 from jakub at gcc dot gnu dot org 2008-11-27 10:01 -------
Yeah, that looks reasonable (though I wonder if other places that use PATTERN
in
distribute_notes don't need similar treatment).
Simplified testcase below. Are you going to post it to gcc-patches?
inline unsigned short
foo (unsigned short x, unsigned short y)
{
if (y == 0)
return x;
return x / y;
}
unsigned short a, b, c;
extern int baz (int, int);
void
bar (void)
{
int d = 0x3D75D162;
a = foo (b > d, baz (0, 1));
for (c = 0; c; c = 1)
;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38281
More information about the Gcc-bugs
mailing list