This is the mail archive of the gcc-patches@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]

Re: [gfortran, PR20851] Disallow dummy arguments in init exprs in elemental procedures



Hi Paul,


Paul Thomas wrote:
Fixing this issue turned out to be very simple, because valid expressions are folded by the simplifiers, i.e. the dummy argument doesn't appear in their simplified versions.
Hah! A good one...

Of course this only occured to me after working out a patch that looked at all sub-expressions --- somehow it never triggered: the sub-expressions I was looking for had disappeared!


Built and tested on i686-darwin. Ok?
OK

Thanks, this is now r129069.


Cheers,
- Tobi


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