This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12794] New: [tree-ssa] ICE with attribute __alias__


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

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

           Summary: [tree-ssa] ICE with attribute __alias__
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          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,rth at redhat dot com

The following code snippet (from PR 7490) crashes tree-ssa:

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

Compiled with "gcc -c" I get:

  PR7490.c: In function `bar':

  PR7490.c:11: internal compiler error: in tsi_stmt_ptr, at tree-iterator.h:116
  Please submit a full bug report, [etc.]

Btw, the empty line after the first one is strange.

The regression appeared with Richard's patch

http://gcc.gnu.org/ml/gcc-cvs/2003-10/msg01062.html

Richard, could you please have a look?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]