[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2011-03-19 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189

Jerry DeLisle jvdelisle at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-03-20 
04:32:44 UTC ---
Closing


[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2011-03-07 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189

--- Comment #7 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-03-07 
10:03:57 UTC ---
 I believe the fix to PR47850 has resolved this issue. I suggest we close this 
 one.

I agree unless someone comes with an explicit example.


[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2011-03-06 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189

--- Comment #6 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-03-06 
21:17:26 UTC ---
I believe the fix to PR47850 has resolved this issue. I suggest we close this
one.


[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2011-02-06 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189

Jerry DeLisle jvdelisle at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jvdelisle at gcc dot
   ||gnu.org
 AssignedTo|unassigned at gcc dot   |jvdelisle at gcc dot
   |gnu.org |gnu.org

--- Comment #5 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-02-07 
02:57:42 UTC ---
Might as well take this again in light of 47267


[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2010-01-23 Thread jvdelisle at gcc dot gnu dot org


--- Comment #4 from jvdelisle at gcc dot gnu dot org  2010-01-23 14:09 
---
Time constraints, un assigning.


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|jvdelisle at gcc dot gnu dot|unassigned at gcc dot gnu
   |org |dot org
 Status|ASSIGNED|NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189



[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2009-12-04 Thread dfranke at gcc dot gnu dot org


--- Comment #2 from dfranke at gcc dot gnu dot org  2009-12-04 19:52 ---
Jerry, this might be involved in PR41165 as well?!


-- 

dfranke at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||dfranke at gcc dot gnu dot
   ||org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189



[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2009-12-04 Thread jvdelisle at gcc dot gnu dot org


--- Comment #3 from jvdelisle at gcc dot gnu dot org  2009-12-05 04:17 
---
Studying this with a little instrumentation, I see that gfc_expand_constructor
is called only once with some of the test cases for pr20923.  This is good. 
Also, in the test case for pr41807, the work function constant_element does
nothing but check that the element is constant.  In the patch for pr20923 I
will submit shortly, I have renamed it to is_constant_element which is clearer.

Moving on, the is_constant_element work function and the other constructor work
functions are called by expand_constructor.  expand_constructor calls
gfc_simplify_expr.  It is possible that gfc_simplify_expr is called more than
once on a given constructor expr as the various work functions are exercised. I
have not confirmed this.  I wonder if it would make sense to add a flag to
gfc_expr to mark it as having been simplified already and do an early exit from
it for efficiency.

I will do some testing to see if it is indeed being called more than once and
report back.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189



[Bug fortran/42189] gfc_is_constant_expr has unacceptable side effects

2009-12-02 Thread jvdelisle at gcc dot gnu dot org


--- Comment #1 from jvdelisle at gcc dot gnu dot org  2009-12-03 04:07 
---
I plan to keep poking at this and other general constructor issues.


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-12-03 04:07:52
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42189