public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/63289] New: ICE from --param max-vartrack-expr-depth
@ 2014-09-18 2:29 b3timmons at speedymail dot org
2014-09-18 6:03 ` [Bug c/63289] " mpolacek at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: b3timmons at speedymail dot org @ 2014-09-18 2:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
Bug ID: 63289
Summary: ICE from --param max-vartrack-expr-depth
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: b3timmons at speedymail dot org
Host: x86_64
Target: x86_64
Build: x86_64
Created attachment 33509
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33509&action=edit
preprocessed c source reduced by c-reduce and touched up by hand
gcc -v -B. -r -nostdlib -Wall -Wextra -g -O --param max-vartrack-expr-depth=54
testcase.i
gives
Using built-in specs.
COLLECT_GCC=/tmp/local2/bin/gcc
COLLECT_LTO_WRAPPER=/tmp/local2/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/tmp/local2 --with-mpfr=/tmp/local2
--with-gmp=/tmp/local2 --with-cloog=/tmp/local2 --with-mpc=/tmp/local2
--with-isl=/tmp/local2 --enable-languages=c,c++ --enable-__cxa_atexit
Thread model: posix
gcc version 5.0.0 20140830 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-B' '.' '-r' '-nostdlib' '-Wall' '-Wextra' '-g' '-O'
'--param' 'max-vartrack-expr-depth=54' '-mtune=generic' '-march=x86-64'
/tmp/local2/libexec/gcc/x86_64-unknown-linux-gnu/5.0.0/cc1 -fpreprocessed
testcase.i -quiet -dumpbase testcase.i -mtune=generic -march=x86-64 -auxbase
testcase -g -O -Wall -Wextra -version --param max-vartrack-expr-depth=54 -o
/tmp/ccLuuxHP.s
GNU C (GCC) version 5.0.0 20140830 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 5.0.0 20140830 (experimental), GMP version
6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 5.0.0 20140830 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 5.0.0 20140830 (experimental), GMP version
6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: bdbca1d9afdd549def5a1fba0cffe738
gcc: internal compiler error: Segmentation fault (program cc1)
0x40d24c execute
../../gcc/gcc/gcc.c:2900
0x40d479 do_spec_1
../../gcc/gcc/gcc.c:4704
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
0x40dfd7 do_spec_1
../../gcc/gcc/gcc.c:5358
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
0x40dfd7 do_spec_1
../../gcc/gcc/gcc.c:5358
0x40d903 do_spec_1
../../gcc/gcc/gcc.c:5473
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
0x40dfd7 do_spec_1
../../gcc/gcc/gcc.c:5358
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
0x40dfd7 do_spec_1
../../gcc/gcc/gcc.c:5358
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
0x40dfd7 do_spec_1
../../gcc/gcc/gcc.c:5358
0x40fe79 process_brace_body
../../gcc/gcc/gcc.c:5987
0x40fe79 handle_braces
../../gcc/gcc/gcc.c:5901
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Also fails with gcc (Debian 4.7.2-5) 4.7.2 .
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
@ 2014-09-18 6:03 ` mpolacek at gcc dot gnu.org
2014-09-18 6:16 ` mpolacek at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-18 6:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-09-18
CC| |mpolacek at gcc dot gnu.org
Target Milestone|--- |4.8.4
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed with 4.7/4.8/4.9/5; 4.6 doesn't know max-vartrack-expr-depth
parameter. Bisection in progress...
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
2014-09-18 6:03 ` [Bug c/63289] " mpolacek at gcc dot gnu.org
@ 2014-09-18 6:16 ` mpolacek at gcc dot gnu.org
2014-12-03 10:04 ` [Bug middle-end/63289] " mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-09-18 6:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r196263.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
2014-09-18 6:03 ` [Bug c/63289] " mpolacek at gcc dot gnu.org
2014-09-18 6:16 ` mpolacek at gcc dot gnu.org
@ 2014-12-03 10:04 ` mpolacek at gcc dot gnu.org
2014-12-19 13:39 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-12-03 10:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This seems to be fixed on trunk.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
` (2 preceding siblings ...)
2014-12-03 10:04 ` [Bug middle-end/63289] " mpolacek at gcc dot gnu.org
@ 2014-12-19 13:39 ` jakub at gcc dot gnu.org
2015-06-23 8:56 ` rguenth at gcc dot gnu.org
2021-09-20 9:59 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-19 13:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.4 |4.8.5
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.4 has been released.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
` (3 preceding siblings ...)
2014-12-19 13:39 ` jakub at gcc dot gnu.org
@ 2015-06-23 8:56 ` rguenth at gcc dot gnu.org
2021-09-20 9:59 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-06-23 8:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.8.5 |---
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Seems to be a recursion issue.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/63289] ICE from --param max-vartrack-expr-depth
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
` (4 preceding siblings ...)
2015-06-23 8:56 ` rguenth at gcc dot gnu.org
@ 2021-09-20 9:59 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20 9:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63289
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this was a stack limit issue. It seemed to be fixed in GCC 6+. The
compile time is also cut in half too.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-09-20 9:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-18 2:29 [Bug c/63289] New: ICE from --param max-vartrack-expr-depth b3timmons at speedymail dot org
2014-09-18 6:03 ` [Bug c/63289] " mpolacek at gcc dot gnu.org
2014-09-18 6:16 ` mpolacek at gcc dot gnu.org
2014-12-03 10:04 ` [Bug middle-end/63289] " mpolacek at gcc dot gnu.org
2014-12-19 13:39 ` jakub at gcc dot gnu.org
2015-06-23 8:56 ` rguenth at gcc dot gnu.org
2021-09-20 9:59 ` pinskia 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).