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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix PR26789: ICE on incomplete struct with -fmudflap


On 03/21/06 18:26, Volker Reichelt wrote:

> 2006-03-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
> 
> 	PR c++/26789
> 	* tree-mudflap.c (mf_xform_derefs_1): Return early on error_mark_node.
> 
OK.

I'm not sure what's best for the test case question.  Three options:

If "-fmudflap -c" works on targets with no mudflap support, then just
add it in g++.dg with appropriate dg-flags settings.

If there is a dejagnu test to detect mudflap support, use it.

If the above fails, just drop it in libmudflap/testsuite with an empty
main()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]