[PATCH] Fix crash in c-typeck.c:comptypes() (PR3952)

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Mon Aug 27 13:05:00 GMT 2001


Hi,

this little patch fixes a crash in comptypes (PR3952). AFAICS maxval can 
legally be unset here.

Bootstrapped without regressions on powerpc-linux-gnu.
OK to commit to mainline and branch?

Franz.

        PR c/3952
        * c-typeck.c (comptypes): Don't crash if maxval is unset.



More information about the Gcc-patches mailing list