[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-20 Thread pault at gcc dot gnu dot org
--- Comment #8 from pault at gcc dot gnu dot org 2009-01-20 21:57 --- Subject: Bug 38907 Author: pault Date: Tue Jan 20 21:56:49 2009 New Revision: 143530 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143530 Log: 2009-01-20 Paul Thomas PR fortran/38907 * res

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-20 Thread mikael at gcc dot gnu dot org
--- Comment #7 from mikael at gcc dot gnu dot org 2009-01-20 19:48 --- (In reply to comment #5) > > This removes the ICE: ... > > Do you understand why? > In the following: RDA(1,2) = + S_REAL_SUM_I(1.0,2.0) gfc_match_rvalue sets where for the rhs to the marked position belo

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-19 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2009-01-19 23:08 --- Created an attachment (id=17148) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17148&action=view) A patch for the PR This regtests and bootstraps on FC9/x86_i64. I'll do ChangeLogs and so on tomorrow. Thanks f

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-19 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2009-01-19 22:39 --- > This removes the ICE: ... Do you understand why? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38907

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-19 Thread mikael at gcc dot gnu dot org
--- Comment #4 from mikael at gcc dot gnu dot org 2009-01-19 22:33 --- This removes the ICE: Index: primary.c === --- primary.c (révision 143501) +++ primary.c (copie de travail) @@ -2370,6 +2370,8 @@ bool implicit_c

[Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression

2009-01-18 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-01-18 22:27 --- Confirm. Thanks for the report! Valgrind shows: ==20941== Conditional jump or move depends on uninitialised value(s) ==20941==at 0x46C602: gfc_resolve_expr (resolve.c:4353) ==20941==by 0x46BC22: gfc_resolve_