[gmx-developers] GCC 4.8

Mark Abraham mark.j.abraham at gmail.com
Wed Apr 3 14:30:10 CEST 2013


Agree a gcc-4.8 would be a good thing, and a good first step is fixing (at
least) the warnings that arise moving from earlier gcc to 4.8.

Mark

On Wed, Apr 3, 2013 at 10:23 AM, Alexey Shvetsov <alexxy at omrb.pnpi.spb.ru>wrote:

> Sure I'll upload a patch series for 4-6 branch that can be then merged to
> master.
> After that I'll fix all outstanding master warnings related to gcc-4.8
>
> Roland Schulz писал 01-04-2013 04:04:
>
>> Hi,
>>
>> I think we should add gcc 4.8 to Jenkins. But currently Jenkins is
>> down for hardware repair and we should first fix first all warnings.
>> If you could upload a patch to Gerrit which fixes all or some of the
>> warnings that would be great.
>>
>> Roland
>>
>> On Sat, Mar 30, 2013 at 3:10 PM, Alexey Shvetsov
>> <alexxy at omrb.pnpi.spb.ru> wrote:
>>
>>  Hi all!
>>>
>>> Recently I tryed to build release-4-6 and master branch with newly
>>> released
>>> gcc-4.8 compiler. All builds fine and passes tests, but there was many
>>> new
>>> warnings most of them are about unused variables. But there some about
>>> array
>>> subscripts above array bounds like
>>>
>>> /home/alexxy/Src/gromacs/src/**programs/grompp/grompp.c:900:**51:
>>> warning: array
>>> subscript is above array bounds [-Warray-bounds]
>>>                                  xp[i][j] += invbox[k][j]*xp[i][k];
>>>                                                    ^
>>> /home/alexxy/Src/gromacs/src/**programs/grompp/grompp.c:921:**37:
>>> warning: array
>>> subscript is above array bounds [-Warray-bounds]
>>>                      com[j] += invbox[k][j]*com[k];
>>>                                      ^
>>>
>>> Are there any plans to add gcc-4.8 to jenkins?
>>> --
>>> Best Regards,
>>> Alexey 'Alexxy' Shvetsov
>>> Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,
>>> Gatchina, Russia
>>> Department of Molecular and Radiation Biophysics
>>> Gentoo Team Ru
>>> Gentoo Linux Dev
>>> mailto:alexxyum at gmail.com
>>> mailto:alexxy at gentoo.org
>>> mailto:alexxy at omrb.pnpi.spb.ru
>>> --
>>> gmx-developers mailing list
>>> gmx-developers at gromacs.org
>>> http://lists.gromacs.org/**mailman/listinfo/gmx-**developers<http://lists.gromacs.org/mailman/listinfo/gmx-developers>[1]
>>>
>>> Please don't post (un)subscribe requests to the list. Use the
>>> www interface or send it to gmx-developers-request@**gromacs.org<gmx-developers-request at gromacs.org>
>>> .
>>>
>>
>> --
>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov [2]
>>
>> 865-241-1537, ORNL PO BOX 2008 MS6309
>>
>> Links:
>> ------
>> [1] http://lists.gromacs.org/**mailman/listinfo/gmx-**developers<http://lists.gromacs.org/mailman/listinfo/gmx-developers>
>> [2] http://cmb.ornl.gov
>>
>
> --
> Best Regards,
> Alexey 'Alexxy' Shvetsov
> Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, Gatchina,
> Russia
> Department of Molecular and Radiation Biophysics
> Gentoo Team Ru
> Gentoo Linux Dev
> mailto:alexxyum at gmail.com
> mailto:alexxy at gentoo.org
> mailto:alexxy at omrb.pnpi.spb.ru
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/**mailman/listinfo/gmx-**developers<http://lists.gromacs.org/mailman/listinfo/gmx-developers>
> Please don't post (un)subscribe requests to the list. Use the www
> interface or send it to gmx-developers-request@**gromacs.org<gmx-developers-request at gromacs.org>
> .
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20130403/28afbe68/attachment.html>


More information about the gromacs.org_gmx-developers mailing list