[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-19 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #20 from Jakub Jelinek --- Author: jakub Date: Fri Dec 19 12:20:58 2014 New Revision: 218948 URL: https://gcc.gnu.org/viewcvs?rev=218948&root=gcc&view=rev Log: PR preprocessor/63831 * c-cppbuiltin.c (c_cpp_builtins): Don't de

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-06 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #19 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #17) > Created attachment 34199 [details] > gcc5-pr63831.patch > > Untested fix. Thanks Jakub - Works for me - on x86_64-darwin12 all langs (incl. Ada, Java and Obj-C

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-05 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #18 from emsr at gcc dot gnu.org --- Thank you. I knew I was doing this wrong.

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|emsr at gcc

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-12-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #16

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #15 from Iain Sandoe --- Reproducer: $ cat t.h #ifdef __has_attribute #if __has_attribute(availability) /* use better attributes if possible */ #endif #endif gcc-trunk-bust$ ./gcc/xgcc -Bgcc t.h -E >t.i gcc-trunk-bust$ more

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #14 from Iain Sandoe --- this might be a hint: c.f. $ diff -W200 -y --suppress-common-lines s-oscons-tmplt.i /GCC/ml/gcc-trunk-apple/gcc/ada/rts/s-oscons-tmplt.i # 102 "/GCC/ml/gcc-trunk-bust/./gcc/include-fixed/limits.h" 3 4

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #13 from Iain Sandoe --- So at stage #3 building libada, we see that s-oscons.{adb,h} are empty. Looking at the error log : ln: rts/system.ads: File exists In file included from /usr/include/sys/time.h:78:0, from /G

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Iain Sandoe changed: What|Removed |Added Blocks||63773 --- Comment #12 from Iain Sandoe --

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #11 from Iain Sandoe --- unfortunaely, not quite (yet) complete. I tried 217505 + c#10 - on x86_64-darwin12 all langs bootstrap proceeds up to the build of Ada lib. I reverted r217292 and re-tried - bootstrap passed, so still some g

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 emsr at gcc dot gnu.org changed: What|Removed |Added Attachment #33949|0 |1 is obsolete|

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-13 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #9 from emsr at gcc dot gnu.org --- This problem exists also with my baby __has_cpp_attribute. I have to actually solve this. The real answer to this is to also give c-family/c-ppoutput.c a callback to pretty print these built-in mac

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #8 from emsr at gcc dot gnu.org --- Thank you. I'll formalize this in a bit.

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #7 from Markus Trippelsdorf --- (In reply to emsr from comment #6) > Created attachment 33952 [details] > Just remove the define of the __has_attribute macro entirely. > > Just remove the define of the __has_attribute macro entirely.

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #6 from emsr at gcc dot gnu.org --- Created attachment 33952 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33952&action=edit Just remove the define of the __has_attribute macro entirely. Just remove the define of the __has_attr

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #5 from Markus Trippelsdorf --- (In reply to emsr from comment #4) > Can someone quick try that? Yes. It doesn't work. trippels@gcc2-power8 test % /home/trippels/gcc_test/usr/local/bin/g++ -I ./ -MM test.cpp ./1.h:5:6: error: missi

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #4 from emsr at gcc dot gnu.org --- Can someone quick try that?

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 --- Comment #3 from emsr at gcc dot gnu.org --- Created attachment 33949 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33949&action=edit Quick patch. I'm not on a box I can easily build and test. Here is a quick one leaving aside the ques

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #1 fr

[Bug preprocessor/63831] [5 Regression] r217292 causes segfaults with -MM

2014-11-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63831 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---