https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71649

--- Comment #2 from jack.saba at nasa dot gov <jack.saba at nasa dot gov> ---
I tried it on a ubuntu machine and got the same error.

Jack Saba
jack.s...@nasa.gov
Science, Systems, and Applications, Inc.
Cryospheric Sciences Laboratory, Code 615
Bldg 33 Room A328
NASA/Goddard Space Flight Center
Greenbelt Md 20771
301-614-5878
Fax: 301-614-5644

On 6/24/16 11:54, dominiq at lps dot ens.fr wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71649
>
> Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>    Last reconfirmed|                            |2016-06-24
>                  CC|                            |fxcoudert at gcc dot gnu.org
>      Ever confirmed|0                           |1
>
> --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed from 4.8 up to trunk (7.0) without any option. The backtrace is
>
> * thread #1: tid = 0xfd5298, 0x00007fff9feb78b5
> libsystem_platform.dylib`_platform_strcmp + 181, queue =
> 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
>     frame #0: 0x00007fff9feb78b5 libsystem_platform.dylib`_platform_strcmp +
> 181
> libsystem_platform.dylib`_platform_strcmp:
> ->  0x7fff9feb78b5 <+181>: movdqu (%rsi,%rcx), %xmm1
>     0x7fff9feb78ba <+186>: pcmpeqb %xmm1, %xmm0
>     0x7fff9feb78be <+190>: pcmpeqb %xmm2, %xmm1
>     0x7fff9feb78c2 <+194>: pandn  %xmm0, %xmm1
> (lldb) bt
> * thread #1: tid = 0xfd5298, 0x00007fff9feb78b5
> libsystem_platform.dylib`_platform_strcmp + 181, queue =
> 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
>   * frame #0: 0x00007fff9feb78b5 libsystem_platform.dylib`_platform_strcmp +
> 181
>     frame #1: 0x000000010006a3e2
> f951`::create_intrinsic_function(name="compiler_options", id=27,
> modname="iso_fortran_env", module=INTMOD_ISO_FORTRAN_ENV,
> subroutine=<unavailable>, result_type=0x0000000000000000) + 82 at 
> module.c:6170
>     frame #2: 0x000000010006cc45 f951`::use_iso_fortran_env_module() + 773 at
> module.c:6752
>     frame #3: 0x0000000100072910
> f951`::gfc_use_module(module=0x000000014270a050) + 6384 at module.c:6881
>     frame #4: 0x00000001000744eb f951`gfc_use_modules() + 539 at module.c:7112
>     frame #5: 0x000000010008231e f951`::use_modules() + 46 at parse.c:114
>     frame #6: 0x0000000100086335 f951`::decode_statement() + 949 at 
> parse.c:332
>     frame #7: 0x0000000100088174 f951`::next_statement() + 276 at parse.c:1080
>     frame #8: 0x0000000100089dcd f951`::parse_spec(st=ST_USE) + 3325 at
> parse.c:3637
>     frame #9: 0x000000010008d0d7 f951`::parse_progunit(st=<unavailable>) + 39
> at parse.c:5420
>     frame #10: 0x000000010008ed63 f951`gfc_parse_file() + 2003 at parse.c:5944
>     frame #11: 0x00000001000d625b f951`::gfc_be_parse_file() + 59 at
> f95-lang.c:201
>     frame #12: 0x0000000100b67aba f951`::compile_file() + 58 at toplev.c:465
>     frame #13: 0x0000000101051114 f951`toplev::main(int, char**) + 1544 at
> toplev.c:1998
>     frame #14: 0x0000000101050b0c f951`toplev::main(this=0x00007fff5fbff340,
> argc=<unavailable>, argv=<unavailable>) + 732
>     frame #15: 0x0000000101052979 f951`main(argc=2, argv=0x00007fff5fbff380) +
> 41 at main.c:39
>     frame #16: 0x00007fff9ea105ad libdyld.dylib`start + 1
>
> (lldb) p *tmp_symtree
> (gfc_symtree) $1 = {
>   priority = 1978153288
>   left = 0x84048d49a4048d4b
>   right = 0x00000080c7848b41
>   name = 0x5c415d5b08c48348 <no value available>
>   ambiguous = 1581342017
>   n = {
>     sym = 0x6c266a358b00401f
>     uop = 0x6c266a358b00401f
>     common = 0x6c266a358b00401f
>     tb = 0x6c266a358b00401f
>     omp_udr = 0x6c266a358b00401f
>   }
> }
> (lldb) p tmp_symtree->n.sym->module
> error: Couldn't apply expression side effects : Couldn't dematerialize a 
> result
> variable: couldn't read its memory
>
> Could someone check that the problem is not darwin specific?
>

Reply via email to