rpms/gcc/devel gcc41-java-bogus-debugline.patch,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 3 13:56:20 UTC 2007


Author: jakub

Update of /cvs/dist/rpms/gcc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29368

Modified Files:
	gcc41-java-bogus-debugline.patch 
Log Message:
4.1.2-8

gcc41-java-bogus-debugline.patch:
 0 files changed

Index: gcc41-java-bogus-debugline.patch
===================================================================
RCS file: /cvs/dist/rpms/gcc/devel/gcc41-java-bogus-debugline.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gcc41-java-bogus-debugline.patch	3 Apr 2007 13:14:16 -0000	1.2
+++ gcc41-java-bogus-debugline.patch	3 Apr 2007 13:56:17 -0000	1.3
@@ -18,20 +18,19 @@
    CLASS_P (class_type) = 1;
 --- gcc/java/jcf-parse.c    (revision 122746)
 +++ gcc/java/jcf-parse.c    (working copy)
-@@ -1221,9 +1221,12 @@
-        main_input_filename = sfname;
+@@ -1221,9 +1221,12 @@ give_name_to_class (JCF *jcf, int i)
+ 	main_input_filename = sfname;
        }
  #else
 -      input_location = DECL_SOURCE_LOCATION (TYPE_NAME (this_class));
 -      if (main_input_filename == NULL && jcf == main_jcf)
--       main_input_filename = input_filename;
+-	main_input_filename = input_filename;
 +      if (! DECL_ARTIFICIAL (TYPE_NAME (this_class)))
-+       {
-+         input_location = DECL_SOURCE_LOCATION (TYPE_NAME (this_class));
-+         if (main_input_filename == NULL && jcf == main_jcf)
-+           main_input_filename = input_filename;
-+       }
++	{
++	  input_location = DECL_SOURCE_LOCATION (TYPE_NAME (this_class));
++	  if (main_input_filename == NULL && jcf == main_jcf)
++	    main_input_filename = input_filename;
++	}
  #endif
  
        jcf->cpool.data[i].t = this_class;
-




More information about the fedora-cvs-commits mailing list