------- Comment #6 from steven at gcc dot gnu dot org  2006-07-23 11:51 -------
Consider these lines in elfos.h:ASM_OUTPUT_ASCII:

                                                                        \
          for (p = _ascii_bytes; p < limit && *p != '\0'; p++)          \
            continue;                                                   \
                                                                        \

Now take a string of 40000+ characters with no '\0' terminator.  This will
trigger quadratic behavior. We'll go look for a 0 terminator thousands of time
and not find it.


-- 


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

Reply via email to