[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 Janne Blomqvist changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #9 from mrs at gcc dot gnu.org 2012-01-13 17:23:37 UTC --- The last fix looks perfect, thanks.

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #8 from Tobias Burnus 2012-01-13 15:41:19 UTC --- Author: burnus Date: Fri Jan 13 15:41:13 2012 New Revision: 183154 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183154 Log: 2012-01-13 Tobias Burnus PR fortran/51

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #7 from Janne Blomqvist 2012-01-13 11:44:05 UTC --- (In reply to comment #6) > (In reply to comment #5) > > Yes, and no. It is perhaps a better match for the current frontend logic of > > choosing a type equal to the pointer size, but

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #6 from Tobias Burnus 2012-01-13 10:34:01 UTC --- (In reply to comment #5) > Yes, and no. It is perhaps a better match for the current frontend logic of > choosing a type equal to the pointer size, but semantically ptrdiff_t is the >

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #5 from Janne Blomqvist 2012-01-13 10:19:02 UTC --- (In reply to comment #3) > (In reply to comment #0) > > /* The type used of array indices, amongst other things. */ > > typedef ssize_t index_type; > > I just saw that GCC 4.7 uses

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #2 from Tobias Burnus 2012-01-13 09:27:16 UTC --- (In reply to comment #0) > /* The type used of array indices, amongst other things. */ > typedef ssize_t index_type; I just saw that GCC 4.7 uses now: typedef ptrdiff_t index_typ

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 --- Comment #4 from Tobias Burnus 2012-01-13 09:28:51 UTC --- Sorry for the double commit - but I somehow midair collision didn't work as expected.

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 Tobias Burnus changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|FIXED

[Bug fortran/51842] fortran fails if ssize_t is 32-bit on 64-bit host

2012-01-13 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51842 Janne Blomqvist changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|