public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Your namespace change and a bug
@ 1998-05-09 16:35 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 1998-05-09 16:35 UTC (permalink / raw)
  To: loewis; +Cc: egcs

Hi,

Here is a test case:

# /home/work/gnu/bin/egcs/gcc/xgcc -B/home/work/gnu/bin/egcs/gcc/ -S bar.ii  
bar.ii: In method `struct twolongs Fix48::assign(double)':
bar.ii:18: Internal compiler error.
bar.ii:18: Please submit a full bug report to `egcs-bugs@cygnus.com'.


-- 
H.J. Lu (hjl@gnu.org)
---bar.ii--
typedef struct {
  int u;
  unsigned int l;
} twolongs;


static const twolongs
  Fix48_m_max = { 0x7fffff00L, 0xffffff00L };
		  
class Fix48 
{ 
public:
  twolongs             assign(double d);
};

twolongs Fix48::assign(double d) 
{ 
  return Fix48_m_max;
}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-09 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-09 16:35 Your namespace change and a bug H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).