This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/48352] [4.7 Regression] segfault in fortran/frontend-passes.c
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Mar 2011 15:01:46 +0000
- Subject: [Bug fortran/48352] [4.7 Regression] segfault in fortran/frontend-passes.c
- Auto-submitted: auto-generated
- References: <bug-48352-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48352
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-03-31 15:01:31 UTC ---
I am a little suspicious of this:
static int count_arglist;
+/* Pointer to an array of gfc_expr ** we operate on, plus its size
+ and counter. */
+
+static gfc_expr ***expr_array;
+static int expr_size, expr_count;
It could be getting walked on or optimized away by the optimizers. Is there
another way to do this that is less indirect or relies less on static.
Just seems too tricky. I do not have time to go further with this.