public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Does GCC 3.4 fix this bug?
@ 2003-09-11 16:07 Eljay Love-Jensen
  2003-09-11 16:23 ` Nathan Sidwell
  2003-09-11 16:37 ` Oliver Kullmann
  0 siblings, 2 replies; 8+ messages in thread
From: Eljay Love-Jensen @ 2003-09-11 16:07 UTC (permalink / raw)
  To: gcc-help

Hi everyone,

Does anyone know if this annoying bug in GCC is going to be fixed in 3.4?
--------8<--------
class Foo
{
public:
  Foo();
};

Foo::Foo()
{
}

class Bar
{
public:
  Bar(const Foo& foo) { }
  void print() { }
};

int main()
{
  Bar quux(Foo()); // -- Bug in GCC 3.2 & 3.3
  //Bar quux((0,Foo())); // -- workaround in GCC 3.2 & 3.3
  quux.print();
}
--------8<--------

(Or if GCC 3.2/3.3 are correct, let me know that I'm mistaken about the ISO 14882 standard.)

Thanks,
--Eljay

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-11 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 16:07 Does GCC 3.4 fix this bug? Eljay Love-Jensen
2003-09-11 16:23 ` Nathan Sidwell
2003-09-11 16:44   ` Eljay Love-Jensen
2003-09-11 16:56     ` Nathan Sidwell
2003-09-11 16:37 ` Oliver Kullmann
2003-09-11 16:48   ` Eljay Love-Jensen
2003-09-11 17:06     ` Oliver Kullmann
2003-09-11 17:19       ` Eljay Love-Jensen

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