public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/45593] New: ICE on Sparc with -Os
@ 2010-09-08 6:11 lacombar at gmail dot com
2010-09-08 6:14 ` [Bug rtl-optimization/45593] " lacombar at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 12+ messages in thread
From: lacombar at gmail dot com @ 2010-09-08 6:11 UTC (permalink / raw)
To: gcc-bugs
from linux-2.6.36-rc3, `fs/jdb2/journal.c' triggers the following:
/linux-2.6/fs/jbd2/journal.c:1200:1: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
On a reduced testcase:
/sparc-none-linux-none/libexec/gcc/sparc-none-linux-none/4.5.2/cc1 -version
reduced-testcase.c -auxbase-strip fs/jbd2/journal.o -Os -o /tmp/ccW5WcDf.s
GNU C (crosstool-NG) version 4.5.2 20100814 (prerelease)
(sparc-none-linux-none)
compiled by GNU C version 4.3.3, GMP version 5.0.1, MPFR version 3.0.0, MPC
version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (crosstool-NG) version 4.5.2 20100814 (prerelease) (sparcnone-linux-none)
compiled by GNU C version 4.3.3, GMP version 5.0.1, MPFR version 3.0.0, MPC
version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
options passed: reduced-testcase.c -auxbase-strip fs/jbd2/journal.o -Os
options enabled: -falign-functions -falign-jumps -falign-labels
-fargument-alias -fauto-inc-dec -fbranch-count-reg -fcaller-saves -fcommon
-fcprop-registers -fcrossjumping -fcse-follow-jumps
-fdefer-pop -fdelayed-branch -fdelete-null-pointer-checks -fdwarf2-cfi-asm
-fearly-inlining -feliminate-unused-debug-types -fexpensive-optimizations
-fforward-propagate -ffunction-cse -fgcse -fgcse-lm -fguess-branch-probability
-fident -fif-conversion -fif-conversion2
-findirect-inlining -finline -finline-functions
-finline-functions-called-once -finline-small-functions -fipa-cp
-fipa-pure-const -fipa-reference -fipa-sra -fira-share-save-slots
-fira-share-spill-slots -fivopts -fkeep-static-consts -fleading-underscore
-fmath-errno -fmerge-constants -fmerge-debug-strings
-fmove-loop-invariants -fomit-frame-pointer -foptimize-register-move
-foptimize-sibling-calls -fpcc-struct-return -fpeephole -fpeephole2
-fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop
-fsched-critical-path-heuristic -fsched-dep-count-heuristic
-fsched-group-heuristic -fsched-interblock -fsched-last-insn-heuristic
-fsched-rank-heuristic -fsched-spec -fsched-spec-insn-heuristic
-fsched-stalled-insns-dep -fschedule-insns2 -fshow-column -fsigned-zeros
-fsplit-ivs-in-unroller -fsplit-wide-types -fstrict-aliasing
-fstrict-overflow -fthread-jumps -ftoplevel-reorder -ftrapping-math
-ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copy-prop
-ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts
-ftree-dse -ftree-forwprop -ftree-fre -ftree-loop-im -ftree-loop-ivcanon
-ftree-loop-optimize -ftree-parallelize-loops= -ftree-phiprop -ftree-pre
-ftree-pta -ftree-reassoc -ftree-scev-cprop -ftree-sink
-ftree-slp-vectorize -ftree-sra -ftree-switch-conversion -ftree-ter
-ftree-vect-loop-version -ftree-vrp -funit-at-a-time -fvar-tracking
-fvar-tracking-assignments -fzero-initialized-in-bss -m32 -mapp-regs -mfpu
-mglibc -mlong-double-64 -mptr32 -msoft-quad-float
Compiler executable checksum: f32dd74a0af03a816776742ef7661751
printk journal_fail_superblock journal_get_superblock load_superblock
jbd2_journal_update_format jbd2_journal_wipe
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> <visibility> <early_local_cleanups> <whole-program> <cp>
<inline> <static-var> <pure-const>Assembling functions:
journal_get_superblock
reduced-testcase.c: In function 'journal_get_superblock':
reduced-testcase.c:64:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Backtrace is:
Program received signal SIGSEGV, Segmentation fault.
0x083a5001 in mark_target_live_regs ()
Current language: auto; currently asm
(gdb) bt
#0 0x083a5001 in mark_target_live_regs ()
#1 0x0839fecd in fill_slots_from_thread ()
#2 0x083a0f06 in fill_eager_delay_slots ()
#3 0x083a2777 in dbr_schedule ()
#4 0x083a2ee9 in rest_of_handle_delay_slots ()
#5 0x08340c89 in execute_one_pass ()
#6 0x08340f6d in execute_pass_list ()
#7 0x08340f89 in execute_pass_list ()
#8 0x08340f89 in execute_pass_list ()
#9 0x08460809 in tree_rest_of_compilation ()
#10 0x085b5040 in cgraph_expand_function ()
#11 0x085b52aa in cgraph_expand_all_functions ()
#12 0x085b58f6 in cgraph_optimize ()
#13 0x085b3cbc in cgraph_finalize_compilation_unit ()
#14 0x080c411c in c_write_global_declarations ()
#15 0x0840d15b in compile_file ()
#16 0x0840ef84 in do_compile ()
#17 0x0840f049 in toplev_main ()
#18 0x08131936 in main ()
This ICE happens seems to happen on sparc- with -Os.
--
Summary: ICE on Sparc with -Os
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lacombar at gmail dot com
GCC host triplet: i686-pc
GCC target triplet: sparc-none-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] ICE on Sparc with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
@ 2010-09-08 6:14 ` lacombar at gmail dot com
2010-09-08 9:31 ` mikpe at it dot uu dot se
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: lacombar at gmail dot com @ 2010-09-08 6:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from lacombar at gmail dot com 2010-09-08 06:13 -------
Created an attachment (id=21734)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21734&action=view)
reduced testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] ICE on Sparc with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
2010-09-08 6:14 ` [Bug rtl-optimization/45593] " lacombar at gmail dot com
@ 2010-09-08 9:31 ` mikpe at it dot uu dot se
2010-09-08 21:14 ` [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault " ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: mikpe at it dot uu dot se @ 2010-09-08 9:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from mikpe at it dot uu dot se 2010-09-08 09:30 -------
I can reproduce the ICE on sparc64-linux with 4.5-20100902 and 4.6-20100904 -Os
-m32. With -m64 or -O1/O2/O3 it doesn't ICE. 4.4-20100817 doesn't ICE.
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
2010-09-08 6:14 ` [Bug rtl-optimization/45593] " lacombar at gmail dot com
2010-09-08 9:31 ` mikpe at it dot uu dot se
@ 2010-09-08 21:14 ` ebotcazou at gcc dot gnu dot org
2010-09-10 13:25 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-08 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-09-08 21:13 -------
Confirmed for SPARC/Solaris.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC host triplet|i686-pc |
GCC target triplet|sparc-none-linux |sparc-*-*
Last reconfirmed|0000-00-00 00:00:00 |2010-09-08 21:13:58
date| |
Summary|ICE on Sparc with -Os |[4.5/4.6 regression]
| |segfault with -Os
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (2 preceding siblings ...)
2010-09-08 21:14 ` [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault " ebotcazou at gcc dot gnu dot org
@ 2010-09-10 13:25 ` rguenth at gcc dot gnu dot org
2010-09-13 15:55 ` rguenth at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-10 13:25 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.5.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (3 preceding siblings ...)
2010-09-10 13:25 ` rguenth at gcc dot gnu dot org
@ 2010-09-13 15:55 ` rguenth at gcc dot gnu dot org
2010-09-14 16:25 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-13 15:55 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (4 preceding siblings ...)
2010-09-13 15:55 ` rguenth at gcc dot gnu dot org
@ 2010-09-14 16:25 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:48 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-14 16:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ebotcazou at gcc dot gnu dot org 2010-09-14 16:25 -------
Fixing.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ebotcazou at gcc dot gnu dot|
|org |
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2010-09-08 21:13:58 |2010-09-14 16:25:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (5 preceding siblings ...)
2010-09-14 16:25 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-15 22:48 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:52 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:57 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-15 22:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2010-09-15 22:48 -------
Subject: Bug 45593
Author: ebotcazou
Date: Wed Sep 15 22:48:00 2010
New Revision: 164318
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164318
Log:
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.
Added:
trunk/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/reorg.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (6 preceding siblings ...)
2010-09-15 22:48 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-15 22:52 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:57 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-15 22:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-15 22:51 -------
Subject: Bug 45593
Author: ebotcazou
Date: Wed Sep 15 22:51:44 2010
New Revision: 164319
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164319
Log:
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
- copied unchanged from r164318,
trunk/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/reorg.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
` (7 preceding siblings ...)
2010-09-15 22:52 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-15 22:57 ` ebotcazou at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-15 22:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from ebotcazou at gcc dot gnu dot org 2010-09-15 22:57 -------
Thanks for the reduced testcase.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2010-
| |09/msg01297.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
[not found] <bug-45593-4@http.gcc.gnu.org/bugzilla/>
2011-05-14 20:56 ` danglin at gcc dot gnu.org
@ 2011-05-15 3:43 ` danglin at gcc dot gnu.org
1 sibling, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-05-15 3:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> 2011-05-15 03:04:58 UTC ---
Author: danglin
Date: Sun May 15 03:04:54 2011
New Revision: 173769
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173769
Log:
PR rtl-optimization/48932
Backport from mainline:
2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.
Backport from mainline:
2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/compile/20100915-1.c: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/reorg.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os
[not found] <bug-45593-4@http.gcc.gnu.org/bugzilla/>
@ 2011-05-14 20:56 ` danglin at gcc dot gnu.org
2011-05-15 3:43 ` danglin at gcc dot gnu.org
1 sibling, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-05-14 20:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593
--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2011-05-14 20:39:57 UTC ---
Author: danglin
Date: Sat May 14 20:39:54 2011
New Revision: 173763
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173763
Log:
PR rtl_optimization/48932
Backport from mainline:
2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/45593
* reorg.c (relax_delay_slots): Use emit_copy_of_insn_after to re-emit
insns that were in delay slots as stand-alone insns.
Backport from mainline:
2010-09-15 Eric Botcazou <ebotcazou@adacore.com>
* gcc.c-torture/compile/20100915-1.c: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/20100915-1.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/reorg.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-05-15 3:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-08 6:11 [Bug c/45593] New: ICE on Sparc with -Os lacombar at gmail dot com
2010-09-08 6:14 ` [Bug rtl-optimization/45593] " lacombar at gmail dot com
2010-09-08 9:31 ` mikpe at it dot uu dot se
2010-09-08 21:14 ` [Bug rtl-optimization/45593] [4.5/4.6 regression] segfault " ebotcazou at gcc dot gnu dot org
2010-09-10 13:25 ` rguenth at gcc dot gnu dot org
2010-09-13 15:55 ` rguenth at gcc dot gnu dot org
2010-09-14 16:25 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:48 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:52 ` ebotcazou at gcc dot gnu dot org
2010-09-15 22:57 ` ebotcazou at gcc dot gnu dot org
[not found] <bug-45593-4@http.gcc.gnu.org/bugzilla/>
2011-05-14 20:56 ` danglin at gcc dot gnu.org
2011-05-15 3:43 ` danglin 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).