Martin Michlmayr <[EMAIL PROTECTED]> writes:

> * Alex Romosan <[EMAIL PROTECTED]> [2007-04-19 17:52]:
>> compiling with -gstabs+ and -O2 still causes g++ to crash.
>
> Really?  With g++-4.1 4.1.1-21, or which version do you have?

yes. this is on amd64 with g++ 4.1.1-21. you need to add -gstabs+ to
get the compiler to crash (fro the latest vamos from cvs):

Car.cc: In constructor 'Vamos_Body::Car_Reader::Car_Reader(std::string, 
std::string, Vamos_Body::Car*)':
Car.cc:604: internal compiler error: output_operand: invalid expression as 
operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cccRMnPW.out file, please attach this to 
your bugreport.

remove -gstab+ or change -O2 to -O0 and the file compiles just fine.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to