This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47310] New: -mint8 causes avr-g++ to SIGSEGV
- From: "k0l0b0k.void at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Jan 2011 20:02:38 +0000
- Subject: [Bug c++/47310] New: -mint8 causes avr-g++ to SIGSEGV
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47310
Summary: -mint8 causes avr-g++ to SIGSEGV
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: k0l0b0k.void@gmail.com
For GCC 4.5.1 and 4.5.2 (installed from standard Arch Linux package), I found
simple bug - if you specify -mint8 option as compiler param, you'll get this:
<built-in>:0:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
steps to reproduce (Linux/bash):
1. cd /tmp
2. echo "int main() { return 0; }" > test.cpp
3. avr-gcc -mint8 test.cpp
4. got SIGSEGV
avr-g++ will fail too.