Diff for /wikisrc/users/maya/vax-gcc.mdwn between versions 1.9 and 1.12

version 1.9, 2019/08/30 04:49:49 version 1.12, 2019/09/15 12:56:38
Line 2 Line 2
   
 [WIP tree](gcc-mirror/)  [WIP tree](gcc-mirror/)
   
 ## libgomp crash with -O2 ##  ## libgomp crash with -O2 [#58901](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58901) ##
 Repro:  Repro:
   
     #!/bin/sh      #!/bin/sh
Line 24  NetBSD avoids it with a [local diff](htt Line 24  NetBSD avoids it with a [local diff](htt
 It looks like a real bug in vax_legitimate_address_p not handling some addressing modes.    It looks like a real bug in vax_legitimate_address_p not handling some addressing modes.  
 The code to handle offset(reg)[index] might be off: it doesn't like if neither xfoo0, xfoo1 are constant.  The code to handle offset(reg)[index] might be off: it doesn't like if neither xfoo0, xfoo1 are constant.
   
   
   ## change_address_1, at emit-rtl.c:2286 [#85152](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85152) ##
   
   Repro:
   
       #!/bin/sh
   
       cat << EOF > oacc.i
       void fn2();
       unsigned a;
       int fn1() {
         int b = a >> 16;
         if (b)
           fn2();
       }
       EOF
       vax--netbsdelf-gcc -O2 -c oacc.i
   
 ## unrecognizable insn with any optimization ##  ## unrecognizable insn with any optimization ##
   
 Repro:  Repro:
Line 66  This errors out with: Line 84  This errors out with:
     during RTL pass: vregs      during RTL pass: vregs
     /home/fly/oacc/decl.ii:17:1: internal compiler error: in extract_insn, at recog.c:2310      /home/fly/oacc/decl.ii:17:1: internal compiler error: in extract_insn, at recog.c:2310
           
 Providing a trivial scheduling will avoid subregs of mem.    
 However, this doesn't work for us. Our crash and mem subregs happen at a too early pass, most likely.  This is in VAX-specific code. We need to figure out what instruction pattern this is, that we're missing.
   
   <!--Providing a trivial scheduling will avoid subregs of mem.  
   However, this doesn't work for us. Our crash and mem subregs happen at a too early pass, most likely.-->
   
 ## DWARF ##  ## DWARF ##
   
Line 81  is kind of a big deal. We should probabl Line 102  is kind of a big deal. We should probabl
     ld: .eh_frame_hdr refers to overlapping FDEs      ld: .eh_frame_hdr refers to overlapping FDEs
     ld: final link failed: bad value      ld: final link failed: bad value
   
   [riscv seemed to share the issue](https://github.com/riscv/riscv-binutils-gdb/issues/76) and had fixed it.
   
 ## review comments ##  ## review comments ##
   
 Jeff Law [provided some feedback](https://gcc.gnu.org/ml/gcc/2019-04/msg00281.html). More of it should be addressed.  Jeff Law [provided some feedback](https://gcc.gnu.org/ml/gcc/2019-04/msg00281.html). More of it should be addressed.

Removed from v.1.9  
changed lines
  Added in v.1.12


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb