This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6522] abort should not be marked noreturn
- From: "madcoder at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Jun 2008 15:20:28 -0000
- Subject: [Bug libc/6522] abort should not be marked noreturn
- References: <20080515091307.6522.dak@gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From madcoder at debian dot org 2008-06-12 15:20 -------
This is wrong and will break any function that has a non void return type and
that specify that code is unreachable using abort(), without "returning"
anything after abort().
This is perfectly valid code, there is quite a lot of it out there, and such a
change would gratuitously break it.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6522
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.