[Bug preprocessor/63413] New: cpp trying to expand "vector" word in commented line in fortran file on power8
valeryweber at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 30 06:52:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63413
Bug ID: 63413
Summary: cpp trying to expand "vector" word in commented line
in fortran file on power8
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
Assignee: unassigned at gcc dot gnu.org
Reporter: valeryweber at hotmail dot com
Hi All
The following code produces a wrong error while cpp (4.9.1 power8 ppc64le).
This gets cpp correctly on different archs.
v
cat tmp.F90
program test
! vector
end program test
cpp --version
cpp (Ubuntu 4.9.1-15ubuntu1) 4.9.1
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cpp -traditional -P tmp.F90
tmp.F90:2:0: error: detected recursion whilst expanding macro "vector"
! vector
^
program test
! vector
end program test
More information about the Gcc-bugs
mailing list