From: Sergei Epiphanov <serpiph@nikiet.ru> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: [sisyphus] Сборка FORTRAN-программ Date: Mon, 27 Jun 2011 11:18:05 +0400 Message-ID: <201106271118.05653.serpiph@nikiet.ru> (raw) В одной из программ нашёл интересный кусок, который перестал собираться. Решил проверить такой программой: test.for: PROGRAM test INTEGER(4) I DO 1 I=400 1 WRITE(*,*)I END PROGRAM Программа командой 'gfortran -ffixed-form test.for -o test' компилируется и запускается, но вывод непонятно какой: каждый раз выпадает случайное число (к примеру -1081112844, -1074562380 и другие подобные). Глюк компилятора или как? Система - Сизиф прошлопятничный. gcc4.5-fortran-4.5.1-alt8. Из gcc стоит только версия 4.5.1-alt8 (пересечений с другими версиями нет). При компиляции с опцией -ffree-form вместо -ffixed-form компилятор выдаёт ошибку "Syntax error". -- С уважением, Епифанов Сергей
next reply other threads:[~2011-06-27 7:18 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-27 7:18 Sergei Epiphanov [this message] 2011-06-27 7:38 ` vx8400 2011-06-27 7:53 ` vx8400 2011-06-27 8:19 ` Andrey Liakhovets 2011-06-27 9:14 ` Sergei Epiphanov 2011-06-27 9:11 ` Sergei Epiphanov 2011-06-27 9:27 ` Andrey Liakhovets 2011-06-27 10:00 ` Sergei Epiphanov 2011-06-27 10:11 ` Andrey Liakhovets 2011-06-27 8:49 ` vx8400 2011-06-27 9:30 ` Sergei Epiphanov 2011-06-27 10:05 ` Andrey Liakhovets 2011-06-27 9:49 ` Sergey Vlasov 2011-06-27 10:06 ` Sergei Epiphanov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201106271118.05653.serpiph@nikiet.ru \ --to=serpiph@nikiet.ru \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git