[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-07-04 07:25 --- Subject: Bug 31198 Author: fxcoudert Date: Wed Jul 4 07:25:39 2007 New Revision: 126307 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126307 Log: PR fortran/31198 * trans-intrinsic.c (trans-intrinsic.c): Handle optional arguments correctly for MIN and MAX intrinsics. * gfortran.dg/min_max_optional_1.f90: New test. * gfortran.dg/min_max_optional_2.f90: New test. * gfortran.dg/min_max_optional_3.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/min_max_optional_1.f90 trunk/gcc/testsuite/gfortran.dg/min_max_optional_2.f90 trunk/gcc/testsuite/gfortran.dg/min_max_optional_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2007-07-04 07:27 --- Fixed on mainline. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail||4.2.0 4.1.3 Known to work||4.3.0 Resolution||FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #5 from jv244 at cam dot ac dot uk 2007-07-03 18:26 --- patch ping ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #6 from fxcoudert at gcc dot gnu dot org 2007-07-03 18:30 --- (In reply to comment #5) patch ping ? I was initially waiting for Lee's patch to be committed, if I have no news from him I'll modify the patch and submit it again. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-05-28 20:54 --- Created an attachment (id=13624) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13624action=view) Patch for this issue This patch builds on top of Lee Millward's patch to trans-intrinsic: http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01827.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #2 from fxcoudert at gcc dot gnu dot org 2007-05-21 15:25 --- Scanning the F2003 standard, MIN/MAX are the only intrinsics with a variable number of arguments. They probably need special handling. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2007-03-16 13:42:06 |2007-05-21 15:25:43 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198
[Bug fortran/31198] wrong code: Max() with optional arguments
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-05-21 17:01 --- I've asked in comp.lang.fortran: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/5804a24398086e50/fd2b07668628a90d -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31198