[Bug tree-optimization/17368] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c
salinger at sun dot felk dot cvut dot cz
gcc-bugzilla@gcc.gnu.org
Wed Sep 15 12:25:00 GMT 2004
------- Additional Comments From salinger at sun dot felk dot cvut dot cz 2004-09-15 12:25 -------
> Confirmed, but not reduced yet. Anybody can try reducing this?
I have tried:
// from glibc 2.2.5:
# define bswap_16(x) \
(__extension__ \
({ register unsigned short int __v; \
__asm__ __volatile__ ("rorw $8, %w0" \
: "=r" (__v) \
: "0" ((unsigned short int) (x)) \
: "cc"); \
__v; }))
class xstring
{
public:
void
_M_clear();
~xstring()
{ _M_clear(); }
};
unsigned short int conv(const xstring arg);
extern xstring s;
int main(void)
{
return bswap_16(conv(s));
};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17368
More information about the Gcc-bugs
mailing list