This is the mail archive of the gcc@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]

Re: expand_omp_parallel typo?


Marcin Dalecki <martin@dalecki.de> writes:

| Looking at the function expand_omp_parallel in omp-low.c I have found
| the following line of code:
| 
|    bsi_insert_after (&si, t, TSI_SAME_STMT);
| 
| Shouldn't this bee
| 
|    bsi_insert_after (&si, t, BSI_SAME_STMT);
| 
| instead?

The TSI_* and BSI_* enumerators are supposed to have the same numerical
values.  However, either TSI_* or BSI_* should just go away.  From typing
perspective, as Marcin points out, the above is meaningless.
(Yes, I know, C does not care; but closely related languages do).

-- Gaby


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