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: unassig...@gcc.gnu.org ReportedBy: ivansavvat...@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.