Vladimir N. Makarov - Re: delete unused function longest_path_length (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.

"Manuel LÃpez-IbÃÃez" lopezibanez@gmail.com writes:

:ADDPATCH middle-end:While fixing PR4076, I found another unused function.

Bootstrapped and regression tested with --enable-languages=all on i686-pc-linux-gnu.

Goodbye to it?2007-01-31 Manuel Lopez-Ibanez manu@gcc.gnu.org* genautomata.c (longest_path_length): Delete unused function.

I'm in favor of deleting this, but please also delete UNDEFINED_LONGEST_PATH_LENGTH and the longest_path_length field of struct state. I'll approve that patch assume it passes bootstrap and testing.

Please give Vlad (CC'ed) a day or two to comment, maybe he had something in mind for these.