[Bug fortran/49271] Compiler crashed and asked me to submit a report

2011-07-24 Thread coml4 at san dot rr.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49271

--- Comment #12 from Hugh  2011-07-24 22:08:42 UTC ---
I apologize for not getting back to you.  The recommendation was to change to a
newer version of the compiler which I did and the problem went away.

Hugh McCutchen



On Jul 24, 2011, at 12:04 PM, dfranke at gcc dot gnu.org wrote:

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

Daniel Franke  changed:

  What|Removed |Added

Status|UNCONFIRMED |WAITING
  Last reconfirmed||2011.07.24 19:03:42
CC||dfranke at gcc dot gnu.org
Ever Confirmed|0   |1

--- Comment #11 from Daniel Franke  2011-07-24
19:03:42 UTC ---
Any news here? Set to waiting, to be closed soon if no additional info is
provided.


[Bug fortran/49271] Compiler crashed and asked me to submit a report

2011-06-03 Thread coml4 at san dot rr.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49271

--- Comment #8 from Hugh  2011-06-04 01:08:47 UTC ---
I will be happy to update the compiler.  I very recently downloaded the latest
one that was labeled "Stable Release" for Mac OS X.  Which version do you
recommend?

Thanks,

Hugh McCutchen, Jr.



On Jun 3, 2011, at 2:59 PM, sgk at troutmask dot apl.washington.edu wrote:

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

--- Comment #7 from Steve Kargl 
2011-06-03 21:59:43 UTC ---
On Fri, Jun 03, 2011 at 09:50:46PM +0000, coml4 at san dot rr.com wrote:
> 
> gcc version 4.5.0 20090604 (experimental) [trunk revision 148180] (GCC) 
> 

You may be hitting an old bug.  20090604 occurred almost
2 years ago.  Can you update your compiler to something
a litte more recent?


[Bug fortran/49271] Compiler crashed and asked me to submit a report

2011-06-03 Thread coml4 at san dot rr.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49271

--- Comment #6 from Hugh  2011-06-03 21:50:43 UTC ---
oz-2:gert_library hugh$ gfortran -v
Using built-in specs.
Target: i386-apple-darwin8.10.1
Configured with: /tmp/gfortran-20090604/ibin/../gcc/configure
--prefix=/usr/local/gfortran --enable-languages=c,fortran
--with-gmp=/tmp/gfortran-20090604/gfortran_libs --enable-bootstrap
Thread model: posix
gcc version 4.5.0 20090604 (experimental) [trunk revision 148180] (GCC) 



On Jun 3, 2011, at 2:18 PM, langton at gcc dot gnu.org wrote:

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

--- Comment #5 from Asher Langton  2011-06-03
21:18:20 UTC ---
(In reply to comment #3)
> I apologize for omitting the OS.
> 
> 27" iMac with i7 processor running OS X 10.6.7.  I know the code is bad.  It 
> is
> just that the compiler crashed and requested a bug report.

I can't reproduce the crash with the current development version built on OS X
10.6.7. Could you post the output you get from running 'gfortran -v'?


[Bug fortran/49271] Compiler crashed and asked me to submit a report

2011-06-03 Thread coml4 at san dot rr.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49271

--- Comment #3 from Hugh  2011-06-03 17:33:03 UTC ---
I apologize for omitting the OS.

27" iMac with i7 processor running OS X 10.6.7.  I know the code is bad.  It is
just that the compiler crashed and requested a bug report.

Hugh





On Jun 3, 2011, at 9:29 AM, kargl at gcc dot gnu.org wrote:

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

kargl at gcc dot gnu.org changed:

  What|Removed |Added

CC||kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org 2011-06-03 16:29:12 UTC ---
What operating system?  

I get 

troutmask:sgk[272] gfc43 -c testcfopen.f90
testcfopen.f90:17.33:

PRINT '(I10)', file_struct%handle  ! I do not know what is in the structure or 
1
Error: 'handle' at (1) is not a member of the 'c_ptr' structure

with 4.3.6, 4.4.7, 4.5.3, 4.6.1, and 4.7.0 on FreeBSD.  If I change
handle to a component within FreeBSD's FILE such as _blksize, I get

testcfopen.f90:19.27:

PRINT '(I10)', file_struct%_blksize
  1
Error: Expected structure component name at (1)


[Bug fortran/49271] New: Compiler crashed and asked me to submit a report

2011-06-02 Thread coml4 at san dot rr.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49271

   Summary: Compiler crashed and asked me to submit a report
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: co...@san.rr.com


Created attachment 24419
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24419
f90 source code that tries to use fopen and get the handle

I am a newbie to trying to access C structures from Fortran and tried using a%b
to get the unit number from FILE structure.  I am sure the problem is mine and
not the compiler but the output was:


oz-2:gert_library hugh$ gfortran testcfopen.f90
f951: internal compiler error: in gfc_find_typebound_proc, at
fortran/symbol.c:4446
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.


The code (probably terrible) is attached.

Hugh McCutchen