On bootstrapping, fix-header segfaults while processing
/usr/include/bits/stdio-ldbl.h which is from glibc-2.4.

This problem does not appear on i386-linux host because 'use_fixproto' is set
to 'no' in gcc/config.gcc.

Reduced problematic header contents:
f()

Reproduce:
    cd <build-dir>/gcc
    make stmp-fixproto
    cd build
    echo 'f()' >f.h
    ./fix-header bits/f.h f.h bits/f.h
  Segmentation fault


-- 
           Summary: fix-header segfault with glibc-2.4 header
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sugioka at itonet dot co dot jp
  GCC host triplet: sh4-unknown-linux


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

Reply via email to