This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13213] [g77] Hex constant problem when compiling with -fugly-logint and -ftypeless-boz
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2003 17:37:29 -0000
- Subject: [Bug fortran/13213] [g77] Hex constant problem when compiling with -fugly-logint and -ftypeless-boz
- References: <20031127172505.13213.castro@cae.ca>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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