public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/37271] New: gcc.dg/pr37186.c doesn't work @ 2008-08-29 0:16 hjl dot tools at gmail dot com 2008-08-29 0:22 ` [Bug c/37271] " hjl dot tools at gmail dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: hjl dot tools at gmail dot com @ 2008-08-29 0:16 UTC (permalink / raw) To: gcc-bugs Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/gcc/ /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c -Wall -Werror -Wno-error=pointer-sign -S -o pr37186.s (timeout = 300) /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c: In function 'bar':^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c:8: warning: pointer targets in passing argument 1 of 'foo' differ in signedness^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c:5: note: expected 'signed char *' but argument is of type 'unsigned char *'^M output is: /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c: In function 'bar':^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c:8: warning: pointer targets in passing argument 1 of 'foo' differ in signedness^M /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c:5: note: expected 'signed char *' but argument is of type 'unsigned char *'^M PASS: gcc.dg/pr37186.c (test for warnings, line 8) FAIL: gcc.dg/pr37186.c (test for excess errors) Excess errors: /export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/pr37186.c:5: note: expected 'signed char *' but argument is of type 'unsigned char *' -- Summary: gcc.dg/pr37186.c doesn't work Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/37271] gcc.dg/pr37186.c doesn't work 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com @ 2008-08-29 0:22 ` hjl dot tools at gmail dot com 2008-08-29 0:38 ` manu at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: hjl dot tools at gmail dot com @ 2008-08-29 0:22 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from hjl dot tools at gmail dot com 2008-08-29 00:21 ------- Revision 139725 is OK and revision 139730 is bad. It may caused by revision 139729. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/37271] gcc.dg/pr37186.c doesn't work 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com 2008-08-29 0:22 ` [Bug c/37271] " hjl dot tools at gmail dot com @ 2008-08-29 0:38 ` manu at gcc dot gnu dot org 2008-08-31 2:16 ` paolo dot carlini at oracle dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: manu at gcc dot gnu dot org @ 2008-08-29 0:38 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from manu at gcc dot gnu dot org 2008-08-29 00:36 ------- Mine. The fix is trivial but I would test it nonetheless before committing. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |manu at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-08-29 00:36:54 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/37271] gcc.dg/pr37186.c doesn't work 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com 2008-08-29 0:22 ` [Bug c/37271] " hjl dot tools at gmail dot com 2008-08-29 0:38 ` manu at gcc dot gnu dot org @ 2008-08-31 2:16 ` paolo dot carlini at oracle dot com 2008-08-31 15:12 ` paolo at gcc dot gnu dot org 2008-08-31 15:14 ` paolo dot carlini at oracle dot com 4 siblings, 0 replies; 6+ messages in thread From: paolo dot carlini at oracle dot com @ 2008-08-31 2:16 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from paolo dot carlini at oracle dot com 2008-08-31 02:14 ------- Manuel, if you agree I would quickly handle this, by just adding a /* { dg-message "note: expected 'signed char *' but argument is of type 'unsigned char *'" } */ at line 5. Ok? -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paolo at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/37271] gcc.dg/pr37186.c doesn't work 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com ` (2 preceding siblings ...) 2008-08-31 2:16 ` paolo dot carlini at oracle dot com @ 2008-08-31 15:12 ` paolo at gcc dot gnu dot org 2008-08-31 15:14 ` paolo dot carlini at oracle dot com 4 siblings, 0 replies; 6+ messages in thread From: paolo at gcc dot gnu dot org @ 2008-08-31 15:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from paolo at gcc dot gnu dot org 2008-08-31 15:11 ------- Subject: Bug 37271 Author: paolo Date: Sun Aug 31 15:09:38 2008 New Revision: 139833 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139833 Log: 2008-08-31 Paolo Carlini <paolo.carlini@oracle.com> PR c/37271 * gcc.dg/pr37186.c: Add dg-message command for line 5. Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/pr37186.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/37271] gcc.dg/pr37186.c doesn't work 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com ` (3 preceding siblings ...) 2008-08-31 15:12 ` paolo at gcc dot gnu dot org @ 2008-08-31 15:14 ` paolo dot carlini at oracle dot com 4 siblings, 0 replies; 6+ messages in thread From: paolo dot carlini at oracle dot com @ 2008-08-31 15:14 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from paolo dot carlini at oracle dot com 2008-08-31 15:12 ------- Fixed. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37271 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-31 15:14 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-08-29 0:16 [Bug c/37271] New: gcc.dg/pr37186.c doesn't work hjl dot tools at gmail dot com 2008-08-29 0:22 ` [Bug c/37271] " hjl dot tools at gmail dot com 2008-08-29 0:38 ` manu at gcc dot gnu dot org 2008-08-31 2:16 ` paolo dot carlini at oracle dot com 2008-08-31 15:12 ` paolo at gcc dot gnu dot org 2008-08-31 15:14 ` paolo dot carlini at oracle 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).