public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26690]  New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
@ 2006-03-15  9:50 reichelt at gcc dot gnu dot org
  2006-03-15 13:00 ` [Bug c++/26690] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-03-15  9:50 UTC (permalink / raw)
  To: gcc-bugs

The following invalid OpenMP-C++ code snippet crashes the compiler
when compiled with -fopenmp:

=======================================
struct A
{
    A(int);
};

void foo()
{
    A a(0);
#pragma omp parallel private (a)
    ;
}
=======================================

bug.cc: In function 'void foo()':
bug.cc:9: error: no matching function for call to 'A::A()'
bug.cc:3: note: candidates are: A::A(int)
bug.cc:2: note:                 A::A(const A&)
bug.cc:9: internal compiler error: in get_callee_fndecl, at tree.c:5806
Please submit a full bug report, [etc.]


-- 
           Summary: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored, openmp
          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=26690


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

* [Bug c++/26690] ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
  2006-03-15  9:50 [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP reichelt at gcc dot gnu dot org
@ 2006-03-15 13:00 ` pinskia at gcc dot gnu dot org
  2006-03-20 14:23 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-15 13:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-15 13:00 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-15 13:00:21
               date|                            |


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


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

* [Bug c++/26690] ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
  2006-03-15  9:50 [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP reichelt at gcc dot gnu dot org
  2006-03-15 13:00 ` [Bug c++/26690] " pinskia at gcc dot gnu dot org
@ 2006-03-20 14:23 ` jakub at gcc dot gnu dot org
  2006-03-21 18:35 ` jakub at gcc dot gnu dot org
  2006-03-21 21:59 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-20 14:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-03-15 13:00:21         |2006-03-20 14:23:52
               date|                            |


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


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

* [Bug c++/26690] ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
  2006-03-15  9:50 [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP reichelt at gcc dot gnu dot org
  2006-03-15 13:00 ` [Bug c++/26690] " pinskia at gcc dot gnu dot org
  2006-03-20 14:23 ` jakub at gcc dot gnu dot org
@ 2006-03-21 18:35 ` jakub at gcc dot gnu dot org
  2006-03-21 21:59 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-21 18:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2006-03-21 18:35 -------
Subject: Bug 26690

Author: jakub
Date: Tue Mar 21 18:35:20 2006
New Revision: 112253

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112253
Log:
        PR c++/26690
        * tree.c (get_callee_fndecl): If CALL is error_mark_node,
        return it immediately.

        * g++.dg/gomp/pr26690-1.C: New test.
        * g++.dg/gomp/pr26690-2.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr26690-1.C
    trunk/gcc/testsuite/g++.dg/gomp/pr26690-2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c


-- 


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


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

* [Bug c++/26690] ICE in get_callee_fndecl, at tree.c:5806 with OpenMP
  2006-03-15  9:50 [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-03-21 18:35 ` jakub at gcc dot gnu dot org
@ 2006-03-21 21:59 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-21 21:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-21 21:59 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-03-21 21:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-15  9:50 [Bug c++/26690] New: ICE in get_callee_fndecl, at tree.c:5806 with OpenMP reichelt at gcc dot gnu dot org
2006-03-15 13:00 ` [Bug c++/26690] " pinskia at gcc dot gnu dot org
2006-03-20 14:23 ` jakub at gcc dot gnu dot org
2006-03-21 18:35 ` jakub at gcc dot gnu dot org
2006-03-21 21:59 ` pinskia 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).