------- Comment #6 from pinskia at gcc dot gnu dot org  2005-10-20 23:03 -------
Hmm, this looks like invalid code.
file1.c:
int main(int argc, char **argv) {   }

file2.c:
int main(int argc, char *argv[]) __attribute__ ((weak, alias ("zcip_main")));
int zcip_main(int argc, char *argv[]) {   }

-------
I have to double check on this.  3.4.0 rejected this. 4.0.0 accepted this.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |
            Summary|segfault with -Os -funit-at-|[4.0 Regression] segfault
                   |a-time with IMA             |with -Os -funit-at-a-time
                   |                            |with IMA
   Target Milestone|---                         |4.1.0


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

Reply via email to