Bug 22120 – Exceptions not caused by compiler bugs should not be reported as such

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-07-13T08:36:21Z
Last change time
2024-12-13T19:17:36Z
Assigned to
No Owner
Creator
Max Samukha
Moved to GitHub: dmd#18046 →

Comments

Comment #0 by maxsamukha — 2021-07-13T08:36:21Z
int foo() { string[] a = "a"; for(;;) a ~= a; } void main() { enum a = foo; } ---- Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64. dtest ~master: building configuration "application"... --- ERROR: This is a compiler bug. Please report it via https://issues.dlang.org/enter_bug.cgi with, preferably, a reduced, reproducible example and the information below. DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the reduction. --- DMD v2.096.0-dirty predefs Have_dtest DigitalMars Windows CRuntime_Microsoft CppRuntime_Microsoft LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 Win64 D_LP64 assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat binary C:\D\dmd2\windows\bin\dmd.exe version v2.096.0-dirty config C:\D\dmd2\windows\bin\sc.ini DFLAGS -IC:\D\dmd2\windows\bin\..\..\src\phobos -IC:\D\dmd2\windows\bin\..\..\src\druntime\import --- core.exception.OutOfMemoryError@core\exception.d(647): Memory allocation failed ---------------- 0x0104B20B 0x0104AFC2 0x0103D5BD C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
Comment #1 by robert.schadek — 2024-12-13T19:17:36Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18046 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB