public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/35061]  New: #pragma pop_macro causes ICE if no  macro value on stack
@ 2008-02-03  8:40 dannysmith at users dot sourceforge dot net
  2008-02-06 10:57 ` [Bug preprocessor/35061] " fxcoudert at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-02-03  8:40 UTC (permalink / raw)
  To: gcc-bugs

A "#pragma pop_macro" without a preceding "#pragma push_macro"  triggers an ICE
on  mingw32

// pop_macro.c 
#define X  1
int main()
{
// # pragma push_macro("X")
# undef X
# define X 2
# pragma pop_macro("X")
return 0;
}

gcc pop_macro.c
pop_macro.c: In function 'main':
pop_macro.c:9: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: #pragma pop_macro causes ICE if no  macro value on stack
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dannysmith at users dot sourceforge dot net
GCC target triplet: i686-pc-mingw32


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-15 14:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-03  8:40 [Bug preprocessor/35061] New: #pragma pop_macro causes ICE if no macro value on stack dannysmith at users dot sourceforge dot net
2008-02-06 10:57 ` [Bug preprocessor/35061] " fxcoudert at gcc dot gnu dot org
2008-02-06 17:30 ` dannysmith at users dot sourceforge dot net
2008-02-14 21:43 ` dannysmith at gcc dot gnu dot org
2008-02-14 21:45 ` dannysmith at users dot sourceforge dot net
2008-02-14 22:18 ` ubizjak at gmail dot com
2008-02-15 14:19 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).