digitalmars.D.bugs - [Issue 1358] New: Compiler aborts on Unicode codepoints greater than 0x7FFFFFFF
- d-bugmail puremagic.com (17/17) Jul 20 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1358
- d-bugmail puremagic.com (10/10) Jul 23 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1358
- d-bugmail puremagic.com (8/8) Jul 24 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1358
- d-bugmail puremagic.com (8/8) May 04 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1358
- d-bugmail puremagic.com (11/11) Jul 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1358
- d-bugmail puremagic.com (14/14) Aug 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1358
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. --
Jul 20 2007
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 --
Jul 23 2007
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. --
Jul 24 2007
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. --
May 04 2009
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: -------
Jul 09 2009
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: -------
Aug 07 2009