Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 17, 2006 [bug] DMC 8.48 ie: ph 1848 | ||||
---|---|---|---|---|
| ||||
Attachments: | when compiling attached file (containing a lot of macroses) with dmc -c bug.cpp I get: nbytes = 65736, ph_maxsize = 65520 Internal error: ph 1848 |
October 18, 2006 Re: [bug] DMC 8.48 ie: ph 1848 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nic Tiger | Looks like the problem is the macro expansion text is getting bigger than 64K. |
October 20, 2006 Re: [bug] DMC 8.48 ie: ph 1848 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
>
> Looks like the problem is the macro expansion text is getting bigger than 64K.
Yes, indeed. Could that be fixed?
BTW, Intel Compiler 8.1 just hangs when trying to compile this code :)
DMC was chosen to verify things about MACRO/inline expansion
Does DMC also expand all code of inline function into one string?
In Intel comppiler this leads to problems with __asm in inline functions
Sincerely yours,
Nic Tiger
|
October 21, 2006 Re: [bug] DMC 8.48 ie: ph 1848 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nic Tiger | Nic Tiger wrote: > Walter Bright wrote: >> >> Looks like the problem is the macro expansion text is getting bigger than 64K. > Yes, indeed. Could that be fixed? Probably <g>. > BTW, Intel Compiler 8.1 just hangs when trying to compile this code :) > DMC was chosen to verify things about MACRO/inline expansion > > Does DMC also expand all code of inline function into one string? No. It inserts the intermediate code. > In Intel comppiler this leads to problems with __asm in inline functions > > Sincerely yours, > Nic Tiger |
Copyright © 1999-2021 by the D Language Foundation