[Bug fortran/23815] Add -byteswapio flag

2006-02-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #34 from tkoenig at gcc dot gnu dot org 2006-02-09 20:03 --- (In reply to comment #33) Hi Tobi, > I'm seeing the following failure on the trunk: > Running /home/pcl331/schluter/src/gcc/gcc/testsuite/gfortran.dg/dg.exp ... > FAIL: gfortran.dg/unf_io_convert_4.f90 -O0 exec

[Bug fortran/23815] Add -byteswapio flag

2006-02-09 Thread tobi at gcc dot gnu dot org
--- Comment #33 from tobi at gcc dot gnu dot org 2006-02-09 15:12 --- Thomas, I'm seeing the following failure on the trunk: Running /home/pcl331/schluter/src/gcc/gcc/testsuite/gfortran.dg/dg.exp ... FAIL: gfortran.dg/unf_io_convert_4.f90 -O0 execution test FAIL: gfortran.dg/unf_io_co

[Bug fortran/23815] Add -byteswapio flag

2006-02-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #32 from tkoenig at gcc dot gnu dot org 2006-02-08 20:15 --- Fixed on 4.1 as well. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/23815] Add -byteswapio flag

2006-02-08 Thread tkoenig at gcc dot gnu dot org
--- Comment #31 from tkoenig at gcc dot gnu dot org 2006-02-08 20:14 --- Subject: Bug 23815 Author: tkoenig Date: Wed Feb 8 20:14:00 2006 New Revision: 110764 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110764 Log: 2005-02-08 Thomas Koenig <[EMAIL PROTECTED]> PR

[Bug fortran/23815] Add -byteswapio flag

2006-02-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #30 from tkoenig at gcc dot gnu dot org 2006-02-06 20:12 --- Subject: Bug 23815 Author: tkoenig Date: Mon Feb 6 20:12:44 2006 New Revision: 110664 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110664 Log: 2005-02-06 Thomas Koenig <[EMAIL PROTECTED]> PR

[Bug fortran/23815] Add -byteswapio flag

2006-01-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #29 from tkoenig at gcc dot gnu dot org 2006-01-27 20:40 --- Updated patch, which also implements a compile-time option. Hopefully, this will be reviewed some day. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/23815] Add -byteswapio flag

2006-01-15 Thread tkoenig at gcc dot gnu dot org
--- Comment #28 from tkoenig at gcc dot gnu dot org 2006-01-15 21:07 --- Patch for environment variable in for review. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/23815] Add -byteswapio flag

2006-01-09 Thread tkoenig at gcc dot gnu dot org
--- Comment #27 from tkoenig at gcc dot gnu dot org 2006-01-09 22:53 --- Created an attachment (id=10602) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10602&action=view) proposed patch for environment variable This implements setting the default for byte-swapping via an environm

[Bug fortran/23815] Add -byteswapio flag

2005-12-13 Thread tkoenig at gcc dot gnu dot org
--- Comment #26 from tkoenig at gcc dot gnu dot org 2005-12-13 21:11 --- Subject: Bug 23815 Author: tkoenig Date: Tue Dec 13 21:11:23 2005 New Revision: 108483 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108483 Log: 2005-12-13 Thomas Koenig <[EMAIL PROTECTED]> PR

[Bug fortran/23815] Add -byteswapio flag

2005-12-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #25 from tkoenig at gcc dot gnu dot org 2005-12-10 20:12 --- The committed patch implements the basic functionality, via the CONVERT keyword for open. We still need different options to select this (via compile-time flags and environment variables), so I'm leaving this bug

[Bug fortran/23815] Add -byteswapio flag

2005-12-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #24 from tkoenig at gcc dot gnu dot org 2005-12-10 20:02 --- Subject: Bug 23815 Author: tkoenig Date: Sat Dec 10 20:01:56 2005 New Revision: 108358 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108358 Log: 2005-12-10 Thomas Koenig <[EMAIL PROTECTED]> PR

[Bug fortran/23815] Add -byteswapio flag

2005-12-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #23 from tkoenig at gcc dot gnu dot org 2005-12-10 13:09 --- Updated patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added URL

[Bug fortran/23815] Add -byteswapio flag

2005-12-06 Thread tkoenig at gcc dot gnu dot org
--- Comment #22 from tkoenig at gcc dot gnu dot org 2005-12-06 21:45 --- Added new patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added U

[Bug fortran/23815] Add -byteswapio flag

2005-11-27 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #21 from sgk at troutmask dot apl dot washington dot edu 2005-11-27 22:42 --- Subject: Re: Add -byteswapio flag On Sun, Nov 27, 2005 at 10:15:02PM -, tkoenig at gcc dot gnu dot org wrote: > > I have a patch (attached), but it causes quite a number of > regressions (so

[Bug fortran/23815] Add -byteswapio flag

2005-11-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #20 from tkoenig at gcc dot gnu dot org 2005-11-27 22:27 --- Removed patch keyword. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/23815] Add -byteswapio flag

2005-11-27 Thread tkoenig at gcc dot gnu dot org
--- Comment #19 from tkoenig at gcc dot gnu dot org 2005-11-27 22:14 --- Created an attachment (id=10350) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10350&action=view) broken patch The patches for this PR have been obsoleted of the introduction of the thread-safety patch. I h

[Bug fortran/23815] Add -byteswapio flag

2005-11-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #18 from tkoenig at gcc dot gnu dot org 2005-11-18 21:17 --- Updated patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added URL

[Bug fortran/23815] Add -byteswapio flag

2005-11-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #17 from tkoenig at gcc dot gnu dot org 2005-11-12 00:02 --- (In reply to comment #14) > Thomas, > > I'm not in favor of environmental variables, which I think would > also be Paul Brook's position. It's too easy to have the variables > set or unset at the wrong time. In

[Bug fortran/23815] Add -byteswapio flag

2005-11-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #16 from tkoenig at gcc dot gnu dot org 2005-11-11 23:53 --- Created an attachment (id=10224) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10224&action=view) New version of patch This patch should be fairly complete, without documentation. This only implements the co

[Bug fortran/23815] Add -byteswapio flag

2005-11-11 Thread rrr6399 at futuretek dot com
--- Comment #15 from rrr6399 at futuretek dot com 2005-11-11 13:26 --- I think the approach of having multiple ways of changing the behavior is a good one. Many Unix programs do this kind of thing to allow the user to choose the best way to accomplish the goal. I've found each approach u

[Bug fortran/23815] Add -byteswapio flag

2005-11-10 Thread kargl at gcc dot gnu dot org
--- Comment #14 from kargl at gcc dot gnu dot org 2005-11-11 04:52 --- Thomas, I'm not in favor of environmental variables, which I think would also be Paul Brook's position. It's too easy to have the variables set or unset at the wrong time. OTOH, you're working on a patch, so it's u

[Bug fortran/23815] Add -byteswapio flag

2005-11-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #13 from tkoenig at gcc dot gnu dot org 2005-11-10 22:53 --- Also, little_endian and big_endian have to be converted to native or swap, depending on the architecture. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23815

[Bug fortran/23815] Add -byteswapio flag

2005-11-10 Thread tkoenig at gcc dot gnu dot org
--- Comment #12 from tkoenig at gcc dot gnu dot org 2005-11-10 22:39 --- Created an attachment (id=10210) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10210&action=view) proposed patch, without docs (so far) Here's a partial solution, which implements the CONVERT keyword in the

[Bug fortran/23815] Add -byteswapio flag

2005-11-05 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2005-11-05 22:21 --- OK, for the interface... My suggestion would be to have three levels of supplying this value (ifort has five or six :-) First, an option to supply to the compiler. This could be -fconvert=big_endian -fconvert=li

[Bug fortran/23815] Add -byteswapio flag

2005-11-02 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2005-11-02 21:20 --- (In reply to comment #9) > I imagine code from g95 could be leveraged to support this feature couldn't > it? Rather not. The libraries have diverged pretty much so it is probably easier to write this from scratc

[Bug fortran/23815] Add -byteswapio flag

2005-11-02 Thread rrr6399 at futuretek dot com
--- Comment #9 from rrr6399 at futuretek dot com 2005-11-02 18:17 --- I imagine code from g95 could be leveraged to support this feature couldn't it? This is a really important feature, especially in corporate environments where there is usually mix of big-endian and little-endian machi

[Bug fortran/23815] Add -byteswapio flag

2005-11-02 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2005-11-02 17:16 --- All P1 enhancements not targeted towards 4.1, moving to P5. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/23815] Add -byteswapio flag

2005-10-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2005-10-11 19:37 --- (In reply to comment #6) > Many compilers, like the Intel and PGI ones for instance, simply have a > -byteswap flag that is set at compile time. ifort actually uses -convert big_endian or -convert little_endian to s

[Bug fortran/23815] Add -byteswapio flag

2005-10-11 Thread rrr6399 at futuretek dot com
--- Comment #6 from rrr6399 at futuretek dot com 2005-10-11 19:20 --- Many compilers, like the Intel and PGI ones for instance, simply have a -byteswap flag that is set at compile time. That way any unformatted data that is input or output is expected to be switched to Little or Big Endi

[Bug fortran/23815] Add -byteswapio flag

2005-10-11 Thread Tobias dot Schlueter at physik dot uni-muenchen dot de
--- Comment #5 from Tobias dot Schlueter at physik dot uni-muenchen dot de 2005-10-11 19:01 --- Subject: Re: Add -byteswapio flag tkoenig at gcc dot gnu dot org wrote: > --- Comment #4 from tkoenig at gcc dot gnu dot org 2005-10-11 18:40 > --- > I'm trying to work on this. >

[Bug fortran/23815] Add -byteswapio flag

2005-10-11 Thread tkoenig at gcc dot gnu dot org
--- Comment #4 from tkoenig at gcc dot gnu dot org 2005-10-11 18:40 --- I'm trying to work on this. I would prefer a syntax "open(...,convert="little_endian") or something like that. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added -

[Bug fortran/23815] Add -byteswapio flag

2005-10-11 Thread tobi at gcc dot gnu dot org
--- Comment #3 from tobi at gcc dot gnu dot org 2005-10-11 13:25 --- (In reply to comment #2) > In case anybody wants to work on this, I have an old unfinished patch lying > around that adds builtins and RTL codes for byteswap operation. This allows > to use platform specific tricks that

[Bug fortran/23815] Add -byteswapio flag

2005-09-12 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-09-12 19:22 --- In case anybody wants to work on this, I have an old unfinished patch lying around that adds builtins and RTL codes for byteswap operation. This allows to use platform specific tricks that almost any platform has.

[Bug fortran/23815] Add -byteswapio flag

2005-09-12 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12 14:29 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E