public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens
       [not found] <bug-23827-4@http.gcc.gnu.org/bugzilla/>
@ 2014-07-12 19:18 ` emsr at gcc dot gnu.org
  2014-08-28  2:39 ` emsr at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: emsr at gcc dot gnu.org @ 2014-07-12 19:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827

emsr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emsr at gcc dot gnu.org

--- Comment #2 from emsr at gcc dot gnu.org ---
Created attachment 33112
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33112&action=edit
The following is in testing...


libcpp/

2014-07-12  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR preprocessor/23827
    * init.c (lang_defaults[]): Set extended_identifiers to false for C++98.
    * expr.c (cpp_classify_number()): Make hexfloat pedward trigger
    for !extended_identifiers.  Split error message for C99 and C++11.


gcc/testsuite/

2014-07-12  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR preprocessor/23827
    * g++.dg/cpp/pr23827.C: New.


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

* [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens
       [not found] <bug-23827-4@http.gcc.gnu.org/bugzilla/>
  2014-07-12 19:18 ` [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens emsr at gcc dot gnu.org
@ 2014-08-28  2:39 ` emsr at gcc dot gnu.org
  2014-08-28  2:40 ` emsr at gcc dot gnu.org
  2021-12-03  7:14 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: emsr at gcc dot gnu.org @ 2014-08-28  2:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827

--- Comment #3 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Thu Aug 28 02:38:24 2014
New Revision: 214616

URL: https://gcc.gnu.org/viewcvs?rev=214616&root=gcc&view=rev
Log:

libcpp/

2014-08-27  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR cpp/23827 - standard C++ should not have hex float preprocessor
    tokens
    * libcpp/init.c (lang_flags): Change CXX98 flag for extended numbers
    from 1 to 0.
    * libcpp/expr.c (cpp_classify_number): Weite error message for improper
    use of hex floating literal.


gcc/testsuite/

2014-08-27  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR cpp/23827 - standard C++ should not have hex float preprocessor
    tokens
    * g++.dg/cpp/pr23827_cxx11.C: New.
    * g++.dg/cpp/pr23827_cxx98.C: New.
    * g++.dg/cpp/pr23827_cxx98_neg.C: New.
    * gcc.dg/cpp/pr23827_c90.c: New.
    * gcc.dg/cpp/pr23827_c90_neg.c: New.
    * gcc.dg/cpp/pr23827_c99.c: New.



Added:
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx11.C
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx98.C
    trunk/gcc/testsuite/g++.dg/cpp/pr23827_cxx98_neg.C
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c90.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c90_neg.c
    trunk/gcc/testsuite/gcc.dg/cpp/pr23827_c99.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libcpp/ChangeLog
    trunk/libcpp/expr.c
    trunk/libcpp/init.c


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

* [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens
       [not found] <bug-23827-4@http.gcc.gnu.org/bugzilla/>
  2014-07-12 19:18 ` [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens emsr at gcc dot gnu.org
  2014-08-28  2:39 ` emsr at gcc dot gnu.org
@ 2014-08-28  2:40 ` emsr at gcc dot gnu.org
  2021-12-03  7:14 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: emsr at gcc dot gnu.org @ 2014-08-28  2:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827

emsr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from emsr at gcc dot gnu.org ---
Fixed at 214616.


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

* [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens
       [not found] <bug-23827-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-08-28  2:40 ` emsr at gcc dot gnu.org
@ 2021-12-03  7:14 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-03  7:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23827

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0

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

* [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens
  2005-09-11 23:58 [Bug preprocessor/23827] New: " jsm28 at gcc dot gnu dot org
@ 2005-09-12  0:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-12  0:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-12 00:32 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
      Known to fail|                            |2.95.3 3.0.4 3.2.2 3.2.3
                   |                            |3.3.1 4.0.0 3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-12 00:32:38
               date|                            |


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


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

end of thread, other threads:[~2021-12-03  7:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23827-4@http.gcc.gnu.org/bugzilla/>
2014-07-12 19:18 ` [Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens emsr at gcc dot gnu.org
2014-08-28  2:39 ` emsr at gcc dot gnu.org
2014-08-28  2:40 ` emsr at gcc dot gnu.org
2021-12-03  7:14 ` pinskia at gcc dot gnu.org
2005-09-11 23:58 [Bug preprocessor/23827] New: " jsm28 at gcc dot gnu dot org
2005-09-12  0:32 ` [Bug preprocessor/23827] " 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).