https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79230

--- Comment #20 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Created attachment 40616 [details]
> Preliminary patch

I confirm that this patch fixes all the tests in this PR without regression.

> Here is our full test suite:
> http://www.desy.de/~reuter/whizard_gfortran-170126-1131.tar.gz
> Just unpack, do make, then it will produce two binaries, rt_error and 
> rt_error2.

I did so, but running rt_error --check all gave

Running test: particles_1 ... success.
Running test: particles_2 ... success.
Running test: particles_3 ... success.
Running test: particles_4 ... success.
Running test: particles_5 ... success.
Running test: particles_6 ... success.
Running test: particles_7 ... success.
Running test: particles_8 ... success.
Running test: particles_9 ... success.
Running test: models_1 ... success.
Running test: models_2| [No compiled library
'/Users/dominiq/.whizard/lib/whizard/models/external.Test']

Also running prc_omega* failed with

...
make: /Users/reuter/local/bin/omega_SM.opt: No such file or directory
make: *** [prc_omega_diags_1_p_i1.f90] Error 1
| command: make source -j1 -f prc_omega_diags_1_lib.makefile
| Return code = 512
******************************************************************************
******************************************************************************
*** FATAL ERROR: System command returned with nonzero status code
...

Finally rt_error --check radiation_generator failed with

Running test: radiation_generator_1
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Reply via email to