NetBSD-Bugs archive

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

Re: toolchain/44102: Internal compiler error on trivial source



I forgot to add gcc's version:

% gcc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads
--disable-symvers --build=x86_64-unknown-netbsd4.99.72
--host=i386--netbsdelf --target=i386--netbsdelf --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

On Wed, Nov 17, 2010 at 12:20 AM,  <lacombar%gmail.com@localhost> wrote:
>>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