--- wikisrc/users/maya/vax-gcc.mdwn 2019/08/31 13:17:56 1.11 +++ wikisrc/users/maya/vax-gcc.mdwn 2019/09/15 12:56:38 1.12 @@ -2,7 +2,7 @@ [WIP tree](gcc-mirror/) -## libgomp crash with -O2 ## +## libgomp crash with -O2 [#58901](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58901) ## Repro: #!/bin/sh @@ -24,6 +24,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. 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 ## Repro: