Skip to content

doduc Polyhedron 2005 benchmark segfaults when built with -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns #11263

@llvmbot

Description

@llvmbot
Bugzilla Link 10891
Resolution FIXED
Resolved on Sep 24, 2011 06:40
Version trunk
OS MacOS X
Depends On llvm/llvm-bugzilla-archive#10907
Reporter LLVM Bugzilla Contributor

Extended Description

At r139290, the doduc Polyhedron 2005 benchmark built with...

/sw/lib/gcc4.6/bin/gfortran -fplugin=/sw/lib/gcc4.6/lib/dragonegg.so -msse4 -ffast-math -funroll-loops -O3 -fplugin-arg-dragonegg-enable-gcc-optzns doduc.f90 -o doduc

segfaults during execution...

[MacPro:pb05/lin/source] howarth% ./doduc
MAIN : FIN S00002
MAIN : FIN S00001
MAIN : FIN S00011
MAIN : FIN S00022
TEMPS = 33.00000000 , NITERA : 1
TEMPS = 34.00010010 , NITERA : 190
TEMPS = 35.00473527 , NITERA : 952
TEMPS = 36.00310365 , NITERA : 1518
TEMPS = 37.00295766 , NITERA : 1790
TEMPS = 38.00173154 , NITERA : 2096
TEMPS = 39.00214237 , NITERA : 2407
TEMPS = 40.00105777 , NITERA : 2715
TEMPS = 45.00109540 , NITERA : 4262
TEMPS = 50.00123507 , NITERA : 5885
TEMPS = 55.00131498 , NITERA : 7531
TEMPS = 60.00042238 , NITERA : 9419
Segmentation fault

which backtraces as...

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00007ffb5fbfe9b0
s00061_ (i=<value temporarily unavailable, due to optimizations>, hv=@0x7fff5fbfed30, hvt=@0x7fff5fbfed28, hvme=<value temporarily unavailable, due to optimizations>, hvms=<value temporarily unavailable, due to optimizations>, ynu=@0x7fff5fbfed10, tfl=@0x7fff5fbfed40, re=<value temporarily unavailable, due to optimizations>, iopt=@0x10001ffb4, dtfl=@0x7fff5fbfed00) at doduc.f90:568
568 y1 = y(i1)
(gdb) bt
#​0 s00061_ (i=<value temporarily unavailable, due to optimizations>, hv=@0x7fff5fbfed30, hvt=@0x7fff5fbfed28, hvme=<value temporarily unavailable, due to optimizations>, hvms=<value temporarily unavailable, due to optimizations>, ynu=@0x7fff5fbfed10, tfl=@0x7fff5fbfed40, re=<value temporarily unavailable, due to optimizations>, iopt=@0x10001ffb4, dtfl=@0x7fff5fbfed00) at doduc.f90:568
#​1 0x000000010000e1b6 in s00013_ () at doduc.f90:1150
Previous frame inner to this frame (gdb could not unwind past this frame)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions