public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc
@ 2012-07-24 21:17 jengelh at medozas dot de
2012-07-27 15:55 ` [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g ebotcazou at gcc dot gnu.org
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: jengelh at medozas dot de @ 2012-07-24 21:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Bug #: 54088
Summary: ICE at dwarf2out.c:20632 with -O1 and sparc
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jengelh@medozas.de
Host: sparc64-suse-linux/sparcv9-suse-linux
I have narrowed down a case whereby gcc-4.7.1-20120723 fails to compile itself
on sparcv9 and sparc64.
Host compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-suse-linux/4.7/lto-wrapper
Target: sparc64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java --enable-checking=release
--with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp
--disable-libitm --disable-plugin --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --enable-linker-build-id
--program-suffix=-4.7 --enable-linux-futex --without-system-libunwind
--with-cpu=v8 --with-long-double-128 --build=sparc64-suse-linux
Thread model: posix
gcc version 4.7.1 20120723 [gcc-4_7-branch revision 189773] (SUSE Linux)
The new compiler is configured a bit simplified:
jengelh@ares:/tmp/gcc-4.7.1-20120723/obj> ../configure --with-cpu=v8
--enable-languages=c && make STAGE1_CFLAGS='-O1 -g'
[...]
Checking for build/host/target... sparc64-suse-linux
[...]
gcc -c -DIN_GCC_FRONTEND -O1 -g -DIN_GCC -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I../../gcc/../libcpp/include -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber ../../gcc/c-parser.c -o
c-parser.o
../../gcc/c-parser.c: In function ‘c_parser_omp_for_loop’:
../../gcc/c-parser.c:10140:1: internal compiler error: in
dwarf2out_var_location, at dwarf2out.c:20366
Please submit a full bug report,
with preprocessed source if appropriate.
This can happen in a bunch of different places; I have seen it occur with the
gcc/graphite-poly.c source file also; in both cases, it triggered this assert
in line 20332-20336:
gcc_assert (prev
&& (CALL_P (prev)
|| (NONJUMP_INSN_P (prev)
&& GET_CODE (PATTERN (prev)) == SEQUENCE
&& CALL_P (XVECEXP (PATTERN (prev), 0, 0)))));
A user account can be provided, if desired.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
@ 2012-07-27 15:55 ` ebotcazou at gcc dot gnu.org
2012-07-28 12:09 ` jengelh at medozas dot de
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-07-27 15:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2012-07-27
CC| |ebotcazou at gcc dot
| |gnu.org
Summary|ICE at dwarf2out.c:20632 |ICE at dwarf2out.c:20632
|with -O1 and sparc |with -O1 -g
Ever Confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-07-27 15:55:34 UTC ---
We just need a preprocessed file as explained in http://gcc.gnu.org/bugs/
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
2012-07-27 15:55 ` [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g ebotcazou at gcc dot gnu.org
@ 2012-07-28 12:09 ` jengelh at medozas dot de
2012-07-28 13:09 ` mikpe at it dot uu.se
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jengelh at medozas dot de @ 2012-07-28 12:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #2 from Jan Engelhardt <jengelh at medozas dot de> 2012-07-28 12:09:24 UTC ---
Created attachment 27883
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27883
Full preprocessed output
Thanks for reminding me about the standard procedure :)
The minimal command is
gcc -c -O1 -g -Wno-narrowing -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common c-parser.i -o c-parser.o
Both -O1 and -g are required; changing the g or O level will not trigger the
issue.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
2012-07-27 15:55 ` [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g ebotcazou at gcc dot gnu.org
2012-07-28 12:09 ` jengelh at medozas dot de
@ 2012-07-28 13:09 ` mikpe at it dot uu.se
2012-07-28 19:43 ` jengelh at medozas dot de
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: mikpe at it dot uu.se @ 2012-07-28 13:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2012-07-28 13:08:39 UTC ---
I can reproduce the ICE with gcc 4.8-20120722 and 4.7-20120721, but not with
4.6-20120720, on sparc64-linux.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (2 preceding siblings ...)
2012-07-28 13:09 ` mikpe at it dot uu.se
@ 2012-07-28 19:43 ` jengelh at medozas dot de
2012-07-31 9:42 ` pinskia at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jengelh at medozas dot de @ 2012-07-28 19:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #4 from Jan Engelhardt <jengelh at medozas dot de> 2012-07-28 19:42:50 UTC ---
Created attachment 27884
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27884
somewhat reduced testcase
it's not a minimal one, but still lost a good deal of lines.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (3 preceding siblings ...)
2012-07-28 19:43 ` jengelh at medozas dot de
@ 2012-07-31 9:42 ` pinskia at gcc dot gnu.org
2012-07-31 10:22 ` jengelh at inai dot de
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-07-31 9:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-31 09:42:07 UTC ---
Report this bug to opensuse.
This should have been fixed already by revision 187605 on the 4.7.1 branch.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (4 preceding siblings ...)
2012-07-31 9:42 ` pinskia at gcc dot gnu.org
@ 2012-07-31 10:22 ` jengelh at inai dot de
2012-07-31 10:41 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jengelh at inai dot de @ 2012-07-31 10:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Jan Engelhardt <jengelh at inai dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenther at suse dot de
--- Comment #6 from Jan Engelhardt <jengelh at inai dot de> 2012-07-31 10:22:21 UTC ---
Well it seems rev 187605 just did not fix it; it certainly is in the tarball.
(Richard, you prepare the tarballs that go into the openSUSE Build Service..)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (5 preceding siblings ...)
2012-07-31 10:22 ` jengelh at inai dot de
@ 2012-07-31 10:41 ` rguenth at gcc dot gnu.org
2012-07-31 11:04 ` jengelh at inai dot de
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-31 10:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
CC|rguenther at suse dot de |rguenth at gcc dot gnu.org
--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-31 10:40:23 UTC ---
It is, the bug must be still there.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (6 preceding siblings ...)
2012-07-31 10:41 ` rguenth at gcc dot gnu.org
@ 2012-07-31 11:04 ` jengelh at inai dot de
2012-08-02 8:01 ` ebotcazou at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jengelh at inai dot de @ 2012-07-31 11:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #8 from Jan Engelhardt <jengelh at inai dot de> 2012-07-31 11:04:01 UTC ---
The ICE continues to occur even if I leave out the handful of openSUSE patches.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (7 preceding siblings ...)
2012-07-31 11:04 ` jengelh at inai dot de
@ 2012-08-02 8:01 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:22 ` [Bug rtl-optimization/54088] [4.7/4.8 regression] " ebotcazou at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-08-02 8:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |ebotcazou at gcc dot
|gnu.org |gnu.org
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-02 08:01:06 UTC ---
Investigating.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/54088] [4.7/4.8 regression] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (9 preceding siblings ...)
2012-08-25 23:22 ` [Bug rtl-optimization/54088] [4.7/4.8 regression] " ebotcazou at gcc dot gnu.org
@ 2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:23 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:24 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-08-25 23:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-25 23:21:56 UTC ---
Author: ebotcazou
Date: Sat Aug 25 23:21:53 2012
New Revision: 190674
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190674
Log:
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/jump.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/54088] [4.7/4.8 regression] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (8 preceding siblings ...)
2012-08-02 8:01 ` ebotcazou at gcc dot gnu.org
@ 2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-08-25 23:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-25 23:21:56 UTC ---
Author: ebotcazou
Date: Sat Aug 25 23:21:53 2012
New Revision: 190674
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190674
Log:
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/jump.c
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-25 23:22:25 UTC ---
Author: ebotcazou
Date: Sat Aug 25 23:22:21 2012
New Revision: 190675
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190675
Log:
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/jump.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/54088] [4.7/4.8 regression] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (10 preceding siblings ...)
2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org
@ 2012-08-25 23:23 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:24 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-08-25 23:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-25 23:22:25 UTC ---
Author: ebotcazou
Date: Sat Aug 25 23:22:21 2012
New Revision: 190675
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190675
Log:
PR rtl-optimization/54088
* jump.c (delete_related_insns): Robustify latest change.
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/jump.c
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug rtl-optimization/54088] [4.7/4.8 regression] ICE at dwarf2out.c:20632 with -O1 -g
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
` (11 preceding siblings ...)
2012-08-25 23:23 ` ebotcazou at gcc dot gnu.org
@ 2012-08-25 23:24 ` ebotcazou at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-08-25 23:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54088
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.2
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-08-25 23:24:27 UTC ---
This should compile now.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-08-25 23:24 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-24 21:17 [Bug c/54088] New: ICE at dwarf2out.c:20632 with -O1 and sparc jengelh at medozas dot de
2012-07-27 15:55 ` [Bug c/54088] ICE at dwarf2out.c:20632 with -O1 -g ebotcazou at gcc dot gnu.org
2012-07-28 12:09 ` jengelh at medozas dot de
2012-07-28 13:09 ` mikpe at it dot uu.se
2012-07-28 19:43 ` jengelh at medozas dot de
2012-07-31 9:42 ` pinskia at gcc dot gnu.org
2012-07-31 10:22 ` jengelh at inai dot de
2012-07-31 10:41 ` rguenth at gcc dot gnu.org
2012-07-31 11:04 ` jengelh at inai dot de
2012-08-02 8:01 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:22 ` [Bug rtl-optimization/54088] [4.7/4.8 regression] " ebotcazou at gcc dot gnu.org
2012-08-25 23:22 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:23 ` ebotcazou at gcc dot gnu.org
2012-08-25 23:24 ` ebotcazou 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).