[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-10 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2009-07-10 08:17 --- This is PR39214 in C++ copy of that stuff. Will test and commit as obvious. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-10 Thread manu at gcc dot gnu dot org
--- Comment #7 from manu at gcc dot gnu dot org 2009-07-10 11:50 --- (In reply to comment #6) This is PR39214 in C++ copy of that stuff. Will test and commit as obvious. Please, also add the testcase. Bonus points for factoring out the parts that are shared between the C and C++

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-10 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2009-07-10 11:57 --- Subject: Bug 40502 Author: jakub Date: Fri Jul 10 11:56:55 2009 New Revision: 149470 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=149470 Log: PR c++/40502 * error.c (cp_print_error_function):

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-10 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2009-07-10 22:31 --- Subject: Bug 40502 Author: jakub Date: Fri Jul 10 22:31:34 2009 New Revision: 149499 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=149499 Log: PR c++/40502 * error.c (cp_print_error_function):

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-10 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2009-07-10 22:37 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-07-09 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||jakub at gcc dot gnu dot org Priority|P3

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-06-27 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2009-06-27 20:07 --- Reduced testcase: === struct A { char x[12], y[35]; }; struct B { char z[50]; }; inline void foo(char* dest, const char* __restrict src,

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-06-22 05:33 --- This is because __artificial__ is not being treated as it should be. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-06-21 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-06-22 05:34 --- as witness from: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘void pat_read_waveheader(FILE*, WaveHeader*, int)’ at t.cc:7132:40: t.cc:1965:94: warning: call to char*

[Bug middle-end/40502] [4.5 Regression] crash in cp_diagnostic_starter

2009-06-20 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-20 13:07 --- #0 0x08214f03 in cp_print_error_function (context=0x8f14440, diagnostic=0xbfffd530) at /home/richard/src/trunk/gcc/cp/error.c:2607 2607 if (TREE_CODE (block) == FUNCTION_DECL) (gdb) l 2602