public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
@ 2008-02-23 18:17 ` reichelt at gcc dot gnu dot org
  2008-02-23 18:18 ` reichelt at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 18:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/35319]  New: [4.3/4.4 regression] ICE throwing fixed-point types
@ 2008-02-23 18:17 reichelt at gcc dot gnu dot org
  2008-02-23 18:17 ` [Bug c++/35319] " reichelt at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 18:17 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE on mainline and 4.3 branch
when compiled with -O:

===============
void foo()
{
  throw 0r;
}
===============

bug.cc: In function 'void foo()':
bug.cc:3: internal compiler error: in write_type, at cp/mangle.c:1695
Please submit a full bug report, [etc.]

The code was invalid before GCC 4.3.0 and was simply rejected.


-- 
           Summary: [4.3/4.4 regression] ICE throwing fixed-point types
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
  2008-02-23 18:17 ` [Bug c++/35319] " reichelt at gcc dot gnu dot org
@ 2008-02-23 18:18 ` reichelt at gcc dot gnu dot org
  2008-03-03 16:26 ` rguenth at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 18:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reichelt at gcc dot gnu dot org  2008-02-23 18:17 -------
The code also ICEs without "-O".


-- 


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
  2008-02-23 18:17 ` [Bug c++/35319] " reichelt at gcc dot gnu dot org
  2008-02-23 18:18 ` reichelt at gcc dot gnu dot org
@ 2008-03-03 16:26 ` rguenth at gcc dot gnu dot org
  2008-03-14 17:13 ` rguenth at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-03 16:26 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-03-03 16:25:48
               date|                            |


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-03-03 16:26 ` rguenth at gcc dot gnu dot org
@ 2008-03-14 17:13 ` rguenth at gcc dot gnu dot org
  2008-03-30  0:21 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-14 17:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.0
   Target Milestone|4.3.0                       |4.3.1


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-03-14 17:13 ` rguenth at gcc dot gnu dot org
@ 2008-03-30  0:21 ` pinskia at gcc dot gnu dot org
  2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-03-30  0:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-03-30 00:20 -------
This is most likely because there is no way to mangle fixed point types at all.
 So really I don't think this should be a P2 or marked as a regression until
the ABI has been finialized


-- 


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-03-30  0:21 ` pinskia at gcc dot gnu dot org
@ 2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
  2008-08-27 22:07 ` jsm28 at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-06-06 15:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-06-06 14:59 -------
4.3.1 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.1                       |4.3.2


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
@ 2008-08-27 22:07 ` jsm28 at gcc dot gnu dot org
  2008-11-22 17:45 ` steven at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-08-27 22:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2008-08-27 22:03 -------
4.3.2 is released, changing milestones to 4.3.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.2                       |4.3.3


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-08-27 22:07 ` jsm28 at gcc dot gnu dot org
@ 2008-11-22 17:45 ` steven at gcc dot gnu dot org
  2008-12-04 19:25 ` jason at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-11-22 17:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from steven at gcc dot gnu dot org  2008-11-22 17:44 -------
Is there a mangling convention now for fixed-point types, or not?
If not, we should make this a sorry() and resolve this bug as SUSPENDED for
now.
If there is, well, you know, we should add it ;-)


-- 


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-11-22 17:45 ` steven at gcc dot gnu dot org
@ 2008-12-04 19:25 ` jason at gcc dot gnu dot org
  2008-12-10 22:14 ` jason at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-04 19:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-03-03 16:25:48         |2008-12-04 19:23:33
               date|                            |


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-12-04 19:25 ` jason at gcc dot gnu dot org
@ 2008-12-10 22:14 ` jason at gcc dot gnu dot org
  2008-12-18  9:19 ` [Bug c++/35319] [4.3 " reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-10 22:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2008-12-10 22:13 -------
Subject: Bug 35319

Author: jason
Date: Wed Dec 10 22:11:44 2008
New Revision: 142661

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142661
Log:
        PR c++/35319
        * mangle.c (write_builtin_type): Add mangling for decimal floating
        point and fixed point types.
        (write_type): Pass FIXED_POINT_TYPE along.
        * cp-demangle.c (cplus_demangle_type): Support fixed-point types.
        (d_print_comp, d_dump): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/ext/fixed2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/mangle.c
    trunk/gcc/testsuite/ChangeLog
    trunk/include/ChangeLog
    trunk/include/demangle.h
    trunk/libiberty/ChangeLog
    trunk/libiberty/cp-demangle.c


-- 


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


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

* [Bug c++/35319] [4.3 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-12-10 22:14 ` jason at gcc dot gnu dot org
@ 2008-12-18  9:19 ` reichelt at gcc dot gnu dot org
  2008-12-22  2:35 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-18  9:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from reichelt at gcc dot gnu dot org  2008-12-18 09:17 -------
Fixed on mainline.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3/4.4 regression] ICE    |[4.3 regression] ICE
                   |throwing fixed-point types  |throwing fixed-point types


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


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

* [Bug c++/35319] [4.3 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2008-12-18  9:19 ` [Bug c++/35319] [4.3 " reichelt at gcc dot gnu dot org
@ 2008-12-22  2:35 ` jason at gcc dot gnu dot org
  2008-12-27 23:10 ` [Bug c++/35319] [4.3/4.4 " reichelt at gcc dot gnu dot org
  2009-02-19  7:03 ` reichelt at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jason at gcc dot gnu dot org @ 2008-12-22  2:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jason at gcc dot gnu dot org  2008-12-22 02:33 -------
The fix isn't suitable for 4.3.


-- 

jason at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2008-12-22  2:35 ` jason at gcc dot gnu dot org
@ 2008-12-27 23:10 ` reichelt at gcc dot gnu dot org
  2009-02-19  7:03 ` reichelt at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-27 23:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.3 regression] ICE        |[4.3/4.4 regression] ICE
                   |throwing fixed-point types  |throwing fixed-point types
   Target Milestone|4.3.3                       |4.4.0


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


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

* [Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types
  2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2008-12-27 23:10 ` [Bug c++/35319] [4.3/4.4 " reichelt at gcc dot gnu dot org
@ 2009-02-19  7:03 ` reichelt at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-02-19  7:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from reichelt at gcc dot gnu dot org  2009-02-19 07:03 -------
Fixed-point constants are rejected by the C++ frontend since the patch for
PR39059.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code


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


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

end of thread, other threads:[~2009-02-19  7:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 18:17 [Bug c++/35319] New: [4.3/4.4 regression] ICE throwing fixed-point types reichelt at gcc dot gnu dot org
2008-02-23 18:17 ` [Bug c++/35319] " reichelt at gcc dot gnu dot org
2008-02-23 18:18 ` reichelt at gcc dot gnu dot org
2008-03-03 16:26 ` rguenth at gcc dot gnu dot org
2008-03-14 17:13 ` rguenth at gcc dot gnu dot org
2008-03-30  0:21 ` pinskia at gcc dot gnu dot org
2008-06-06 15:05 ` rguenth at gcc dot gnu dot org
2008-08-27 22:07 ` jsm28 at gcc dot gnu dot org
2008-11-22 17:45 ` steven at gcc dot gnu dot org
2008-12-04 19:25 ` jason at gcc dot gnu dot org
2008-12-10 22:14 ` jason at gcc dot gnu dot org
2008-12-18  9:19 ` [Bug c++/35319] [4.3 " reichelt at gcc dot gnu dot org
2008-12-22  2:35 ` jason at gcc dot gnu dot org
2008-12-27 23:10 ` [Bug c++/35319] [4.3/4.4 " reichelt at gcc dot gnu dot org
2009-02-19  7:03 ` reichelt 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).