This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gofrontend-dev] [PATCH 1/4] Gccgo port to s390[x] -- part II


On Tue, Nov 4, 2014 at 4:15 AM, Dominik Vogt <vogt@linux.vnet.ibm.com> wrote:
> See commit comment and ChangeLog for details.

>  	case "amd64", "386":
> +	case "s390", "s390x":

Note that this doesn't do what you want.  In Go, unlike C, cases do
not fall through by default.  So doing this means that the amd64 and
386 cases do nothing at all.

I will change it to

	case "amd64", "386", "s390", "s390x":

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]