public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42993]  New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s)
@ 2010-02-07 14:32 dcb314 at hotmail dot com
  2010-02-07 14:33 ` [Bug c/42993] " dcb314 at hotmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2010-02-07 14:32 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Linux kernel 2.6.33-rc6 under valgrind
with the C compiler version 4.5 snapshot 20100128 and valgrind said

==2968== Conditional jump or move depends on uninitialised value(s)
==2968==    at 0x7A6925: delegitimize_mem_from_attrs (simplify-rtx.c:244)
==2968==    by 0x961517: ix86_delegitimize_address (i386.c:10883)
==2968==    by 0x93E5F6: emit_note_insn_var_location (var-tracking.c:6515)
==2968==    by 0xCB84D7: htab_traverse_noresize (hashtab.c:753)
==2968==    by 0x941376: emit_notes_for_changes (var-tracking.c:6741)
==2968==    by 0x946A67: vt_emit_notes (var-tracking.c:7106)
==2968==    by 0x94A602: variable_tracking_main (var-tracking.c:7637)
==2968==    by 0x722ECA: execute_one_pass (passes.c:1561)
==2968==    by 0x723154: execute_pass_list (passes.c:1616)
==2968==    by 0x723166: execute_pass_list (passes.c:1617)
==2968==    by 0x723166: execute_pass_list (passes.c:1617)
==2968==    by 0x818C94: tree_rest_of_compilation (tree-optimize.c:413)
==2968==

Line 244 of simplify-rtx.c is

            if (bitsize != GET_MODE_BITSIZE (mode)
                || (bitpos % BITS_PER_UNIT)
                || (toffset && !host_integerp (toffset, 0)))
              decl = NULL;

Preprocessed source code attached. Flags -Os -g required.


-- 
           Summary: simplify-rtx.c:244: Conditional jump or move depends on
                    uninitialised value(s)
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_64-suse-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42993


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/42993] simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s)
  2010-02-07 14:32 [Bug c/42993] New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s) dcb314 at hotmail dot com
@ 2010-02-07 14:33 ` dcb314 at hotmail dot com
  2010-02-07 14:47 ` [Bug middle-end/42993] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2010-02-07 14:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dcb314 at hotmail dot com  2010-02-07 14:33 -------
Created an attachment (id=19818)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19818&action=view)
C 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42993


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42993] [4.5 Regression] simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s)
  2010-02-07 14:32 [Bug c/42993] New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s) dcb314 at hotmail dot com
  2010-02-07 14:33 ` [Bug c/42993] " dcb314 at hotmail dot com
@ 2010-02-07 14:47 ` rguenth at gcc dot gnu dot org
  2010-02-07 15:29 ` rguenth at gcc dot gnu dot org
  2010-02-07 18:13 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-07 14:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-02-07 14:47 -------
Probably the same issue as PR42991.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org
          Component|c                           |middle-end
            Summary|simplify-rtx.c:244:         |[4.5 Regression] simplify-
                   |Conditional jump or move    |rtx.c:244: Conditional jump
                   |depends on uninitialised    |or move depends on
                   |value(s)                    |uninitialised value(s)
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42993


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42993] [4.5 Regression] simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s)
  2010-02-07 14:32 [Bug c/42993] New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s) dcb314 at hotmail dot com
  2010-02-07 14:33 ` [Bug c/42993] " dcb314 at hotmail dot com
  2010-02-07 14:47 ` [Bug middle-end/42993] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-02-07 15:29 ` rguenth at gcc dot gnu dot org
  2010-02-07 18:13 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-07 15:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-02-07 15:29 -------
The fix for 42991 also fixes this bug.

*** This bug has been marked as a duplicate of 42991 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42993


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug middle-end/42993] [4.5 Regression] simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s)
  2010-02-07 14:32 [Bug c/42993] New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s) dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2010-02-07 15:29 ` rguenth at gcc dot gnu dot org
@ 2010-02-07 18:13 ` dcb314 at hotmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2010-02-07 18:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from dcb314 at hotmail dot com  2010-02-07 18:13 -------
(In reply to comment #2)
> Probably the same issue as PR42991.

Does fixing 42991 also fix this problem ?

I suspect it might be worth checking this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42993


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-07 18:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-07 14:32 [Bug c/42993] New: simplify-rtx.c:244: Conditional jump or move depends on uninitialised value(s) dcb314 at hotmail dot com
2010-02-07 14:33 ` [Bug c/42993] " dcb314 at hotmail dot com
2010-02-07 14:47 ` [Bug middle-end/42993] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-02-07 15:29 ` rguenth at gcc dot gnu dot org
2010-02-07 18:13 ` dcb314 at hotmail dot com

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).