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]

Re: realloc & optimizer bug


On Tue, 19 Jan 1999, Mauro Villa wrote:
> class  A {
> public:
>   A();  
>   void operator = (const A & l); 
>   void realloc();  
> };
> 
> A::A() {}
> void A::realloc() {}
> void A::operator = (const A & l) {
>         A::realloc();			// line 14
> }
> [...]
> When I compile the code with the command
> egcs  -c -O test.cc
> I get
> test.cc: In method `void A::operator =(const class A &)':
> test.cc:14: Internal compiler error.

This seems to have been fixed for egcs 1.1.

Thanks for the report,
Gerald
-- 
Gerald Pfeifer (Jerry)      Vienna University of Technology
pfeifer@dbai.tuwien.ac.at   http://www.dbai.tuwien.ac.at/~pfeifer/



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