This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17368] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c
- From: "salinger at sun dot felk dot cvut dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2004 12:25:19 -0000
- Subject: [Bug tree-optimization/17368] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c
- References: <20040909091834.17368.salinger@sun.felk.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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