public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/66209] New: Out of memory when compiling with --coverage and optimizations
@ 2015-05-19 18:22 wellnhofer at aevum dot de
2015-05-20 7:40 ` [Bug gcov-profile/66209] " rguenth at gcc dot gnu.org
2015-05-20 14:49 ` wellnhofer at aevum dot de
0 siblings, 2 replies; 3+ messages in thread
From: wellnhofer at aevum dot de @ 2015-05-19 18:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66209
Bug ID: 66209
Summary: Out of memory when compiling with --coverage and
optimizations
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: wellnhofer at aevum dot de
Target Milestone: ---
Created attachment 35570
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35570&action=edit
Problematic source file
Compiling the attached file `scanners.c` with --coverage and -O1 or -O2 results
in:
$ gcc -O1 --coverage -c scanners.c
cc1: out of memory allocating 4064 bytes after a total of 2528780288 bytes
I'm using gcc 4.9.1 shipped with Ubuntu 14.10.
The source file contains a single function generated with re2c from the
following input:
// Try to match email autolink after first <, returning num of chars matched.
int _scan_autolink_email(const unsigned char *p)
{
const unsigned char *marker = NULL;
const unsigned char *start = p;
/*!re2c
[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+
[@]
[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?
([.][a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*
[>] { return (p - start); }
.? { return 0; }
*/
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gcov-profile/66209] Out of memory when compiling with --coverage and optimizations
2015-05-19 18:22 [Bug gcov-profile/66209] New: Out of memory when compiling with --coverage and optimizations wellnhofer at aevum dot de
@ 2015-05-20 7:40 ` rguenth at gcc dot gnu.org
2015-05-20 14:49 ` wellnhofer at aevum dot de
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-05-20 7:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66209
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |64928
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Maybe related to PR64928
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928
[Bug 64928] [4.8/4.9/5/6 Regression] Inordinate cpu time and memory usage in
"phase opt and generate" with -ftest-coverage -fprofile-arcs
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug gcov-profile/66209] Out of memory when compiling with --coverage and optimizations
2015-05-19 18:22 [Bug gcov-profile/66209] New: Out of memory when compiling with --coverage and optimizations wellnhofer at aevum dot de
2015-05-20 7:40 ` [Bug gcov-profile/66209] " rguenth at gcc dot gnu.org
@ 2015-05-20 14:49 ` wellnhofer at aevum dot de
1 sibling, 0 replies; 3+ messages in thread
From: wellnhofer at aevum dot de @ 2015-05-20 14:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66209
Nick Wellnhofer <wellnhofer at aevum dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Nick Wellnhofer <wellnhofer at aevum dot de> ---
Yes, this seems to be the same issue.
*** This bug has been marked as a duplicate of bug 64928 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-20 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 18:22 [Bug gcov-profile/66209] New: Out of memory when compiling with --coverage and optimizations wellnhofer at aevum dot de
2015-05-20 7:40 ` [Bug gcov-profile/66209] " rguenth at gcc dot gnu.org
2015-05-20 14:49 ` wellnhofer at aevum dot de
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).