This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17368] [4.0 Regression] ice in optimize_inline_calls, at tree-inline.c


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]