| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <21733192 DOT 1187555039324 DOT JavaMail DOT root AT elwamui-royal DOT atl DOT sa DOT earthlink DOT net> |
| Subject: | RE: Line info causes GCC to bomb? |
| Date: | Mon, 20 Aug 2007 09:16:53 +0100 |
| Message-ID: | <074c01c7e302$778dcd10$2e08a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <21733192.1187555039324.JavaMail.root@elwamui-royal.atl.sa.earthlink.net> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id l7K8H8mh022104 |
On 19 August 2007 21:24, g6522c AT earthlink DOT net wrote:
> I haven't seen this problem anywhere in the list archive, so
> here it is.
>
> This preprocessed input causes GCC (3.4.4) to segfault....
>
> # 1 "test.c" 1
>
> int main () {
> return 0;
> }
>
> ... and this doesn't:
>
> # 1 "test.c"
> # 1 "test.c" 1
>
> int main () {
> return 0;
> }
>
> Am I missing something?
Nope, I can reproduce it.
Was it you or gcc that generated that preprocessed file? It obviously shouldn't crash, but it's a much higher priority if gcc itself generates invalid preprocessed output than if it gets confused by something you've hand-generated (or post-pre-processed!) yourself.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |