This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/13213] [g77] Hex constant problem when compiling with -fugly-logint and -ftypeless-boz


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]