public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info
@ 2005-03-07 21:30 amylaar at gcc dot gnu dot org
2005-03-07 21:32 ` [Bug rtl-optimization/20370] " amylaar at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-03-07 21:30 UTC (permalink / raw)
To: gcc-bugs
dead_or_predictable calls propagate_block without checking first if there
is suddicient space in reg_n_info. That can lead to memory corruption.
--
Summary: dead_or_predictable doesn't resize reg_n_info
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Keywords: wrong-code, ice-on-valid-code
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amylaar at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
OtherBugsDependingO 17652
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
@ 2005-03-07 21:32 ` amylaar at gcc dot gnu dot org
2005-04-12 17:42 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-03-07 21:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amylaar at gcc dot gnu dot org 2005-03-07 21:32 -------
Created an attachment (id=8356)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8356&action=view)
proposed fix
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
2005-03-07 21:32 ` [Bug rtl-optimization/20370] " amylaar at gcc dot gnu dot org
@ 2005-04-12 17:42 ` pinskia at gcc dot gnu dot org
2005-07-18 14:55 ` amylaar at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-12 17:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|17652 |
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
2005-03-07 21:32 ` [Bug rtl-optimization/20370] " amylaar at gcc dot gnu dot org
2005-04-12 17:42 ` pinskia at gcc dot gnu dot org
@ 2005-07-18 14:55 ` amylaar at gcc dot gnu dot org
2005-07-18 14:57 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2005-07-18 14:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |07/msg01148.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-07-18 14:55 ` amylaar at gcc dot gnu dot org
@ 2005-07-18 14:57 ` cvs-commit at gcc dot gnu dot org
2005-07-20 22:46 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-18 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-18 14:57 -------
Subject: Bug 20370
CVSROOT: /cvs/gcc
Module name: gcc
Branch: sh-elf-4_1-branch
Changes by: amylaar@gcc.gnu.org 2005-07-18 14:57:06
Modified files:
gcc : ChangeLog loop.c cse.c calls.c ifcvt.c
Log message:
2005-07-15 J"orn Rennecke <joern.rennecke@st.com>
cvs update -j1.531 -j1.530 loop.c
Re-apply this patch:
2005-05-30 Pat Haugen <pthaugen@us.ibm.com>
* loop.c (loop_invariant_p, valid_initial_value_p): Use
regs_invalidated_by_call instead of call_used_regs.
2005-07-15 J"orn Rennecke <joern.rennecke@superh.com>
PR rtl-optimization/18992
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01140.html
Back out this patch:
2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR optimization/12142
* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
uses of the register in the SET_SRC. Remove unnecessary argument.
Replace it with this:
* cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases,
if flag_non_call_exceptions is set and the insn may trap, pass
pc_rtx as dest for recursion.
In SET_SRC part of SET case, if dest is already set, pass it down
unchanged.
2005-07-15 J"orn Rennecke <joern.rennecke@superh.com>
PR rtl-optimization/21848
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01142.html
* calls.c (emit_library_call_value_1): For const functions, add
USEs of the stack slots to CALL_INSN_FUNCTION_USAGE.
2005-07-15 J"orn Rennecke <joern.rennecke@superh.com>
PR rtl-optimization/20370
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg01148.html
* ifcvt.c (dead_or_predicable): Before calling propagate_block,
call allocate_reg_info if necessary.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.8142.2.23&r2=2.8142.2.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.525.2.2&r2=1.525.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.351.2.1&r2=1.351.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/calls.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.385.2.1&r2=1.385.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ifcvt.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.184.2.2&r2=1.184.2.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-07-18 14:57 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-20 22:46 ` pinskia at gcc dot gnu dot org
2005-07-22 12:34 ` cvs-commit at gcc dot gnu dot org
2005-07-22 17:22 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-20 22:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-20 22:23 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-20 22:23:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-07-20 22:46 ` pinskia at gcc dot gnu dot org
@ 2005-07-22 12:34 ` cvs-commit at gcc dot gnu dot org
2005-07-22 17:22 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-22 12:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-22 12:25 -------
Subject: Bug 20370
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amylaar@gcc.gnu.org 2005-07-22 12:25:22
Modified files:
gcc : ChangeLog ifcvt.c
Log message:
PR rtl-optimization/20370
* ifcvt.c (dead_or_predicable): Before calling propagate_block,
call allocate_reg_info if necessary.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9518&r2=2.9519
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ifcvt.c.diff?cvsroot=gcc&r1=1.193&r2=1.194
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug rtl-optimization/20370] dead_or_predictable doesn't resize reg_n_info
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-07-22 12:34 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-22 17:22 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-22 17:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-22 17:21 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20370
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-22 17:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07 21:30 [Bug rtl-optimization/20370] New: dead_or_predictable doesn't resize reg_n_info amylaar at gcc dot gnu dot org
2005-03-07 21:32 ` [Bug rtl-optimization/20370] " amylaar at gcc dot gnu dot org
2005-04-12 17:42 ` pinskia at gcc dot gnu dot org
2005-07-18 14:55 ` amylaar at gcc dot gnu dot org
2005-07-18 14:57 ` cvs-commit at gcc dot gnu dot org
2005-07-20 22:46 ` pinskia at gcc dot gnu dot org
2005-07-22 12:34 ` cvs-commit at gcc dot gnu dot org
2005-07-22 17:22 ` pinskia at gcc dot gnu dot 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).