[c++] Fix pr58525
Alexander Ivchenko
aivchenk@gmail.com
Fri Nov 8 09:25:00 GMT 2013
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.ivchenko@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 <aivchenk@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.ivchenko@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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_58525_02.patch
Type: application/octet-stream
Size: 1927 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131108/7dc8c024/attachment.obj>
More information about the Gcc-patches
mailing list