This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Internal compiler error while compiling Moonlight Creator (1.0.3a)
- To: Michael Poole <poole+ at andrew dot cmu dot edu>
- Subject: Re: [PATCH] Internal compiler error while compiling Moonlight Creator (1.0.3a)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 12 Jun 1998 00:35:50 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199806110539.BAA27249@graviton.res.cmu.edu>you write:
> ++ voidmalloc.cpp (testcase for g++ -falias-check) ++
> class A {
> public:
> void malloc(void) { return; }
> };
>
> int main(int argc, char *argv[]) {
> A a;
> a.malloc();
> return 0;
> }
>
> Tue Jun 11 01:38:44 1998 Michael Poole (poole+@andrew.cmu.edu)
> * calls.c (expand_call): A void expression cannot be the
> result of a malloc-type function call.
Thanks. This has already been fixed in the development tree by
ensuring any of the special symbols recognized by calls.c have
the proper scope before noting if they are a malloc, setjmp, longjmp,
etc.
Jeff