public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/58580] New: preprocessor goes OOM with warning for zero literals
@ 2013-09-30 14:18 rguenth at gcc dot gnu.org
  2013-09-30 14:20 ` [Bug preprocessor/58580] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-09-30 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58580
           Summary: preprocessor goes OOM with warning for zero literals
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org

Created attachment 30940
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30940&action=edit
testcase

> g++-4.8  -E test.cpp 
# 1 "test.cpp"
# 1 "<command-line>"
# 1 "test.cpp"
test.cpp:1:1: warning: null character(s) preserved in literal [enabled by
default]
 """""
 ^
test.cpp:2:1: warning: null character(s) preserved in literal [enabled by
default]
""
test.cpp:3:1: warning: null character(s) preserved in literal [enabled by
default]
""
test.cpp:4:1: warning: null character(s) preserved in literal [enabled by
default]
""

cc1plus: out of memory allocating 1677721600 bytes after a total of 405504
bytes

use a suitable ulimit -v to force the error.


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

end of thread, other threads:[~2015-06-23  8:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-30 14:18 [Bug preprocessor/58580] New: preprocessor goes OOM with warning for zero literals rguenth at gcc dot gnu.org
2013-09-30 14:20 ` [Bug preprocessor/58580] [4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2013-10-16  9:51 ` jakub at gcc dot gnu.org
2013-10-21 13:57 ` rguenth at gcc dot gnu.org
2013-10-29 10:17 ` dodji at gcc dot gnu.org
2013-10-31 13:32 ` dodji at gcc dot gnu.org
2013-11-05 14:45 ` rguenth at gcc dot gnu.org
2013-11-06 12:38 ` dodji at gcc dot gnu.org
2013-11-06 17:26 ` [Bug preprocessor/58580] [4.8 " rguenther at suse dot de
2014-01-23  9:13 ` dodji at gcc dot gnu.org
2014-01-27 21:26 ` pthaugen at gcc dot gnu.org
2014-02-24 14:55 ` dodji at gcc dot gnu.org
2014-02-24 14:56 ` rguenth at gcc dot gnu.org
2014-05-22  9:03 ` rguenth at gcc dot gnu.org
2014-12-19 13:32 ` jakub at gcc dot gnu.org
2015-06-23  8:43 ` rguenth at gcc dot gnu.org

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).