|
From: | Dmitry Gutov |
Subject: | bug#40671: [DOC] modify literal objects |
Date: | Sun, 26 Apr 2020 21:32:45 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 26.04.2020 21:14, Eli Zaretskii wrote:
Cc: ke.vigouroux@laposte.net, eggert@cs.ucla.edu, 40671@debbugs.gnu.org, michael_heerdegen@web.de, mattiase@acm.org, rms@gnu.org From: Dmitry Gutov <dgutov@yandex.ru> Date: Sun, 26 Apr 2020 20:39:38 +0300 int main (void) { return ((int(*) (int))"abc")(1); } It will blow up at runtime, of course.But the previous program will not necessarily blow up at runtime.
"not necessarily" is a damnably low qualifier.My point is, that program is using the same instrument as this one, which *will* blow up at runtime. And the instrument is "making the compiler shut up".
[Prev in Thread] | Current Thread | [Next in Thread] |