Bug 24565 - ICE with -mint8
Summary: ICE with -mint8
Status: CLOSED DUPLICATE of bug 24830
Alias: None
Product: Sisyphus
Classification: Development
Component: avr-gcc (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Grigory Milev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 08:09 MSK by Ivan A. Melnikov
Modified: 2011-01-18 13:27 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan A. Melnikov 2010-11-15 08:09:21 MSK
Попытался воспроизвести 22295 на новом avr-gcc, получилось ещё веселее:
$ cat a.cpp
#include <avr/io.h>

int main() {
    uint8_t k=0,t=5;
    k=k+t;
}

$ avr-gcc -Wall -Werror -g -Os -S -mint8 -mmcu=atmega8535 a.cpp
<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.

То же самое будет если убрать все остальные аргументы кроме -mint8 и имени файла.

Система -- Сизиф от 14.11.2010, x86_64, avr-gcc-4.5.1-alt1
Comment 1 Grigory Milev 2011-01-18 13:25:32 MSK
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46261
avr-libc doesn't support that option (-mint8)
https://bugzilla.redhat.com/show_bug.cgi?id=626889
This switch is no longer maintained, see the link of my previous post.

Предлагаю не использовать данную опцию, т.к. ее поддержка для платформы AVR прикрыта.
Comment 2 Grigory Milev 2011-01-18 13:27:04 MSK

*** This bug has been marked as a duplicate of bug 24830 ***