public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/14634] Unterminated literals not diagnosed
       [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
@ 2006-09-13  1:04 ` jsm28 at gcc dot gnu dot org
  2006-09-13  2:27 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-09-13  1:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2006-09-13 01:04 -------
Subject: Bug 14634

Author: jsm28
Date: Wed Sep 13 01:04:18 2006
New Revision: 116915

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116915
Log:
libcpp:
        PR c/28768
        PR preprocessor/14634
        * lex.c (lex_string): Pedwarn for unterminated literals.

libgomp:
        * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument
        to AC_DEFINE.
        * configure: Regenerate.

gcc/testsuite:
        * gcc.dg/cpp/include2.c, gcc.dg/cpp/macspace1.c,
        gcc.dg/cpp/macspace2.c, gcc.dg/cpp/multiline.c,
        gcc.dg/cpp/trad/literals-2.c: Update expected diagnostics.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/include2.c
    trunk/gcc/testsuite/gcc.dg/cpp/macspace1.c
    trunk/gcc/testsuite/gcc.dg/cpp/macspace2.c
    trunk/gcc/testsuite/gcc.dg/cpp/multiline.c
    trunk/gcc/testsuite/gcc.dg/cpp/trad/literals-2.c
    trunk/libcpp/ChangeLog
    trunk/libcpp/lex.c
    trunk/libgomp/ChangeLog
    trunk/libgomp/configure
    trunk/libgomp/configure.ac


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug preprocessor/14634] Unterminated literals not diagnosed
       [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
  2006-09-13  1:04 ` [Bug preprocessor/14634] Unterminated literals not diagnosed jsm28 at gcc dot gnu dot org
@ 2006-09-13  2:27 ` jsm28 at gcc dot gnu dot org
  2006-10-24 20:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-09-13  2:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jsm28 at gcc dot gnu dot org  2006-09-13 02:27 -------
Fixed in 4.2.0 by making this a mandatory pedwarn.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug preprocessor/14634] Unterminated literals not diagnosed
       [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
  2006-09-13  1:04 ` [Bug preprocessor/14634] Unterminated literals not diagnosed jsm28 at gcc dot gnu dot org
  2006-09-13  2:27 ` jsm28 at gcc dot gnu dot org
@ 2006-10-24 20:27 ` pinskia at gcc dot gnu dot org
  2006-10-24 20:42 ` aldot at gcc dot gnu dot org
  2007-06-10  9:34 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-24 20:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-10-24 20:26 -------
*** Bug 29586 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldot at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug preprocessor/14634] Unterminated literals not diagnosed
       [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-10-24 20:27 ` pinskia at gcc dot gnu dot org
@ 2006-10-24 20:42 ` aldot at gcc dot gnu dot org
  2007-06-10  9:34 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: aldot at gcc dot gnu dot org @ 2006-10-24 20:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from aldot at gcc dot gnu dot org  2006-10-24 20:41 -------
(In reply to comment #11)
> *** Bug 29586 has been marked as a duplicate of this bug. ***
> 

Fair enough.

Still pr29586 seems to be a diagnostic bug since the warning is mangled:

$ cat blah.c 
#warning (that's not C?)
$ gcc-4.3 -c -o blah.o blah.c
blah.c:1:2: warning: #warning (thatblah.c:1:15: warning: missing terminating '
character
's not C?)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug preprocessor/14634] Unterminated literals not diagnosed
       [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-10-24 20:42 ` aldot at gcc dot gnu dot org
@ 2007-06-10  9:34 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-10  9:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pinskia at gcc dot gnu dot org  2007-06-10 09:34 -------
*** Bug 32271 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pcmoen at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14634


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-10  9:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-14634-230@http.gcc.gnu.org/bugzilla/>
2006-09-13  1:04 ` [Bug preprocessor/14634] Unterminated literals not diagnosed jsm28 at gcc dot gnu dot org
2006-09-13  2:27 ` jsm28 at gcc dot gnu dot org
2006-10-24 20:27 ` pinskia at gcc dot gnu dot org
2006-10-24 20:42 ` aldot at gcc dot gnu dot org
2007-06-10  9:34 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).