This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31971] Simple Fortran code fails with ICE



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-05-22 12:36 -------
(In reply to comment #2)
> The OS is Fedora 6.

No ICE for me on i686 with Fedora Core 6. I suspect this will be hard to
reproduce. Could you provide us with a backtrace, by doing the following:

  1. run gfortran with -v: gfortran-43 -v -save-temps -c test.for
  2. in the output generated, look at the line right after the version line
(ie, the line after "gcc version 4.3.0 20070517 (experimental)"). This is a
long line, that runs an executable called f951 and located in
${installdir}/libexec/gcc/i686-pc-linux-gnu/4.3.0
  3. Run this executable, with all the arguments, prefixed with "gdb -args".
That will give something like:

gdb -args
/tmpdir/opt/gfortran/gfortran-20070522/bin/../libexec/gcc/i386-pc-linux-gnu/4.3.0/f951
a.for -ffixed-form -quiet -dumpbase a.for -mtune=i386 -auxbase a -version
-fintrinsic-modules-path
/tmpdir/opt/gfortran/gfortran-20070522/bin/../lib/gcc/i386-pc-linux-gnu/4.3.0/finclude
-o /tmp/ccUoun2p.s

  4. When the "illegal instruction" error happens in gdb, type (at the gdb
prompt) "where". Post the output of that command here.

Thanks for your help!


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]