Bug#486347: gcc-4.3: Superfluous warning when -std=c99/gnu99 and noreturn on main()

2008-06-15 Thread Peter Lebbing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: gcc-4.3 Severity: normal This bug report is actually a duplicate of bug #141015, which was filed against gcc-3.0. The bug was never fixed because it was deemed unimportant: when the bug reporter used a different combination of settings, he

Bug#486347: gcc-4.3: Superfluous warning when -std=c99/gnu99 and noreturn on main()

2008-06-15 Thread Bastian Blank
On Sun, Jun 15, 2008 at 04:13:26PM +0200, Peter Lebbing wrote: This bug report is actually a duplicate of bug #141015, which was filed against gcc-3.0. The bug was never fixed because it was deemed unimportant: when the bug reporter used a different combination of settings, he no longer got

Bug#486347: gcc-4.3: Superfluous warning when -std=c99/gnu99 and noreturn on main()

2008-06-15 Thread Peter Lebbing
Bastian Blank wrote: Well, main returns always in a hosted environment. The bug reporter of bug #141015 used exit() on all occasions, I thought that didn't count as a return? (just curiosity) I think the noreturn attribute is quite overkill for normal computers though, this in contrast to