[Bug c/34867] valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c

2008-06-27 Thread lauras at gcc dot gnu dot org


--- Comment #2 from lauras at gcc dot gnu dot org  2008-06-27 12:30 ---
Subject: Bug 34867

Author: lauras
Date: Fri Jun 27 12:29:55 2008
New Revision: 137175

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137175
Log:
2008-06-27  Laurynas Biveinis  [EMAIL PROTECTED]

PR c/34867
* c-lex.c (lex_charconst): Initialize unsignedp.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-lex.c


-- 


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



[Bug c/34867] valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c

2008-06-27 Thread lauras at gcc dot gnu dot org


--- Comment #3 from lauras at gcc dot gnu dot org  2008-06-27 12:32 ---
Fixed on trunk.


-- 

lauras at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||lauras at gcc dot gnu dot
   ||org
 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.0


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



[Bug c/34867] valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c

2008-06-22 Thread lauras at gcc dot gnu dot org


--- Comment #1 from lauras at gcc dot gnu dot org  2008-06-22 15:23 ---
Confirmed with r137000.

To set unsignedp value, lex_charconst calls cpp_interpret_charconst. Here it
quits early with an error, leaving unsignedp uninitialized. I will post a patch
to fix.


-- 

lauras at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |lauras at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-06-22 15:23:44
   date||


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