This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/43893] Error: Invalid controlling predicate with -fopenmp
- From: "e0600347 at student dot tuwien dot ac dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2010 15:22:20 -0000
- Subject: [Bug libgomp/43893] Error: Invalid controlling predicate with -fopenmp
- References: <bug-43893-19088@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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