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: [PATCH] RFC: Fix GCSE bug optimization/11440 (3.3 regression)


Committed.

I switched myself into RTL->C converter mode and managed to create a small
ugly looking C testcase that shows the bug on powerpc-linux-gnu when
executed.


OK to commit to mainline and branch?

Franz.

	PR optimization/11440
	* gcc.c-torture/execute/20030714-1.c: New testcase.

<20030714-1.c>

The test contains invalid code (jumps inside a statement expression to the
outside should be invalid code, there is a PR for documentation on what is
invalid, this code might fail on the tree-ssa branch because of those gotos).


  ({
    ({
      tmp = this->m_positioned;
      goto l0;
      0;
    });

    l0:
    0;
  });

I would change this to be just:
tmp = this->m_positioned;

Thanks,
Andrew Pinski


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