public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
@ 2004-10-30 19:11 danglin at gcc dot gnu dot org
  2004-10-30 19:14 ` [Bug tree-optimization/18232] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-10-30 19:11 UTC (permalink / raw)
  To: gcc-bugs

stage1/xgcc -Bstage1/ -B/home/dave/opt/gnu/gcc/gcc-4.0.0/hppa-linux/bin/ -c   -g
 -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototype
s -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -
fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../.
./gcc/gcc/../include -I../../gcc/gcc/../libcpp/include  ../../gcc/gcc/tree-ssa-o
perands.c -o tree-ssa-operands.o
cc1: warnings being treated as errors
../../gcc/gcc/tree-ssa-operands.c: In function 'get_expr_operands':
../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized
 in this function
make[2]: *** [tree-ssa-operands.o] Error 1

Aside from the unitialized error, the warning is garbled.

-- 
           Summary: ../../gcc/gcc/tree-ssa-operands.c:1624: warning:
                    'bi$ptr2' is used uninitialized in this function
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
@ 2004-10-30 19:14 ` pinskia at gcc dot gnu dot org
  2004-10-30 19:33 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-30 19:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-30 19:14 -------
Mine, I posted a patch for this already:
<http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02688.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
          Component|c                           |tree-optimization
     Ever Confirmed|                            |1
  GCC build triplet|hppa-unknown-linux-gnu      |
   GCC host triplet|hppa-unknown-linux-gnu      |
 GCC target triplet|hppa-unknown-linux-gnu      |hppa-unknown-linux-gnu,
                   |                            |powerpc-darwin
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-30 19:14:19
               date|                            |
   Target Milestone|---                         |4.0.0


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
  2004-10-30 19:14 ` [Bug tree-optimization/18232] " pinskia at gcc dot gnu dot org
@ 2004-10-30 19:33 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-10-30 19:37 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-10-30 19:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-30 19:33 -------
Subject: Re:  ../../gcc/gcc/tree-ssa-operands.c:1

> Mine, I posted a patch for this already:
> <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg02688.html>.

What about the garbled warning 'bi$ptr2'?

Dave


-- 


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
  2004-10-30 19:14 ` [Bug tree-optimization/18232] " pinskia at gcc dot gnu dot org
  2004-10-30 19:33 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-10-30 19:37 ` pinskia at gcc dot gnu dot org
  2004-10-30 19:45 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-30 19:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-30 19:37 -------
if you are talking about how the quotes are, then you have a LC_* set to UTF-8 so it looks like junk 
because your terminal does not support UTF-8.

If you are talking about "bi$ptr2" being werid, it really is bi.ptr2 which is PR 14329.

-- 


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-30 19:37 ` pinskia at gcc dot gnu dot org
@ 2004-10-30 19:45 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-10-30 19:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-10-30 19:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-30 19:45 -------
Subject: Re:  ../../gcc/gcc/tree-ssa-operands.c:1

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-30
> 19:37 -------
> if you are talking about how the quotes are, then you have a LC_* set to
> UTF-8 so it looks like junk 
> because your terminal does not support UTF-8.

No.

> If you are talking about "bi$ptr2" being werid, it really is bi.ptr2 which
> is PR 14329.

So, how did . become $?  Typically, I do gcc builds in the background
with nohup with standard output and standard error directed to a file,
not a terminal.  The transformation occurs irrespective of whether
LANG=C is set in my environment or not.  I have none of the  LC_* set.

Dave


-- 


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-30 19:45 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-10-30 19:49 ` pinskia at gcc dot gnu dot org
  2004-10-31 10:28 ` giovannibajo at libero dot it
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-30 19:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-30 19:49 -------
(In reply to comment #4)
> Subject: Re:  ../../gcc/gcc/tree-ssa-operands.c:1
> 
> > If you are talking about "bi$ptr2" being werid, it really is bi.ptr2 which
> > is PR 14329.
> 
> So, how did . become $?  

When we do scalar replacement assignment (aka SRA) we create new decls with a name where we is 
"oldvariable$field" instead of just "oldvariable.field", anyways in this case, the warning is not really 
right.

-- 


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-10-30 19:49 ` pinskia at gcc dot gnu dot org
@ 2004-10-31 10:28 ` giovannibajo at libero dot it
  2004-11-01 22:22 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-31 10:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-10-31 10:28 -------
*** Bug 18245 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucier at math dot purdue
                   |                            |dot edu


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


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

* [Bug tree-optimization/18232] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-10-31 10:28 ` giovannibajo at libero dot it
@ 2004-11-01 22:22 ` pinskia at gcc dot gnu dot org
  2004-11-01 22:24 ` [Bug tree-optimization/18232] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2004-11-01 22:25 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-01 22:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-01 22:22 -------
Note I filed PR 18268 for the SRA problem.
I will now commit my patch.

-- 


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


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

* [Bug tree-optimization/18232] [4.0 Regression] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-11-01 22:22 ` pinskia at gcc dot gnu dot org
@ 2004-11-01 22:24 ` pinskia at gcc dot gnu dot org
  2004-11-01 22:25 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-01 22:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-01 22:24 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|../../gcc/gcc/tree-ssa-     |[4.0 Regression]
                   |operands.c:1624: warning:   |../../gcc/gcc/tree-ssa-
                   |'bi$ptr2' is used           |operands.c:1624: warning:
                   |uninitialized in this       |'bi$ptr2' is used
                   |function                    |uninitialized in this
                   |                            |function


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


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

* [Bug tree-optimization/18232] [4.0 Regression] ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function
  2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-11-01 22:24 ` [Bug tree-optimization/18232] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-01 22:25 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-01 22:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-01 22:25 -------
Subject: Bug 18232

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-11-01 22:24:53

Modified files:
	gcc            : ChangeLog bitmap.h 

Log message:
	2004-11-01  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR bootstrap/18232
	* bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct.
	(EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p.
	(EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
	(EXECUTE_IF_AND_IN_BITMAP): Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6124&r2=2.6125
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/bitmap.h.diff?cvsroot=gcc&r1=1.39&r2=1.40



-- 


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


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

end of thread, other threads:[~2004-11-01 22:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-30 19:11 [Bug c/18232] New: ../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function danglin at gcc dot gnu dot org
2004-10-30 19:14 ` [Bug tree-optimization/18232] " pinskia at gcc dot gnu dot org
2004-10-30 19:33 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-30 19:37 ` pinskia at gcc dot gnu dot org
2004-10-30 19:45 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-30 19:49 ` pinskia at gcc dot gnu dot org
2004-10-31 10:28 ` giovannibajo at libero dot it
2004-11-01 22:22 ` pinskia at gcc dot gnu dot org
2004-11-01 22:24 ` [Bug tree-optimization/18232] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-01 22:25 ` cvs-commit 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).