[Bug gcov-profile/52416] Branch coverage differences between 4.4 and 4.5

santos.ramirez at siemens dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 23 15:31:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52416

SANTOS.RAMÍREZ <santos.ramirez at siemens dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |santos.ramirez at siemens dot com

--- Comment #1 from SANTOS.RAMÍREZ <santos.ramirez at siemens dot com> ---
Hi,

Do you know why using gcc 4.4 and 4.6 a simple line as " p = new class; " has
two branches (50% coverage) ?

How can we cover 100% for this type of lines ?


63 [ +  - ][ +  - ]:         12 :   new TConfigDatabase (this);
64                 :            : 
65                 :            :   // Die eigentliche Odometrie erzeugen...
66 [ +  - ][ +  - ]:         12 :   mOdometry= new SDM_Odometry_C (this);
67                 :            : 

Thanks a lot


More information about the Gcc-bugs mailing list