Bug 32517 - attribute "naked" on target AVR generate internal compiler error
Summary: attribute "naked" on target AVR generate internal compiler error
Status: RESOLVED DUPLICATE of bug 31331
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 19:13 UTC by Simone Arrigo
Modified: 2007-06-26 19:32 UTC (History)
4 users (show)

See Also:
Host: x86_64
Target: avr
Build: x86_64
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Arrigo 2007-06-26 19:13:51 UTC
GCC version:
GNU C version 4.2.0 (avr) compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

System type:
Linux xxxxxx 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux

Options given when GCC was configured/built:
Target: avr
Configured with: ../configure --prefix=/usr/local/avr-gcc-4.2.0 --target=avr --enable-languages=c,c++ --disable-nls --with-dwarf2 --disable-libssp

command line executed:
/usr/local/avr-gcc-4.2.0/bin/avr-gcc -c -save-temps nake_attribute.c

output:
nake_attribute.c:1: internal compiler error: in start_function, at c-decl.c:6178

prepocessed file:
# 1 "nake_attribute.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "nake_attribute.c"
void __attribute__((naked)) test_function(void) {
}
Comment 1 Andrew Pinski 2007-06-26 19:32:37 UTC

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