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

            Bug ID: 61866
           Summary: FAIL: ./index0-out.go execution,  -O0 -g
                    -fno-var-tracking-assignments
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ubizjak at gmail dot com
                CC: cmang at google dot com

index0-out.go fails execution with -O0 -g -fno-var-tracking-assignments on
32bit x86 target (Fedora 20) with:

BUG
./index0-out.go:113: ai[i64bigger] did not panic
./index0-out.go:113: ai[i64bigger:] did not panic
./index0-out.go:113: ai[ni64bigger] did not panic
./index0-out.go:113: ai[ni64bigger:] did not panic
./index0-out.go:113: ai[nhuge] did not panic
./index0-out.go:113: ai[nhuge:] did not panic
./index0-out.go:113: aib[i64bigger] did not panic
./index0-out.go:113: aib[i64bigger:] did not panic
./index0-out.go:113: aib[ni64bigger] did not panic
./index0-out.go:113: aib[ni64bigger:] did not panic
./index0-out.go:113: aib[nhuge] did not panic
./index0-out.go:113: aib[nhuge:] did not panic
./index0-out.go:113: aq[i64bigger] did not panic
./index0-out.go:113: aq[i64bigger:] did not panic
./index0-out.go:113: aq[ni64bigger] did not panic
./index0-out.go:113: aq[ni64bigger:] did not panic
./index0-out.go:113: aq[nhuge] did not panic
./index0-out.go:113: aq[nhuge:] did not panic
./index0-out.go:113: aqb[i64bigger] did not panic
./index0-out.go:113: aqb[i64bigger:] did not panic
./index0-out.go:113: aqb[ni64bigger] did not panic
./index0-out.go:113: aqb[ni64bigger:] did not panic
./index0-out.go:113: aqb[nhuge] did not panic
./index0-out.go:113: aqb[nhuge:] did not panic
./index0-out.go:113: pai[i64bigger] did not panic
./index0-out.go:113: pai[i64bigger:] did not panic
./index0-out.go:113: pai[ni64bigger] did not panic
./index0-out.go:113: pai[ni64bigger:] did not panic
./index0-out.go:113: pai[nhuge] did not panic
./index0-out.go:113: pai[nhuge:] did not panic
./index0-out.go:113: paib[i64bigger] did not panic
./index0-out.go:113: paib[i64bigger:] did not panic
./index0-out.go:113: paib[ni64bigger] did not panic
./index0-out.go:113: paib[ni64bigger:] did not panic
./index0-out.go:113: paib[nhuge] did not panic
./index0-out.go:113: paib[nhuge:] did not panic
./index0-out.go:113: paq[i64bigger] did not panic
./index0-out.go:113: paq[i64bigger:] did not panic
./index0-out.go:113: paq[ni64bigger] did not panic
./index0-out.go:113: paq[ni64bigger:] did not panic
./index0-out.go:113: paq[nhuge] did not panic
./index0-out.go:113: paq[nhuge:] did not panic
./index0-out.go:113: paqb[i64bigger] did not panic
./index0-out.go:113: paqb[i64bigger:] did not panic
./index0-out.go:113: paqb[ni64bigger] did not panic
./index0-out.go:113: paqb[ni64bigger:] did not panic
./index0-out.go:113: paqb[nhuge] did not panic
./index0-out.go:113: paqb[nhuge:] did not panic
./index0-out.go:113: si[i64bigger] did not panic
./index0-out.go:113: si[i64bigger:] did not panic
./index0-out.go:113: si[ni64bigger] did not panic
./index0-out.go:113: si[ni64bigger:] did not panic
./index0-out.go:113: si[nhuge] did not panic
./index0-out.go:113: si[nhuge:] did not panic
./index0-out.go:113: sib[i64bigger] did not panic
./index0-out.go:113: sib[i64bigger:] did not panic
./index0-out.go:113: sib[ni64bigger] did not panic
./index0-out.go:113: sib[ni64bigger:] did not panic
./index0-out.go:113: sib[nhuge] did not panic
./index0-out.go:113: sib[nhuge:] did not panic
./index0-out.go:113: sq[i64bigger] did not panic
./index0-out.go:113: sq[i64bigger:] did not panic
./index0-out.go:113: sq[ni64bigger] did not panic
./index0-out.go:113: sq[ni64bigger:] did not panic
./index0-out.go:113: sq[nhuge] did not panic
./index0-out.go:113: sq[nhuge:] did not panic
./index0-out.go:113: sqb[i64bigger] did not panic
./index0-out.go:113: sqb[i64bigger:] did not panic
./index0-out.go:113: sqb[ni64bigger] did not panic
./index0-out.go:113: sqb[ni64bigger:] did not panic
./index0-out.go:113: sqb[nhuge] did not panic
./index0-out.go:113: sqb[nhuge:] did not panic
./index0-out.go:113: t.ai[i64bigger] did not panic
./index0-out.go:113: t.ai[i64bigger:] did not panic
./index0-out.go:113: t.ai[ni64bigger] did not panic
./index0-out.go:113: t.ai[ni64bigger:] did not panic
./index0-out.go:113: t.ai[nhuge] did not panic
./index0-out.go:113: t.ai[nhuge:] did not panic
./index0-out.go:113: t.aib[i64bigger] did not panic
./index0-out.go:113: t.aib[i64bigger:] did not panic
./index0-out.go:113: t.aib[ni64bigger] did not panic
./index0-out.go:113: t.aib[ni64bigger:] did not panic
./index0-out.go:113: t.aib[nhuge] did not panic
./index0-out.go:113: t.aib[nhuge:] did not panic
./index0-out.go:113: t.aq[i64bigger] did not panic
./index0-out.go:113: t.aq[i64bigger:] did not panic
./index0-out.go:113: t.aq[ni64bigger] did not panic
./index0-out.go:113: t.aq[ni64bigger:] did not panic
./index0-out.go:113: t.aq[nhuge] did not panic
./index0-out.go:113: t.aq[nhuge:] did not panic
./index0-out.go:113: t.aqb[i64bigger] did not panic
./index0-out.go:113: t.aqb[i64bigger:] did not panic
./index0-out.go:113: t.aqb[ni64bigger] did not panic
./index0-out.go:113: t.aqb[ni64bigger:] did not panic
./index0-out.go:113: t.aqb[nhuge] did not panic
./index0-out.go:113: t.aqb[nhuge:] did not panic
./index0-out.go:113: t.pai[i64bigger] did not panic
./index0-out.go:113: t.pai[i64bigger:] did not panic
./index0-out.go:113: t.pai[ni64bigger] did not panic
./index0-out.go:113: t.pai[ni64bigger:] did not panic
./index0-out.go:113: t.pai[nhuge] did not panic
./index0-out.go:113: t.pai[nhuge:] did not panic
./index0-out.go:113: t.paib[i64bigger] did not panic
./index0-out.go:113: t.paib[i64bigger:] did not panic
./index0-out.go:113: t.paib[ni64bigger] did not panic
./index0-out.go:113: t.paib[ni64bigger:] did not panic
./index0-out.go:113: t.paib[nhuge] did not panic
./index0-out.go:113: t.paib[nhuge:] did not panic
./index0-out.go:113: t.paq[i64bigger] did not panic
./index0-out.go:113: t.paq[i64bigger:] did not panic
./index0-out.go:113: t.paq[ni64bigger] did not panic
./index0-out.go:113: t.paq[ni64bigger:] did not panic
./index0-out.go:113: t.paq[nhuge] did not panic
./index0-out.go:113: t.paq[nhuge:] did not panic
./index0-out.go:113: t.paqb[i64bigger] did not panic
./index0-out.go:113: t.paqb[i64bigger:] did not panic
./index0-out.go:113: t.paqb[ni64bigger] did not panic
./index0-out.go:113: t.paqb[ni64bigger:] did not panic
./index0-out.go:113: t.paqb[nhuge] did not panic
./index0-out.go:113: t.paqb[nhuge:] did not panic
./index0-out.go:113: t.si[i64bigger] did not panic
./index0-out.go:113: t.si[i64bigger:] did not panic
./index0-out.go:113: t.si[ni64bigger] did not panic
./index0-out.go:113: t.si[ni64bigger:] did not panic
./index0-out.go:113: t.si[nhuge] did not panic
./index0-out.go:113: t.si[nhuge:] did not panic
./index0-out.go:113: t.sib[i64bigger] did not panic
./index0-out.go:113: t.sib[i64bigger:] did not panic
./index0-out.go:113: t.sib[ni64bigger] did not panic
./index0-out.go:113: t.sib[ni64bigger:] did not panic
./index0-out.go:113: t.sib[nhuge] did not panic
./index0-out.go:113: t.sib[nhuge:] did not panic
./index0-out.go:113: t.sq[i64bigger] did not panic
./index0-out.go:113: t.sq[i64bigger:] did not panic
./index0-out.go:113: t.sq[ni64bigger] did not panic
./index0-out.go:113: t.sq[ni64bigger:] did not panic
./index0-out.go:113: t.sq[nhuge] did not panic
./index0-out.go:113: t.sq[nhuge:] did not panic
./index0-out.go:113: t.sqb[i64bigger] did not panic
./index0-out.go:113: t.sqb[i64bigger:] did not panic
./index0-out.go:113: t.sqb[ni64bigger] did not panic
./index0-out.go:113: t.sqb[ni64bigger:] did not panic
./index0-out.go:113: t.sqb[nhuge] did not panic
./index0-out.go:113: t.sqb[nhuge:] did not panic
./index0-out.go:113: pt.ai[i64bigger] did not panic
./index0-out.go:113: pt.ai[i64bigger:] did not panic
./index0-out.go:113: pt.ai[ni64bigger] did not panic
./index0-out.go:113: pt.ai[ni64bigger:] did not panic
./index0-out.go:113: pt.ai[nhuge] did not panic
./index0-out.go:113: pt.ai[nhuge:] did not panic
./index0-out.go:113: pt.aib[i64bigger] did not panic
./index0-out.go:113: pt.aib[i64bigger:] did not panic
./index0-out.go:113: pt.aib[ni64bigger] did not panic
./index0-out.go:113: pt.aib[ni64bigger:] did not panic
./index0-out.go:113: pt.aib[nhuge] did not panic
./index0-out.go:113: pt.aib[nhuge:] did not panic
./index0-out.go:113: pt.aq[i64bigger] did not panic
./index0-out.go:113: pt.aq[i64bigger:] did not panic
./index0-out.go:113: pt.aq[ni64bigger] did not panic
./index0-out.go:113: pt.aq[ni64bigger:] did not panic
./index0-out.go:113: pt.aq[nhuge] did not panic
./index0-out.go:113: pt.aq[nhuge:] did not panic
./index0-out.go:113: pt.aqb[i64bigger] did not panic
./index0-out.go:113: pt.aqb[i64bigger:] did not panic
./index0-out.go:113: pt.aqb[ni64bigger] did not panic
./index0-out.go:113: pt.aqb[ni64bigger:] did not panic
./index0-out.go:113: pt.aqb[nhuge] did not panic
./index0-out.go:113: pt.aqb[nhuge:] did not panic
./index0-out.go:113: pt.pai[i64bigger] did not panic
./index0-out.go:113: pt.pai[i64bigger:] did not panic
./index0-out.go:113: pt.pai[ni64bigger] did not panic
./index0-out.go:113: pt.pai[ni64bigger:] did not panic
./index0-out.go:113: pt.pai[nhuge] did not panic
./index0-out.go:113: pt.pai[nhuge:] did not panic
./index0-out.go:113: pt.paib[i64bigger] did not panic
./index0-out.go:113: pt.paib[i64bigger:] did not panic
./index0-out.go:113: pt.paib[ni64bigger] did not panic
./index0-out.go:113: pt.paib[ni64bigger:] did not panic
./index0-out.go:113: pt.paib[nhuge] did not panic
./index0-out.go:113: pt.paib[nhuge:] did not panic
./index0-out.go:113: pt.paq[i64bigger] did not panic
./index0-out.go:113: pt.paq[i64bigger:] did not panic
./index0-out.go:113: pt.paq[ni64bigger] did not panic
./index0-out.go:113: pt.paq[ni64bigger:] did not panic
./index0-out.go:113: pt.paq[nhuge] did not panic
./index0-out.go:113: pt.paq[nhuge:] did not panic
./index0-out.go:113: pt.paqb[i64bigger] did not panic
./index0-out.go:113: pt.paqb[i64bigger:] did not panic
./index0-out.go:113: pt.paqb[ni64bigger] did not panic
./index0-out.go:113: pt.paqb[ni64bigger:] did not panic
./index0-out.go:113: pt.paqb[nhuge] did not panic
./index0-out.go:113: pt.paqb[nhuge:] did not panic
./index0-out.go:113: pt.si[i64bigger] did not panic
./index0-out.go:113: pt.si[i64bigger:] did not panic
./index0-out.go:113: pt.si[ni64bigger] did not panic
./index0-out.go:113: pt.si[ni64bigger:] did not panic
./index0-out.go:113: pt.si[nhuge] did not panic
./index0-out.go:113: pt.si[nhuge:] did not panic
./index0-out.go:113: pt.sib[i64bigger] did not panic
./index0-out.go:113: pt.sib[i64bigger:] did not panic
./index0-out.go:113: pt.sib[ni64bigger] did not panic
./index0-out.go:113: pt.sib[ni64bigger:] did not panic
./index0-out.go:113: pt.sib[nhuge] did not panic
./index0-out.go:113: pt.sib[nhuge:] did not panic
./index0-out.go:113: pt.sq[i64bigger] did not panic
./index0-out.go:113: pt.sq[i64bigger:] did not panic
./index0-out.go:113: pt.sq[ni64bigger] did not panic
./index0-out.go:113: pt.sq[ni64bigger:] did not panic
./index0-out.go:113: pt.sq[nhuge] did not panic
./index0-out.go:113: pt.sq[nhuge:] did not panic
./index0-out.go:113: pt.sqb[i64bigger] did not panic
./index0-out.go:113: pt.sqb[i64bigger:] did not panic
./index0-out.go:113: pt.sqb[ni64bigger] did not panic
./index0-out.go:113: pt.sqb[ni64bigger:] did not panic
./index0-out.go:113: pt.sqb[nhuge] did not panic
./index0-out.go:113: pt.sqb[nhuge:] did not panic
FAIL: ./index0-out.go execution,  -O0 -g -fno-var-tracking-assignments 

The test works ok on 64bit x86_64 targets.

Reply via email to