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]

BUG in gcc and g++


HI!
===

gcc/g++ : 2.95.1
host    : Sun solaris 7

%>  g++ -fsyntax-only gcc.c 
gcc.c: In function `int foo(int, int)':
gcc.c:3: Internal compiler error.
gcc.c:3: Please submit a full bug report.
gcc.c:3: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
%> gcc -fsyntax-only gcc.c
gcc: Internal compiler error: program cc1 got fatal signal 11

------gcc.c-------
int foo(int i,int n)
{
  long m = (n/i);
  return(m);
}
-------------------

MVH /Roger Karlbom
                                |
+---------------------------+--\|/------------------+
| _ Ericsson Telecom AB     : Omicron Ceti AB       |
| AV/ETX/D/XAGA 0106F092    : Borgarfjordsgatan 7   |
| Varuvagen 9               : S-164 40 KISTA SWEDEN |
| S-126 25 STOCKHOLM SWEDEN : rkm@omicron.se        |
| qtxroka@etxb.ericsson.se  : roger@karlbom.net     |
| Phone:   +46 8 719 57 41  : +46 8 793 09 00       |
| Fax:     +46 8 681 30 04  : +46 8 703 94 13       |
| Don't Panic. I'm your master Mechanic. (J Winter) |
+---------------------------------------------------+

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