public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__
@ 2003-10-27 21:45 reichelt at gcc dot gnu dot org
  2003-10-27 22:06 ` [Bug c++/12795] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-27 21:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.4 regression] ICE with attribute __alias__
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, ice-checking
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org

Mainline's c++ frontend crashes with the following code snippet
(which is the same as in PR12794 ans PR 7490):

============================================================
void foo()
{
    extern void bar () __attribute__ ((__alias__ ("BAR")));
    bar ();
}
============================================================

Compiled with "g++ -c" I get:

PR7490.cc: In function `void foo()':
PR7490.cc:8: internal compiler error: tree check: expected namespace_decl, have
function_decl in namespace_binding, at cp/name-lookup.c:2848
Please submit a full bug report, [etc.]

According to Phil's regression hunter the regression appeared
between 2003-03-23-trunk (#253) and 2003-03-30-trunk (#254).


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

* [Bug c++/12795] [3.4 regression] ICE with attribute __alias__
  2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
@ 2003-10-27 22:06 ` bangerth at dealii dot org
  2003-10-27 22:45 ` bangerth at dealii dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-10-27 22:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-27 22:04:38
               date|                            |


------- Additional Comments From bangerth at dealii dot org  2003-10-27 22:04 -------
I see the ICE in a CVS snapshot from 20031024, which narrows down the range
a little further.

W.


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

* [Bug c++/12795] [3.4 regression] ICE with attribute __alias__
  2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
  2003-10-27 22:06 ` [Bug c++/12795] " bangerth at dealii dot org
@ 2003-10-27 22:45 ` bangerth at dealii dot org
  2003-10-30  6:09 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2003-10-27 22:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-10-27 22:45 -------
Disregard the last comment.

While the date of my snapshot was correct, I misread the dates given for
Phil's versions as being of October rather than March. In effect, my
mail of course doesn't add any interesting information at all. At least
it doesn't add wrong information, of well...

W.


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

* [Bug c++/12795] [3.4 regression] ICE with attribute __alias__
  2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
  2003-10-27 22:06 ` [Bug c++/12795] " bangerth at dealii dot org
  2003-10-27 22:45 ` bangerth at dealii dot org
@ 2003-10-30  6:09 ` pinskia at gcc dot gnu dot org
  2003-12-19 21:16 ` cvs-commit at gcc dot gnu dot org
  2003-12-19 21:35 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-30  6:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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

* [Bug c++/12795] [3.4 regression] ICE with attribute __alias__
  2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-10-30  6:09 ` pinskia at gcc dot gnu dot org
@ 2003-12-19 21:16 ` cvs-commit at gcc dot gnu dot org
  2003-12-19 21:35 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-19 21:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-19 21:10 -------
Subject: Bug 12795

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	mmitchel@gcc.gnu.org	2003-12-19 21:10:03

Modified files:
	gcc/cp         : ChangeLog name-lookup.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/ext: attrib10.C 

Log message:
	PR c++/12795
	* name-lookup.c (pushdecl): Do not treated any functions as being
	"nested" in C++.
	
	PR c++/12795
	* g++.dg/ext/attrib10.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3822&r2=1.3823
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/name-lookup.c.diff?cvsroot=gcc&r1=1.26&r2=1.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3288&r2=1.3289
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/attrib10.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/12795] [3.4 regression] ICE with attribute __alias__
  2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-12-19 21:16 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-19 21:35 ` mmitchel at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-12-19 21:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-12-19 21:11 -------
Fixed in GCC 3.4.

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


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


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

end of thread, other threads:[~2003-12-19 21:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27 21:45 [Bug c++/12795] New: [3.4 regression] ICE with attribute __alias__ reichelt at gcc dot gnu dot org
2003-10-27 22:06 ` [Bug c++/12795] " bangerth at dealii dot org
2003-10-27 22:45 ` bangerth at dealii dot org
2003-10-30  6:09 ` pinskia at gcc dot gnu dot org
2003-12-19 21:16 ` cvs-commit at gcc dot gnu dot org
2003-12-19 21:35 ` mmitchel 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).