Mercury Bugs - mercury
View Issue Details
0000062mercuryBugpublic2008-06-06 13:012008-06-06 18:33
Reporterpbone 
Assigned Tojuliensf 
PrioritylowSeverityminorReproducibilityhave not tried
StatusresolvedResolutionduplicate 
PlatformOSOS Version
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.
duplicate of 0000041resolved juliensf unclear error message in case the end_module declaration differs from the :- module description 
Attached Files

There are no notes attached to this issue.

Issue History
2008-06-06 13:01pboneNew Issue
2008-06-06 18:33juliensfRelationship addedduplicate of 0000041
2008-06-06 18:33juliensfDuplicate ID0 => 41
2008-06-06 18:33juliensfStatusnew => resolved
2008-06-06 18:33juliensfResolutionopen => duplicate
2008-06-06 18:33juliensfAssigned To => juliensf