public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40538]  New: Compiler crashes
@ 2009-06-24 10:55 igodard at pacbell dot net
  2009-06-24 14:45 ` [Bug c++/40538] Compiler crashes while using decimal float point in a function argument pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2009-06-24 10:55 UTC (permalink / raw)
  To: gcc-bugs

This code:
typedef typeof(1.0df) decimal32_t;
decimal32_t foo(decimal32_t x) { return x; }
int main() {
    decimal32_t d;
    d = foo(d);
    return 0;
    }

gets you:
~/ootbc/personal/ivan$ g++ foo.cc
foo.cc:2: internal compiler error: in write_builtin_type, at cp/mangle.c:1852
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Compiler crashes
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net


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


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

* [Bug c++/40538] Compiler crashes while using decimal float point in a function argument
  2009-06-24 10:55 [Bug c++/40538] New: Compiler crashes igodard at pacbell dot net
@ 2009-06-24 14:45 ` pinskia at gcc dot gnu dot org
  2009-06-24 16:34 ` igodard at pacbell dot net
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-24 14:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-06-24 14:45 -------
Most likely the same issue as PR 39131.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |39131
           Keywords|                            |ABI, ice-on-valid-code
            Summary|Compiler crashes            |Compiler crashes while using
                   |                            |decimal float point in a
                   |                            |function argument


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


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

* [Bug c++/40538] Compiler crashes while using decimal float point in a function argument
  2009-06-24 10:55 [Bug c++/40538] New: Compiler crashes igodard at pacbell dot net
  2009-06-24 14:45 ` [Bug c++/40538] Compiler crashes while using decimal float point in a function argument pinskia at gcc dot gnu dot org
@ 2009-06-24 16:34 ` igodard at pacbell dot net
  2009-11-10 23:06 ` jason at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: igodard at pacbell dot net @ 2009-06-24 16:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from igodard at pacbell dot net  2009-06-24 16:34 -------
Probably not the same as 39131, because this ices only if the function is
declared. Both the typedef and the data declaration compile OK without the
function, whereas 39131 seems to ice without any use at all.


-- 


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


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

* [Bug c++/40538] Compiler crashes while using decimal float point in a function argument
  2009-06-24 10:55 [Bug c++/40538] New: Compiler crashes igodard at pacbell dot net
  2009-06-24 14:45 ` [Bug c++/40538] Compiler crashes while using decimal float point in a function argument pinskia at gcc dot gnu dot org
  2009-06-24 16:34 ` igodard at pacbell dot net
@ 2009-11-10 23:06 ` jason at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-10 23:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jason at gcc dot gnu dot org  2009-11-10 23:05 -------
It is a duplicate, both have to do with mangling.

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


-- 

jason at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-11-10 23:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-24 10:55 [Bug c++/40538] New: Compiler crashes igodard at pacbell dot net
2009-06-24 14:45 ` [Bug c++/40538] Compiler crashes while using decimal float point in a function argument pinskia at gcc dot gnu dot org
2009-06-24 16:34 ` igodard at pacbell dot net
2009-11-10 23:06 ` jason 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).