At least you are using the same versions.
I tried the command ‘g++ -E test.cpp’ on my 6.30 SP3 system on a file that’s about 1000 lines long. It didn’t crash but then I’m not using 3.3.1 either.
Interestingly the only thing it does is simply echo out the file line by line to the screen. Is that what it’s supposed to do?
Maybe it crashes if your file is too large or contains a funny character. It may be core dumping under qcc as well but since qcc is running g++ in the background you may not be aware of it (you’d need to have dumper running and clear /var/dumps and then run the qcc command and see if a dump file gets created for g++).