public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/60652] New: System.OS_Constants CRTSCTS
@ 2014-03-25 14:02 robert.samuelsson at sscspace dot com
  2014-07-29 15:14 ` [Bug ada/60652] " charlet at gcc dot gnu.org
  2014-07-29 16:02 ` charlet at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: robert.samuelsson at sscspace dot com @ 2014-03-25 14:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60652
           Summary: System.OS_Constants CRTSCTS
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: robert.samuelsson at sscspace dot com

The value of CRTSCTS in adainclude/s-oscons.ads is different to the value i
have in /usr/include/bits/termios.h on my Linux system.

adainclude/s-oscons.ads
  CRTSCTS : constant := 4294967295; -- Output hw flow control

  Hex: FFFF FFFF
  Dec: 4294967295
  Oct: 37777777777
  Bin: 11111111 11111111 11111111 11111111 (looks more like a mask than a flag)

bits/termios.h
  #define CRTSCTS 020000000000 /* flow control */

  Hex: 8000 0000
  Dec: 2147483648
  Oct: 20000000000
  Bin: 10000000 00000000 00000000 00000000 (ah, a bit-flag as expected) 

So I suspect there may be a problem with the autogenerator and octal numbers. I
do not know if any other generated constants have similar problems.


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

* [Bug ada/60652] System.OS_Constants CRTSCTS
  2014-03-25 14:02 [Bug ada/60652] New: System.OS_Constants CRTSCTS robert.samuelsson at sscspace dot com
@ 2014-07-29 15:14 ` charlet at gcc dot gnu.org
  2014-07-29 16:02 ` charlet at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-07-29 15:14 UTC (permalink / raw)
  To: gcc-bugs

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

Arnaud Charlet <charlet at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |charlet at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.10.0

--- Comment #1 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Should be fixed now (commit rev 213201).


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

* [Bug ada/60652] System.OS_Constants CRTSCTS
  2014-03-25 14:02 [Bug ada/60652] New: System.OS_Constants CRTSCTS robert.samuelsson at sscspace dot com
  2014-07-29 15:14 ` [Bug ada/60652] " charlet at gcc dot gnu.org
@ 2014-07-29 16:02 ` charlet at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: charlet at gcc dot gnu.org @ 2014-07-29 16:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Arnaud Charlet <charlet at gcc dot gnu.org> ---
Author: charlet
Date: Tue Jul 29 14:46:27 2014
New Revision: 213201

URL: https://gcc.gnu.org/viewcvs?rev=213201&root=gcc&view=rev
Log:
2014-07-29  Robert Dewar  <dewar@adacore.com>

    * gnat_rm.texi, sem_prag.adb: Minor reformatting.

2014-07-29  Sergey Rybin  <rybin@adacore.com frybin>

    * gnat_ugn.texi: gnatmetric: clarify documentation for cyclomatic
    complexity metrics.

2014-07-29  Thomas Quinot  <quinot@adacore.com>

    PR ada/60652
    * s-oscons-tmplt.c: For Linux, define _BSD_SOURCE in order for
    CRTSCTS to be visible.

2014-07-29  Bob Duff  <duff@adacore.com>

    * g-trasym.adb, g-trasym.ads: Code cleanup.


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/g-trasym.adb
    trunk/gcc/ada/g-trasym.ads
    trunk/gcc/ada/gnat_rm.texi
    trunk/gcc/ada/gnat_ugn.texi
    trunk/gcc/ada/s-oscons-tmplt.c
    trunk/gcc/ada/sem_prag.adb


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

end of thread, other threads:[~2014-07-29 16:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25 14:02 [Bug ada/60652] New: System.OS_Constants CRTSCTS robert.samuelsson at sscspace dot com
2014-07-29 15:14 ` [Bug ada/60652] " charlet at gcc dot gnu.org
2014-07-29 16:02 ` charlet at gcc dot gnu.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).