This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/14634] [3.4/3.5 Regression] Unterminated literals not diagnosed
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 17:13:54 -0000
- Subject: [Bug preprocessor/14634] [3.4/3.5 Regression] Unterminated literals not diagnosed
- References: <20040318163411.14634.jsm28@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-03-18 17:13 -------
Subject: Re: [3.4/3.5 Regression] Unterminated
literals not diagnosed
On Thu, 18 Mar 2004, pinskia at gcc dot gnu dot org wrote:
> I thought that this was undefined behavior and that is why 12743 was closed?
That it's undefined is why I described it as a quality of implementation
regression rather than a conformance regression. Quality of
implementation dictates that we should not lose the feature of diagnosing
unportable code even though a diagnostic is not required. (I prefer a
mandatory error for all these usages - since no good justification was
ever given for these extensions - but a pedwarn if pedantic would suffice
to give portability warnings to those wanting them.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634