public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8216] Code accepted by gcc is rejected by g++
       [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
@ 2003-05-25 20:15 ` pinskia@physics.uc.edu
  2003-08-24 17:58 ` [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant) pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-25 20:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-25 20:02:51
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 20:02 -------
Should this warning in C be an error or a warning?
Should the error in C++ be a warning?



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
       [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
  2003-05-25 20:15 ` [Bug c++/8216] Code accepted by gcc is rejected by g++ pinskia@physics.uc.edu
@ 2003-08-24 17:58 ` pinskia at gcc dot gnu dot org
  2003-08-24 21:08 ` falk at debian dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-24 17:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |c
           Keywords|                            |accepts-invalid
   Last reconfirmed|2003-05-25 20:02:51         |2003-08-24 17:58:21
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-24 17:58 -------
I think C should reject this also.


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

* [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
       [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
  2003-05-25 20:15 ` [Bug c++/8216] Code accepted by gcc is rejected by g++ pinskia@physics.uc.edu
  2003-08-24 17:58 ` [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant) pinskia at gcc dot gnu dot org
@ 2003-08-24 21:08 ` falk at debian dot org
  2003-08-24 23:17 ` [Bug c++/8216] " pinskia at gcc dot gnu dot org
  2003-12-08 19:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: falk at debian dot org @ 2003-08-24 21:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From falk at debian dot org  2003-08-24 21:08 -------
The C standard says the LL is not required, a constant is LL when it doesn't
fit into a smaller type automatically. IMHO, it should be the same in C++, since
that is constistent with C and consistent with the analoguous promotion to long
and is most likely what a future C++ standard would say. But I think others
have argued to the contrary.


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

* [Bug c++/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
       [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
                   ` (2 preceding siblings ...)
  2003-08-24 21:08 ` falk at debian dot org
@ 2003-08-24 23:17 ` pinskia at gcc dot gnu dot org
  2003-12-08 19:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-24 23:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |c++
           Keywords|accepts-invalid             |diagnostic, rejects-valid


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-24 23:17 -------
So changing this back to c++ based on Falk's anlysis, I agruee with Falk here.


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

* [Bug c++/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
       [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
                   ` (3 preceding siblings ...)
  2003-08-24 23:17 ` [Bug c++/8216] " pinskia at gcc dot gnu dot org
@ 2003-12-08 19:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-08 19:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-08 19:53 -------
This is a dup of bug 13358.

*** This bug has been marked as a duplicate of 13358 ***

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


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


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

end of thread, other threads:[~2003-12-08 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
2003-05-25 20:15 ` [Bug c++/8216] Code accepted by gcc is rejected by g++ pinskia@physics.uc.edu
2003-08-24 17:58 ` [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant) pinskia at gcc dot gnu dot org
2003-08-24 21:08 ` falk at debian dot org
2003-08-24 23:17 ` [Bug c++/8216] " pinskia at gcc dot gnu dot org
2003-12-08 19:53 ` 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).