Article View: gnu.gcc.bug
Article #2863cpp abort with 1.36.94+
From: Tom Wood
Date: Fri, 09 Feb 1990 15:11
Date: Fri, 09 Feb 1990 15:11
31 lines
1477 bytes
1477 bytes
Please try the following input to gcc -traditional. I get an abort from
cpp at line 1682 of rescan.c The newline escape is "Newline \0":
(gdb) p *ibp
$1 = 0 '\000'
(gdb) list
1677 } else {
1678 /* If expanding a macro arg, keep the newline space.
1679 If the arg gets stringified, newline space makes nothing. */
1680 *obp++ = *ibp++;
1681 }
1682 } else abort (); /* Newline followed by something random? */
1683 break;
1684 }
1685
1686 /* If there is a pending identifier, handle it and come back here.
Here's the input:
#define StuffWidgetKid(g, q, instigator, request, geo_type) \
if (q == instigator) /* if he's requesting use */ \
find_kid_size (q, &(g.box), geo_type); /*preference */ \
\
/*
* assemble
*/
StuffWidgetKid (g[j], q, instigator, request, geo_type);
--
Tom Wood
Technical Details
Message-ID:
<9002091511.AA01511@gen-rtx.rtp.dg.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!DG-RTP.DG.COM!woodShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!DG-RTP.DG.COM!wood From: wood@DG-RTP.DG.COM (Tom Wood) Newsgroups: gnu.gcc.bug Subject: cpp abort with 1.36.94+ Message-ID: <9002091511.AA01511@gen-rtx.rtp.dg.com> Date: 9 Feb 90 15:11:01 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: wood@dg-rtp.dg.com Distribution: gnu Organization: Data General, RTP, NC Lines: 31