This is the mail archive of the gcc-bugs@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]

[Bug optimization/13000] [3.4 Regression] Using -O2 cannot detect missing return statement in a function


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-25 00:10 -------
>From Phil's regression hunter:
: Search converges between 2003-09-04-trunk (#391) and 2003-09-05-trunk (#392).
Before that GCC gave at -O2:
input.c: In function `AddPrimitiveDvrResource':
input.c:41: warning: statement with no effect
input.c:10: warning: unused parameter 'hSession'
input.c:12: warning: unused parameter 'pvResourceDescriptor'


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-12-01 04:34:28         |2003-12-25 00:10:12
               date|                            |
            Summary|[3.4 Regression] Using -Ox  |[3.4 Regression] Using -O2
                   |cannot detect missing return|cannot detect missing return
                   |statement in a function     |statement in a function


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


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