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] |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47238 Summary: Incorrect evaluation '=' in GNATPREP Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned@gcc.gnu.org ReportedBy: ivansavvateev@yandex.ru GNATPREP evaluates incorrectly an expression contains two integer symbols. For example, when I define: SYS_MODE_PCP := 1 SYS_MODE := SYS_MODE_PCP and try to preprocess: #IF SYS_MODE = SYS_MODE_PCP TCB : P_TCB; #END IF; I get after preprocessing: --! #IF SYS_MODE = SYS_MODE_PCP --! TCB : P_TCB; --! #END IF; although the condition is true.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |