public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57390] New: Fixed point types on AVR are not available in C++ mode
@ 2013-05-24  2:15 ambrop7 at gmail dot com
  2013-05-24  2:25 ` [Bug c++/57390] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ambrop7 at gmail dot com @ 2013-05-24  2:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57390
           Summary: Fixed point types on AVR are not available in C++ mode
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ambrop7 at gmail dot com

As of version 4.8, GCC supports fixed point types for the AVR target. See:
http://gcc.gnu.org/wiki/avr-gcc#Fixed-Point_Support

However, this is only available in C and not in C++. Please enable fixed point
for C++ too. It may have to be hidden behind an option to not break existing
C++ code though.


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

* [Bug c++/57390] Fixed point types on AVR are not available in C++ mode
  2013-05-24  2:15 [Bug c++/57390] New: Fixed point types on AVR are not available in C++ mode ambrop7 at gmail dot com
@ 2013-05-24  2:25 ` pinskia at gcc dot gnu.org
  2013-05-24  3:10 ` ambrop7 at gmail dot com
  2013-06-10 10:00 ` gjl at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-05-24  2:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is no way to enable it for C++ because the extension has not been
designed to how it would interact with templates and such.

See the thread at http://gcc.gnu.org/ml/gcc/2011-11/msg00124.html for more
info.


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

* [Bug c++/57390] Fixed point types on AVR are not available in C++ mode
  2013-05-24  2:15 [Bug c++/57390] New: Fixed point types on AVR are not available in C++ mode ambrop7 at gmail dot com
  2013-05-24  2:25 ` [Bug c++/57390] " pinskia at gcc dot gnu.org
@ 2013-05-24  3:10 ` ambrop7 at gmail dot com
  2013-06-10 10:00 ` gjl at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ambrop7 at gmail dot com @ 2013-05-24  3:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Ambroz Bizjak <ambrop7 at gmail dot com> ---
I've been reading the discussion there, but I don't see any interaction
problems with templates. Most of it is just useless arguing about whether fixed
point types can be implemented externally with templates. The support in the
GCC code is already there, what is the real obstacle to enabling that in C++?


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

* [Bug c++/57390] Fixed point types on AVR are not available in C++ mode
  2013-05-24  2:15 [Bug c++/57390] New: Fixed point types on AVR are not available in C++ mode ambrop7 at gmail dot com
  2013-05-24  2:25 ` [Bug c++/57390] " pinskia at gcc dot gnu.org
  2013-05-24  3:10 ` ambrop7 at gmail dot com
@ 2013-06-10 10:00 ` gjl at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2013-06-10 10:00 UTC (permalink / raw)
  To: gcc-bugs

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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |avr
           Priority|P3                          |P5
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-10
                 CC|                            |gjl at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
It's not about "enabling", it's about extending the C++ language and front end
in GCC and maintaining such extension.


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

end of thread, other threads:[~2013-06-10 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-24  2:15 [Bug c++/57390] New: Fixed point types on AVR are not available in C++ mode ambrop7 at gmail dot com
2013-05-24  2:25 ` [Bug c++/57390] " pinskia at gcc dot gnu.org
2013-05-24  3:10 ` ambrop7 at gmail dot com
2013-06-10 10:00 ` gjl 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).