when compiling this code:

int main(int argc, char **argv) {
  int xor=0;
  return 0;
}

i get a 'internal compiler error: segmentation fault'

on 'i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)'.

cheers
  - Wolfgang


-- 
           Summary: segfault with variable named 'xor' (Apple-gcc-4.2.1)
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wolfgang dot plaschg at gmail dot com


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

Reply via email to