Thread overview |
---|
July 20, 2007 [Issue 1358] New: Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1358 Summary: Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF Product: D Version: 1.017 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: aziz.kerim@gmail.com auto foo = '\U80000000'; // invalid UTF character \U80000000 rebuild: root.c:1490: void OutBuffer::writeUTF8(unsigned int): Assertion `0' failed. -- |
July 23, 2007 [Issue 1358] Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1358 ------- Comment #1 from thomas-dloop@kuehne.cn 2007-07-23 14:57 ------- I can't reproduce this with DMD-1.017 on Linux. Maybe it is "rebuild" only bug? Added to DStress as http://dstress.kuehne.cn/compile/c/character_literal_02_A.d http://dstress.kuehne.cn/nocompile/c/character_literal_02_B.d http://dstress.kuehne.cn/nocompile/c/character_literal_02_C.d http://dstress.kuehne.cn/nocompile/c/character_literal_02_D.d http://dstress.kuehne.cn/nocompile/c/character_literal_02_E.d -- |
July 24, 2007 [Issue 1358] Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1358 ------- Comment #2 from aziz.kerim@gmail.com 2007-07-24 07:01 ------- Sorry, the example is wrong. This should fire the error: auto bla = "\U80000000"; src/Parser.d(125): invalid UTF character \U80000000 rebuild: root.c:1490: void OutBuffer::writeUTF8(unsigned int): Assertion `0' failed. -- |
May 05, 2009 [Issue 1358] Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1358 ------- Comment #3 from clugdbug@yahoo.com.au 2009-05-05 01:55 ------- Created an attachment (id=350) --> (http://d.puremagic.com/issues/attachment.cgi?id=350&action=view) Patch against DMD2.029 This is a trivial one. After printing the error message, just change it to a valid char to avoid the later ICE. -- |
July 09, 2009 [Issue 1358] ICE(root.c) on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1358 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2009-07-09 02:45:46 PDT --- Fixed dmd 1.046 and 2.031 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 07, 2009 [Issue 1358] ICE(root.c) on Unicode codepoints greater than 0x7FFFFFFF | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1358 Eljay <eljay@adobe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eljay@adobe.com --- Comment #5 from Eljay <eljay@adobe.com> 2009-08-07 06:58:39 PDT --- The Unicode codespace is 0 to 10FFFF, which is a 21 bit space. So \U80000000 is not a valid Unicode codepoint. Even for ISO 10646, which is a 31 bit space (and has an interesting relationship to Unicode), \U80000000 is not a valid ISO 10646 codepoint either. I'd expect \U80000000 to be a "gigo bug". Still, should not cause ICE. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation