On Wed, Oct 24, 2012 at 10:37 AM, Vladimir Makarov <vmaka...@redhat.com> wrote:
>   The following path shouldfix
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55049
>
>   The patch was successfully bootstrapped on x86-64. Sorry, I can not
> bootstrap with mx32 because of libraries absence.

It passed libgcc.  Now I got

[hjl@gnu-tools-1 gcc]$ cat /tmp/x.c
enum gomp_schedule_type
{
  GFS_GUIDED,
  GFS_AUTO
};
struct gomp_work_share
{
  enum gomp_schedule_type sched;
};
struct gomp_team_state
{
  struct gomp_work_share *work_share;
};
struct gomp_thread
{
  void *data;
  struct gomp_team_state ts;
};
extern __thread struct gomp_thread gomp_tls_data;
_Bool
foo (void)
{
  return gomp_tls_data.ts.work_share->sched == GFS_GUIDED;
}
[hjl@gnu-tools-1 gcc]$ ./xgcc -B./ -mx32 -S -O2 /tmp/x.c
/tmp/x.c: In function ‘foo’:
/tmp/x.c:24:1: internal compiler error: in check_rtl, at lra.c:2014
 }
 ^
0x8bfdbd check_rtl
        /export/gnu/import/git/gcc/gcc/lra.c:2014
0x8c071d lra(_IO_FILE*)
        /export/gnu/import/git/gcc/gcc/lra.c:2372
0x875f89 do_reload
        /export/gnu/import/git/gcc/gcc/ira.c:4613
0x876182 rest_of_handle_reload
        /export/gnu/import/git/gcc/gcc/ira.c:4719
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-tools-1 gcc]$


-- 
H.J.

Reply via email to