[Bug debug/19345] New: [4.0 Regression] Segmentation fault

belyshev at depni dot sinp dot msu dot ru gcc-bugzilla@gcc.gnu.org
Sun Jan 9 08:18:00 GMT 2005


inline void bar (char a[], unsigned int l)
{
  asm volatile ("" :: "m" ( *(struct {char x[l];} *) a));
}

void foo (void)
{
  bar (0, 0);
}

-- 
           Summary: [4.0 Regression] Segmentation fault
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: belyshev at depni dot sinp dot msu dot ru
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19345



More information about the Gcc-bugs mailing list