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] | |
On Sat, Jun 29, 2002 at 03:35:57PM +0100, Neil Booth wrote:
> Jason, this should fix the segfault that occurred for you
> in cpp_paste_tokens(). It tends to happen if you use
> -imacros or -dM or something that scans code without
> outputting it.
Yes, the segv is gone. But it still doesn't work properly :-)
I've attached some files as an example of the failure.
x86_64-unknown-netbsd-gcc -traditional-cpp -M \
-D_LOCORE -Dx86_64 -D_KERNEL microtime.S
In file included from microtime.S:36:
asm.h:71: unterminated #ifdef
asm.h:64: unterminated #ifndef
asm.h:41: unterminated #ifndef
Also attached is the output of:
x86_64-unknown-netbsd-gcc -traditional-cpp -E \
-D_LOCORE -Dx86_64 -D_KERNEL microtime.S
Look for "SHOULD NOT BE HERE" and "NEITHER SHOULD THIS". Also note that
the _ENTRY() macro (used by ENTRY()) from asm.h does not get expanded.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
Attachment:
tradcpp-bug.shar
Description: Unix shell archive
Attachment:
microtime.s
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |