[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug preprocessor/58580] New: preprocessor goes OOM with warning for zero literals
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2013-09-30 14:18:17
Message-ID: bug-58580-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic