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]

g77 bug 3.1 release


Dear gcc mainteners. I have an executable which does not behave properly.
I have been able to reduce the source to few lines.

Relevant informations follow (hoping that the problem is not related
to my inexperience in fortran programming)

a) output from gcc -v:
Reading specs from
/home/gcc31/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/home/carlo/gcc31/
--program-suffix=-3.1 --enable-languages=f77,c,c++,objc
Thread model: single
gcc version 3.1

b) problem:
the attached file
                                     t.f
when compiled with the options
                                     -O2 -fno-automatic
produces an executable which gives the wrong output

c) additional (may be useful) informations
   c1) the attached file
                                         t1.f
       is the same as t.f plus an additional subroutine which is not
       called. It still produces wrong output but different from case b)

   c2) both t.f and t1.f when compiled with the options:
                                       -O1 -fno-automatic
                                       -O2
       give correct output

   c3) previous gcc releases don't show the same "problem"

Mauro Moretti, Dipartimento di Fisica Universita' di Ferrara,
Via Paradiso 12, 44100 Ferrara, Italy

tel 0532 781819
fax 0532 781810

Attachment: t.f
Description: Text document

Attachment: tt.f
Description: Text document


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