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: cxx-mem-model merge [4 of 9] c-family


On 11/04/2011 02:32 PM, Jeff Law wrote:

Here's the updated c-family file (with an updated changelog as
well).  I added a warning to common.c and updated
builtins.c::get_memmodel where the same error was issued.  That is
changed to a warning as well.  I also added an entry in the
testsuite to check for the warning.
This stuff is well out of my area of expertise. Hopefully others

mine too! :-)


!       /* Only convert parameters if the size is appropriate with new
format
! 	 sync routines.  */
!       if (orig_format ||
! 	    tree_int_cst_equal (TYPE_SIZE (ptype), TYPE_SIZE (arg_type)))

Boolean operator goes on the next line like this

	if (orig_format
	    || tree_int_cst_equal ..)

Fixed.


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