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: RFA: Fix PR tree-optimization/16876


On Fri, 25 Aug 2006, Joern RENNECKE wrote:

> gcc:
>         PR tree-optimization/16876
>         * c-typeck.c (c_convert_parm_for_inlining): Don't take early
>         exit if PARM doesn't match VALUE.
> 
> testsuite:
>         gcc.dg/noncompile/pr16876.c: New test.

The testcase is in fact valid code (only undefined at runtime) which 
should be compiled, but an error is better than an ICE here.  The patch is 
OK provided you open a new bug for the problem that such code should be 
accepted (probably with a warning, but not with a hard error), referencing 
<http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00772.html>.

-- 
Joseph S. Myers
joseph@codesourcery.com


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