This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48352] [4.7 Regression] segfault in fortran/frontend-passes.c


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]