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

            Bug ID: 102343
           Summary: gm2/cpp/pass/subaddr.mod FAILs for non-default
                    multilib
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: gaiusmod2 at gmail dot com
  Target Milestone: ---

The gm2/cpp/pass/subaddr.mod test FAILs for non-default multilibs (seen on
x86_64-pc-linux-gnu with -m32 and i386-pc-solaris2.11 with -m64):

FAIL: gm2/cpp/pass/subaddr.mod,  -g  
FAIL: gm2/cpp/pass/subaddr.mod,  -O  
FAIL: gm2/cpp/pass/subaddr.mod,  -O -g  
FAIL: gm2/cpp/pass/subaddr.mod,  -Os  
FAIL: gm2/cpp/pass/subaddr.mod,  -O3 -fomit-frame-pointer  
FAIL: gm2/cpp/pass/subaddr.mod,  -O3 -fomit-frame-pointer -finline-functions  

/vol/gcc/src/git/modula-2/gcc/testsuite/gm2/cpp/pass/subaddr.mod:34:1: error:
can only CAST objects of the same size

Unfortunately, -save-temps has no effect so one cannot see what actual input is
passed to cc1gm2.

Besides, it seems weird to special-case x86_64 and 64-bit alpha (was there ever
a 32-bit port?) when every 64-bit target would already be handled by __LP64__.

Reply via email to