Anyone got a tree or RTL corruption bug?
Janis Johnson
janis@us.ibm.com
Mon May 14 09:45:00 GMT 2001
Zack Weinberg wrote:
> I'm trying to make debug_tree/rtx more robust in the face of corrupt
> tree/RTL structure. I finally have a sensible way to check whether
> dereferencing random pointers will cause a segmentation fault. But
> now I can't find any corruption bugs to test them on. Can anyone
> suggest something?
Use a debugger to put whatever bad data you want into whatever field
you want. Also use a debugger to call these functions with the wrong
kind of argument (I've done that a few times lately by accident).
Janis
More information about the Gcc
mailing list