This is the mail archive of the gcc-help@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]

Re: Strange error from gcc


This is what it creates (try2.s) (the line numbers are because vi has them
turned on):
  1         .file   "try2.c"
  2         .version        "01.01"
  3 # GNU C version 2.95.3 20010315 (release) (i686-pc-linux-gnu) compiled
by GNU C version 2.95.3 20010315 (release).
  4 # options passed:  -fverbose-asm
  5 # options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
  6 # -fpcc-struct-return -fsched-interblock -fsched-spec -fcommon
  7 # -fverbose-asm -fgnu-linker -fargument-alias -fident -m80387
-mhard-float
  8 # -mno-soft-float -mieee-fp -mfp-ret-in-387 -mschedule-prologue
  9 # -mcpu=pentiumpro -march=pentium
 10
 11 gcc2_compiled.:
 12 .section        .rodata
 13 .LC0:
 14         .string "test\n"
 15 .text
 16         .align 4
 17 .globl main
 18         .type    main,@function
 19 main:
 20         pushl %ebp
 21         movl %esp,%ebp
 22         subl $8,%esp
 23         addl $-12,%esp
 24         pushl $.LC0
 25         call printf
 26         addl $16,%esp
 27 .L2:
 28         movl %ebp,%esp
 29         popl %ebp
 30         ret
 31 .Lfe1:
 32         .size    main,.Lfe1-main
 33         .ident  "GCC: (GNU) 2.95.3 20010315 (release)"

-- 
View this message in context: http://old.nabble.com/Strange-error-from-gcc-tp32109441p32111122.html
Sent from the gcc - Help mailing list archive at Nabble.com.


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