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 libgomp/43893] Error: Invalid controlling predicate with -fopenmp



------- Comment #3 from e0600347 at student dot tuwien dot ac dot at  2010-04-26 15:22 -------
Exact error message with testcase:
testcase.cpp: In member function ?Matrix<ROWS, otherCOLS, T> Matrix<ROWS, COLS,
T>::operator*(const Matrix<COLS, otherCOLS, T>&) const [with unsigned int
otherCOLS = 1u, unsigned int ROWS = 1u, unsigned int COLS = 1u, T = float]?:
testcase.cpp:72:   instantiated from here
testcase.cpp:52: error: invalid controlling predicate

If the Matrix declaration in main() (Matrix<1, 1, float>) is replaced by 2x2
matrices (Matrix<2, 2, float>), then no error. Neither without -fopenmp.


-- 

e0600347 at student dot tuwien dot ac dot at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|                            |x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43893


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