NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/44102: Internal compiler error on trivial source



>Number:         44102
>Category:       toolchain
>Synopsis:       Internal compiler error on trivial source
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 17 05:20:01 +0000 2010
>Originator:     Arnaud Lacombe
>Release:        5.x
>Organization:
n/a
>Environment:
NetBSD nybbas 5.99.25 NetBSD 5.99.25 (GENERIC)
userland is 5.x
>Description:
gcc crashes at -O2 on trivial sources:


>How-To-Repeat:
% cat test.c 
static inline void __attribute__((noreturn))
__bug()
{
}

int main()
{
        __bug();
}

% gcc -O2 -Wall -S -o - test.c
        .file   "test.c"
test.c: In function 'main':
test.c:7: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
>Fix:
unknown.



Home | Main Index | Thread Index | Old Index