Skip to content

[REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'#3847

Merged
yebblies merged 1 commit intodlang:masterfrom
9rnsr:fix13259
Aug 5, 2014
Merged

[REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'#3847
yebblies merged 1 commit intodlang:masterfrom
9rnsr:fix13259

Conversation

@9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Aug 5, 2014

@yebblies
Copy link
Contributor

yebblies commented Aug 5, 2014

This changed an error message in another test case.

@AndrewEdwards AndrewEdwards added this to the 2.066 milestone Aug 5, 2014
@9rnsr
Copy link
Contributor Author

9rnsr commented Aug 5, 2014

I was tried to fix the issue by moving glue-layer error to front-end, but unfortunately it seems need more work. So now I'm merely removing the wrong assert introduced by the commit 152e480.

@yebblies
Copy link
Contributor

yebblies commented Aug 5, 2014

Even without the assert, it's still an ICE. Is this really the only place that assumes toDt returns non-NULL? Can you at least make it print out an error where the assert used to be?

eg print Internal error: Issue 13259 and then exit(1).

@9rnsr
Copy link
Contributor Author

9rnsr commented Aug 5, 2014

Before your visitor refactoring, toDt could return NULL. So the regression had accidentally occured by the addition of assert.

@yebblies
Copy link
Contributor

yebblies commented Aug 5, 2014

Yes, but the error occurring in the glue layer is still a form of ice.

@yebblies
Copy link
Contributor

yebblies commented Aug 5, 2014

Auto-merge toggled on

@9rnsr
Copy link
Contributor Author

9rnsr commented Aug 5, 2014

Yes, but the error occurring in the glue layer is still a form of ice.

Right. Essentially all errors should be detected in front-end layer.

yebblies added a commit that referenced this pull request Aug 5, 2014
[REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'
@yebblies yebblies merged commit 7eaf106 into dlang:master Aug 5, 2014
@9rnsr 9rnsr deleted the fix13259 branch August 6, 2014 00:30
9rnsr pushed a commit to 9rnsr/dmd that referenced this pull request Aug 6, 2014
[REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'
ibuclaw pushed a commit to ibuclaw/dmd that referenced this pull request Jul 10, 2022
rt/minfo.d: Replace Error with assert()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants