Mercury Bugs - mercury
View Issue Details
0000037mercuryBugpublic2008-01-15 11:392008-01-17 00:30
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000037: high-level C backend produces invalid C code
DescriptionThe attached test case causes the high-level C backend tries to initialise static data using
a function call (in order to box a float). The program compiles succesfully with the low-level
backend.
Additional InformationThis test case was derived from code generated by the experimental Zinc-to-Mercury
compiler.
TagsNo tags attached.
Attached Files? bad_static_data.m (1,195) 2008-01-15 11:39
https://bugs.mercurylang.org/file_download.php?file_id=33&type=bug

Notes
(0000071)
juliensf   
2008-01-17 00:30   
Fixed. See log message of r1.121 of compiler/ml_unify_gen.m for details.

Issue History
2008-01-15 11:39juliensfNew Issue
2008-01-15 11:39juliensfFile Added: bad_static_data.m
2008-01-15 11:40juliensfAssigned To => juliensf
2008-01-15 11:40juliensfStatusnew => assigned
2008-01-17 00:30juliensfStatusassigned => resolved
2008-01-17 00:30juliensfResolutionopen => fixed
2008-01-17 00:30juliensfNote Added: 0000071