|
Bugzilla – Full Text Bug Listing |
| Summary: | gcc 4.02 "internal compiler error" during preprocessing of ACE-TAO generated C++ Stub | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Christoph Schmalhofer <christoph.schmalhofer> |
| Component: | Basesystem | Assignee: | Michael Matz <matz> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | testcase for Bug #124230 | ||
|
Description
Christoph Schmalhofer
2005-10-10 21:41:06 UTC
Created attachment 53616 [details] testcase for Bug #124230 untar and see header/README
Null pointer passed to memcmp libcpp/files.c line 672 :
same_file_p = read_file (pfile, ref_file)
/* Size might have changed in read_file(). */
&& ref_file->st.st_size == file->st.st_size
!sometimes null! && !memcmp (ref_file->buffer,
file->buffer,
file->st.st_size);
This works for me:
christoph@linux:/usr/src/packages/BUILD> diff gcc-4.0.2-20050901/libcpp/files.c gcc-4.0.2-20050901/libcpp/files.c.original
672c672
< same_file_p = ref_file->buffer && read_file (pfile, ref_file)
---
> same_file_p = read_file (pfile, ref_file)
Fixed meanwhile on gcc 4.1.x . |