GCC -pipe Will Cause Errors

58 views Asked by At

The gcc -pipe switch can speed up compilation. However, in gcc 13.2.0, that causes a problem. If I use -pipe to compile some files, especially slightly large files(sometimes even hello,world can cause problems), then gcc will give me several errors like: [Standard input] Error: junk at end of line, first unrecognized character is '.' To clarify, I provide a sample on GitHub. Those Errors often occurs when Building with wxWidgets, morw info can be found There.

In gcc 13.1.0, -pipe doesn't cause those Errors. It'll be all right if I disable -pipe switch. I think that might be a bug in gcc 13.2.0, any ideas?

0

There are 0 answers