[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2008-04-26 15:36 --- Fixed now on 4.3.1 Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-04-26 15:36 --- Subject: Bug 35994 Author: jvdelisle Date: Sat Apr 26 15:35:14 2008 New Revision: 134709 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134709 Log: 2008-04-26 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-26 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2008-04-26 15:34 --- Subject: Bug 35994 Author: jvdelisle Date: Sat Apr 26 15:33:27 2008 New Revision: 134708 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134708 Log: 2008-04-26 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2008-04-24 03:55 --- Subject: Bug 35994 Author: jvdelisle Date: Thu Apr 24 03:55:05 2008 New Revision: 134616 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134616 Log: 2008-04-23 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2008-04-24 03:49 --- Fixed on 4.4, needs to be backported to 4.3.1 -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-04-24 03:48 --- Subject: Bug 35994 Author: jvdelisle Date: Thu Apr 24 03:48:00 2008 New Revision: 134615 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134615 Log: 2008-04-23 Jerry DeLisle <[EMAIL PROTECTED]>

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2008-04-24 02:04 --- FX, I will test the patch tonight and see how it works and if good, submit to list for approval. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35994

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #5 from fxcoudert at gcc dot gnu dot org 2008-04-23 08:11 --- It's not about constantness, but about creating a temporary or not. The following testcase uses a constant mask and it still gives the right answer: REAL DDA(100) logical, parameter :: mask(1:100) = (

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-22 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2008-04-22 22:34 --- > Paul, can you maybe shed any light on this? > Not for some days, I'm afraid. I'm in China, up to my eyeballs with day-time work. It'll be high priority when I get back. Paul -- http://gcc.gnu.org/bugzilla/

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-22 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35994

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #3 from tkoenig at gcc dot gnu dot org 2008-04-22 18:57 --- This one is seriously strange. It depends on the mask argument being a compile-time constant. Apparently, simplification goes down a wrong path somewhere. Looking at the $ cat try.f90 program GA4076 ! fails

[Bug fortran/35994] [4.3/4.4 regression] MAXLOC and MINLOC off by one with mask

2008-04-22 Thread tkoenig at gcc dot gnu dot org
--- Comment #2 from tkoenig at gcc dot gnu dot org 2008-04-22 18:43 --- $ gfortran ga4076.f90 $ ./a.out 1 100 T 2 101 F 3 1 T 4 52 F $ gfortran-4.2 ga4076.f90 $ ./a.out 1 100 T