[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2024-03-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |4.9.0

[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2014-01-17 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

Volker Reichelt  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Volker Reichelt  ---
Fixed by the patch in comment #3.


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2014-01-08 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

--- Comment #6 from Alexander Ivchenko  ---
(In reply to Volker Reichelt from comment #5)
> Alexander, Jason, can this bug be closed as fixed?

Yes, it is fixed now in trunk.


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-12-30 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

Volker Reichelt  changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org,
   ||reichelt at gcc dot gnu.org

--- Comment #5 from Volker Reichelt  ---
Alexander, Jason, can this bug be closed as fixed?


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-11-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

--- Comment #4 from Jason Merrill  ---
Author: jason
Date: Sat Nov 23 16:28:42 2013
New Revision: 205310

URL: http://gcc.gnu.org/viewcvs?rev=205310&root=gcc&view=rev
Log:
PR c++/58525
* call.c (build_operator_new_call): Add flag_exceptions check.
* decl.c (compute_array_index_type): Ditto.
* init.c (build_new_1): Ditto.
(build_vec_init): Ditto.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/decl.c
trunk/gcc/cp/init.c


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-10-10 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

--- Comment #3 from Alexander Ivchenko  ---
thanks. I have sent it to gcc-paches:
http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00402.html


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-10-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

--- Comment #2 from Paolo Carlini  ---
Please always send patches to the mailing list: attached to bugs are easily
overlooked or forgotten.


[Bug c++/58525] __cxa_throw_bad_array_new_length is generated with -fno-exceptions

2013-09-25 Thread aivchenk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58525

--- Comment #1 from Alexander Ivchenko  ---
Created attachment 30891
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30891&action=edit
Proposed untested fix

Proposed untested fix is attached