ups, I did ping in the wrong thread about this issue. Sorry.

Anyway, I noticed that after r204334 my patch cannot be applied
without conflicts.
Here is the updated one attached. Bootstrapped and regtested on
x86_64-unknown-linux-gnu.

2013-11-08  Alexander Ivchenko  <alexander.ivche...@intel.com>

        * gcc/cp/call.c (build_operator_new_call): Add flag_exceptions check.
        * gcc/cp/decl.c (compute_array_index_type): Ditto.
        * gcc/cp/init.c (build_new_1): Ditto.
        (build_vec_init): Ditto.



Could someone take a look please?
This issue broke the build of Android source tree with trunk compiler.

thanks,
Alexander

2013/10/7 Alexander Ivchenko <aivch...@gmail.com>:
> Hi,
>
> __cxa_throw_bad_array_new_length and __cxa_throw_bad_array_new_length
> are generated with -fno-exceptions right now. The attached patch fixes
> that problem. Bootstrapped and regtested on x86_64-unknown-linux-gnu:
>
> 2013-10-07  Alexander Ivchenko  <alexander.ivche...@intel.com>
>
>         * gcc/cp/call.c (build_operator_new_call): Add flag_exceptions check.
>         * gcc/cp/decl.c (cp_finish_decl): Ditto.
>         * gcc/cp/init.c (build_new_1): Ditto.
>         (build_vec_init): Ditto.
>
>
>
> Is it ok?
>
> --Alexander

Attachment: fix_58525_02.patch
Description: Binary data

Reply via email to