2024-03-29 04:06 AEDT

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000062mercuryBugpublic2008-06-06 18:33
Reporterpbone 
Assigned Tojuliensf 
PrioritylowSeverityminorReproducibilityhave not tried
StatusresolvedResolutionduplicate 
Product Version 
Target VersionFixed in Version 
Summary0000062: Compiler crashes at bad end_module declaration.
DescriptionWhen i mis-spell the end_module declaration differently to the module declaration, the complier crashes. This seems reproducible but I have not written a test case.
Additional Informationpbone@plum:~/mercury/mdprof_data_structure/deep_profiler$ mmake
/usr/local/mercury/bin/mmc --make-interface --grade asm_fast.gc --mercury-linkage static --flags DEEP_FLAGS percent_adt
Uncaught Mercury exception:
Software Error: modules.m: Unexpected: standardize_impl_items: unexpected items
Stack dump not available in this grade.
make: *** [percent_adt.date] Error 1

pbone@plum:~/mercury/mdprof_data_structure/deep_profiler$ /usr/local/mercury/bin/mmc --version
Mercury Compiler, version rotd-2008-02-11, configured for i686-pc-linux-gnu
Copyright (C) 1993-2008 The University of Melbourne

pbone@plum:~/mercury/mdprof_data_structure/deep_profiler$ gcc --version
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
TagsNo tags attached.
Attached Files

-Relationships
duplicate of 0000041resolvedjuliensf unclear error message in case the end_module declaration differs from the :- module description 
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2008-06-06 13:01 pbone New Issue
2008-06-06 18:33 juliensf Relationship added duplicate of 0000041
2008-06-06 18:33 juliensf Duplicate ID 0 => 41
2008-06-06 18:33 juliensf Status new => resolved
2008-06-06 18:33 juliensf Resolution open => duplicate
2008-06-06 18:33 juliensf Assigned To => juliensf
+Issue History