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: PR java/9157: ICE on malformed ?: condition


On Mon, 31 Jan 2005 14:59:06 +0000, Andrew Haley <aph@redhat.com> wrote:

>  >      PR java/9157
>  >      * parse.y (build_string_concatenation): Remove redundant if.
>  >      (patch_conditional_expr): Attempt to patch_string() the condition
>  >      of a ?: as well, in addition to its other operands.
> 
> OK.

Thanks. I've committed the patch with the following
minor change to the comment preceding the interesting
hunk:

  /* The condition and operands of ?: might be StringBuffers crafted
     as a result of a string concatenation.  Obtain decent ones here.  */

I have also punted on the ICE v/s "normal" fail for
the testsuite - it looks beyond me (for the moment). :-/

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


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