public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35323]  New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter
@ 2008-02-23 18:49 reichelt at gcc dot gnu dot org
  2008-02-23 18:49 ` [Bug c++/35323] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 18:49 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline and 4.3 branch:

=========================================
void foo(int);

void bar()
{
  foo(1r);
}
=========================================

bug.cc: In function 'void bar()':
bug.cc:5: internal compiler error: in arg_assoc_type, at cp/name-lookup.c:4630
Please submit a full bug report, [etc.]

Before, the code was rejected because fixed-point types weren't supported.


-- 
           Summary: [4.3/4.4 regression] ICE calling functions with fixed-
                    point type parameter
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-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=35323


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

* [Bug c++/35323] [4.3/4.4 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
@ 2008-02-23 18:49 ` reichelt at gcc dot gnu dot org
  2008-02-25 21:29 ` pcarlini at suse dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 18:49 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=35323


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

* [Bug c++/35323] [4.3/4.4 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
  2008-02-23 18:49 ` [Bug c++/35323] " reichelt at gcc dot gnu dot org
@ 2008-02-25 21:29 ` pcarlini at suse dot de
  2008-02-26 10:11 ` paolo at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2008-02-25 21:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pcarlini at suse dot de  2008-02-25 21:28 -------
Seems easy.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-25 21:28:32
               date|                            |


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


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

* [Bug c++/35323] [4.3/4.4 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
  2008-02-23 18:49 ` [Bug c++/35323] " reichelt at gcc dot gnu dot org
  2008-02-25 21:29 ` pcarlini at suse dot de
@ 2008-02-26 10:11 ` paolo at gcc dot gnu dot org
  2008-03-03 16:28 ` [Bug c++/35323] [4.3 " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-02-26 10:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo at gcc dot gnu dot org  2008-02-26 10:10 -------
Subject: Bug 35323

Author: paolo
Date: Tue Feb 26 10:09:43 2008
New Revision: 132669

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132669
Log:
/cp
2008-02-26  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * name-lookup.c (arg_assoc_type): Handle FIXED_POINT_TYPE.

/testsuite
2008-02-26  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * g++.dg/lookup/crash7.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/crash7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/35323] [4.3 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-02-26 10:11 ` paolo at gcc dot gnu dot org
@ 2008-03-03 16:28 ` rguenth at gcc dot gnu dot org
  2008-03-06 17:52 ` paolo at gcc dot gnu dot org
  2008-03-06 17:54 ` pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-03 16:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/35323] [4.3 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-03-03 16:28 ` [Bug c++/35323] [4.3 " rguenth at gcc dot gnu dot org
@ 2008-03-06 17:52 ` paolo at gcc dot gnu dot org
  2008-03-06 17:54 ` pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-03-06 17:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo at gcc dot gnu dot org  2008-03-06 17:51 -------
Subject: Bug 35323

Author: paolo
Date: Thu Mar  6 17:50:54 2008
New Revision: 132980

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132980
Log:
/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * name-lookup.c (arg_assoc_type): Handle FIXED_POINT_TYPE.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * g++.dg/lookup/crash7.C: New.

/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * error.c (dump_expr): Handle CONJ_EXPR.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * g++.dg/other/error26.C: New.

/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * error.c (dump_type): Handle FIXED_POINT_TYPE.
        (dump_expr): Handle FIXED_CST.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * g++.dg/other/error25.C: New.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/lookup/crash7.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/error25.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/error26.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/error.c
    branches/gcc-4_3-branch/gcc/cp/name-lookup.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/35323] [4.3 regression] ICE calling functions with fixed-point type parameter
  2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-03-06 17:52 ` paolo at gcc dot gnu dot org
@ 2008-03-06 17:54 ` pcarlini at suse dot de
  5 siblings, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2008-03-06 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2008-03-06 17:53 -------
Fixed for 4.3.1 too.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.3.0                       |4.3.1


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


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

end of thread, other threads:[~2008-03-06 17:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 18:49 [Bug c++/35323] New: [4.3/4.4 regression] ICE calling functions with fixed-point type parameter reichelt at gcc dot gnu dot org
2008-02-23 18:49 ` [Bug c++/35323] " reichelt at gcc dot gnu dot org
2008-02-25 21:29 ` pcarlini at suse dot de
2008-02-26 10:11 ` paolo at gcc dot gnu dot org
2008-03-03 16:28 ` [Bug c++/35323] [4.3 " rguenth at gcc dot gnu dot org
2008-03-06 17:52 ` paolo at gcc dot gnu dot org
2008-03-06 17:54 ` pcarlini at suse dot de

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).