public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/17964] New: cpp error messages contain wrong line in C++ @ 2004-10-13 0:54 mrs at apple dot com 2004-10-13 0:56 ` [Bug c++/17964] [4.0 Regression] " pinskia at gcc dot gnu dot org ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: mrs at apple dot com @ 2004-10-13 0:54 UTC (permalink / raw) To: gcc-bugs The below testcase recently broke for C++. char *p = "\q"; /* { dg-error "unknown escape" } */ int i; The problem is the line numbers for cpp_error come out as the last line number in the source file. we currently see: t.cc:2:1: warning: unknown escape sequence '\q' instead of: t.cc:1:11: warning: unknown escape sequence '\q' (which is what we see in C). -- Summary: cpp error messages contain wrong line in C++ Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P1 Component: c++ AssignedTo: zack at codesourcery dot com ReportedBy: mrs at apple dot com CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: powerpc-apple-darwin7.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com @ 2004-10-13 0:56 ` pinskia at gcc dot gnu dot org 2004-10-13 1:43 ` bangerth at dealii dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-10-13 0:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-13 00:56 ------- Confirmed, a regression. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |diagnostic Known to fail| |4.0.0 Known to work| |3.3.3 Last reconfirmed|0000-00-00 00:00:00 |2004-10-13 00:56:10 date| | Summary|cpp error messages contain |[4.0 Regression] cpp error |wrong line in C++ |messages contain wrong line | |in C++ Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com 2004-10-13 0:56 ` [Bug c++/17964] [4.0 Regression] " pinskia at gcc dot gnu dot org @ 2004-10-13 1:43 ` bangerth at dealii dot org 2005-01-25 19:15 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: bangerth at dealii dot org @ 2004-10-13 1:43 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bangerth at dealii dot org 2004-10-13 01:43 ------- This seems to have been broken by a patch for which Zack assumed responsibility here: http://gcc.gnu.org/ml/gcc/2004-10/msg00464.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com 2004-10-13 0:56 ` [Bug c++/17964] [4.0 Regression] " pinskia at gcc dot gnu dot org 2004-10-13 1:43 ` bangerth at dealii dot org @ 2005-01-25 19:15 ` pinskia at gcc dot gnu dot org 2005-02-09 9:27 ` zack at codesourcery dot com ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-25 19:15 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com ` (2 preceding siblings ...) 2005-01-25 19:15 ` pinskia at gcc dot gnu dot org @ 2005-02-09 9:27 ` zack at codesourcery dot com 2005-04-21 5:03 ` [Bug c++/17964] [4.0/4.1 " mmitchel at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: zack at codesourcery dot com @ 2005-02-09 9:27 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From zack at codesourcery dot com 2005-02-09 02:28 ------- I am testing a patch for this bug now. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Last reconfirmed|2005-01-11 13:34:31 |2005-02-09 02:28:52 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com ` (3 preceding siblings ...) 2005-02-09 9:27 ` zack at codesourcery dot com @ 2005-04-21 5:03 ` mmitchel at gcc dot gnu dot org 2005-07-05 2:14 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-04-21 5:03 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.0 |4.0.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com ` (4 preceding siblings ...) 2005-04-21 5:03 ` [Bug c++/17964] [4.0/4.1 " mmitchel at gcc dot gnu dot org @ 2005-07-05 2:14 ` pinskia at gcc dot gnu dot org 2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org 2005-09-27 16:23 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-05 2:14 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-05 02:14 ------- Unassigning from Zack since he is now gone from GCC development. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zack at codesourcery dot com|unassigned at gcc dot gnu | |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com ` (5 preceding siblings ...) 2005-07-05 2:14 ` pinskia at gcc dot gnu dot org @ 2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org 2005-09-27 16:23 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:43 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.1 |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/17964] [4.0/4.1 Regression] cpp error messages contain wrong line in C++ 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com ` (6 preceding siblings ...) 2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org @ 2005-09-27 16:23 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:23 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17964 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-27 16:23 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-10-13 0:54 [Bug c++/17964] New: cpp error messages contain wrong line in C++ mrs at apple dot com 2004-10-13 0:56 ` [Bug c++/17964] [4.0 Regression] " pinskia at gcc dot gnu dot org 2004-10-13 1:43 ` bangerth at dealii dot org 2005-01-25 19:15 ` pinskia at gcc dot gnu dot org 2005-02-09 9:27 ` zack at codesourcery dot com 2005-04-21 5:03 ` [Bug c++/17964] [4.0/4.1 " mmitchel at gcc dot gnu dot org 2005-07-05 2:14 ` pinskia at gcc dot gnu dot org 2005-07-08 1:43 ` mmitchel at gcc dot gnu dot org 2005-09-27 16:23 ` mmitchel 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).