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 c++/14397] [3.4/3.5 Regression] Trules no longer compile (regression)


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-03 05:41 -------
Here is a simpler form of the bug (if it is, I do not know if it is a bug at all and cannot comment on this 
one):
class Holder;
class Trule {
  public:
   Trule (Holder &);
    Trule(Trule const&);
  private:
    Trule(Trule&);
    Trule& operator= (Trule&);
};
class Holder{};
Trule load_something()
{
    Holder result;
    return result;
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Trules no longer compile    |[3.4/3.5 Regression] Trules
                   |(regression)                |no longer compile
                   |                            |(regression)
   Target Milestone|---                         |3.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14397


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