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] |
This change adds a missing guard to the SCO generation circuitry that caused bogus extra SCOs to be generated for loop statements in separate bodies. The following compilation must produce the indicated SCOs: $ gcc -c -fdump-scos pak.adb $ grep "^C" pak.ali C 3 pak-p.adb CS F3:8-3:18 CS >S3:8 4:7-4:7 package body Pak is procedure P is separate; end Pak; package Pak is procedure P; end Pak; separate (Pak) procedure P is begin for J in 0 .. 0 loop null; end loop; end P; 2013-07-05 Thomas Quinot <quinot@adacore.com> * par_sco.adb (Traverse_Declarations_Or_Statements): Ignore N_Implicit_Label_Declaration nodes.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |