This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26801] -fbounds-check generates segfault
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2006 20:21:55 -0000
- Subject: [Bug fortran/26801] -fbounds-check generates segfault
- References: <bug-26801-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-06-07 20:21 -------
The patch I proposed is wrong. We need to call gfc_evaluate_now. The question
is to know why, in this precise case, the block of code we're building
(se->pre) seems to be dropped later on (both the call that sets the temporary
variable and the checks and calls to _gfortran_runtime_error).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26801