[Bug fortran/13213] [g77] Hex constant problem when compiling with -fugly-logint and -ftypeless-boz
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 27 17:37:00 GMT 2003
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-27 17:37 -------
On the mainline (20031029 on powerpc-apple-darwin7.0):
[zhivago2:~/src/gccPRs] pinskia% ~/fsf-clean-nocheck/bin/g77 -fugly-logint -ftypeless-boz
pr13213.f
[zhivago2:~/src/gccPRs] pinskia% ./a.out
0
0
[zhivago2:~/src/gccPRs] pinskia% ~/fsf-clean-nocheck/bin/g77 -fugly-logint pr13213.f
[zhivago2:~/src/gccPRs] pinskia% ./a.out
0
0
[zhivago2:~/src/gccPRs] pinskia% ~/fsf-clean-nocheck/bin/g77 -ftypeless-boz pr13213.f
pr13213.f: In program `MAIN__':
pr13213.f:4:
RES1 = GPA * X'6B5'
1 2
Arithmetic operator at (1) must operate on two subexpressions of arithmetic type, but the
subexpression at (2) is not of arithmetic type
[zhivago2:~/src/gccPRs] pinskia% ~/fsf-clean-nocheck/bin/g77 pr13213.f
[zhivago2:~/src/gccPRs] pinskia% ./a.out
0
0
What version are you using or has something changed since then?
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Summary|Hex constant problem when |[g77] Hex constant problem
|compiling with -fugly-logint|when compiling with -fugly-
|and -ftypeless-boz |logint and -ftypeless-boz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13213
More information about the Gcc-bugs
mailing list