[Bug 442271]

Paolo-k 442271 at bugs.launchpad.net
Thu Oct 11 10:15:56 UTC 2012


Author: paolo
Date: Thu Oct 11 10:15:49 2012
New Revision: 192351

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192351
Log:
2012-10-11  Paolo Carlini  <paolo.carlini at oracle.com>

	PR c++/43765
	* g++.dg/parse/pr43765.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/pr43765.C
Modified:
    trunk/gcc/testsuite/ChangeLog

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/442271

Title:
  [Karmic] g++ hangs when trying to compile file

Status in gcc-defaults:
  Fix Released
Status in “gcc-defaults” package in Ubuntu:
  Triaged

Bug description:
  g++ began to hang after I added the following code (I had been
  experimented with initialization):

  const char * temp[] = {"607", "612", 0};
  	
  	SomeType vals[] =
  	{
  		{
  			values : temp,
  			operator_type : IBD_Equal
  		},
  		0
  	};

  where SomeType:

  struct SomeType
  {
  	char * values[];
  	SomeEnumType e;
  };

  the same things with, for example:

  	SomeType vals[] =
  	{
  		{
  			values : "text",
  			e : SomeEnuValue
  		},
  		0
  	};

  ProblemType: Bug
  Architecture: i386
  Date: Sun Oct  4 17:48:19 2009
  DistroRelease: Ubuntu 9.10
  Package: g++ 4:4.4.1-1ubuntu2
  ProcEnviron:
   PATH=(custom, user)
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
  SourcePackage: gcc-defaults
  Uname: Linux 2.6.31-11-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-defaults/+bug/442271/+subscriptions




More information about the foundations-bugs mailing list