This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR26789: ICE on incomplete struct with -fmudflap
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 22 Mar 2006 06:54:38 -0500
- Subject: Re: [patch] Fix PR26789: ICE on incomplete struct with -fmudflap
- References: <tkrat.15301eb92fabca13@igpm.rwth-aachen.de>
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()