Bug 1088483 - gcc-fortran: Error: Syntax error in array constructor at (1)
Summary: gcc-fortran: Error: Syntax error in array constructor at (1)
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-16 17:38 UTC by Richard Shaw
Modified: 2014-04-28 14:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-28 14:17:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard Shaw 2014-04-16 17:38:58 UTC
Description of problem:
Code known to work with gcc 4.8.2 now fails in 4.9.0

WSJT-X 4031 fails to compile jt9.f90:
gfortran -O2 -fbounds-check -Wall -Wno-conversion -fno-second-underscore -fPIE -DUNIX -c jt9.f90
jt9.f90:22.49:

call getopt('s:e:a:r:p:d:f:',(/type(option) ::/),c,optarg,arglen,stat,offs
                                                 1
Error: Syntax error in array constructor at (1)


Additional info:
https://www.mail-archive.com/wsjt-devel@lists.berlios.de/msg01174.html

Comment 1 Jakub Jelinek 2014-04-28 07:05:38 UTC
Please attach some (ideally short) testcase.

Comment 2 Richard Shaw 2014-04-28 13:03:22 UTC
I'm not enough of a programmer to do that but I can supply a SRPM of the the problem package.

Comment 3 Richard Shaw 2014-04-28 14:17:57 UTC
Ok, I've played around with it for a while and can't reproduce the error, closing.


Note You need to log in before you can comment on or make changes to this bug.