Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-08 Thread Eric Botcazou
Sorry. How does the attached look? (am bootstrapping now) Thanks for devising the patch. However, we are in the process of fixing the issue on the Ada side so please do not apply it for now. -- Eric Botcazou

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-08 Thread Eric Botcazou
This break Ada. Fixed thusly, bootstrapped and regtested on x86_64-suse-linux, applied. 2013-08-08 Eric Botcazou ebotca...@adacore.com * gcc-interface/Makefile.in (TOOLS_LIBS): Pick C object files from the compiler build and use standard library variables.

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-08 Thread David Malcolm
On Thu, 2013-08-08 at 16:36 +0200, Eric Botcazou wrote: This break Ada. Fixed thusly, bootstrapped and regtested on x86_64-suse-linux, applied. Thanks; sorry again about the breakage.

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-08 Thread Jan-Benedict Glaw
On Thu, 2013-08-08 10:43:53 -0400, David Malcolm dmalc...@redhat.com wrote: On Thu, 2013-08-08 at 16:36 +0200, Eric Botcazou wrote: This break Ada. Fixed thusly, bootstrapped and regtested on x86_64-suse-linux, applied. Thanks; sorry again about the breakage. Build Robot

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-07 Thread Andreas Schwab
David Malcolm dmalc...@redhat.com writes: diff --git a/gcc/coretypes.h b/gcc/coretypes.h index edb9c8c..54bfe7f 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -169,6 +169,12 @@ typedef const struct basic_block_def *const_basic_block; in target.h. */ typedef int reg_class_t;

Re: [PATCH] Fix broken build on sparc (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-07 Thread Eric Botcazou
I think it's r201508, but in any case, I'm attaching a patch which fixes this build error. Only very lightly tested so far, with configure --target=sparc-linux with buildhost x86_64. Was able to build a cc1 and step through the changed code in the debugger, though am getting cc1: error: no

Re: [PATCH] Fix broken build on sparc (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-07 Thread David Malcolm
On Wed, 2013-08-07 at 15:25 +0200, Eric Botcazou wrote: Looks good, please install if not already done. Thanks; I've now committed this to trunk as r201569.

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-07 Thread David Malcolm
On Wed, 2013-08-07 at 09:01 +0200, Andreas Schwab wrote: David Malcolm dmalc...@redhat.com writes: diff --git a/gcc/coretypes.h b/gcc/coretypes.h index edb9c8c..54bfe7f 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -169,6 +169,12 @@ typedef const struct basic_block_def

[buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Jan-Benedict Glaw
On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL: http://gcc.gnu.org/viewcvs?rev=201508root=gccview=rev Log: Automated conversion of passes to C++ classes gcc/ Patch autogenerated by refactor_passes.py from

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Jan-Benedict Glaw
On Tue, 2013-08-06 13:12:57 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL: http://gcc.gnu.org/viewcvs?rev=201508root=gccview=rev Log: Automated conversion of passes to C++

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Jan-Benedict Glaw
On Tue, 2013-08-06 13:18:16 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Tue, 2013-08-06 13:12:57 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL:

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Jan-Benedict Glaw
On Tue, 2013-08-06 14:10:11 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: And probably also for sparc{,64}-linux: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 13:12 +0200, Jan-Benedict Glaw wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL: http://gcc.gnu.org/viewcvs?rev=201508root=gccview=rev Log: Automated conversion of passes to C++ classes gcc/

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 12:06 -0400, David Malcolm wrote: On Tue, 2013-08-06 at 13:12 +0200, Jan-Benedict Glaw wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL: http://gcc.gnu.org/viewcvs?rev=201508root=gccview=rev

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Jan-Benedict Glaw
On Tue, 2013-08-06 12:06:24 -0400, David Malcolm dmalc...@redhat.com wrote: On Tue, 2013-08-06 at 13:12 +0200, Jan-Benedict Glaw wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: [Breakage on epiphany-elf] I'm kicking off a bootstrap of this (on

[rl78]: Port to new pass C++ API (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 13:18 +0200, Jan-Benedict Glaw wrote: On Tue, 2013-08-06 13:12:57 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: On Mon, 2013-08-05 20:16:05 -, dmalc...@gcc.gnu.org dmalc...@gcc.gnu.org wrote: New Revision: 201508 URL:

[PATCH] Fix broken build on sparc (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 14:12 +0200, Jan-Benedict Glaw wrote: On Tue, 2013-08-06 14:10:11 +0200, Jan-Benedict Glaw jbg...@lug-owl.de wrote: And probably also for sparc{,64}-linux: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Richard Henderson
On 08/06/2013 06:06 AM, David Malcolm wrote: Index: gcc/config/epiphany/epiphany.h === --- gcc/config/epiphany/epiphany.h(revision 201526) +++ gcc/config/epiphany/epiphany.h(working copy) @@ -929,6 +929,9 @@ };

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 10:34 -1000, Richard Henderson wrote: On 08/06/2013 06:06 AM, David Malcolm wrote: Index: gcc/config/epiphany/epiphany.h === --- gcc/config/epiphany/epiphany.h (revision 201526) +++

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread Richard Henderson
On 08/06/2013 11:23 AM, David Malcolm wrote: gcc/ * coretypes.h (rtl_opt_pass): Add. (gcc::context): Add. * config/epiphany/epiphany.c (pass_mode_switch_use): New. (epiphany_init): Port to new C++ pass API. (epiphany_optimize_mode_switching): Likewise.

Re: [rl78]: Port to new pass C++ API (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-06 Thread DJ Delorie
Go for it. The static 212 is not required as long as the pass shows up in the right spot in the pass sequence.

Re: [buildbot] r201508: Build failures after pass C++ conversion

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 12:49 -1000, Richard Henderson wrote: On 08/06/2013 11:23 AM, David Malcolm wrote: gcc/ * coretypes.h (rtl_opt_pass): Add. (gcc::context): Add. * config/epiphany/epiphany.c (pass_mode_switch_use): New.

Re: [rl78]: Port to new pass C++ API (was Re: [buildbot] r201508: Build failures after pass C++ conversion)

2013-08-06 Thread David Malcolm
On Tue, 2013-08-06 at 19:53 -0400, DJ Delorie wrote: Go for it. The static 212 is not required as long as the pass shows up in the right spot in the pass sequence. Thanks. I checked, and both with and without the hardcoded 212, the dumpfile for the pass for a foo.c is currently: