public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/55729] New: Problem with sum intrinsic
@ 2012-12-18 12:36 pmarguinaud at hotmail dot com
  2012-12-18 16:13 ` [Bug fortran/55729] " burnus at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pmarguinaud at hotmail dot com @ 2012-12-18 12:36 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55729
           Summary: Problem with sum intrinsic
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pmarguinaud@hotmail.com


Created attachment 28994
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28994
source code

$ /opt/softs/gnu/4.7.0/bin/gfortran -c init_isba_sbl.F90 
init_isba_sbl.F90: In function ‘MAIN__’:
init_isba_sbl.F90:1:0: error: mismatching comparison operand types
real(kind=4)
integer(kind=8)
if (D.1941 > 0) goto <D.1942>; else goto <D.1943>;

init_isba_sbl.F90:1: confused by earlier errors, bailing out


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/55729] Problem with sum intrinsic
  2012-12-18 12:36 [Bug fortran/55729] New: Problem with sum intrinsic pmarguinaud at hotmail dot com
@ 2012-12-18 16:13 ` burnus at gcc dot gnu.org
  2012-12-18 16:25 ` pmarguinaud at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-12-18 16:13 UTC (permalink / raw)
  To: gcc-bugs


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-12-18 16:12:59 UTC ---
Works for me with GCC 4.1 to 4.8: It compiles without any warning/error on
x86-64-linux.

What exactly is your GCC 4.7 version and which platform are you using?
("gfortran -v" shows this data. For instance, I used "4.7.2 20120920
[gcc-4_7-branch revision 191568]" on "x86_64-gnu-linux".)


GCC 4.7.0 can is either the 4.7.0 version, released on 2012-03-22, or to any
developer version between 2011-03-14 and that date.


You could additionally re-check whether a newer GCC 4.7 or current GCC 4.8
fixes the issue.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/55729] Problem with sum intrinsic
  2012-12-18 12:36 [Bug fortran/55729] New: Problem with sum intrinsic pmarguinaud at hotmail dot com
  2012-12-18 16:13 ` [Bug fortran/55729] " burnus at gcc dot gnu.org
@ 2012-12-18 16:25 ` pmarguinaud at hotmail dot com
  2012-12-18 16:40 ` dominiq at lps dot ens.fr
  2012-12-20  8:45 ` pmarguinaud at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pmarguinaud at hotmail dot com @ 2012-12-18 16:25 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #2 from pmarguinaud at hotmail dot com 2012-12-18 16:25:01 UTC ---
Hi Tobias,

I use gfortran 4.7.0. It was build and installed by our admin, as you can see
below : 

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/home_nfs/softs/gnu/4.7.0/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure CC=/usr/bin/gcc --prefix=/home_nfs/softs/gnu/4.7.0
Thread model: posix
gcc version 4.7.0 (GCC) 

Our cluster is a SandyBridge with a RedHat 6.0; uname -a says :

Linux login0 2.6.32-220.23.1.bl6.Bull.28.8.x86_64 #1 SMP Thu Jul 5 17:34:18
CEST 2012 x86_64 x86_64 x86_64 GNU/Linux

I will try newer versions of gcc, as you suggest.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/55729] Problem with sum intrinsic
  2012-12-18 12:36 [Bug fortran/55729] New: Problem with sum intrinsic pmarguinaud at hotmail dot com
  2012-12-18 16:13 ` [Bug fortran/55729] " burnus at gcc dot gnu.org
  2012-12-18 16:25 ` pmarguinaud at hotmail dot com
@ 2012-12-18 16:40 ` dominiq at lps dot ens.fr
  2012-12-20  8:45 ` pmarguinaud at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-12-18 16:40 UTC (permalink / raw)
  To: gcc-bugs


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-18 16:39:51 UTC ---
This appeared between revisions 180652, 2011-10-29 (OK), and 180989, 2011-11-04
(ICE), and has been fixed between revisions 188914, 2012-06-24 (still ICE), and
189336, 2012-07-06 (OK again). 

It looks like a duplicate of pr53732, fixed on trunk at revision 189292 and on
4.7 at revision 189341.

*** This bug has been marked as a duplicate of bug 53732 ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug fortran/55729] Problem with sum intrinsic
  2012-12-18 12:36 [Bug fortran/55729] New: Problem with sum intrinsic pmarguinaud at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-12-18 16:40 ` dominiq at lps dot ens.fr
@ 2012-12-20  8:45 ` pmarguinaud at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pmarguinaud at hotmail dot com @ 2012-12-20  8:45 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from pmarguinaud at hotmail dot com 2012-12-20 08:45:09 UTC ---
I tried 4.7.2 as suggested and it works.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-20  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-18 12:36 [Bug fortran/55729] New: Problem with sum intrinsic pmarguinaud at hotmail dot com
2012-12-18 16:13 ` [Bug fortran/55729] " burnus at gcc dot gnu.org
2012-12-18 16:25 ` pmarguinaud at hotmail dot com
2012-12-18 16:40 ` dominiq at lps dot ens.fr
2012-12-20  8:45 ` pmarguinaud at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).