2024-05-18 22:14 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000213mercuryBugpublic2014-10-20 10:01
Reporterjuliensf 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0000213: failure of tests/hard_coded/direct_arg_tags.m in asm_fast.par.gc
Descriptiontests/hard_coded/direct_arg_tags.m is failing in asm_fast.par.gc on x86-64 / Linux
machines. (I encountered the failure on goliath). The output contains what appear to be
memory addresses, so I suspect some terms are not being deconstructed correctly.

I originally noted the failure at -O5 --intermodule-optimization but it also occurs with
just -O-1.

This occurs on both the 11.07 branch and trunk.
Additional Informationtests/hard_coded/typeclasses/func_default_mode_bug.m
tests/hard-coded/construct_test.m

are also failing; it is most probably the same bug.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000353

wangp (developer)

I can't reproduce it on my own machine (x86-64). Are you sure the standard library and runtime are up-to-date in the asm_fast.par.gc grade?

~0000354

juliensf (administrator)

Yes, they are up-to-date; I will try it on some other x86-64 machines here. Perhaps, it's specific to the version of the C compiler being used or something.

~0000355

juliensf (administrator)

That appears to be the case:

    goliath: gcc 4.1.3: doesn't work.
    apollo : gcc 4.4.5: works.

I will check other versions of gcc. (I don't think maintaining support for gcc 4.1 is terribly important, if it's just that version that is not working then we should just bump the minimum version of gcc required for Mercury.)

~0000356

juliensf (administrator)

goofy: gcc 4.4.3; works.

~0000794

wangp (developer)

I assume it's no longer a problem.

~0000796

pbone (administrator)

I've been testing asm_fast.gc.par.stseg recently and didn't see this test case failure. I'm using gcc-4.8 on x86_64 Linux. I was testing both the master and version-14_01-branch branches.
+Notes

-Issue History
Date Modified Username Field Change
2011-08-28 18:07 juliensf New Issue
2011-08-29 10:29 wangp Note Added: 0000353
2011-08-29 13:29 juliensf Note Added: 0000354
2011-08-29 14:56 juliensf Note Added: 0000355
2011-08-30 18:46 juliensf Note Added: 0000356
2014-10-09 12:04 wangp Note Added: 0000794
2014-10-09 12:04 wangp Status new => closed
2014-10-09 12:04 wangp Resolution open => no change required
2014-10-20 10:01 pbone Note Added: 0000796
+Issue History