This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30594] Calling inquire (iolength) crashes with -malign-double
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2007 16:11:16 -0000
- Subject: [Bug fortran/30594] Calling inquire (iolength) crashes with -malign-double
- References: <bug-30594-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-01-26 16:11 -------
I understand Erik's concern. -malign-double makes a significant performance
difference on some of these machines and is commonly used.
The surest way to handle this is to put compute intensive code in separate
files and create libraries that have no I/O involved. Then the driver routines
that have the I/O can be compiled separately without any concern and link the
compute routines in.
I am interested to have a look at the patch Erik is proposing to see how
intrusive it is. It may be suitable for '4.3 only' as an enhancement. I think
we have bumped the library version already on 4.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30594