c++ - Internal error: cod2 4221
- Brian Gardner (7/7) Feb 14 2006 I got this error when I tried to compile C file (~81Kb) with the -o
- Brian Gardner (5/5) Feb 14 2006 In addition:
- Walter Bright (6/13) Feb 15 2006 There's really not much I can do without an example that can be traced
- Brian Gardner (5/22) Feb 15 2006 I can’t trace the bug by this way. I stripped the source file to about
- Arjan (4/32) Feb 15 2006 I can confirm this. Even removing comments may do the trick! Really!
-
Walter Bright
(3/11)
Feb 16 2006
Then send me that (hopefully, the shorter one
). - Walter Bright (4/11) Feb 20 2006 Fortunately, Stefano was able to send source code that reproduced the
- Arjan (3/22) Feb 20 2006 Whow that is quick! Thank a lot! It started to show up frequently.
I got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.
Feb 14 2006
In addition: With -o-liv flag instead of -o it compiles fine, although the compilation time is ~67s (on my PC). With -o-liv-loop the compilation time is ~1s. Brian
Feb 14 2006
"Brian Gardner" <briangr friberg.us> wrote in message news:dssq97$1obn$1 digitaldaemon.com...I got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.There's really not much I can do without an example that can be traced through the optimizer to see where it is going wrong. Try cutting the source file down to a smaller one, nearly all bugs can be reduced to just a few lines of code.
Feb 15 2006
Walter Bright wrote:"Brian Gardner" <briangr friberg.us> wrote in message news:dssq97$1obn$1 digitaldaemon.com...I can’t trace the bug by this way. I stripped the source file to about 2900 lines. If I comment one more line (no matter where) it compiles (almost always) fine. BrianI got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.There's really not much I can do without an example that can be traced through the optimizer to see where it is going wrong. Try cutting the source file down to a smaller one, nearly all bugs can be reduced to just a few lines of code.
Feb 15 2006
Brian Gardner wrote:Walter Bright wrote:I can confirm this. Even removing comments may do the trick! Really! I have a test case from about 5000 lines. Arjan"Brian Gardner" <briangr friberg.us> wrote in message news:dssq97$1obn$1 digitaldaemon.com...I can’t trace the bug by this way. I stripped the source file to about 2900 lines. If I comment one more line (no matter where) it compiles (almost always) fine. BrianI got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.There's really not much I can do without an example that can be traced through the optimizer to see where it is going wrong. Try cutting the source file down to a smaller one, nearly all bugs can be reduced to just a few lines of code.
Feb 15 2006
"Arjan" <arjan ask.me> wrote in message news:dt0avl$1vip$1 digitaldaemon.com...Brian Gardner wrote:Then send me that (hopefully, the shorter one <g>).I can’t trace the bug by this way. I stripped the source file to about 2900 lines. If I comment one more line (no matter where) it compiles (almost always) fine. BrianI can confirm this. Even removing comments may do the trick! Really! I have a test case from about 5000 lines.
Feb 16 2006
"Brian Gardner" <briangr friberg.us> wrote in message news:dssq97$1obn$1 digitaldaemon.com...I got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.Fortunately, Stefano was able to send source code that reproduced the problem, and the fix is now up in the beta section.
Feb 20 2006
Walter Bright wrote:"Brian Gardner" <briangr friberg.us> wrote in message news:dssq97$1obn$1 digitaldaemon.com...Whow that is quick! Thank a lot! It started to show up frequently. ArjanI got this error when I tried to compile C file (~81Kb) with the -o flag. Without the flag it compiles fine. This wasn't a problem for some earlier DMC versions (v8.40 I think). Aside from this the compilation time was more than 30s in the earlier versions. DMC v8.46.5n Brian PS. I can't send the source code.Fortunately, Stefano was able to send source code that reproduced the problem, and the fix is now up in the beta section.
Feb 20 2006