[Bug fortran/68005] New: internal compiler error with -O3 -g -fopenmp

2015-10-17 Thread askhamwhat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68005

Bug ID: 68005
   Summary: internal compiler error with -O3 -g -fopenmp
   Product: gcc
   Version: 4.4.7
Status: UNCONFIRMED
  Severity: minor
  Priority: P3
 Component: fortran
  Assignee: unassigned at gcc dot gnu.org
  Reporter: askhamwhat at gmail dot com
  Target Milestone: ---

Created attachment 36535
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36535&action=edit
reproduces the compiler error with flags listed above

internal compiler error: output_operand: floating constant misused

This is the reported error for the attached example when compiled using:

gfortran -c -g -O3 -fopenmp mincode.f

All 3 flags are required to produce the error (also occurs with -O2 or -O1 but
not -O0)

Version details: GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)


[Bug fortran/68005] internal compiler error with -O3 -g -fopenmp

2015-10-17 Thread askhamwhat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68005

--- Comment #2 from Travis Askham  ---
Newer versions work (I tried 4.8.4 on a personal machine). Will request an
update from my sysadmin...

Thanks.