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/16999] [3.4 Regression] #ident stopped working


------- Additional Comments From leisner at rochester dot rr dot com  2004-08-12 05:56 -------
(In reply to comment #2)
> It works for me on 3.4.0:
> tin:~/src/gnu/gcctest>~/ia32_linux_gcc3_4/bin/gcc -S -o - pr16999.c -v
> Reading specs from
/home/gates/pinskia/ia32_linux_gcc3_4/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
> Configured with: ../configure --prefix=/home/gates/pinskia/ia32_linux_gcc3_4
--enable-__cxa_atexit
> Thread model: posix
> gcc version 3.4.0
>  /home/gates/pinskia/ia32_linux_gcc3_4/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1
-quiet -v 
> pr16999.c -quiet -dumpbase pr16999.c -mtune=pentiumpro -auxbase-strip -
-version -o -
> ignoring nonexistent directory
"/home/gates/pinskia/ia32_linux_gcc3_4/lib/gcc/i686-pc-linux-gnu/
> 3.4.0/../../../../i686-pc-linux-gnu/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/local/include
>  /home/gates/pinskia/ia32_linux_gcc3_4/include
>  /home/gates/pinskia/ia32_linux_gcc3_4/lib/gcc/i686-pc-linux-gnu/3.4.0/include
>  /usr/include
> End of search list.
> GNU C version 3.4.0 (i686-pc-linux-gnu)
>         compiled by GNU C version 3.4.0.
> GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128866
>         .file   "pr16999.c"
>         .ident  "this is an ident"
> #APP
>         .ident  "trying asm "
>         .section        .note.GNU-stack,"",@progbits
>         .ident  "GCC: (GNU) 3.4.0"



try it with -save-temps -- this seems to have a bearing...
With -save-temps, we also get:
foo.c:1:10: warning: extra tokens at end of #ident directive


-- 


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


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