[Bug c++/54928] Infinite output with after ICE with macro

2012-10-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #10 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-24 22:01:54 UTC --- Author: manu Date: Wed Oct 24 22:01:50 2012 New Revision: 192786 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=192786 Log: 2012-10-24 Manuel

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-24 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #7 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-16 17:59:57 UTC --- This is the problem: Index: tree-diagnostic.c === --- tree-diagnostic.c (revision

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-16 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #8 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-16 18:05:52 UTC --- Created attachment 28457 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28457 better fix The code is re-using the diagnostic passed as an argument

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-16 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #9 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-16 22:26:40 UTC --- Well, you know that already, but I have to remind you that this is not the best place to send patches. When you consider your fix mature enough

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-15 08:58:45 UTC --- Thanks Manuel. Honestly, however, it's the first time in my life that I see this problem, I suspect isn't *that* easy to trigger (I mean, when the

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #3 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-15 09:17:28 UTC --- If an internal_error is triggered during macro unwinding, then it will try to macro unwind it, triggering the bug again, and so on. See: prog.cpp:2:45:

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-15 09:25:08 UTC --- I see. Any chance you can prepare an actual patch?

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic,

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-15 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 --- Comment #6 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-10-15 09:31:06 UTC --- (In reply to comment #4) I see. Any chance you can prepare an actual patch? I want to revisit that old patch at some moment, but I don't think I will

[Bug c++/54928] Infinite output with after ICE with macro

2012-10-14 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54928 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc