I have an issue with icc 10.0.026 on linux SLES10-sp1 , where the -opt-malloc-options is overriden by the "-o " output file option and vice versa. For example when compiling a single source file with:
icc -c -o matrix.o -fast -unroll4 -Ob0 -prefetch -opt-malloc-options=3 -opt-streaming-stores always -vec-guard-write -parallel -par-runtime-control matrix.c
icc: command line warning #10122: overriding '-opt-malloc-options=3' with '-omatrix.o'
Then I tried changing the order of "-o matrix.o" and "-opt-malloc-options=", i.e. having "-opt-malloc-options" last on the command line. Now -omatrix.o is being overriden and the object file created is named "pt-malloc-options=3"
Is -opt-malloc-options an actual optimization? If yes, why is it being confused with the -o output option? Can I find a patch / fix for this?
I also tried compiling and linking all sources on the same command line, the results are identical.
thanks for your time,